• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Actions from D2W pages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Actions from D2W pages


  • Subject: Actions from D2W pages
  • From: Mark Wardle <email@hidden>
  • Date: Mon, 26 Oct 2009 11:53:13 +0000

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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Actions from D2W pages
      • From: David LeBer <email@hidden>
    • Re: Actions from D2W pages
      • From: Ramsey Lee Gurley <email@hidden>
  • Prev by Date: Re: Component design question
  • Next by Date: Re: Actions from D2W pages
  • Previous by thread: Re: Error with deleting object in WebObjects and Microsoft SQLServer 2005
  • Next by thread: Re: Actions from D2W pages
  • Index(es):
    • Date
    • Thread