My current workaround is to include the reference in the markup with 
<wicket:head> tags around it.

I am sorry I did not yet have the time to create a quickstart/unit test 
with the problem.

      Erik.


Maurice Marrink schreef:
> I am using wicket:1.3-incubating-20061113.111007-1 and also have this
> problem with javascript not being rendered the second time.
> I render a new page and all is rendered fine. i click on a link to
> open a new page. there i click on a link that brings me back to the
> previous page instance. The javascript in the header is missing the
> second time.
>
> Anybody have a solution yet?
>
> Maurice
>
> On 11/10/06, Matej Knopp <[EMAIL PROTECTED]> wrote:
>   
>> That's weird. Which wicket version are you using? Seems that Wicket 1.x
>> has already become 1.3 and the latest revision is 473519.
>>
>> Wicket 1.2 has it's own branch now.
>>
>> Are you sure you're using the apache repository?
>>
>> -Matej
>>
>> Erik van Oosten wrote:
>>     
>>> Hello,
>>>
>>> Something is going wrong with my header contributions. A css that was
>>> added like this
>>>     add(HeaderContributor.forCss(MyPage.class, "MyPage.css"));
>>> are only rendered once and then never again.
>>>
>>> To be precise:
>>> - I start jetty.
>>> - I request the page (it is bookmarkable).
>>> - I get redirected to the signin page, I log in.
>>> - The page is displayed correct (with the css).
>>> - I press reload and the css is gone. The link is actually not in the
>>> header.
>>> - Press reload another 50 times, no more css.
>>>
>>> I have also seen another scenario: the first time the page is rendered
>>> it misses the css, the second time it is present and in all following
>>> renderings it is gone.
>>> All css added with wicket:head/wicket:link elements renders fine.
>>>
>>> I am using Wicket 1.x, revision 470570 (at moment of writing the latest
>>> revision of 1.x).
>>>
>>> Any ideas on what it is going on here?
>>>
>>> Regards,
>>>      Erik.
>>>
>>>
>>>
>>>       
>> -------------------------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Wicket-user mailing list
>> Wicket-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
>>     
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>   

-- 
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to