Re: Saving from an editable grid

2011-03-09 Thread robnangle
Got it sorted lads, cheers.. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Saving-from-an-editable-grid-tp3412259p3415237.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To

Re: Saving from an editable grid

2011-03-08 Thread ael
Using tapestry-Hibernate with DAO plus Grid is much easier to implement than JDBC. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Saving-from-an-editable-grid-tp3412259p3414800.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: Saving from an editable grid

2011-03-08 Thread robnangle
/Saving-from-an-editable-grid-tp3412259p3413745.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h

Re: Saving from an editable grid

2011-03-07 Thread robnangle
ng? The same problem persists..? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Saving-from-an-editable-grid-tp3412259p3412847.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: Saving from an editable grid

2011-03-07 Thread Thiago H. de Paula Figueiredo
On Mon, 07 Mar 2011 12:10:55 -0300, robnangle wrote: So what your saying is to use the id to select the correct person from the database? Yes. Ant then in the other class, how do I use the encoder? @Property private PlayerEncoder encoder; void onPrepare() {

Re: Saving from an editable grid

2011-03-07 Thread robnangle
else to put in? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Saving-from-an-editable-grid-tp3412259p3412577.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail

Re: Saving from an editable grid

2011-03-07 Thread Thiago H. de Paula Figueiredo
On Mon, 07 Mar 2011 11:29:16 -0300, robnangle wrote: Is there any simple examples of value encoders out there? I seem to be only finding quite complex ones. In your case, it would be something like this: public class PersonValueEncoder implements ValueEncoder { public String toClien

Re: Saving from an editable grid

2011-03-07 Thread robnangle
Is there any simple examples of value encoders out there? I seem to be only finding quite complex ones. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Saving-from-an-editable-grid-tp3412259p3412513.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: Saving from an editable grid

2011-03-07 Thread Thiago H. de Paula Figueiredo
etString(2, player_id); prep.executeUpdate(); return "index"; } The problem is points and player_id are null. Any idea's? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Saving-from-an-editable-grid-tp3

Re: Saving from an editable grid

2011-03-07 Thread robnangle
Player points: ${player.points} /p:pointsCell> /t:grid> http://tapestry.1045711.n5.nabble.com/Saving-from-an-editable-grid-tp3412259p3412265.html Sent from

Saving from an editable grid

2011-03-07 Thread robnangle
ea's? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Saving-from-an-editable-grid-tp3412259p3412259.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscrib