RE: submit a form from outside of it

2010-01-18 Thread Martin Asenov
). Thank you all! Best Regards, Martin -Original Message- From: Martijn Dashorst [mailto:martijn.dasho...@gmail.com] Sent: Monday, January 18, 2010 7:12 PM To: users@wicket.apache.org Subject: Re: submit a form from outside of it IFeedbackProvider { FeedbackPanel getFeedbackPanel

Re: submit a form from outside of it

2010-01-18 Thread Martijn Dashorst
me workaround on this one. > > Thanks for your time, > Martin > > -Original Message- > From: Jeremy Thomerson [mailto:jer...@wickettraining.com] > Sent: Monday, January 18, 2010 6:45 PM > To: users@wicket.apache.org > Subject: Re: submit a form from outside of it &g

RE: submit a form from outside of it

2010-01-18 Thread Martin Asenov
day, January 18, 2010 6:45 PM To: users@wicket.apache.org Subject: Re: submit a form from outside of it Ah - I see. Yeah - you just have to roll your own option for this now. I'd just recommend some sort of listener pattern - something like adding a void formSubmitted(form, requesttarget) met

Re: submit a form from outside of it

2010-01-18 Thread Jeremy Thomerson
n feed is in parent page... > > BR, > Martin > > -Original Message- > From: Jeremy Thomerson [mailto:jer...@wickettraining.com] > Sent: Monday, January 18, 2010 6:37 PM > To: users@wicket.apache.org > Subject: Re: submit a form from outside of it > > What do you

RE: submit a form from outside of it

2010-01-18 Thread Martin Asenov
aining.com] Sent: Monday, January 18, 2010 6:37 PM To: users@wicket.apache.org Subject: Re: submit a form from outside of it What do you mean - you can't tell which button was pressed? Just add an onSubmit to the button and inside of it, add your feedback message. or call getPage().info(&qu

Re: submit a form from outside of it

2010-01-18 Thread Jeremy Thomerson
e. > > Should I think of some listener? > > BR, > Martin > > -Original Message- > From: Jeremy Thomerson [mailto:jer...@wickettraining.com] > Sent: Monday, January 18, 2010 6:31 PM > To: users@wicket.apache.org > Subject: Re: submit a form from outside of it >

RE: submit a form from outside of it

2010-01-18 Thread Martin Asenov
ssage- From: Jeremy Thomerson [mailto:jer...@wickettraining.com] Sent: Monday, January 18, 2010 6:31 PM To: users@wicket.apache.org Subject: Re: submit a form from outside of it Or wrap the outer page in a form so that any nested forms work with your out-of-place submit button. -- Jeremy Thomerson

Re: submit a form from outside of it

2010-01-18 Thread Jeremy Thomerson
:-( > > > > BR, > > > > -Original Message- > > From: Alexandru Barbat [mailto:alexandrubar...@gmail.com] > > Sent: Monday, January 18, 2010 11:26 AM > > To: users@wicket.apache.org > > Subject: Re: submit a form

Re: submit a form from outside of it

2010-01-18 Thread Alexandru Barbat
com] > Sent: Monday, January 18, 2010 11:26 AM > To: users@wicket.apache.org > Subject: Re: submit a form from outside of it > > Hi, > > Try this: > > AjaxFormSubmitBehavior behave = new AjaxFormSubmitBehavior(myForm, > "onclick") { >prot

RE: submit a form from outside of it

2010-01-18 Thread Martin Asenov
d to solve this. Please, if someone has a better idea, it would be great to share it... Best Regards, Martin -Original Message- From: Martin Asenov [mailto:mase...@velti.com] Sent: Monday, January 18, 2010 3:33 PM To: users@wicket.apache.org Subject: RE: submit a form from outside of

RE: submit a form from outside of it

2010-01-18 Thread Martin Asenov
g it persistent. Thanks, -Original Message- From: Bert [mailto:taser...@gmail.com] Sent: Monday, January 18, 2010 2:17 PM To: users@wicket.apache.org Subject: Re: submit a form from outside of it I 'm not sure i completely understand your requirement, but the AjaxButton too has a con

Re: submit a form from outside of it

2010-01-18 Thread Bert
I 'm not sure i completely understand your requirement, but the AjaxButton too has a constructor with a Form as parameter. Would it be possible to access the form when creating the button? Bert On Mon, Jan 18, 2010 at 13:11, Martin Asenov wrote: > Thanks Bert, but I use a button... I need to hav

RE: submit a form from outside of it

2010-01-18 Thread Martin Asenov
t: Re: submit a form from outside of it Not sure here, but the AjaxSubmitLink has an constructor that lets you pass in the form it should work on. Bert - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional comman

Re: submit a form from outside of it

2010-01-18 Thread Bert
Not sure here, but the AjaxSubmitLink has an constructor that lets you pass in the form it should work on. Bert - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apac

RE: submit a form from outside of it

2010-01-18 Thread Martin Asenov
hin a panel that is a child of the page. :-( BR, -Original Message- From: Alexandru Barbat [mailto:alexandrubar...@gmail.com] Sent: Monday, January 18, 2010 11:26 AM To: users@wicket.apache.org Subject: Re: submit a form from outside of it Hi, Try this: AjaxFormSubmitBehavior behave

Re: submit a form from outside of it

2010-01-18 Thread Alexandru Barbat
Hi, Try this: AjaxFormSubmitBehavior behave = new AjaxFormSubmitBehavior(myForm, "onclick") { protected void onSubmit(AjaxRequestTarget target) { //do what you have to do } }; Button submitButton = new Button("submitButton"); submitButton.add(b

submit a form from outside of it

2010-01-18 Thread Martin Asenov
Hello, everyone! I have a form that has validation and so on, but the main difference to ordinary forms is that my form does not contain it's submit button. It's located in a parent, in my case a web page. I'm wondering how can I force the form submitting from the page. The code is submitButto