Re: TextField update According to Another TextField update

2012-02-29 Thread Martin Grigorov
Use AjaxFormComponentUpdateBehavior(onchange) instead

2012/2/29 Seçil Aydın techlove...@gmail.com:
 Hi,
 I have two text fields next to each other. I want to change value of second
 textfield according to first textfield when first textfield loses focus.

 I am doing that with OnChangeAjaxBehavior but, I have some validation
 according to value of first text field, when I write 2 it gives error but I
 want to write 20. It does not wait for my last action.

 How can I handle this?Please give me your advices.
 With my best regards.
 Seçil

 -
 Wicket-Java
 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/TextField-update-According-to-Another-TextField-update-tp4431324p4431324.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




-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

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



Re: TextField update According to Another TextField update

2012-02-29 Thread Seçil Aydın
Thanks Martin,
I think it is the same think with OnChangeAjaxBehavior.Is not it?

-
Wicket-Java
--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/TextField-update-According-to-Another-TextField-update-tp4431324p4431602.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: TextField update According to Another TextField update

2012-02-29 Thread Martin Grigorov
No, they are not.
Check the difference between 'input' and 'change' JavaScript events.

2012/2/29 Seçil Aydın techlove...@gmail.com:
 Thanks Martin,
 I think it is the same think with OnChangeAjaxBehavior.Is not it?

 -
 Wicket-Java
 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/TextField-update-According-to-Another-TextField-update-tp4431324p4431602.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




-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

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