[Wicket-user] Re: DataTable with Multi Selection

2006-04-13 Thread Jin Zhu
Thanks, Igor. That's what I have been trying. However, I had a hard time deciding what model to use. The DataTable's data provider has a model. How can I use that same model when I add my IColumn?Jin  Date: Wed, 12 Apr 2006 20:32:19 -0700From: "Igor Vaynberg" <[EMAIL PROTECTED]>To: wicket-user@lists.sourceforge.netSubject: Re: [Wicket-user] DataTable with Multi SelectionReply-To: wicket-user@lists.sourceforge.net--=_Part_12441_2564.1144899139219Content-Type: text/plain; charset=ISO-8859-1Content-Transfer-Encoding: quoted-printableContent-Disposition: inlinesure, just put the table in the form and create an IColumn that adds apanel/fragment with a checkbox in it.-IgorOn 4/12/06, Jin Zhu <[EMAIL PROTECTED]>wrote: Hi, I
 am trying to use DataTable to provide multiple row selection. The row selections will be recorded and processed when the form is submitted. Wha=t's the best way of doing this? Or is it possible at all? In general, can each row of the DataTable be rendered as a check box for any boolean value of the model? Thanks, Jin
		Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.

Re: [Wicket-user] Re: DataTable with Multi Selection

2006-04-13 Thread Igor Vaynberg
the model that the dataprovider generates is available via dataitem.getModel()-IgorOn 4/13/06, Jin Zhu 
[EMAIL PROTECTED] wrote:Thanks, Igor. That's what I have been trying. However, I had a hard time deciding what model to use. The DataTable's data provider has a model. How can I use that same model when I add my IColumn?
Jin  Date: Wed, 12 Apr 2006 20:32:19 -0700From: Igor Vaynberg To: 
wicket-user@lists.sourceforge.netSubject: Re: [Wicket-user] DataTable with Multi Selection
Reply-To: wicket-user@lists.sourceforge.net--=_Part_12441_2564.1144899139219
Content-Type: text/plain; charset=ISO-8859-1Content-Transfer-Encoding: quoted-printableContent-Disposition: inlinesure, just put the table in the form and create an IColumn that adds a
panel/fragment with a checkbox in it.-IgorOn 4/12/06, Jin Zhu wrote: Hi, I
 am trying to use DataTable to provide multiple row selection. The row selections will be recorded and processed when the form is submitted. Wha=
t's the best way of doing this? Or is it possible at all? In general, can each row of the DataTable be rendered as a check box for any boolean value of the model?
 Thanks, Jin
		Yahoo! Messenger with Voice. 
Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.