[jboss-cvs] jboss-seam/doc/reference/en/modules ...

Peter Muir peter at bleepbleep.org.uk
Sat Mar 10 14:09:35 EST 2007


  User: pmuir   
  Date: 07/03/10 14:09:35

  Modified:    doc/reference/en/modules  controls.xml
  Log:
  EntityConverter
  
  Revision  Changes    Path
  1.25      +18 -0     jboss-seam/doc/reference/en/modules/controls.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: controls.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/controls.xml,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -b -r1.24 -r1.25
  --- controls.xml	6 Mar 2007 15:21:10 -0000	1.24
  +++ controls.xml	10 Mar 2007 19:09:35 -0000	1.25
  @@ -57,6 +57,24 @@
              </listitem>
          </varlistentry>
          <varlistentry>
  +           <term><literal>&lt;s:convertEntity&gt;</literal></term>
  +           <listitem>
  +               <para>
  +                   Assigns an entity converter to the current component.  This is primarily
  +                   useful for radio button and dropdown controls.
  +               </para>
  +               <para>
  +               		The converter works with any entity which has an <literal>@Id</literal> annotation -
  +               		either simple or composite.  If your <emphasis>Managed Persistence Context</emphasis> isn't called
  +               		<literal>entityManager</literal>, then you need to set it in components.xml:
  +             	</para>
  +             	<programlisting><![CDATA[
  +    <component name="org.jboss.seam.ui.entityConverter">
  +        <property name="entityManager">#{em}</property>
  +    </component>]]></programlisting>
  +           </listitem>
  +       </varlistentry>
  +       <varlistentry>
              <term><literal>&lt;s:enumItem&gt;</literal></term>
              <listitem>
                  <para>
  
  
  



More information about the jboss-cvs-commits mailing list