You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by ov...@apache.org on 2002/09/06 01:56:47 UTC

cvs commit: xml-cocoon2/src/webapp/samples/flow/examples/calc/pages displayResult.xsp

ovidiu      2002/09/05 16:56:47

  Added:       src/webapp/samples/flow/examples/calc/pages
                        displayResult.xsp
  Log:
  Moved from the calc sample directory.
  
  Revision  Changes    Path
  1.1                  xml-cocoon2/src/webapp/samples/flow/examples/calc/pages/displayResult.xsp
  
  Index: displayResult.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 action="../../calc/">
  
            <p>a = <strong><jpath:value-of select="a"/></strong></p>
            <p>b = <strong><jpath:value-of select="b"/></strong></p>
            <p>Operator = <strong><jpath:value-of select="operator"/></strong></p>
            <p>Result = <strong><jpath:value-of select="result"/></strong></p>
            <input type="submit" name="submit" value="Start over"/>
  
          </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