[jboss-user] [JBoss Seam] - Re: h:selectManyCheckbox for ManyToMany relationship
yuriy_zubarev
do-not-reply at jboss.com
Wed Oct 17 16:32:28 EDT 2007
I also tried Tomahawk but the persistence still doesn't work:
| <h:form id="roleForm">
| <h:inputText value="#{role.name}"/>
|
| <t:selectManyCheckbox value="#{role.permissions}" layout="spread" id="perms">
| </t:selectManyCheckbox>
|
| <h:dataTable value="#{modules.resultList}" var="m">
| <h:column>
| #{m.name} module
|
| <h:dataTable value="#{m.permissions}" var="dtp">
| <h:column>
| <t:checkbox for="perms" index="#{dtp.index}"/>
| </h:column>
| </h:dataTable>
|
| </h:column>
| </h:dataTable>
|
| <h:commandLink action="#{roleHome.persist}" value="Save"/>
| </h:form>
|
Regards,
Yuriy
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096279#4096279
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096279
More information about the jboss-user
mailing list