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/
Hi,Sven Meier,I want to achieve the function like this:there are some
TextFields in the page.Some of TextFields need to check via the event
whether the value entered. so when user enter the value,then click the
button to verify the value.
how to resolve it?
-
david
--
View this message in
hello. I use the wicket RadioGroup in my project.the code like this:
final RadioGroup group = new RadioGroup(group, new Model());
Radio monthRadio = new Radio(month, new Model());
monthRadio.add(new AjaxEventBehavior(onchange) {
Hi,I am unable to apply ajax behavior to radio button.
there are two radio button in radiogroup.but when click month radio button,i
can't check this radio.
java code:
RadioGroup group=new RadioGroup(group);
group.add(new Radio(week));
Radio monthRadio=new Radio(month);
, Nov 20, 2012 at 10:19 AM, david.li lt;
lxw_first@
gt; wrote:
Through the ddlmodel.getObject() just get the value of the last
DropDownChoice,but I want to get the value of the all DropDownChoice.
-
david
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/how
the code like this:
ListString selection = Arrays.asList(A, B);
form.add(new ListView(lis, selection) {
@Override
protected void populateItem(ListItem item) {
List list;
if (item.getModelObject().equals(A)) {
list =