You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Gerhard Petracek (JIRA)" <de...@myfaces.apache.org> on 2010/05/17 02:33:42 UTC
[jira] Updated: (EXTVAL-90) Allow map notation in the EL expression
for the test infrastructure.
[ https://issues.apache.org/jira/browse/EXTVAL-90?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gerhard Petracek updated EXTVAL-90:
-----------------------------------
Status: Resolved (was: Patch Available)
Fix Version/s: 1.2.4-SNAPSHOT
Resolution: Fixed
> 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
> Reporter: Rudy De Busscher
> Fix For: 1.2.4-SNAPSHOT
>
> 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.