Why are new sessions created until wicket form

2008-01-30 Thread Damian Penney
Why are new sessions created until wicket finds a form? I have a Session subclass that has a field clicks. On page A I grab the session and show the number of clicks. Everytime I refresh the click count is 0, and the newSession method is called in WebApplication. add(new Label(clickCount,

Re: Why are new sessions created until wicket form

2008-01-30 Thread Damian Penney
wicket to create session call getsession().bind(); -igor On Jan 30, 2008 7:01 PM, Damian Penney [EMAIL PROTECTED] wrote: Why are new sessions created until wicket finds a form? I have a Session subclass that has a field clicks. On page A I grab the session and show the number of clicks

Re: Wicket adding .. to javascript link

2008-01-23 Thread Damian Penney
11:05 AM, Damian Penney [EMAIL PROTECTED] wrote: In my html I have link rel=javascript type=text/javascript ref=scripts/jquery-1.2.2.min.js/ but Wicket is changing it to link rel=javascript type=text/javascript href=../scripts/jquery-1.2.2.min.js/ Any idea why this is happening

Re: Wicket adding .. to javascript link

2008-01-23 Thread Damian Penney
And yes, this is on the homepage http://localhost:8080/wicket/ Igor Vaynberg wrote: is scripts/jQuery-1.2.2.min.js under context root? what url do you hit to get ..? homepage? -igor On Jan 23, 2008 11:05 AM, Damian Penney [EMAIL PROTECTED] wrote: In my html I have link rel=javascript

Wicket adding .. to javascript link

2008-01-23 Thread Damian Penney
In my html I have link rel=javascript type=text/javascript ref=scripts/jquery-1.2.2.min.js/ but Wicket is changing it to link rel=javascript type=text/javascript href=../scripts/jquery-1.2.2.min.js/ Any idea why this is happening?