I've got a command button that should rerender some specific region with AJAX.
<a4j:commandButton ajaxSingle="true" actionListener="#{myListener}"
reRender="ext" value="myButton" />
As long as the region is defined as
<a4j:outputPanel id="ext" layout="none">
<rich:panel rendered="#{isPanelRendered}">
...
</rich:panel>
</a4j:outputPanel>
it's working. But unfortunately I can't use rich:panel
since it's creating an ugly border that I can't override with CSS.
But when changing to
<a4j:outputPanel id="ext" layout="none" rendered="#{isPanelRendered}">
...
</a4j:outputPanel>
Also
<a4j:outputPanel id="ext" layout="none">
<h:panelGrid rendered="#{isPanelRendered}">
...
</h:panelGrid>
</a4j:outputPanel>
isn't working.
How can I rerender my region, that contains fields and markup, without a rich:panel
tag?