Fix JSF conversion error when binding a h:selectMany* tag to a list-like
document property
------------------------------------------------------------------------------------------
Key: NXP-7897
URL: https://jira.nuxeo.com/browse/NXP-7897
Project: Nuxeo Enterprise Platform
Issue Type: Bug
Affects Versions: 5.4
Reporter: Anahide Tchertchian
Assignee: Anahide Tchertchian
Fix For: 5.5
When binding a document list of array property to a h:selectManyCheckbox tag
for instance, a conversion error is issued because the JSF component does not
trust that it can set a list-like value to the property.
This is because the DocumentModelResolver is not specific enough when
introspecting the expected type for a given property and returns Object.class.
Note that if the property is already initialized to a non-null value, it will
work as the JSF component falls back on the existing value to check if it can
safely set a list value (although it looks more like a hack).
=> need to make the DocumentModelResolver#getType method more specific when
dealing with list or array properties.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets