Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.2.3
-
None
-
None
Description
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);