wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "david.li" <lxw_fi...@hotmail.com>
Subject can't get the TextField's Model
Date Sun, 07 Apr 2013 10:04:49 GMT
Hi,the code like this:
form.add(new TextField("aaa",new PropertyModel(this, "aaa")));
form.add(new Button("btnaaa") {
	public void onSubmit() {

<form wicket:id="form">
<input type="text" wicket:id="aaa"/>
<input type="text" wicket:id="bbb"/>
<input type="submit" wicket:id="btnaaa"/>

If i add setDefaultFormProcessing(false),i can't get the aaa in onSubmit().
How can i get this value?

View this message in context: http://apache-wicket.1842946.n4.nabble.com/can-t-get-the-TextField-s-Model-tp4657797.html
Sent from the Users forum mailing list archive at Nabble.com.

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

View raw message