I want to submit two panelgroups using single hx:behavior. I have tried in the following way. its refreshing the two panels.but, commandbutton action is performing two times.
<h:messages layout="table" showDetail="true" style="color: red"
<%-- here we have more than 10 jsp:include tags --%>
<jsp:include page="/jsp/subview.jsp />
<hx:ajaxRefreshSubmit id="Lineitemajax" target="line"></hx:ajaxRefreshSubmit>
and inside subview.jsp we have a command button.
<h:commandButton id="addLineItemSummary" style="CURSOR:hand"
<hx:behavior event="onclick" behaviorAction="get;get" targetAction="line;hdrMsgRefresh"></hx:behavior>
if i clicked on the above button i want to submit two panelgroups. its submitting successfully.but, command button action is performing two times.if anything i did wrong.please help me on this...
This topic has been locked.
1 reply Latest Post - 2014-09-20T11:43:21Z by jitupkp
Pinned topic How can we submit two panelgroups using hx:behavior
Answered question This question has been answered.
Unanswered question This question has not been answered yet.