Re: Wicket 1.5 - new browser window support detection

2012-04-26 Thread David Rain
Works great man! Honestly, I wanted to write somekind of javascript like yours but I thought that something like this must already be in Wicket to support multiple window instances (and I am sure that it was there in W 1.4). Nevertheless, thank you very much! David -- View this message in

Re: Wicket 1.5 - new browser window support detection

2012-04-25 Thread David Rain
Hello Martin! I do not use it right now but I would like to. I knew it was there because I've studied API and sources of Wicket. But it was in time we used Wicket 1.4 and I knew I came across this onNewBrowserWindow method and many classes implemented it

Wicket 1.5 - new browser window support detection

2012-04-24 Thread David Rain
Hi, I have a question about multi window (mutli tab) support in Wicket 1.5+. Many things changed .. like concept of IDs and versions... these are now only simple IDs, etc. My quetion is how do I enable multi window support in 1.5? There is no IPgaeSettings#setAutomaticMultiWindowSupport. The

Re: Wicket 1.5 - new browser window support detection

2012-04-24 Thread David Rain
OK, I also think so. But I really need to detect the fact, that new window was opened. The Listener was perfect... I wonder why it has been removed? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-new-browser-window-support-detection-tp4582538p4582816.html

Re: Wicket generates absolute urls for redirects 301? - Whats the way out

2012-04-23 Thread David Rain
Sending absolute URL in Location header is the only correct way according to RFC. Wicket passes relative URL to HttpServletResponse#sendRedirect method, but J2EE web containers are obligated to convert this to absolute URL following some rules. See:

Re: UrlRenderer adds dot if URL is empty

2012-04-23 Thread David Rain
Hello Martin! I've just tried this snapshot wicket-request-1.5-20120421.120951-2392.jar and it seems that the ending dot issue is fixed even on WebSphere. I had a quick look at the source of UrlRenderer and noticed the changes. OK then, we can wait for 1.5.6, no problem. Thank you, David -- View

UrlRenderer adds dot if URL is empty

2012-04-20 Thread David Rain
Hello, I have a question about in UrlRenderer, lines 237-240 in Wicket 1.5.5 Why is this happening? I don't think that subsequential call to HttpServletResponse#sendRedirect(.) is correct. I know it should render as relative to current directory, but for example WebSphere (7) AS sends this as

Re: Expiration of unversioned pages in Wicket 1.5

2012-02-09 Thread David Rain
will be created for each request. On Thu, Feb 9, 2012 at 8:55 AM, David Rain david_rain at kb.cz wrote: Martin Grigorov mgrigorov at apache.org writes: can you create a ticket for this. I think I know what happens thanks! On Fri, Sep 9, 2011 at 6:57 PM, pasto peter.pastrnak at gmail.com

Re: Expiration of unversioned pages in Wicket 1.5

2012-02-08 Thread David Rain
Martin Grigorov mgrigorov at apache.org writes: can you create a ticket for this. I think I know what happens thanks! On Fri, Sep 9, 2011 at 6:57 PM, pasto peter.pastrnak at gmail.com wrote: Hi, in Wicket 1.5 RC7 is f.e. the RedirectPage set to unversioned, that makes it