
Public Member Functions | |
| NSArray | dependentKeys (String keyPath) |
| ERDDefaultIDAssignment (String key, Object value) | |
| ERDDefaultIDAssignment (EOKeyValueUnarchiver u) | |
| Object | idForEmbeddedPageConfiguration (D2WContext c) |
| Object | idForEmbeddedProperty (D2WContext c) |
| Object | idForForm (D2WContext c) |
| Object | idForPageConfiguration (D2WContext c) |
| Object | idForProperty (D2WContext c) |
| Object | idForSection (D2WContext c) |
Static Public Member Functions | |
| static Object | decodeWithKeyValueUnarchiver (EOKeyValueUnarchiver eokeyvalueunarchiver) |
Static Public Attributes | |
| static final Logger | log = Logger.getLogger(ERDDefaultIDAssignment.class) |
Static Protected Attributes | |
| static final NSDictionary | keys |
This assignment provids defaults for the following keys:
idForProperty idForSection idForPageConfiguration idForEmbeddedPageConfiguration idForEmbeddedProperty idForForm To use: Bind D2W component id binding to d2wContext.id (or d2wContext.idForProperty or d2wContext.idForSection, etc)
You may also override these auto computed id by setting rules for the above keys, if necessary.
| ERDDefaultIDAssignment | ( | EOKeyValueUnarchiver | u | ) |
Public constructor
| u | key-value unarchiver used when unarchiving from rule files. |
| ERDDefaultIDAssignment | ( | String | key, | |
| Object | value | |||
| ) |
Public constructor
| key | context key | |
| value | of the assignment |
| static Object decodeWithKeyValueUnarchiver | ( | EOKeyValueUnarchiver | eokeyvalueunarchiver | ) | [static] |
Static constructor required by the EOKeyValueUnarchiver interface. If this isn't implemented then the default behavior is to construct the first super class that does implement this method. Very lame.
| eokeyvalueunarchiver | to be unarchived |
| NSArray dependentKeys | ( | String | keyPath | ) |
Implementation of the ERDComputingAssignmentInterface. This array of keys is used when constructing the significant keys for the passed in keyPath.
| keyPath | to compute significant keys for. |
Implements ERDComputingAssignmentInterface.
| Object idForEmbeddedPageConfiguration | ( | D2WContext | c | ) |
A DOM id based on the pageConfig + primaryKey
| c | d2w context |
| Object idForEmbeddedProperty | ( | D2WContext | c | ) |
a DOM id based on the triple <task, entity, propertyKey, pk>
| c | d2w context |
| Object idForForm | ( | D2WContext | c | ) |
A DOM id based on the pageConfig
| c | d2w context |
| Object idForPageConfiguration | ( | D2WContext | c | ) |
A DOM id based on the pageConfig
| c | d2w context |
| Object idForProperty | ( | D2WContext | c | ) |
a DOM id based on the triple <task, entity, propertyKey>
| c | d2w context |
| Object idForSection | ( | D2WContext | c | ) |
A DOM id based on the pageConfig and sectionKey
| c | d2w context |
final NSDictionary keys [static, protected] |
Initial value:
ERXDictionaryUtilities.dictionaryWithObjectsAndKeys( new Object [] { new NSArray(new Object[] {"propertyKey", "task", "entity.name"}), "idForProperty", new NSArray(new Object[] {"pageConfiguration", "task", "entity.name", "sectionKey"}), "idForSection", new NSArray(new Object[] {"pageConfiguration", "task", "entity.name"}), "idForPageConfiguration", new NSArray(new Object[] {"pageConfiguration", "task", "entity.name", "object"}), "idForEmbeddedPageConfiguration", new NSArray(new Object[] {"propertyKey", "task", "entity.name", "object"}), "idForEmbeddedProperty", new NSArray(new Object[] {"pageConfiguration", "task", "entity.name"}), "idForForm", })
final Logger log = Logger.getLogger(ERDDefaultIDAssignment.class) [static] |
logging support
Reimplemented from ERDAssignment.
1.5.8