Re: “Invalid number of parameters supplied for pattern” error

Splash Forums PrettyFaces Users "Invalid number of parameters supplied for pattern" error Re: “Invalid number of parameters supplied for pattern” error

#20365

albatros
Participant

I’m new to Prettyfaces and I’ve a similar problem. I get the same error as above try to do the following:

In home.jsf I have:

<h:commandLink action="#{proposalbean.viewProposals}" >
<h:outputText value="Vorschlagen"/>
</h:commandLink>

and my bean looks like:

@Controller("proposalbean")
@Scope("request")
@URLMapping(id="proposal", pattern="/proposal", viewId="/proposals.jsf")
public class ProposalBean {

...

@URLAction
public void initView(){
prpslList = prpslDAO.getAllProposals();

}

public String viewProposals() {
// Do stuff
return "pretty:proposal";
}

I should mention that I’m using Primefaces and the my prpslList is shown in a dataTable inside a tabView.

Thanks in advance