Direct Action Multiple Parameters
Direct Action Multiple Parameters
- Subject: Direct Action Multiple Parameters
- From: Janice Cheung <email@hidden>
- Date: Wed, 02 Mar 2005 14:46:21 -0500
Greetings!
I have a question about passing multiple parameters within the
Direct Action.
This is how my WOComponent renderXMLAction looks:
public WOComponent renderXMLAction(){
WORequest request = request();
String xmlFile=(String)request().formValueForKey("Lastname");
SearchResults nextPage=(SearchResults)pageWithName("SearchResults");
nextPage.setXmlSource(xmlFile);
return nextPage;
}
My NSLog.out.appendln("request=" +request) statement shows that my
request contains this:
formValues={SessionID = ("Q3ftncuOduDgpJtI7tA1q0"); x = ("9");
Language = ("Spanish"); y = ("7"); BatchSize = ("20"); BatchIndex =
("1"); }
How do I get them out for my Direct Action?
Any advice or guidance is greatly appreciated!
Best regards,
Janice
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden