cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Larson" <>
Subject Re: How to use Request-parameter Selector with the submit button
Date Thu, 12 Sep 2002 12:52:42 GMT
The submit button comes across just like text fields.
Here is a sample login page and post page:

<?xml version="1.0"?>
<!-- filename: login.xsp -->
<xsp:page xmlns:xsp="">
    <form method="post" action="">
      Sometext:<br/><input type="text" name="sometext"/><br/>
      <input type="submit" name="mysubmitbtn" value="button1"/>
      <input type="submit" name="mysubmitbtn" value="button2"/>

<?xml version="1.0"?>
<!-- filename: -->
    Sometext = <xsp-request:get-parameter name="sometext"/><br/>
    Submit = <xsp-request:get-parameter name="mysubmitbtn"/><br/>

Tim Larson

Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message