You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by TNO <tn...@free.fr> on 2008/08/29 12:17:04 UTC

[RESOLVED] Re: T5.0.14 - OnActivate problem and coercion error

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