Hi,
I'd like to sort the values of a vocabulary shown with the selectOneListbox
component. In the API there is a "sortCriteria" attribute which seems to
accomplish this, but when I use the component in a xhtml like this:
<nxdir:selectOneListbox id="#{widget.id}_nxdir_selectFirstOneListbox"
value="#{field_0}"
directoryName="#{widget.properties.directoryName}"
sortCriteria="label"
displayObsoleteEntries="true" />
The results won't display ordered by label and the JBOSS log shows the
following message:
sortCriteria="label" Property 'sortCriteria' is not on type:
org.nuxeo.ecm.platform.ui.web.directory.SelectOneListboxComponent
However, I've checked the Component source and the taglib and sortCritera is
there in both files. Am I missing something? Is this a bug?
Regards,
--
Posted by "aldago" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread:
<http://www.nuxeo.org/discussions/thread.jspa?threadID=3644#11203>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm