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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to