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

Gavin King gavin.king at jboss.com
Fri Jul 14 00:45:09 EDT 2006


  User: gavin   
  Date: 06/07/14 00:45:09

  Modified:    doc/reference/en/modules   i18n.xml
  Added:       doc/reference/en/modules   controls.xml
  Log:
  added jsf controls chapter
  
  Revision  Changes    Path
  1.6       +6 -1      jboss-seam/doc/reference/en/modules/i18n.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: i18n.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/i18n.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- i18n.xml	12 Jun 2006 00:50:24 -0000	1.5
  +++ i18n.xml	14 Jul 2006 04:45:09 -0000	1.6
  @@ -1,5 +1,5 @@
   <chapter id="i18n">
  -    <title>Internationalization</title>
  +    <title>Internationalization and themes</title>
       <para>
           Seam makes it easy to build internationalized applications by
           providing several built-in components for handling multi-language
  @@ -177,4 +177,9 @@
   
       </section>
       
  +    <section>
  +        <title>Themes</title>
  +        <para>TODO</para>
  +    </section>
  +    
   </chapter>
  
  
  
  1.1      date: 2006/07/14 04:45:09;  author: gavin;  state: Exp;jboss-seam/doc/reference/en/modules/controls.xml
  
  Index: controls.xml
  ===================================================================
  <chapter id="controls">
      <title>Seam JSF controls</title>
      <para>
          Seam includes a number of JSF controls that are useful for working with
          Seam. These are intended to complement the built-in JSF controls, and
          controls from other third-party libraries.
      </para>
      
   
      <variablelist>
         <varlistentry>
             <term><literal>&lt;s:validate&gt;</literal></term>
             <listitem>
                 <para>
                     Validate a JSF input field against the bound property using 
                     Hibernate Validator.
                 </para>
             </listitem>
         </varlistentry>
         <varlistentry>
             <term><literal>&lt;s:validateAll&gt;</literal></term>
             <listitem>
                 <para>
                     Validate all child JSF input fields against the bound propertys using 
                     Hibernate Validator.
                 </para>
             </listitem>
         </varlistentry>
         <varlistentry>
             <term><literal>&lt;s:cache&gt;</literal></term>
             <listitem>
                 <para>
                     Cache the rendered page fragment using JBoss Cache.
                     <emphasis>Facelets only.</emphasis>
                 </para>
                 <itemizedlist>
                     <listitem>
                     <para>
                         <literal>key</literal> &mdash; the key to cache rendered content,
                         often a value expression. For example, if we were caching a page
                         fragment that displays a document, we might use 
                         <literal>key="Document-#{document.id}"</literal>.
                     </para>
                     </listitem>
                     <listitem>
                     <para>
                         <literal>enabled</literal> &mdash; a value expression that determines
                         if the cache should be used.
                     </para>
                     </listitem>
                     <listitem>
                     <para>
                         <literal>region</literal> &mdash; a JBoss Cache node to use (different
                         nodes can have different expiry policies).
                     </para>
                     </listitem>
                 </itemizedlist>
             </listitem>
         </varlistentry>
         <varlistentry>
             <term><literal>&lt;s:link&gt;</literal></term>
             <listitem>
                 <para>
                     A link or button that supports invocation of an action with control
                     over conversation propagation.
                 </para>
                 <itemizedlist>
                     <listitem>
                     <para>
                         <literal>value</literal> &mdash; the label.
                     </para>
                     </listitem>
                     <listitem>
                     <para>
                         <literal>action</literal> &mdash; a method binding that specified
                         the action listener.
                     </para>
                     </listitem>
                     <listitem>
                     <para>
                         <literal>view</literal> &mdash; the JSF view id to link to.
                     </para>
                     </listitem>
                     <listitem>
                     <para>
                         <literal>fragment</literal> &mdash; the fragment identifier to link to.
                     </para>
                     </listitem>
                     <listitem>
                     <para>
                         <literal>linkStyle</literal> &mdash; either <literal>link</literal>,
                         the default, or <literal>button</literal>.
                     </para>
                     </listitem>
                     <listitem>
                     <para>
                         <literal>buttonClass</literal> &mdash; the css class for the button.
                     </para>
                     </listitem>
                     <listitem>
                     <para>
                         <literal>propagation</literal> &mdash; determines the conversation
                         propagation style: <literal>begin</literal>, <literal>join</literal>,
                         <literal>nest</literal>, <literal>none</literal> or <literal>end</literal>.
                     </para>
                     </listitem>
                     <listitem>
                     <para>
                         <literal>pageflow</literal> &mdash; a pageflow definition to begin.
                         (This is only useful when <literal>propagation="begin"</literal> or 
                         <literal>propagation="join"</literal>.)
                     </para>
                     </listitem>
                 </itemizedlist>
             </listitem>
         </varlistentry>
         <varlistentry>
             <term><literal>&lt;s:conversationPropagation&gt;</literal></term>
             <listitem>
                 <para>
                     Customize the conversation propagation for a command link or button
                     (or similar JSF control).
                     <emphasis>Facelets only.</emphasis>
                 </para>
                 <itemizedlist>
                     <listitem>
                     <para>
                         <literal>propagation</literal> &mdash; determines the conversation
                         propagation style: <literal>begin</literal>, <literal>join</literal>,
                         <literal>nest</literal>, <literal>none</literal> or <literal>end</literal>.
                     </para>
                     </listitem>
                     <listitem>
                     <para>
                         <literal>pageflow</literal> &mdash; a pageflow definition to begin.
                         (This is only useful when <literal>propagation="begin"</literal> or 
                         <literal>propagation="join"</literal>.)
                     </para>
                     </listitem>
                 </itemizedlist>
             </listitem>
         </varlistentry>
         <varlistentry>
             <term><literal>&lt;s:conversationId&gt;</literal></term>
             <listitem>
                 <para>
                     Add the conversation id to an output link (or similar JSF control).
                     <emphasis>Facelets only.</emphasis>
                 </para>
             </listitem>
         </varlistentry>
         <varlistentry>
             <term><literal>&lt;s:taskId&gt;</literal></term>
             <listitem>
                 <para>
                     Add the task id to an output link (or similar JSF control), when the
                     task is available via <literal>#{task}</literal>.
                     <emphasis>Facelets only.</emphasis>
                 </para>
             </listitem>
         </varlistentry>
         <varlistentry>
             <term><literal>&lt;s:action&gt;</literal></term>
             <listitem>
                 <para>
                     Attach an action listener to an output link (or similar JSF control).
                     <emphasis>Facelets only.</emphasis>
                 </para>
                 <itemizedlist>
                     <listitem>
                     <para>
                         <literal>action</literal> &mdash; a method binding that specified
                         the action listener.
                     </para>
                     </listitem>
                 </itemizedlist>
             </listitem>
         </varlistentry>
      </variablelist>
      
  </chapter>
  
  
  



More information about the jboss-cvs-commits mailing list