[
https://jira.jboss.org/browse/RF-9095?page=com.atlassian.jira.plugin.syst...
]
Nick Belaevski reassigned RF-9095:
----------------------------------
Assignee: Anton Belevich (was: Nick Belaevski)
Works as expected for f:ajax, doesn't work with a4j:ajax. Looks like a4j:ajax is
swallowing exceptions.
a4j:log : misses server side exceptions.
----------------------------------------
Key: RF-9095
URL:
https://jira.jboss.org/browse/RF-9095
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-a4j-core
Affects Versions: 4.0.0.Milestone1
Reporter: Ilya Shaikovsky
Assignee: Anton Belevich
Priority: Critical
Fix For: 4.0.0.Milestone2
<rich:extendedDataTable
value="#{extTableSelectionBean.inventoryItems}" var="car"
selection="#{extTableSelectionBean.selection}" id="table"
frozenColumns="2" style="height:300px; width:500px;">
<a4j:ajax execute="@form"
event="selectionchange"
listener="#{extTableSelectionBean.selectionListener}"
render=":res" />
I pointed ajax to wrong method. And could see exception in server log. But in a4j:log I
see:
info [17:37:47.316]: Received 'begin' event from <div id=j_idt64:table
class=rf-edt ...>
info [17:37:47.413]: Received 'beforedomupdate' event from <div
id=j_idt64:table class=rf-edt ...>
info [17:37:47.418]: Listing content of response changes element:
Element update for id=res
<update id="res"><![CDATA[<span
id="res"></span>]]></update>
Element update for id=javax.faces.ViewState
<update
id="javax.faces.ViewState"><![CDATA[5781777499522549695:-8602720431148758017]]></update>
info [17:37:47.423]: Received 'success' event from <div id=j_idt64:table
class=rf-edt ...>
info [17:37:47.425]: Received 'complete' event from <div id=j_idt64:table
class=rf-edt ...>
The same log but changing behavior to f:ajax contains :
error[17:39:16.939]: Received 'error@serverError' event from <div
id=j_idt64:table class=rf-edt ...>
error[17:39:16.940]: [200] class javax.el.MethodNotFoundException:
/richfaces/extendedDataTable/samples/exTableSelection-sample.xhtml @16,75
listener="#{extTableSelectionBean.selectionListener}": Method not found:
org.richfaces.demo.tables.ExtTableSelectionBean@13f99af.selectionListener(javax.faces.event.AjaxBehaviorEvent)/richfaces/extendedDataTable/samples/exTableSelection-sample.xhtml
@16,75 listener="#{extTableSelectionBean.selectionListener}": Method not found:
org.richfaces.demo.tables.ExtTableSelectionBean(a)13f99af.selectionListener(javax.faces.event.AjaxBehaviorEvent)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira