onfocus event getting called recursively in Apache wicket

2014-07-30 Thread suvojit168
ted in model whereas on doing setDefaultModel() it works? Thanks For Help -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/onfocus-event-getting-called-recursively-in-Apache-wicket-tp4666802.html Sent from the Users forum mailing list archive at Nabble.com. --

Re: onfocus event getting called recursively in Apache wicket

2014-07-30 Thread Sven Meier
in model whereas on doing setDefaultModel() it works? Thanks For Help -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/onfocus-event-getting-called-recursively-in-Apache-wicket-tp4666802.html Sent from the Users forum mailing list archive at Nabble.com.

Re: onfocus event getting called recursively in Apache wicket

2014-07-30 Thread suvojit168
this.getComponent().getDefaultModelObjectAsString(); thisValue = "ChangedNormally";* does not? I think after all both means same here. Correct me if I am wrong. Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabb

Re: onfocus event getting called recursively in Apache wicket

2014-07-30 Thread Sven Meier
g. Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/onfocus-event-getting-called-recursively-in-Apache-wicket-tp4666802p4666807.html Sent from the Users forum mailing list archive at Nabble.com. - To

Re: onfocus event getting called recursively in Apache wicket

2014-07-31 Thread suvojit168
ot;ChangedNormally";* >> >> does not? I think after all both means same here. Correct me if I am >> wrong. >> >> Thanks >> >> -- >> View this message in context: >> http://apache-wicket.1842946.n4.nabble.com/onfocus-event-getting-called-recur

Re: onfocus event getting called recursively in Apache wicket

2014-08-04 Thread Martin Grigorov
ng! thisValue is just a plain local String variable. It is not connected to the TextField component anyhow. By doing component.setDefaultModelObject(anything) you set the new value of the component model object. > > does not? I think after all both means same here. Correct me if I am wrong. > > Thanks > &

Re: onfocus event getting called recursively in Apache wicket

2014-08-04 Thread Martin Grigorov
().setDefaultModelObject("ChangedViaDefaultSetModel");"* > >> > >> change the textfield value but > >> *String thisValue = > >> > this.getComponent().getDefaultModelObjectAsString(); > >> thisValue = "Change