[jboss-user] [JBoss Seam] - Re: How to use ice:dataTable and @DataModel?

2007-03-07 Thread Newlukai
Great. It works. Thank you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025692#4025692 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025692 ___ jboss-user mailing list jbo

[jboss-user] [JBoss Seam] - Re: How to use ice:dataTable and @DataModel?

2007-03-06 Thread Newlukai
Thanks for your answers. But the thing is that - under certain circumstances - the sorting does work in my application. My problem is a little bit more complex. Imagine that you just want to show up companies (danoakland) or organisations (Tony) that match certain criterias which can be varied

[jboss-user] [JBoss Seam] - Re: How to use ice:dataTable and @DataModel?

2007-03-06 Thread [EMAIL PROTECTED]
I map it to the "model"... @DataModel private Organisation[] organisations; (Easier to work with IceFaces with an Array!) Thats all.. >From Page... | | >From backing Bean | /** | * @author Tony Herstell | * @version $Revision: 1.5 $ $Date: 2007-02-13 04:46:40 $ | */

[jboss-user] [JBoss Seam] - Re: How to use ice:dataTable and @DataModel?

2007-03-06 Thread danoakland
The example I posted above does make use of the @DataModelSelection annotation, although I left it out of the example (stupidly). I make use of the "companyList" via the @In annotation in another bean, and I can call a getter which returns the currently selected row of the DataModel. I'm pretty

[jboss-user] [JBoss Seam] - Re: How to use ice:dataTable and @DataModel?

2007-03-06 Thread [EMAIL PROTECTED]
aha. I didnt use @DataModelSelectionIndex... I just added buttons on each line to go to actions: | | | | | As "the-organisation" is in scope then I pass the whole object to my action. None of this fiddling with Indexes... Just lasy I guess. View the original post : ht

[jboss-user] [JBoss Seam] - Re: How to use ice:dataTable and @DataModel?

2007-03-06 Thread [EMAIL PROTECTED]
I have set up and debugged a Sortable Paged Data Table using IceFaces. It seems to work fine. If you are still stuck I can post code and/or a link to the development box running it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025492#4025492 Reply to the

[jboss-user] [JBoss Seam] - Re: How to use ice:dataTable and @DataModel?

2007-03-06 Thread danoakland
I wouldn't say that it's without problems, but I did get the sortable table working with Seam 1.1.5 (and now upgraded to 1.1.6). I haven't gone to 1.2 yet. The trick that I had to use is to provide the ice:dataTable with the actual DataModel itself, not the outjected variable from Seam. For exam

[jboss-user] [JBoss Seam] - Re: How to use ice:dataTable and @DataModel?

2007-03-06 Thread Newlukai
Hi, I still don't get this working. Regards Newlukai View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025411#4025411 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025411 ___

[jboss-user] [JBoss Seam] - Re: How to use ice:dataTable and @DataModel?

2007-03-05 Thread ector7280
Anyone, Is there a way to get a sortable icefaces dataTable to work with Seam or does this need to be added to the JIRA? thanks, JR View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025124#4025124 Reply to the post : http://www.jboss.com/index.html?module=bb&

[jboss-user] [JBoss Seam] - Re: How to use ice:dataTable and @DataModel?

2007-02-08 Thread Newlukai
I'm wondering if there's anybody using ice:dataTable, @DataModel and @DataModelSelectionIndex without any problems. Imagine you have a list rendered by an ice:dataTable. One column consists of h:commandLinks. The action method gathers information about the selected item and returns an outcome