Re: How to make the link to a wicket page from an external website?

2013-04-27 Thread Martin Grigorov
Hi, Check http://wicketinaction.com/2011/07/wicket-1-5-mounting-pages/ On Sat, Apr 27, 2013 at 5:57 AM, mike.hua hz...@sohu.com wrote: Oh,I know! The BookmarkablePageLink helped me! If I want to get the wicket page access url,I can use

Re: Ajax call of textfield after pressing the Enter key

2013-04-27 Thread Martin Grigorov
Hi, On Sat, Apr 27, 2013 at 12:31 AM, Andre Schütz wic...@faustas.de wrote: Hello, I tried to find out how I can make a Ajax call from a textfield after pressing the Enter key. I want to reach the following: - The user types a name into the textfield - After pressing the Enter key, the

Re: Ajax call of textfield after pressing the Enter key

2013-04-27 Thread vineet semwal
hi, just minor correction, enter key is 13 .. On Sat, Apr 27, 2013 at 11:34 AM, Martin Grigorov mgrigo...@apache.orgwrote: Hi, On Sat, Apr 27, 2013 at 12:31 AM, Andre Schütz wic...@faustas.de wrote: Hello, I tried to find out how I can make a Ajax call from a textfield after

Re: Example for saving value edited in Text Box on exit event

2013-04-27 Thread Martin Grigorov
Hi Bruno, What is the current problem ? I think your code should work. But you may either change the event to 'change', 'blur' or 'input' or at least add throttling (I don't remember the syntax for 1.4) because now it will fire Ajax event for every typed character. Ah, and Wicket 1.4/1.5 work

Submit button without form component

2013-04-27 Thread Bertrand Guay-Paquet
Hello, I have action links which I want to transform to POST actions since they can have side-effects on the database. (See http://stackoverflow.com/questions/679013/get-vs-post-best-practices) My understanding is that this is only possible with either javascript or forms. I decided (for

Re: Submit button without form component

2013-04-27 Thread Martin Grigorov
Hi, I haven't tried something like this before and I don't know what exactly breaks but the simplest solution I see at the moment is to use StatelessForm. On Sat, Apr 27, 2013 at 4:01 PM, Bertrand Guay-Paquet ber...@step.polymtl.ca wrote: Hello, I have action links which I want to

Form not displaying messages correctly

2013-04-27 Thread Taro Fukunaga
I have a FencedFeedbackPanel inside a form but when I try to display a message, the form closes and the message is displayed on the main page instead of in my form. The form is in turn inside a modal window (see hierarchy below). When I have invalid input, I want my form (and modal window) to stay