cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adriano Smith <orosm...@sify.com>
Subject xsp submit
Date Tue, 17 Aug 2004 09:58:04 GMT
i have a form login.xml where user id and password are entered in text boxes and stored and
submitted.

The code for the xml is given below.

Username <input title=\"User\" name=\"mailuserid\"/>
Password 
<input title=\"Password\" type=\"password\" name=\"mailpassword\"/><br/><br/>
    <do type=\"accept\" label=\"Submit\">
    <go method=\"post\" href=\"mail/mail.wml\">
    <postfield name=\"NEXT\" value=\"VERIFY\"/>
    <postfield name=\"uid\" value=\"$(mailuserid)\"/>
    <postfield name=\"mail-userid\" value=\"$(mailuserid)\"/>
    <postfield name=\"mail-password\" value=\"$(mailpassword)\"/>
    <postfield name=\"cmd\" value=\"list-folder-messages\"/>
    <postfield name=\"folder\" value=\"INBOX\"/>
    </go>
  </do>


Now in another case i try to obtain the same values from url as query string instead of text
boxes

for example 
http://xxx/mail/login?uid=user&pwd=pass

Im able to read the parameters using either XSP or flowscript. But how can the submit be done
using XSP or flowscript?? 








Mime
View raw message