This content has been marked as final.
Show 2 replies
-
1. Re: how to reflect the action of command button in rich:modalpanel
niox.nikospara.yahoo.com May 26, 2009 12:06 PM (in response to raghu_dev2005)Hi,
Your
row
is probably displayed in a table. Why dont you try reRendering the table from the <a4j:commandButton>s, instead of the modal panel?Also take a look at the keepVisualState attribute of the modal panel.
-
2. Re: how to reflect the action of command button in rich:modalpanel
raghu_dev2005 May 27, 2009 7:14 AM (in response to raghu_dev2005)Hi Nikos,
Thanks a lot for your reply. Your suggestion solved my problem.
<rich:modalPanel id="eftcal" autosized="false" keepVisualState="true" width="600" height="230">
....
<rich:dataTable value="#{effortPlanHandler.effortPlanModel.effortCalculationTable}" var="ectable" id="caleft" rows="15" width="100%">
......
<a4j:commandButton value="Add Row" action="#{effortPlanHandler.addRow}" reRender="caleft"/>
....
The did the above changes.It works fine now.