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
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