Re: ModalWindow and jQuery mousedown binding

2014-03-12 Thread Martin Grigorov
Hi, You can use Google Chrome's Event Listener Breakpoints and see where mousedown is trapped. Dev Tools - Sources - right pane - Event Listener Breakpoints - Mouse -mousedown Martin Grigorov Wicket Training and Consulting On Tue, Mar 11, 2014 at 11:32 PM, neilbennett

Re: More Wicket JSESSION_ID Issues

2014-03-12 Thread Martin Grigorov
Hi, It sounds like an issue with the IDE. What is the produced url with the custom jsession id ? Does it work if you paste this url directly in the browser address bar without involving the IDE ? And what is the sign of my page ? Martin Grigorov Wicket Training and Consulting On Tue, Mar 11,

testing subdomain page

2014-03-12 Thread Simon B
Hi, Following on from my previous question: http://apache-wicket.1842946.n4.nabble.com/mounting-mapping-subdomain-HomePage-tp4664880.html I now want to test the page using the following: The web app is set up to redirect if it sees that a request has been made from a subdomain or domain

Close Browser Behavior

2014-03-12 Thread Daniela L
Hi, I am using a close browser behavior to clean up user data if the user closes the browser window. I also use a CheckBox to toggle the visibility of some Textfields. Unfortunately the refresh through the click of the CheckBox triggers the close browser behavior. How can this be avoided? Here is

Re: testing subdomain page

2014-03-12 Thread Martin Grigorov
Hi, Try with tester.executeUrl(Url.parse(http://foo.localhost:8080;)) Martin Grigorov Wicket Training and Consulting On Wed, Mar 12, 2014 at 12:44 PM, Simon B simon.bott...@gmail.com wrote: Hi, Following on from my previous question:

Re: Close Browser Behavior

2014-03-12 Thread Martin Grigorov
Hi, On Wed, Mar 12, 2014 at 1:15 PM, Daniela L danigal...@gmail.com wrote: Hi, I am using a close browser behavior to clean up user data if the user closes the browser window. I also use a CheckBox to toggle the visibility of some Textfields. Unfortunately the refresh through the click of

Re: testing subdomain page

2014-03-12 Thread Simon B
Hi Martin, Thanks for your reply, I've tried that and it works fine. I was hoping for a way that would fit more simply into my existing tests. Incidentally what is the best way for me to include code snippets, I use the nabble web interface, but I note that in your reply you didn't get any of

Re: testing subdomain page

2014-03-12 Thread Martin Grigorov
Hi, On Wed, Mar 12, 2014 at 3:06 PM, Simon B simon.bott...@gmail.com wrote: Hi Martin, Thanks for your reply, I've tried that and it works fine. I was hoping for a way that would fit more simply into my existing tests. Incidentally what is the best way for me to include code snippets, I

Re: Close Browser Behavior

2014-03-12 Thread Daniela L
Hi Martin, thank you very much for your quick and brilliant answer :-) Changing to AjaxCheckBox did the trick. It seems to be very difficult to provide a secure way to invalidate user data cross browser compliant. I noticed that using a tablet with android or IOS the beforeunload is not triggered

Re: Close Browser Behavior

2014-03-12 Thread Martin Grigorov
On Wed, Mar 12, 2014 at 3:20 PM, Daniela L danigal...@gmail.com wrote: Hi Martin, thank you very much for your quick and brilliant answer :-) Changing to AjaxCheckBox did the trick. It seems to be very difficult to provide a secure way to invalidate user data cross browser compliant. I

How di I display a new page on session timeout without requiring the user to do anything?

2014-03-12 Thread Bruce Lombardi
Hi, I have a requirement that says that, for security purposes, when a session times out, the application must go to a different page so that any data displayed is hidden and that the user must be informed that the session has timed out. In the init method of my Application class, which

Re: How di I display a new page on session timeout without requiring the user to do anything?

2014-03-12 Thread Martin Grigorov
Hi, On Wed, Mar 12, 2014 at 5:09 PM, Bruce Lombardi brlom...@gmail.com wrote: Hi, I have a requirement that says that, for security purposes, when a session times out, the application must go to a different page so that any data displayed is hidden and that the user must be informed

backspace - when not on focus in field

2014-03-12 Thread nazeem
I use lot of ajax to replace panels on user clicks so that user can drill down deep in to the page view. When using forms if the focus is not on text field or any form fields. hitting backspace takes the user all the way to the main page. How can i prevent this behavior ? naz -- View this

Re: backspace - when not on focus in field

2014-03-12 Thread Sven Meier
http://stackoverflow.com/questions/2645681/how-to-disable-backspace-if-anything-other-than-input-field-is-focused-on-using Sven On 03/12/2014 05:04 PM, nazeem wrote: I use lot of ajax to replace panels on user clicks so that user can drill down deep in to the page view. When using forms if the

handsontable integration

2014-03-12 Thread nazeem
Has any one tried to use this http://handsontable.com/ for excel like grid editing ? Power users like excel like editing for bulk form processing. So I am trying to integrate some features like this. Any suggestions please ? Rendering i think will not be an issue, how to integrate with model for

The wicket way of getting application base URL

2014-03-12 Thread Maxim Solodovnik
Hello, I'm currently using SelfUpdatingAjaxBehavior [1] to get application base URL used by the end user. Maybe there is more standard way of doing this? Or maybe code like this can be added to ClientInfo? Thanks in advance! [1]

RE: How di I display a new page on session timeout without requiring the user to do anything?

2014-03-12 Thread Bruce Lombardi
Thanks Martin, for the rapid response. Has anyone done anything like this this? Bruce -Original Message- From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: Wednesday, March 12, 2014 11:26 AM To: users@wicket.apache.org Subject: Re: How di I display a new page on session

Re: The wicket way of getting application base URL

2014-03-12 Thread Sebastien
Hi Maxim, Maybe you might use something like this: Url baseUrl = new Url(page.getRequestCycle().getUrlRenderer().getBaseUrl()); I used it to retrieve the relative url: private static String getUrl(WebPage page) { Url pageUrl = Url.parse(page.urlFor(page.getClass(),

Re: The wicket way of getting application base URL

2014-03-12 Thread Maxim Solodovnik
The reason I have implemented the hook: Our users are using mod_proxy all the time So port and context are might be changed and I need to get the base URL after all these modifications (to create emails with links etc.) On Wed, Mar 12, 2014 at 11:24 PM, Sebastien seb...@gmail.com wrote: Hi

Re: backspace - when not on focus in field

2014-03-12 Thread Niranjan Rao
On 03/12/2014 09:04 AM, nazeem wrote: I use lot of ajax to replace panels on user clicks so that user can drill down deep in to the page view. When using forms if the focus is not on text field or any form fields. hitting backspace takes the user all the way to the main page. How can i prevent

Re: More Wicket JSESSION_ID Issues

2014-03-12 Thread Aaron J . Garcia
Martin Grigorov mgrigorov at apache.org writes: Hi, It sounds like an issue with the IDE. What is the produced url with the custom jsession id ? Does it work if you paste this url directly in the browser address bar without involving the IDE ? And what is the sign of my page ?

Re: backspace - when not on focus in field

2014-03-12 Thread nazeem
Thanks Niranjan Swen, I managed to add this js to block backspace when not on focus on form fields. I believe this fix will not be required when we get Wicket 7 ajax history support ? -- View this message in context: