I am calling this xhtml file
<cc:interface>
<cc:attribute name="searchAction"
default="#{searchController.searchAuthors(compAuthorController.completeAuthorList)}"/>
</cc:interface>
<cc:implementation>
<h:form>
<h:outputText id="error" value="#{searchController.errorText}"/><br/>
<h:inputText id="searchText" styleClass="searchBox" size="75"
value="#{searchController.searchText}"/>
<h:commandButton id="searchButton" value="SEARCH"
action="#{cc.attrs.searchAction}"/>
</h:form>
</cc:implementation>
from a template using <util:search/> : I have the search button an everything but when i try to run it i got "javax.el.ELException: java.lang.IllegalArgumentException: Cannot convert example04_01a of type class java.lang.String to class javax.el.MethodExpression" for sake of this thread the method searchController.searchAuthors only returns the string "example04_01a" which is the xhtml page i would like to display
public String searchAuthors(List<Author> list){ return "example04_01a";
}