0

I have a commandLink inside a dataTable as below:

<h:column>
    <h:commandLink action="#{pc_jlReport.JoinerleaveReportViewButton}">
        <img src="<%=request.getContextPath()%>/theme/default/images/view.png" alt="" title="" border="0" />
        <f:param name="JLReportId" value="#{JLReport.idJoinerLeaver}"></f:param>
    </h:commandLink>
</h:column>

It should invoke this method:

public String JoinerleaveReportViewButton() {
    try {
        jlr = JoinerLeaverReportManager.getInstance().JoinerleaveReportViewButton(new Long(getRequestParam("JLReportId").toString()));
        return Constants.AVIEW;
    } catch (Exception e) {
        e.printStackTrace();
        return Constants.FAILURE;
    }
}

But it is not invoked. How is this caused and how can I solve it?

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555

0 Answers0