-
1. Re: Strange...commandLink Issue.
sergeysmirnov Apr 8, 2008 12:17 AM (in response to johnboy)Why you have a f:view inside the panelGroup ?
-
2. Re: Strange...commandLink Issue.
johnboy Apr 8, 2008 12:09 PM (in response to johnboy)Changed that good point. Still the same issue. If I convert to h:commandLink and all works but the whole page resubmits. I really need to not do this.
<h:panelGrid columns="2" rows="1">
<h:panelGroup>
<a4j:form id="SVPSelection">
<c:if test="${not empty SVPBean.currentSvp}">
<h:panelGrid columns="1">
<h:selectOneListbox id="pickSVP" value="#{ConfigurationBean.currentSvp}" size="1">
<a4j:support event="onchange" actionListener="#{ConfigurationBean.agentChanged}" reRender="pickSVP" />
<f:selectItems value="#{SVPBean.sig}" />
</h:selectOneListbox>
</h:panelGrid>
</c:if>
<h:dataTable id="configPanel" value="#{ConfigurationBean.names}" var="res" styleClass="configurationTable" style="border: thin solid black" rows="20">
<h:column>
<h:graphicImage value="#{res.iconloc}"></h:graphicImage>
</h:column>
<h:column>
<h:commandLink id="configurationDetails" actionListener="#{ConfigurationBean.listen}" immediate="true" reRender="configGroupForm," value="#{res.resource}">
</a4j:commandLink>
</a4j:column>
</h:dataTable>
</a4j:form>
</h:panelGroup> -
3. Re: Strange...commandLink Issue.
johnboy Apr 8, 2008 12:13 PM (in response to johnboy)Woops mistyped..
<h:panelGrid columns="2" rows="1">
<h:panelGroup>
<a4j:form id="SVPSelection">
<c:if test="${not empty SVPBean.currentSvp}">
<h:panelGrid columns="1">
<h:selectOneListbox id="pickSVP" value="#{ConfigurationBean.currentSvp}" size="1">
<a4j:support event="onchange" actionListener="#{ConfigurationBean.agentChanged}" reRender="pickSVP" />
<f:selectItems value="#{SVPBean.sig}" />
</h:selectOneListbox>
</h:panelGrid>
</c:if>
<h:dataTable id="configPanel" value="#{ConfigurationBean.names}" var="res" styleClass="configurationTable" style="border: thin solid black" rows="20">
<h:column>
<h:graphicImage value="#{res.iconloc}"></h:graphicImage>
</h:column>
<h:column>
<a4j:commandLink id="configurationDetails" actionListener="#{ConfigurationBean.listen}" immediate="true" reRender="configGroupForm," value="#{res.resource}">
</a4j:commandLink>
</h:column>
</h:dataTable>
</a4j:form>
</h:panelGroup>