Support for composite value expressions like 'test #{foo}'
----------------------------------------------------------
Key: MYFACESTEST-20
URL: https://issues.apache.org/jira/browse/MYFACESTEST-20
Project: MyFaces Test
Issue Type: Improvement
Components: Mock Objects
Affects Versions: 1.0.0-SNAPSHOT
Reporter: Rudy De Busscher
Attachments: MyfacesTest-20.patch
For the moment, the MockValueExpression class supports only literals and pure
references. Expressions wich are a composite, like mixing literal with
references, are not supported (throws IllegalArgumentException)
A MockCompositeValueExpression is introduced in this patch that allows such
composites by creating a List of MockValueExpression. During evaluation of the
expression, the result of the individual parts are merged together.
This MockCompositeValueExpression class is used by default by the factory
(MockExpressionFactory)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.