[richfaces-issues] [JBoss JIRA] Created: (RF-3176) a4j:support is not working in dataTable

Alexey Kakunin (JIRA) jira-events at lists.jboss.org
Tue Apr 22 07:33:46 EDT 2008


a4j:support is not working in dataTable
---------------------------------------

                 Key: RF-3176
                 URL: http://jira.jboss.com/jira/browse/RF-3176
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.2.0
         Environment: Java 1.5, Browsers both FF & IE, RichFaces 3.2.0SR1
            Reporter: Alexey Kakunin
            Priority: Critical


It seems a4j:support is not working inside dataTable. Here is short example:

<rich:panel id="testpanel" header="test panel">
          <a4j:form>
                <rich:column>
                    <h:outputText value="test link" />
                        <a4j:support event="onclick" action="#{buyerReturnController.doTest}" />
                </rich:column>
         
            <rich:dataTable id="dtOrderItemsToSelect"
                        value="#{buyerReturnController.testList}" var="oo" rowKeyVar="row" rows="10">
                <f:facet name="header">
                    <rich:columnGroup>
                        <h:column><h:outputText value="test" /></h:column>
                    </rich:columnGroup>
                </f:facet>
                <rich:column>
                    <h:outputText value="#{oo}" />
                        <a4j:support event="onclick" action="#{buyerReturnController.doTest}"/>
                </rich:column>
            </rich:dataTable>
        </a4j:form>
    </rich:panel>

backing bean is session-scoped bean,  testList return simple hard-coded list of objects - so, there should be no validation problems.
Clicking on first link (outside dataTable) caused calling of doTest. When text inside dataTable is clicked - getter for testList is called, but no action is performed.

In 3.1.5 everything worked fine.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list