i have a problem with jsf 2.0 and method expressions:
<ui:repeat var="attachment" value="#{bean.attachments}">
<h:outputText value="#{bean.aFunction(attachment)}" />
</ui:repeat>
but it already tells me when typing that "Method must have signature "String method(), String method(String), String method(String, String), String method(String, String, String),..."
here is my function:
public String aFunction(Attachment a){
return Functions.getFormattedAttachmentString(a);
}
what is wrong here?