Delegate loading of wicket-event.js?

2010-08-17 Thread bht
Hi,

I get two instances of wicket-event.js and other resources in the
browser cache due to the probing for client cookie suport on the first
page in the browser session. One with jsessionid in the URl and one
without.

Can Wicket delegate the loading of these (extracted from the jar file)
files to outside the path of the wicket servlet filter eg ../scripts
same as static css files, images?

Example:

script type=text/javascript
src=resources/org.apache.wicket.markup.html.WicketEventReference/wicket-event.js;jsessionid=27928765fd5f30bedfe2cc2d1e83/script

Many thanks,

Bernard

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Delegate loading of wicket-event.js?

2010-08-17 Thread Igor Vaynberg
you should file this as a bug, packagedresourcereference urls should
not be encoded with the session id

-igor

On Tue, Aug 17, 2010 at 6:30 PM,  b...@actrix.gen.nz wrote:
 Hi,

 I get two instances of wicket-event.js and other resources in the
 browser cache due to the probing for client cookie suport on the first
 page in the browser session. One with jsessionid in the URl and one
 without.

 Can Wicket delegate the loading of these (extracted from the jar file)
 files to outside the path of the wicket servlet filter eg ../scripts
 same as static css files, images?

 Example:

 script type=text/javascript
 src=resources/org.apache.wicket.markup.html.WicketEventReference/wicket-event.js;jsessionid=27928765fd5f30bedfe2cc2d1e83/script

 Many thanks,

 Bernard

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Delegate loading of wicket-event.js?

2010-08-17 Thread bht
Thanks Igor.
https://issues.apache.org/jira/browse/WICKET-2999

Regards,

Bernard


On Tue, 17 Aug 2010 18:31:50 -0700, you wrote:

you should file this as a bug, packagedresourcereference urls should
not be encoded with the session id

-igor

On Tue, Aug 17, 2010 at 6:30 PM,  b...@actrix.gen.nz wrote:
 Hi,

 I get two instances of wicket-event.js and other resources in the
 browser cache due to the probing for client cookie suport on the first
 page in the browser session. One with jsessionid in the URl and one
 without.

 Can Wicket delegate the loading of these (extracted from the jar file)
 files to outside the path of the wicket servlet filter eg ../scripts
 same as static css files, images?

 Example:

 script type=text/javascript
 src=resources/org.apache.wicket.markup.html.WicketEventReference/wicket-event.js;jsessionid=27928765fd5f30bedfe2cc2d1e83/script

 Many thanks,

 Bernard

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org