Hi,
I am trying to implement an ajax form. The form is supposed to update a
listView.
Basically, the onSubmit handler create a new listView after having
updated the database. It ends with those instructions :
myList = DataObjectsFactory.getMyList();
myListView = new MyListView("id", myList);
myListView.setOutputMarkupId(true);
target.addComponent(myListView);
myForm.clearInput();
target.addComponent(myForm);
I am getting a java.lang.IllegalArgumentException: markupId cannot be empty
at line
target.addComponent(myListView);
Can someone explain me what it means ?
And are the lines
myForm.clearInput();
target.addComponent(myForm);
the correct way to reset the form ?
Pierre-Yves
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user