myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Myfaces Wiki] Update of "Entity Converters" by RogerioAraujo
Date Thu, 27 Sep 2007 01:09:06 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The following page has been changed by RogerioAraujo:
http://wiki.apache.org/myfaces/Entity_Converters

------------------------------------------------------------------------------
  {{{
  <h:selectOneMenu value="#{bean.selectedEntity}" 
  converter="#{entityConverter.entity['package.Entity;id']}">
-    <s:selectItems value="#{bean.entities}"
+    <t:selectItems value="#{bean.entities}"
        var="entity" itemLabel="#{entity.name}"
        itemValue="#{entity}" />
  </h:selectOneMenu>
@@ -52, +52 @@

  <h:selectOneMenu value=“#{bean.selectedEntity}”>
     <fbr:entityConverter entity="package.Entity"
        idProperty="id"/>
-    <s:selectItems value="#{bean.entities}"
+    <t:selectItems value="#{bean.entities}"
        var="entity" itemLabel="#{entity.nome}"
        itemValue="#{entity}" />
  </h:selectOneMenu>

Mime
View raw message