Here is the code:

        if (null == _nullablePropertyKeys) {
            NSMutableArray array = new NSMutableArray();
            String preKey = propertyKey();
            D2WContext d2wContext = d2wContext();
            for (Enumeration keysEnum = 
displayPropertyKeys().objectEnumerator(); keysEnum.hasMoreElements();) {
                String key = (String)keysEnum.nextElement();
                setPropertyKey(key);

                Object isMandatory = d2wContext.valueForKey("isMandatory");
                if (isMandatory != null && 
!ERXValueUtilities.booleanValue(isMandatory)) {
                    array.addObject(key);
                }
            }
            _nullablePropertyKeys = array;
            setPropertyKey(preKey); // Restore the property key.
        }
        return _nullablePropertyKeys;
    }


Since it brings back all property keys... it doesn't work with 
Grouped/Tabbed/Sectioned property lists as those are arrays.


- James

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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to