Have a look here: http://www.wicket-library.com/wicket-examples/, and
especially http://www.wicket-library.com/wicket-examples/forminput/
But it may look like this:
HTML
<form wicket:id="form">
<input wicket:id="f1" type="text" /><br/>
<input wicket:id="f2" type="text" /><br/>
<input wicket:id="chk" type="checkbox" />
</form>
JAVA
String _f1, _f2;
Object _chk;
...
Form form = new Form("form");
add(form);
TextField f1 = new TextField("f1", new PropertyModel(this, "_f1"));
form.add(f1);
TextField f2 = new TextField("f2", new PropertyModel(this, "_f2"));
form.add(f2);
CheckBox chk = new CheckBox("chk", new PropertyModel(this, "_chk"));
form.add(chk);
...
Thilo a écrit :
i want to add a form with two textfield AND checkbox in my wicket
application. plz help me. thank u
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]