Converts given entries of a D2WContext with a specified page configuration to a dictionary and to rules again.
Very useful for debugging and testing. You can effectively dump a context for a given page configuration into a
.plist
file once you are content with your page, then make tons of changes to the rules and all the while test the changed value against all your stored dictionaries, which should make you more confident to make changes like
*true* => componentName = "D2WString" [100]
Also, given a dictionary, you can re-create the rules for creating these entries with any given level.
Reads in your
d2wclientConfiguration.plists
files from every bundle and also reads in the values given in the
editors
and
supports
fields.
So be sure to keep the entries to those files up to date :)
NSArray pageKeys = new NSArray(new Object [] {"pageWrapperName", "pageName", "headComponentName", "displayPropertyKeys"}); NSArray componentKeys = new NSArray(new Object [] {"componentName", "customComponentName"}); ERD2WContextDictionary dict = new ERD2WContextDictionary("CreateModuleGroup", pageKeys, componentKeys); String value = NSPropertyListSerialization.stringFromPropertyList(dict.dictionary());
RENAMEME: to something more sensible??
@author ak