Hi,
I have a section in page under <h:panelGroup> which is not rendered on page load using rendered attribute.
On click of <a4j:commandLink>, I am showing that section. The section has <h:nputText> with <a4j:ajax> functionality. Once the section is rendered, the backing bean function is not invoked. Below is the code
<a4j:commandLink
action="#{handlerBean.loadDetails}"
render="iDetails"
>
View/Edit
</a4j:commandLink>
Below is the sction which should be rendered on click of above commandLink.
<a4j:outputPanel id="iDetails">
<h:panelGroup rendered="#{handlerBean.showList}">
<h:inputText
id="newId"
value="1234"
>
<a4j:ajax
listener="#{handlerBean.someAction}"
>
</a4j:ajax>
</h:inputText>
</h:panelGroup>
</a4j:outputPanel>
someAction in backing bean is not getting invoked. Can someone please help in understanding if I am using <a4j:ajax> in a wrong way?
Thanks!