On 3/9/07, blackboy zabaha <[EMAIL PROTECTED]> wrote:
- with the checkbox I can't get the list of
selected row, I try to
do DataGridView.getModelObject
but it return null, so my question is how can I get
list of model object
in current page of DataGridView, it take IDataProvider
rather than
IModel, not like ListView, isn't it used for
displaying only not for
modifying in form because it does not hold any model
and so can't update
it's model?
i have very recently described how to do this in this thread:
*[Wicket-user] Design questions: Use of controllers and wicket models
*
- how can I get row index of each row, in
ICellPopulator#populateItem(Item cellItem, String
componentId, IModel
rowModel), both cellItem & rowModel seem to contain no
detail of row index.
there should be a method on Item like getIndex()
- how to dynamic change style of each row to
class="odd"/class="even" up to row index in
DataGridView.
see how DataTable does, namely DataTable.newRowItem() i believe.
-igor
Thank you,
Blackzabaha
____________________________________________________________________________________
The fish are biting.
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user