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="[EMAIL PROTECTED]"/>
                <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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to