• 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
Re: isEntityDeletable being cached in D2WContext in ERMODListPage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: isEntityDeletable being cached in D2WContext in ERMODListPage


  • Subject: Re: isEntityDeletable being cached in D2WContext in ERMODListPage
  • From: Ramsey Gurley <email@hidden>
  • Date: Thu, 21 Apr 2011 08:05:35 -0700

Create a logger for isEntityDeletable and see when the rule is firing/caching.

http://wiki.objectstyle.org/confluence/display/WO/How+to+debug+a+D2W+application

Add

log4j.logger.er.directtoweb.rules.ERD2WTraceRuleFiringEnabled = DEBUG

to your properties file.  Once you've done that, you can create the rule logging properties really easily on your app's log4j page.

.../YourApp.woa/wa/ERXDirectAction/log4j

Ramsey

On Apr 21, 2011, at 4:16 AM, Freddie Tilley wrote:

> Hi,
>
> I'm using D2W with the ERModernLook framework. When displaying items in a list page I use a ERDDelayedBooleanAssignment with a conditionKey of session.isAdmin to set the isEntityDeletable property.
>
> Logging into the site as an either an admin or a regular user will set the isEntityDeletable property, but after logging in as a different user type the settings of the previous user type remain in the d2w context. Clearing the d2w cache does set the values to the correct property.
>
> What can I do to resolve this issue?
>
> Thank you,
> Freddie Tilley _______________________________________________
> 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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: isEntityDeletable being cached in D2WContext in ERMODListPage
      • From: David LeBer <email@hidden>
References: 
 >isEntityDeletable being cached in D2WContext in ERMODListPage (From: Freddie Tilley <email@hidden>)

  • Prev by Date: Re: Session id generation - how is it done?
  • Next by Date: Re: isEntityDeletable being cached in D2WContext in ERMODListPage
  • Previous by thread: isEntityDeletable being cached in D2WContext in ERMODListPage
  • Next by thread: Re: isEntityDeletable being cached in D2WContext in ERMODListPage
  • Index(es):
    • Date
    • Thread