AnsweredAssumed Answered

usage of a:selectList

Question asked by gilles on Feb 27, 2008
Latest reply on Mar 18, 2008 by gilles
I get an exception javax.faces.model.SelectItem cannot be cast to org.alfresco.web.ui.common.component.UIListItem when I add a simple …
<a:selectList id="template-list"  value="#{SearchProperties.folderTypes}" styleClass="selectListTable" itemStyleClass="selectListItem">
  <a:listItems value="#{AdvancedSearchDialog.folderTypes}"/>
</a:selectList>
… in the advanced-search.jsp
I checked the SearchProperties setFolderTypes, and the AdvancedSearchDialog getFolderTypes, wich use both a List<SelectItem>
Can you explain my mistake?
Thanks

Outcomes