cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Yeadon <>
Subject CForms: obtaining the request object
Date Wed, 29 Sep 2004 04:15:57 GMT

I have an authenticator which sets user id in the session request 
object, defined as follows:
<map:match pattern="login">
  <map:act type="auth-login">
    <map:parameter name="handler" value="testauth"/>
    <map:parameter name="parameter_userid" value="{request-param:userid}"/>
    <map:parameter name="parameter_password" 
  <map:redirect-to uri="http://myserver/anotherpage/myform>

How do I then access the request parameters from subsequent forms using 
Java, specifically when I have a class that has no context objects 
directly avaliable to it? For example say I wanted to populate a 
selection list based on user id if the user clicks on a button (in which 
case I am limited to the Form and its widgets - can I get any request 
parameter information from these objects?



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

View raw message