Seam reRender component in partial

Posted by meed2000 on Stack Overflow See other posts from Stack Overflow or by meed2000
Published on 2010-05-21T13:56:29Z Indexed on 2010/05/21 16:50 UTC
Read the original article Hit count: 506

Filed under:
|
|

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>

© Stack Overflow or respective owner

Related posts about seam

Related posts about jsf