Re: Hyperlinks and action methods
Re: Hyperlinks and action methods
- Subject: Re: Hyperlinks and action methods
- From: Archibald Singleton <email@hidden>
- Date: Mon, 31 Mar 2008 23:57:33 -0300
On 31 Mar 2008, at 23:51, Mike Schrag wrote:
No -- this is a component action, not a direct action (it has to
have the object being referenced).
Right, overlooked that.
If you want to do it on a direct action, just do a normal hyperlink
with ?personID=person.primaryKey and reload the person in the DA.
Yeah, that's what I was doing but I liked the elegance of
ERXDataHyperlink.
Thanks!
= tmk =
ms
On Mar 31, 2008, at 10:49 PM, Archibald Singleton wrote:
Is this supposed to work with a direct action?
E.g.:
<wo:ERXDataHyperlink directActionName = "editPerson" person =
"$person">edit person<wo:ERXDataHyperlink>
I'm asking because I tried it and the person binding just yield and
entree attribute for the <a> tag.
Looking at the implementation of ERXDataHyperlink I don't seem to
see any reason why it wouldn't work.
So, what am I missing?
_______________________________________________
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