[ 
https://issues.apache.org/jira/browse/EXTVAL-90?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rudy De Busscher updated EXTVAL-90:
-----------------------------------

    Status: Patch Available  (was: Open)

> Allow map notation in the EL expression for the test infrastructure.
> --------------------------------------------------------------------
>
>                 Key: EXTVAL-90
>                 URL: https://issues.apache.org/jira/browse/EXTVAL-90
>             Project: MyFaces Extensions Validator
>          Issue Type: Improvement
>    Affects Versions: 1.2.3, 2.0.3, 1.1.3
>            Reporter: Rudy De Busscher
>         Attachments: EXTVAL-90.patch, SupportForMapPropertyTest.java
>
>
> The reference Resolver features of x.x.4 will allow some basic Map usages in 
> references.  The mocks available in the test infrastructure doesn't handle 
> them correctly for the moment.
> Following code fragment clarifies the problem (see also 
> SupportForMapPropertyTest)
>         createValueBinding(inputComponent1, "value", 
> "#{testBean.mapProperty['Key']}");
>         inputComponent1.setSubmittedValue("value1");
>         // This fails with a IllegalStateException thrown in 
> ExtValMockValueExpression.getType 
>         //as he tries to find a getter for key property.
>         inputComponent1.validate(facesContext);

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to