[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tapestry-user
Subject:    [RESOLVED] Re: T5.0.14 - OnActivate problem and coercion error
From:       TNO <tnodev () free ! fr>
Date:       2008-08-29 10:17:04
Message-ID: 48B7CCA0.7060106 () free ! fr
[Download RAW message or body]

I resolve the problem !!!
But, in my case, it is not a classic problem !

Because my problem come from javascript code :

In an onload fonction, I found this code :

    // http://slayeroffice.com/code/imageCrossFade/xfade2.css
    //css = d.createElement("link");
    //css.setAttribute("href","xfade2.css");
    //css.setAttribute("rel","stylesheet");
    //css.setAttribute("type","text/css");
    //d.getElementsByTagName("head")[0].appendChild(css);

So my java code was OK, my application work but I have some exceptions 
trace. I remove the javascript code and now it's OK

Thanks

Szemere Szemere a écrit :
> This is a classic problem.  The path to your assets is shifted by one level
> because of the parameter you are passing.
>
> Not sure of the fix for your specific case, but if you referenced an asset
> like this in a .tml, you would use
> href="${asset:context:org/atlog/mjweb/components/xfade2.css}"
>
> HTH,
> Szemere
>
>   


---
Antivirus avast! : message Sortant sain.
Base de donnees virale (VPS) : 080828-0, 28/08/2008
Analyse le : 29/08/2008 12:17:04
avast! - copyright (c) 1988-2008 ALWIL Software.
http://www.avast.com




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic