Re: callback versioning issue

2011-06-17 Thread Igor Vaynberg
make sure your callback sets the Wicket-Ajax header so wicket knows its an ajax request, otherwise it thinks you pressed refresh in the browser. -igor On Fri, Jun 17, 2011 at 4:35 PM, bglynn wrote: > I have a use case that requires a non-wicket client side ajax invoked on my > page. The client s

Handle selection changing on Palette

2011-06-17 Thread Duy Do
Hi Wicketers, How can I handle selection changing on Palette? I would like to save item into database once it is selected from "Available" list. Thanks, Duy - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org Fo

callback versioning issue

2011-06-17 Thread bglynn
I have a use case that requires a non-wicket client side ajax invoked on my page. The client side request comes after a form submit has been made on the model. For the client side ajax, I'm using a AbstractDefaultAjaxBehavior and using it's getCallbackUrl to preform a wicketAjaxGet with additional

RE: is there any way to externalize wicket-event.js

2011-06-17 Thread Chris Colman
I'm not sure if this is related to your problem but I see a few server errors relating to the fetching of wicket-event.js and I discovered it's because some agent (crappy browser or crappy bot) is ignoring the case sensitive nature of the .js resource name and making a request with all lowercase

Re: Page->ModalWindow[Form]->ModalWindow[Form] problem

2011-06-17 Thread Andrea Del Bene
If I understand right you should not pass to ModalWindow: -model of parent page -an instance of parent page In these two scenarios when you close ModalWindow Wicket restore the original version of parent page, that is the version existing before opening modal window. To avoid this problem inst

Re: is there any way to externalize wicket-event.js

2011-06-17 Thread Igor Vaynberg
i would figure out why the content is returned with a 304 header. further, when people are looking to optimize these kinds of things they put a caching proxy infront of the app server and tell it to cache js, css, and other staticy files -igor On Fri, Jun 17, 2011 at 8:18 AM, Joe Hudson wrote:

is there any way to externalize wicket-event.js

