I have the below code in my JSF page for a button.
<h:commandButton title="#{msg['dealsheet.button.accept']}"
styleClass="btnIcon iconDSAccept jqTooltip iconDSAcceptNPD"
onclick="return checkForPopup(this,'#{ds.dealSheetType}','#{ds.dealSheetNo}');"
action="#{dealSheetBean.saveDealSheetOnOverWrite()}"
actionListener="#{dealSheetBean.assignSelectedDeal(ds.dealSheetNo)}">
</h:commandButton>
It was working fine previously. But after adding the attribute id="iconDSAccept#{ds.dealSheetNo}" to h:commandButton the button is not working on the first click i am getting log as 12:55:27,144 WARN [org.apache.tomcat.util.http.Parameters] Parameters: Invalid chunk ignored.
. When I click for the second time it is working fine.
Can anyone advice me why this is happening and how to resolve this ?