Good eyes! I assume it would have worked if the url had been absolute,
in which case tapestry would not have interpreted it as a page render
... or maybe not.

Christian Koeberl wrote:
>> Jan Vissers <[EMAIL PROTECTED]> wrote:
>> Our layout component has:
>> <link rel="shortcut icon" href="favicon.ico"/>
>>     
>
> If you have this in your code the browser will request 
> "/yourpage/favicon.ico" or "mypackage/mypage/favicon.ico". Tapestry treats 
> "favicon.ico" as an activation context. I think you have a 
> onActivate(Long) in your page. So, Tapestry tries to coerce favicon.ico to 
> a long which fails. 
>
> Maybe you should try:
> <link rel="shortcut icon" href="${asset:context:favicon.ico}"/>
>
>   

-- 
http://thegodcode.net

Reply via email to