James Crosthwaite wrote:
I'm relatively new to Wicket and i have a query about creating an editable
list. My query is simply, is it even possible?
Impossible is nothing!
Basically i have a list of objects, currently displayed in a
PageableListView, that i want the user to be able to edit. They should be
able to edit any of the rows and then click a button to save all changes
that they may have made to each row.
I've tried using DataBinder which didn't help
The recipe book example has repeating form elements in a list view. It's
not pageable, but that shouldn't be a problem. I've been improving that
example lately so I'll point you to the trunk version:
http://databinder.net/wsvn/Databinder/examples/trunk/recipe/src/main/java/example/panels/EditRecipe.java?op=file
If some of the code comments seem wrong it because I haven't updated
them yet. Also this is the version that's running live because the old
one was a little exception-happy.
http://databinder.net/recipe/
Hope that helps.
Nathan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]