Hello,

I have a listing page with a table with data and Edit buttons opening a
dialog at the end of each row:
   <tr:commandButton id="btnEdit" text="Edit" partialSubmit="true"
useWindow="true" action="#{PersonListBean.editPersonDlg}"/>

There is also a chart under the list. All table elements and the charts are
linked to the Edit button via partialTriggers:
   <tr:chart id="chart" value="#{PersonChartDataBean}"
inlineStyle="width:400px; height:300px;" type="verticalBar"
partialTriggers="tblPersonList:btnEdit"
  animationDuration="0"/>
example table element:
   <tr:outputText value="#{dataItem.score}" partialTriggers="btnEdit"
id="fldScore"/>


My problem is that when I click on the Edit button, a partial refresh
request is sent which makes the SVG chart flash.

Is there a way to limit refreshing the page items only on closing the dialog
with successful validation? Or binding the triggers to the dialog's Submit
button?

Thanks for your help.
-- 
View this message in context: 
http://www.nabble.com/Preventing-partial-refresh-on-opening-a-dialog-tp24847394p24847394.html
Sent from the My Faces - Dev mailing list archive at Nabble.com.

Reply via email to