Re: passing parameters to an action
Re: passing parameters to an action
- Subject: Re: passing parameters to an action
- From: Arturo PĂ©rez <email@hidden>
- Date: Thu, 8 Jan 2004 15:27:37 -0500
On Jan 8, 2004, at 2:00 PM, Pierre Frisch wrote:
Hi Andreas,
We have had the same problem and there is no real easy solution the
best is to add a binding to the WOHyperLink like
?MyMenuItem=myMenuItemName and then in your action retrieve it from
the formValues and dispatch it. It works well but the code is not very
pretty as you will have to have all your menu handling method in one
class.
Would a DirectAction subclass be able to make it prettier? Has anyone
ever tried to make
anonymous DirectAction subclasses?
----
WO in philadelphia - wanna cheesesteak with that?
Please visit webobjects.meetup.com.
_______________________________________________
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.