bad diagnostic messages
-----------------------
Key: RF-9094
URL:
https://jira.jboss.org/browse/RF-9094
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component
Affects Versions: 4.0.0.Milestone1
Reporter: Ilya Shaikovsky
Assignee: Nick Belaevski
1)
<a4j:ajax execute="@form"
event="selectionchange"
listener="#{extTableSelectionBean.selectionListener}"
render=":res" />
public void selectionListener(BehaviorEvent event){
That's wrong as listener should use AjaxBehaviorEvent. But the log message gaves no
idea about that:
Caused by: javax.el.MethodNotFoundException: Method not found:
org.richfaces.demo.tables.ExtTableSelectionBean(a)13f99af.selectionListener()
Note: if you will change the a4j:ajax to f:ajax - exception will contain method signature
with AjaxBehaviorEvent.
2) just real minor :) if I will use event="selectionchanged" (there is no such
event) exception will be
/richfaces/extendedDataTable/samples/exTableSelection-sample.xhtml @16,75 <a4j:ajax>
selectionchangedevent is not supported for the UIExtendedDataTable
check that there is space missed in "selectionchangedevent"
--
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