FLUID-4852: Break out configuration for escape-aware EL parsing functions for accessor strategy used in Model Transformations

Metadata

Source
FLUID-4852
Type
Improvement
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Justin Obara
Reporter
Antranig Basman
Created
2012-11-26T05:30:39.342-0500
Updated
2014-03-03T12:32:53.029-0500
Versions
  1. 1.5
Fixed Versions
  1. 1.5
Component
  1. Framework
  2. Model Transformation System

Description

Right now users of the Model Transformation system need to repeat definitions for the EL-escaping-aware parsing functions ("strategies" and "parser") whenever they operate these accessors for themselves. These need to be broken out of private code in Model Transformation and placed at top level in the framework.

I.e.:

var getParser = {
parser: {
parse: fluid.pathUtil.parseEL,
compose: fluid.pathUtil.composePath
},
strategies: [fluid.model.defaultFetchStrategy]
};

var setParser = {
parser: {
parse: fluid.pathUtil.parseEL,
compose: fluid.pathUtil.composePath
},
strategies: [fluid.model.defaultFetchStrategy, fluid.model.defaultCreatorStrategy]
};

Comments

  • Antranig Basman commented 2013-07-05T02:35:35.096-0400

    Merged into trunk at revision c1a526d