Try this
//at the top of the your class
private String ltpPriceCE = "" ;
txtLtpPriceCE = new TextField<String>("txtwicketid", new Model<String>(){
public void setObject(String object) {
ltpPriceCE = object
}
public String getObject(){
return ltpPriceCE ;
}
});
txtIntrinsicValueCE = new TextField<String>("txtwicketid", new
Model<String>(){
public void setObject(String object) {
ltpPriceCE = object
}
public String getObject(){
return ltpPriceCE ;
}
});
txtLtpPriceCE.add(new OnChangeAjaxBehavior() {
@Override
protected void
onChange(AjaxRequestTarget target) {
target.addComponent(txtIntrinsicValueCE);
}
});
On Mon, Mar 12, 2012 at 5:42 PM, ajit.khule33 <[email protected]>wrote:
> sorry dude it not worked....
> if u have another trick please tell me...
>
> thanxxx dude...
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/I-want-update-value-in-second-textfield-when-i-type-something-in-first-Textfield-tp4465876p4466206.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>