[jboss-user] [JBoss Seam] - Re: need help using DataModelSelectionIndex

2007-11-20 Thread [EMAIL PROTECTED]
Try @DataModel(value=myAuditList) | private List myAuditList; | | @DataModelSelection(value=myAuditList) | private Object[] myAuditListSelection; | | @DataModelSelectionIndex(value=myAuditList) | //this is the row number of the underlying collection |

[jboss-user] [JBoss Seam] - Re: need help using DataModelSelectionIndex

2007-11-20 Thread asookazian
[EMAIL PROTECTED] wrote : Try | | @DataModel(value=myAuditList) | | private List myAuditList; | | | | @DataModelSelection(value=myAuditList) | | private Object[] myAuditListSelection; | | | |

[jboss-user] [JBoss Seam] - Re: need help using DataModelSelectionIndex

2007-11-20 Thread asookazian
Kragoth wrote : As far as I know or at least as far as I can tell, you cannot have a DataModelSelectionIndex and a DataModelSelection on the same DataModel. | | You need to choose, do you want the index or the object. | | There really is no point in having the DataModelSelection if you

[jboss-user] [JBoss Seam] - Re: need help using DataModelSelectionIndex

2007-11-20 Thread [EMAIL PROTECTED]
asookazian wrote : I posted the stack trace for this configuration in my original post. does not work. Ah yes. You are right - this stopped working about a year ago. We should probably fix that. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4106483#4106483

[jboss-user] [JBoss Seam] - Re: need help using DataModelSelectionIndex

2007-11-20 Thread asookazian
the alternative solution suggested by Kragoth works. thx much! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4106495#4106495 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106495

[jboss-user] [JBoss Seam] - Re: need help using DataModelSelectionIndex

2007-11-19 Thread Kragoth
As far as I know or at least as far as I can tell, you cannot have a DataModelSelectionIndex and a DataModelSelection on the same DataModel. You need to choose, do you want the index or the object. There really is no point in having the DataModelSelection if you have the index as you can get