Hi all, Would be grateful for advice regarding invoking actions from D2W pages, specifically, List and Inspect pages.
I'd like to invoke a directaction from a D2W list page. I don't wish to have a separate button with a drop-down menu, but instead make a property a hyperlink. I've spotted D2WHyperlink but that doesn't seem to have direct action bindings. I am aware of ERDBranchDelegate and specifically, found the tutorial on http://wiki.objectstyle.org/confluence/display/WO/D2W+Flow+Control particularly useful. However, that is a bit heavyweight for what I would like. I assumed there would be a component ERD2WDisplayDirectActionHyperlink with bindings such as directAction and actionClass settable via D2WContext, but there isn't! Normally that means there is a better way and I'm missing something obvious? task = 'list' and entity.name = 'Patient' => componentName = "ERD2WDisplayHyperlink" task = 'list' and entity.name = 'Patient' => directAction = "showPatient" task = 'list' and entity.name = 'Patient' => actionClass = "Patients" Of course, not clear to me how one would then pass parameters either.... How does one turn a property into a hyperlink (be it a component action or directaction) from d2w? All help gratefully appreciated! Many thanks, Mark -- Dr. Mark Wardle Specialist registrar, Neurology Cardiff, UK _______________________________________________ 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]
