[jboss-user] [JBoss Seam] - Re: EntityConverter

cavani do-not-reply at jboss.com
Mon Mar 12 18:19:16 EDT 2007


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



More information about the jboss-user mailing list