ovidiu      2002/09/05 16:57:24

  Added:       src/webapp/samples/flow/examples/calc/pages getOperator.xsp
  Log:
  Moved from the calc sample directory.
  
  Revision  Changes    Path
  1.1                  
xml-cocoon2/src/webapp/samples/flow/examples/calc/pages/getOperator.xsp
  
  Index: getOperator.xsp
  ===================================================================
  <?xml version="1.0"?>
  
  <!--
    Author: Ovidiu Predescu "[EMAIL PROTECTED]"
  
    Date: March 23, 2002
   -->
  
  <xsp:page
    language="java"
    xmlns:xsp="http://apache.org/xsp";
    xmlns:jpath="http://apache.org/xsp/jpath/1.0";
    >
    
    <document>
  
      <header>
        <title>Calculator example</title>
        <authors>
          <person name="Ovidiu Predescu" email="[EMAIL PROTECTED]"/>
        </authors>
      </header>
  
      <body>
        <s1 title="Calculator">
  
          <form><xsp:attribute 
name="action"><xsp:expr><jpath:continuation/></xsp:expr></xsp:attribute>
  
            <p>a = <strong><jpath:value-of select="a"/></strong></p>
            <p>b = <strong><jpath:value-of select="b"/></strong></p>
            <p>Enter operator
              <select name="operator">
                <option>plus</option>
                <option>minus</option>
                <option>multiply</option>
                <option>divide</option>
              </select>
            </p>
            <input type="submit" name="submit" value="Do it!"/>
          </form>
  
         </s1>
      </body>
  
    </document>
  
  </xsp:page>
  
  
  
  

----------------------------------------------------------------------
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