I don't test too much, but it works:
on project component.xml:
| <component name="myEntityConverter"
class="org.jboss.seam.ui.EntityConverter">
| <property name="entityManager">#{ myMPC }</property>
| </component>
|
and on JSF page:
| <h:selectOneMenu value="#{ currentContact.category }">
| <s:selectItems value="#{ categoryCombo }" var="category" label="#{
category }"/>
| <f:converter converterId="myEntityConverter"/>
| </h:selectOneMenu>
|
this is a right use of this util?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027365#4027365
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027365
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user