Mailing List webobjects-dev@wocommunity.org Message #611
From: Theodore Petrosky <webobjects-dev@wocommunity.org>
Subject: Re: [WO-DEV] AW: rule problem
Date: Wed, 1 Apr 2026 09:45:27 -0400
To: WebObjects & WOnder Development <webobjects-dev@wocommunity.org>

Thank you for the help..... here is what I have:

1. really weird, adding the Properties did nothing. Do I need to turn on something else?

Have you tried debugging?

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

2.    took me a while but the key is: isEntityEditable not entityIsEditable
here is the weirdness. there are two buttons "New" and "Edit List". I want to get rid of Edit List. with isEntityEditable false, the New button goes away but the Edit button stays.

3. René you said:

	is your D2WContext instance corretly initialized? E.g. your d2w-Files may not be loaded...

Where would I do this? This is a B-Flat D2W app. I have created many D2W apps and I never had to do anything to initialize the D2WContext.




On 4/1/26 3:56 AM, Andreas Hirtzel wrote:
Have you tried debugging?

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

-----Ursprüngliche Nachricht-----
Von: WebObjects & WOnder Development <webobjects-dev@wocommunity.org> 
Gesendet: Mittwoch, 1. April 2026 05:31
An: WebObjects & WOnder Development <webobjects-dev@wocommunity.org>
Betreff: [WO-DEV] Re: rule problem

Yea, I saw the BooleanAssignment and tried that also with no joy.

can not believe I might have to resort to css.

also interesting that I cannot get a rule to work with

     100 : *true* => isEntityInspectable = "false" 
[com.webobjects.directtoweb.BooleanAssignment],

The inspect is still there also

Ted

On 3/31/26 7:51 PM, Jürgen Tabert wrote:
maybe
100 : *true* => shouldShowEditListButton = "false" 
[com.webobjects.directtoweb.BooleanAssignment],


On 31. Mar 2026, at 02:18, Theodore Petrosky <webobjects-dev@wocommunity.org> wrote:

I need help with a D2W rule. I see that ERModEditRelationshipPage has 
the EditListButtons wrapped in a WOConditional. The boolean value is 
shouldShowEditListButton

I created a rule:

     100 : *true* => shouldShowEditListButton = "false" 
[com.webobjects.directtoweb.Assignment],

I also tried:
pageConfiguration = 'EditRelationshipEmbeddedPersonInstrument' => 
shouldShowEditListButton = "false" 
[com.webobjects.directtoweb.Assignment]

but no joy. Am I missing something?

It has been a while and I find that I am relearning a lot of WO and D2W.

Ted


#############################################################
This message is sent to you because you are subscribed to the mailing 
list <webobjects-dev@wocommunity.org>.
To unsubscribe, E-mail to: <webobjects-dev-off@wocommunity.org>
To switch to the DIGEST mode, E-mail to 
<webobjects-dev-digest@wocommunity.org>
To switch to the INDEX mode, E-mail to 
<webobjects-dev-index@wocommunity.org>
Send administrative queries to  
<webobjects-dev-request@wocommunity.org>
#############################################################
This message is sent to you because you are subscribed to
   the mailing list <webobjects-dev@wocommunity.org>.
To unsubscribe, E-mail to: <webobjects-dev-off@wocommunity.org>
To switch to the DIGEST mode, E-mail to 
<webobjects-dev-digest@wocommunity.org>
To switch to the INDEX mode, E-mail to 
<webobjects-dev-index@wocommunity.org>
Send administrative queries to  
<webobjects-dev-request@wocommunity.org>

#############################################################
This message is sent to you because you are subscribed to
  the mailing list <webobjects-dev@wocommunity.org>.
To unsubscribe, E-mail to: <webobjects-dev-off@wocommunity.org>
To switch to the DIGEST mode, E-mail to <webobjects-dev-digest@wocommunity.org>
To switch to the INDEX mode, E-mail to <webobjects-dev-index@wocommunity.org>
Send administrative queries to  <webobjects-dev-request@wocommunity.org>


#############################################################
This message is sent to you because you are subscribed to
  the mailing list <webobjects-dev@wocommunity.org>.
To unsubscribe, E-mail to: <webobjects-dev-off@wocommunity.org>
To switch to the DIGEST mode, E-mail to <webobjects-dev-digest@wocommunity.org>
To switch to the INDEX mode, E-mail to <webobjects-dev-index@wocommunity.org>
Send administrative queries to  <webobjects-dev-request@wocommunity.org>

Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster