]
Mikhail Vitenkov closed RF-3176.
--------------------------------
Assignee: Mikhail Vitenkov (was: Tsikhon Kuprevich)
Fixed.
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
Assigned To: Mikhail Vitenkov
Priority: Critical
Fix For: 3.2.1
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: