Re: [Wicket-user] Form submit from outside Wicket

2006-08-23 Thread Johan Compagner
in 2.0 you can submit to a stateless form. Then you have all your validation and converting.Maybe we will backport this to 1.3johanOn 8/23/06, Nili Adoram [EMAIL PROTECTED] wrote: But then I would not have the Form.process() method called with all itsbenefits (form validation etc).Is it valid to

Re: [Wicket-user] Form submit from outside Wicket

2006-08-23 Thread Igor Vaynberg
i guess the most pita thing about this would be to properly map your request parameters to component paths of form components so wicket can properly associate request parameters with the proper form components.maybe some util methods in statelessform to help with this somewhoe - since its sucha a

Re: [Wicket-user] Form submit from outside Wicket

2006-08-23 Thread Johan Compagner
override:FormComponent.getInputName()and make sure they are in sync.johanOn 8/23/06, Igor Vaynberg [EMAIL PROTECTED] wrote:i guess the most pita thing about this would be to properly map your request parameters to component paths of form components so wicket can properly associate request

Re: [Wicket-user] Form submit from outside Wicket

2006-08-22 Thread Nili Adoram
But how would the bookmarkable page would know it is supposed to submit its form instead of rendering ? Johan Compagner wrote: i would submit to a bookmarkable page yes. That would be the easiest thing to do. johan On 3/29/06, *Sven Meier* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

Re: [Wicket-user] Form submit from outside Wicket

2006-08-22 Thread Frank Bille
Bookmarkable pages has a PageParameters constructor. From these parameters can you get the form values. You would now that it would be a submit because the pageparameters contains the expected values.- Frank On 8/22/06, Nili Adoram [EMAIL PROTECTED] wrote: But how would the bookmarkable page would

Re: [Wicket-user] Form submit from outside Wicket

2006-08-22 Thread Nili Adoram
But then I would not have the Form.process() method called with all its benefits (form validation etc). Is it valid to invoke it from page constructor? Frank Bille wrote: Bookmarkable pages has a PageParameters constructor. From these parameters can you get the form values. You would now that

[Wicket-user] Form submit from outside Wicket

2006-03-29 Thread Sven Meier
How would you handle a submit of a form that originates from outside of Wicket? Let me explain: In many web applications some forms (e.g. 'search a product') are replicated on other pages of the same application or even on other sites of business partners or advertisers. For our

Re: [Wicket-user] Form submit from outside Wicket

2006-03-29 Thread Johan Compagner
i would submit to a bookmarkable page yes.That would be the easiest thing to do.johanOn 3/29/06, Sven Meier [EMAIL PROTECTED] wrote:How would you handle a submit of a form that originates from outside of Wicket?Let me explain:In many web applications some forms (e.g. 'search a product')