Seam reRender component in partial
- by meed2000
Hello,
I'm using seam to develop a simple web app.
Using a4j commandButton in many places, with the property reRender="componentName"
componentName is in most places a a4j outputPanel
Which always worked, until I used a template. with include of two different views.
reRender applied to the whole view does work, but reRender applied to an inner component does not.
Same issue with page rules, all action I had defined are not functioning any more.
Is this a problem with Seam, did someone experience this?
<a4j:outputPanel id="panel1">
<h:form>
<div class="section">
// whatever code
</div>
<a4j:commandButton id="button1" value="Add" action="#{bean1.action()}" reRender="panel1"/>
<h:commandButton id="reset" value="Reset" action="#{bean1.reset}"/>
</h:form>
</a4j:outputPanel>