Menu

Commit [r5528]  Maximize  Restore  History

Adding support for default hide panel/field and read only business rules. Rules.jsp will look for rules based on the component URL. eg. for component module/submodule/objectmaintenance/main.jsp the rule prefix will be module.submodule.objectmaintenance. We'll then look for rules ending with HidePanelList, HideFieldList and ReadOnlyFieldList. These rules will be loaded in the Rules object as Jaffa.metadata.HidePanelList etc.

When we apply metadata to panels we will check for these rules and set properties on the fields/panels as required.

b_calderwood 2011-09-09

changed /branches/JAFFA_5_10_RELEASE/JaffaRIA/source/html/js/extjs/jaffa/component/PanelController.js
changed /branches/JAFFA_5_10_RELEASE/JaffaRIA/source/html/js/extjs/jaffa/maintenance/Viewport.js
changed /branches/JAFFA_5_10_RELEASE/JaffaRIA/source/html/js/extjs/jaffa/metadata/rules.jsp
changed /branches/JAFFA_5_10_RELEASE/JaffaRIA/source/html/js/extjs/loadJaffaRIA.jsp
/branches/JAFFA_5_10_RELEASE/JaffaRIA/source/html/js/extjs/jaffa/component/PanelController.js Diff Switch to side-by-side view
Loading...
/branches/JAFFA_5_10_RELEASE/JaffaRIA/source/html/js/extjs/jaffa/maintenance/Viewport.js Diff Switch to side-by-side view
Loading...
/branches/JAFFA_5_10_RELEASE/JaffaRIA/source/html/js/extjs/jaffa/metadata/rules.jsp Diff Switch to side-by-side view
Loading...
/branches/JAFFA_5_10_RELEASE/JaffaRIA/source/html/js/extjs/loadJaffaRIA.jsp Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB