Hi,the code like this:
form.add(new TextField("aaa",new PropertyModel(this, "aaa")));
form.add(new Button("btnaaa") {
        @Override
        public void onSubmit() {
                info(aaa);
        }
}.setDefaultFormProcessing(false));

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

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



-----
david
--
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to