Re: Which way to go? AjaxSubmitLink or AjaxLink? Neither does the job for me :)

2007-12-28 Thread edvin
Yes indeed. You could open a JIRA issue with your use case and a proposal. Erik. I added an RFE for it now: https://issues.apache.org/jira/browse/WICKET-1247 -- Edvin Edvin Syse wrote: Thanks, that's a good option :) I went with rearranging the layout and using two forms, but I

Re: Which way to go? AjaxSubmitLink or AjaxLink? Neither does the job for me :)

2007-12-27 Thread Edvin Syse
Why not make it 2 separated forms? Beause of the layout that would mean nesting two forms, and I'm not sure how that works out in different browsers. I might have to go that way, but wouldn't it be nice/possible to skip validation but still bind the model object changes with

Re: Which way to go? AjaxSubmitLink or AjaxLink? Neither does the job for me :)

2007-12-27 Thread Erik van Oosten
Another option is to attach onchange handlers to all components (with an ajax behavior). You can optionally do validation in the handler and contineously show validation errors as the user leaves an input field. Regards, Erik. Edvin Syse wrote: Hi, I have a form where some of the

Re: Which way to go? AjaxSubmitLink or AjaxLink? Neither does the job for me :)

2007-12-27 Thread Erik van Oosten
Yes indeed. You could open a JIRA issue with your use case and a proposal. Erik. Edvin Syse wrote: Thanks, that's a good option :) I went with rearranging the layout and using two forms, but I think a getDefaultFormValidation() method would be a nice addition to the framework :) --

Re: Which way to go? AjaxSubmitLink or AjaxLink? Neither does the job for me :)

2007-12-27 Thread Edvin Syse
Thanks, that's a good option :) I went with rearranging the layout and using two forms, but I think a getDefaultFormValidation() method would be a nice addition to the framework :) -- Edvin Erik van Oosten skrev: Another option is to attach onchange handlers to all components (with an ajax

Which way to go? AjaxSubmitLink or AjaxLink? Neither does the job for me :)

2007-12-26 Thread Edvin Syse
Hi, I have a form where some of the components have validators (Required, EmailValidator etc). The form uses CompoundPropertyModel for my object. Upon entering some text in one input field and clicking a button, a ModalWindow opens and shows a searchresult based on the input. The button is a

Re: Which way to go? AjaxSubmitLink or AjaxLink? Neither does the job for me :)

2007-12-26 Thread Thijs
Why not make it 2 separated forms? Edvin Syse wrote: Hi, I have a form where some of the components have validators (Required, EmailValidator etc). The form uses CompoundPropertyModel for my object. Upon entering some text in one input field and clicking a button, a ModalWindow opens