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 protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/ramseygurley%40gmail.com
> 
> This email sent to [email protected]

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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to