i'm trying retrieve value of textfield showed bellow:
item.add(new textfield("description", new model[string]() { override def getobject(): string = { customer.description = ??? // don't know how can value here return ... } }))
i have textfield inserted in listview , need use textfield value set in property model.
thanks
first need send new value server, 1 possible solution using ajaxformcomponentupdatingbehavior
:
val description = new textfield("description", new model[string]) description.add(new ajaxformcomponentupdatingbehavior("keyup") { protected def onupdate(target: ajaxrequesttarget) { val newvalue = description.getdefaultmodelobjectasstring } })
i recommend set throttling
.
Comments
Post a Comment