Re: isEntityDeletable being cached in D2WContext in ERMODListPage
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