Re: New bie question . Custom Form Submit

2012-02-16 Thread Sven Meier
You cannot just invoke process(), the browser has to send the input 
values via form submit. This is what the SubmitLink does for you.


Sven


Am 16.02.2012 08:52, schrieb atomix:

Ahh Thanks again... I didn't khow that the SubmitLink can be outside of a
Form ...
...but IMO , why can't another thing call a Form to be submit ...
like calling process()= what does this method really doing, why don't it
update all the models??

Thank for answer my silly questions. Wish you a good day!

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/New-bie-question-Custom-Form-Submit-tp4392995p4393213.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



New bie question . Custom Form Submit

2012-02-15 Thread atomix
I have a link which is outside of a Form ...
And I want that when user click the link, the Form is submited();

I did :

...
onClick(){
form.process(); // But the model of Form Components haven't updated
}
...

So what I should do for that easy request?




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/New-bie-question-Custom-Form-Submit-tp4392995p4392995.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: New bie question . Custom Form Submit

2012-02-15 Thread vineet semwal
use submitlink

On Thu, Feb 16, 2012 at 10:28 AM, atomix say_i_love_you_4e...@yahoo.com wrote:
 I have a link which is outside of a Form ...
 And I want that when user click the link, the Form is submited();

 I did :

 ...
 onClick(){
 form.process(); // But the model of Form Components haven't updated
 }
 ...

 So what I should do for that easy request?




 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/New-bie-question-Custom-Form-Submit-tp4392995p4392995.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-- 
thank you,

regards,
Vineet Semwal

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: New bie question . Custom Form Submit

2012-02-15 Thread atomix
The link is *OUT *of the Form

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/New-bie-question-Custom-Form-Submit-tp4392995p4393062.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: New bie question . Custom Form Submit

2012-02-15 Thread Sven Meier

Read javadoc of SubmitLink(String, Form)

Am 16.02.2012 06:46, schrieb atomix:

The link is *OUT *of the Form

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/New-bie-question-Custom-Form-Submit-tp4392995p4393062.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: New bie question . Custom Form Submit

2012-02-15 Thread vineet semwal
i *read* that , pass the form you want submitlink to submit in constructor

On Thu, Feb 16, 2012 at 11:16 AM, atomix say_i_love_you_4e...@yahoo.com wrote:
 The link is *OUT *of the Form

 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/New-bie-question-Custom-Form-Submit-tp4392995p4393062.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-- 
thank you,

regards,
Vineet Semwal

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: New bie question . Custom Form Submit

2012-02-15 Thread Sven Meier

Sure, but I assume atomix hasn't ;)

Sven

Am 16.02.2012 07:10, schrieb vineet semwal:

i *read* that , pass the form you want submitlink to submit in constructor

On Thu, Feb 16, 2012 at 11:16 AM, atomixsay_i_love_you_4e...@yahoo.com  wrote:

The link is *OUT *of the Form

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/New-bie-question-Custom-Form-Submit-tp4392995p4393062.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org







-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: New bie question . Custom Form Submit

2012-02-15 Thread vineet semwal
hi sven,
sorry that reply was to atomix ,i saw your mail few seconds late else
i wouldnt have replied :)

On Thu, Feb 16, 2012 at 12:14 PM, Sven Meier s...@meiers.net wrote:
 Sure, but I assume atomix hasn't ;)

 Sven

 Am 16.02.2012 07:10, schrieb vineet semwal:

 i *read* that , pass the form you want submitlink to submit in constructor

 On Thu, Feb 16, 2012 at 11:16 AM, atomixsay_i_love_you_4e...@yahoo.com
  wrote:

 The link is *OUT *of the Form

 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/New-bie-question-Custom-Form-Submit-tp4392995p4393062.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-- 
thank you,

regards,
Vineet Semwal

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: New bie question . Custom Form Submit

2012-02-15 Thread atomix
Ahh Thanks again... I didn't khow that the SubmitLink can be outside of a
Form ...
...but IMO , why can't another thing call a Form to be submit ...
like calling process() = what does this method really doing, why don't it
update all the models??

Thank for answer my silly questions. Wish you a good day!

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/New-bie-question-Custom-Form-Submit-tp4392995p4393213.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org