ivelin      2002/10/27 00:35:06

  Modified:    src/webapp/samples/xmlform/wizard deployment.xml
  Log:
  formatting
  
  Revision  Changes    Path
  1.7       +45 -45    xml-cocoon2/src/webapp/samples/xmlform/wizard/deployment.xml
  
  Index: deployment.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/xmlform/wizard/deployment.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- deployment.xml    28 Sep 2002 19:43:29 -0000      1.6
  +++ deployment.xml    27 Oct 2002 07:35:05 -0000      1.7
  @@ -9,50 +9,50 @@
   
   -->
   <document xmlns:xf="http://xml.apache.org/cocoon/xmlform/2002";>
  -  <xf:form id="form-feedback" view="deployment" action="wizard" method="GET">
  -    <xf:caption>Cocoon Deployment Information</xf:caption>
  -    <error>
  -      <xf:violations class="error"/>
  -    </error>
  -    <xf:textbox ref="/number">
  -      <xf:caption>Number of deployments</xf:caption>
  -      <xf:violations class="error"/>
  -    </xf:textbox>
  -    <xf:textbox ref="/liveUrl">
  -      <xf:caption>Live URL</xf:caption>
  -      <xf:help>You must enter a valid URL</xf:help>
  -      <xf:violations class="error"/>
  -    </xf:textbox>
  -    <xf:selectBoolean ref="/publish">
  -      <xf:caption>Publish</xf:caption>
  -    </xf:selectBoolean>
  -    <xf:group nodeset="" id="favorites_group">
  -      <xf:caption>Favorite web sites</xf:caption>
  -      <!-- 
  -          repeat is a very powerful iterator tag,
  -          because it iterates over a nodeset resulting from
  -          a the nodeset selector attribute.
  -          Very similar to xslt's for-each tag.
  +     <xf:form id="form-feedback" view="deployment" action="wizard" method="GET">
  +             <xf:caption>Cocoon Deployment Information</xf:caption>
  +             <error>
  +                     <xf:violations class="error"/>
  +             </error>
  +             <xf:textbox ref="/number">
  +                     <xf:caption>Number of deployments</xf:caption>
  +                     <xf:violations class="error"/>
  +             </xf:textbox>
  +             <xf:textbox ref="/liveUrl">
  +                     <xf:caption>Live URL</xf:caption>
  +                     <xf:help>You must enter a valid URL</xf:help>
  +                     <xf:violations class="error"/>
  +             </xf:textbox>
  +             <xf:selectBoolean ref="/publish">
  +                     <xf:caption>Publish</xf:caption>
  +             </xf:selectBoolean>
  +             <xf:group nodeset="" id="favorites_group">
  +                     <xf:caption>Favorite web sites</xf:caption>
  +                     <!-- 
  +              repeat is a very powerful iterator tag,
  +              because it iterates over a nodeset resulting from
  +              the 'nodeset' selector attribute.
  +              Very similar to xslt's for-each tag.
   
  -          In this case we iterate over the top three favorite
  -          web sites.
  -        -->
  -      <xf:repeat nodeset="favorite[position() &lt;= 3]" id="favorites">
  -        <xf:textbox ref="." class="info">
  -          <xf:caption>URL: </xf:caption>
  -        </xf:textbox>
  -      </xf:repeat>
  -    </xf:group>
  -    <xf:submit id="prev" class="button">
  -      <xf:caption>Prev</xf:caption>
  -      <xf:hint>Go to previous page</xf:hint>
  -    </xf:submit>
  -    <xf:submit id="next" class="button">
  -      <xf:caption>Next</xf:caption>
  -      <xf:hint>Go to next page</xf:hint>
  -    </xf:submit>
  -  </xf:form>
  -  <xf:output ref="count" id="show_count" form="form-feedback" class="info">
  -    <xf:caption>Visits Count</xf:caption>
  -  </xf:output>
  +              In this case we iterate over the top three favorite
  +              web sites.
  +            -->
  +                     <xf:repeat nodeset="favorite[position() &lt;= 3]" 
id="favorites">
  +                             <xf:textbox ref="." class="info">
  +                                     <xf:caption>URL:</xf:caption>
  +                             </xf:textbox>
  +                     </xf:repeat>
  +             </xf:group>
  +             <xf:submit id="prev" class="button">
  +                     <xf:caption>Prev</xf:caption>
  +                     <xf:hint>Go to previous page</xf:hint>
  +             </xf:submit>
  +             <xf:submit id="next" class="button">
  +                     <xf:caption>Next</xf:caption>
  +                     <xf:hint>Go to next page</xf:hint>
  +             </xf:submit>
  +     </xf:form>
  +     <xf:output ref="count" id="show_count" form="form-feedback" class="info">
  +             <xf:caption>Visits Count</xf:caption>
  +     </xf:output>
   </document>
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to