Re: Apppend to WOHyperlink Invoking Action
Re: Apppend to WOHyperlink Invoking Action
- Subject: Re: Apppend to WOHyperlink Invoking Action
- From: Patrick Robinson <email@hidden>
- Date: Wed, 21 Apr 2004 23:12:51 -0400
Add an attribute of ?sort with a binding of par_desc to your
WOHyperlink. Grab it from the subsequent request with
context().request().stringFormValueForKey("sort").
--
Patrick Robinson
AHNR Info Technology, Virginia Tech
email@hidden
On Apr 21, 2004, at 10:06 PM, Hunter Hillegas wrote:
Is there a way to append a query key/pair after a WOHyperlink that is
pointing to an action?
I would rather not create a dozen actions when I could just append
some text and read it out of the context to determine the
sub-action...
I.e. can I get something like this:
?sort=par_desc appended to a WOHyperlink pointing to an action? If
not, is there another easy way to get this in the response or do I
just need to create a ton of actions for each possible button?
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.