cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yan, Charlene" <Charlene....@thomsonlearning.com>
Subject Parameter in a hidden field in xsp
Date Wed, 25 Jun 2003 17:45:27 GMT
Hi,

I would like to have the value of a parameter "Foo" put in a hidden filed.  The parameter
is passed over from previous page.  Obviously <input type="hidden" name="from" value="<xsp-request:get-parameter
xmlns:xsp-request="http://apache.org/xsp/request/2.0" name="Foo"/>"/> is not working.
 Can anyone help me out here please?

Thanks.

Charlene

<?xml version="1.0" encoding="UTF-8"?>
<xsp:page language="java"
          xmlns:xsp="http://apache.org/xsp"
          xmlns:xsp-request="http://apache.org/xsp/request/2.0">
<page>

  <title>Send EMail</title>

   <p style="color:red;">
     <xsp-request:get-attribute name="org.apache.cocoon.acting.Sendmail" default=""/>
     <xsp-request:get-parameter xmlns:xsp-request="http://apache.org/xsp/request/2.0" name="Foo"/>
   </p>

      <table cellpadding="2" cellspacing="2" border="0">
        <tbody>
     	  <form method="POST" enctype="multipart/form-data">

     	        <input type="hidden" name="smtphost" value="localhost"/>

     	        <input type="hidden" name="from" value="charlene.yan@thomsonlearning.com"/>
     	        <input type="hidden" name="from" value="<xsp-request:get-parameter xmlns:xsp-request="http://apache.org/xsp/request/2.0"
name="Foo"/>"/>
    	  </form>
        </tbody>
      </table>

</page>
</xsp:page>

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message