POJO Objects to HTML editable tables and back
Posted on 2009-05-13
I am using struts 2 and tiles 2. I want to display a list of POJO objects in HTML editable tables. If the user makes a change to one row I would like this change to channel back to the underlying POJO object by clicking on a save button. I dont mind a save button been on each row.The attributes of the POJO are the columns.
If I have to submit all the rows just to update one row then so be it. I have looked at a few DOJO/JSON tutorials on the web but none seem to be editable and persist back to the POJO.
I would love a full tutorial link or sample code to get me started. It doesnt have to to be DOJO/JSON