• 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
D2W: getting the "root" pageConfiguration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

D2W: getting the "root" pageConfiguration


  • Subject: D2W: getting the "root" pageConfiguration
  • From: Fabian Peters <email@hidden>
  • Date: Fri, 26 Oct 2012 15:40:18 +0200

Hi all,

An entity that's being edited (EntityC) has relationships to two different entities (EntityA, EntityB) and different keys should be shown depending on the context (root pageConfiguration being "EditEntityA" or "EditEntityB"). In order to display the right properties on an embedded page, I need to look at the root pageConfiguration, "parentPageConfiguration" is the same in both contexts.

Calling "session.context.page.d2wContext.pageConfiguration" works when used at the property level, but (mostly) fails when used in a rule acting on "displayPropertyKeys". Apparently, it's impossible to get to the session from there. Is there an alternative approach to get the root page configuration in a D2W app?

Fabian
 _______________________________________________
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: D2W: getting the "root" pageConfiguration
      • From: David Holt <email@hidden>
  • Prev by Date: Re: Servlet Deployment
  • Next by Date: Re: D2W: getting the "root" pageConfiguration
  • Previous by thread: Re: ERJasperReports
  • Next by thread: Re: D2W: getting the "root" pageConfiguration
  • Index(es):
    • Date
    • Thread