2011-06-17 Thread Joe Hudson
Hi, I for looking at ways of optimizing a wicket application. And, while a 304 is returned for wicket-event.js requests, the resource content is returned as well. Is there any optimizations that can be applied here? Ideally I would like to host these files (and probably change their name to hav

Re: infos message not rendering in feedback panel whereas error messages are rendered

2011-06-17 Thread Igor Vaynberg
override onerror() in the behavior and add the feedback panel -igor On Fri, Jun 17, 2011 at 1:31 AM, Mathilde Pellerin wrote: > I already have AjaxFormComponentUpdatingBehavior for the text field, so I > try to add feedback panel like this : >    @SuppressWarnings("serial") >    class AjaxFormCo

Re: Deploiment problem of wicket application with Jboss 5.1

2011-06-17 Thread Thomas Franconville
To put in hard, into the vfs.xml file the directory where my ear file is generated is not satisfying as when I really want to redeploy, calling the maven command, jboss doesn't deploy the last ear. Then, I try to configure my application on integration mode instead development mode, and it wor

Re: Page->ModalWindow[Form]->ModalWindow[Form] problem

2011-06-17 Thread Alex Shubert
Andrea, I have a strange feeling. Why to speak about page version if there are no such problem transmitting modal result from modal to page. Such example exists even in a example bundle... I feel I miss something here. On 17 June 2011 16:14, Andrea Del Bene wrote: > The issue is here: https://is

Re: Page->ModalWindow[Form]->ModalWindow[Form] problem

2011-06-17 Thread Andrea Del Bene
The issue is here: https://issues.apache.org/jira/browse/WICKET-3809 I trust in you, a colleague On 17 June 2011 15:15, Andrea Del Bene wrote: I'm going to open an issue on JIRA - To unsubscribe, e-mail: users-unsubscr.

Re: Page->ModalWindow[Form]->ModalWindow[Form] problem

2011-06-17 Thread Alex Shubert
I trust in you, a colleague On 17 June 2011 15:15, Andrea Del Bene wrote: > I'm going to open an issue on JIRA -- Best regards Alex - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail

Re: Page->ModalWindow[Form]->ModalWindow[Form] problem

2011-06-17 Thread Andrea Del Bene
I'm going to open an issue on JIRA Page. I found your discussion with Marieke Vandamme. Looks very similiar to my case. On 17 June 2011 14:02, Andrea Del Bene wrote: Hi Alex, maybe I'm facing the same problemyour modal windows' content is a Page or a Panel? ---

Re: Clicks on "BookmarkablePageLink" opening in a new tab despite the fact that PopupSettings of the links are set to null

2011-06-17 Thread Ismael Hasan
Your solution indeed solved the problem. Shame on me, I was focused on guessing why Wicket was behaving like that and I didn't see the problem was in my html coding (I had some legacy ). Thank you very much for the help, Martin, and for your quick reply. 2011/6/17 Martin Grigorov : > In .html:

Re: Page->ModalWindow[Form]->ModalWindow[Form] problem

2011-06-17 Thread Alex Shubert
Page. I found your discussion with Marieke Vandamme. Looks very similiar to my case. On 17 June 2011 14:02, Andrea Del Bene wrote: > Hi Alex, > > maybe I'm facing the same problemyour modal windows' content is a Page > or a Panel? -- Best regards Alex --

Re: Page->ModalWindow[Form]->ModalWindow[Form] problem

2011-06-17 Thread Andrea Del Bene
Hi Alex, maybe I'm facing the same problemyour modal windows' content is a Page or a Panel? Hello I got a strange problem with multiply Modal Windows. Let's imagine we have an Entity A with field of entity B (1 to 1 relation) . Now we create the Edit page, which contains a form and some

Re: Clicks on "BookmarkablePageLink" opening in a new tab despite the fact that PopupSettings of the links are set to null

2011-06-17 Thread Martin Grigorov
In .html: ... google: html anchor target On Fri, Jun 17, 2011 at 12:46 PM, Ismael Hasan wrote: > Hello, > > I am experiencing a strange issue with BookmarkablePageLinks in both > Wicket 1.4.6 and Wicket 1.5 snapshot from April 20th. > > When I first open my application, I go into page A; this pa

Clicks on "BookmarkablePageLink" opening in a new tab despite the fact that PopupSettings of the links are set to null

2011-06-17 Thread Ismael Hasan
Hello, I am experiencing a strange issue with BookmarkablePageLinks in both Wicket 1.4.6 and Wicket 1.5 snapshot from April 20th. When I first open my application, I go into page A; this page contains a list of BookmarkablePageLink inside a PropertyListView. If I click one of them, it opens in a

Page->ModalWindow[Form]->ModalWindow[Form] problem

2011-06-17 Thread Alex Shubert
Hello I got a strange problem with multiply Modal Windows. Let's imagine we have an Entity A with field of entity B (1 to 1 relation) . Now we create the Edit page, which contains a form and some edit fields. One of that field is the Label with "add" AjaxButton. Add button creates a new modal w

Re: infos message not rendering in feedback panel whereas error messages are rendered

2011-06-17 Thread Mathilde Pellerin
I already have AjaxFormComponentUpdatingBehavior for the text field, so I try to add feedback panel like this : @SuppressWarnings("serial") class AjaxFormComponentValidationTextField extends AjaxFormComponentUpdatingBehavior{ private Component feedbackPanel; private Componen

Re: Deploiment problem of wicket application with Jboss 5.1

2011-06-17 Thread Thomas Franconville
Hi Avraham, Thank you for your experience return. Have you deployed your application with maven with JMX jboss services ? If you have made hard deployment (copy into deploy directory), it is normal that you have no problem as the directory deploy is defined into the vfs.xml file. But, I don't l

Re: infos message not rendering in feedback panel whereas error messages are rendered

2011-06-17 Thread Martin Grigorov
use AjaxFormComponentUpdatingBehavior for the TextField On Fri, Jun 17, 2011 at 11:08 AM, Mathilde Pellerin wrote: > Thanks a lot, it works well. > > Any idea for the second question ? > > I have another form with textfield wich accept only Integer. Validation > works well when I submit the form

Re: infos message not rendering in feedback panel whereas error messages are rendered

2011-06-17 Thread Mathilde Pellerin
Thanks a lot, it works well. Any idea for the second question ? I have another form with textfield wich accept only Integer. Validation works well when I submit the form : if I put a letter in the textfield, I have an error message in my feedback panel. But in console I can see that error message

Re: infos message not rendering in feedback panel whereas error messages are rendered

2011-06-17 Thread İzlem Gözükeleş
you should add target.addComponent(feedbackPanelPassword) for onSubmit method. On Fri, Jun 17, 2011 at 10:34 AM, Mathilde Pellerin < mathilde.pelle...@statlife.fr> wrote: >@Override >protected void onSubmit(AjaxRequestTarget target, Form form) > { >String

infos message not rendering in feedback panel whereas error messages are rendered

2011-06-17 Thread Mathilde Pellerin
Hi all, I have two little problems with feedback panel. The first one : I have a feedback panel in a form which render well error messages of the form but which not render info messages. I thought feedback panel render all types of messages, but maybe there is some configuration to do to render i