cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ovi...@apache.org
Subject cvs commit: xml-cocoon2/src/webapp/samples/flow/examples/calc/pages getOperator.xsp
Date Thu, 05 Sep 2002 23:57:24 GMT
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 "ovidiu@cup.hp.com"
  
    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="ovidiu@apache.org"/>
        </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:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message