It's almost the same thing....look the setup method.
Lionel
At 23:15 31/03/2003 +0200, you wrote:
Sure:
public Map act (Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters params) throws java.lang.Exception { Map resultMap = super.act(redirector, resolver, objectModel, source, params); Request request = (Request) objectModel.get(Constants.REQUEST_OBJECT); //I think you can also write the above line this way: //Request request = ObjectModelHelper.getRequest(objectModel); String the_parameter = request.getParameter("the_parameter"); ...
I do not know if easier ways exist but this worked for me. Hope it helps.
----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 31, 2003 2:07 PM Subject: RE: XMLForm: how to retrieve URL parameter?
> Hi again, > > Could you give an example of your code? > > Thanks > Sylvain >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]