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

Newlukai do-not-reply at jboss.com
Thu Feb 8 09:51:26 EST 2007


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 that tells JSF to show a page where the selected item is displayed more detailed.
Just like a list of users. You click on a username and on the next page you see his address or something.

The problem is that the @DataModelSelection(Index) is injected with the default value.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013059#4013059

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013059



More information about the jboss-user mailing list