Re: Direct Action Multiple Parameters
Re: Direct Action Multiple Parameters
- Subject: Re: Direct Action Multiple Parameters
- From: David LeBer <email@hidden>
- Date: Wed, 2 Mar 2005 14:57:14 -0500
On Mar 2, 2005, at 2:46 PM, Janice Cheung wrote:
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
<http://david.codebase.ca/index.php?cat=14>
DirectActions for fun and profit...
;david
--
David LeBer
Codebase Software Systems
site: http://www.codebase.ca
blog: http://david.codebase.ca
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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