Author: maksimkaszynski
Date: 2008-03-07 07:16:51 -0500 (Fri, 07 Mar 2008)
New Revision: 6616
Modified:
trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/config/JsfBean.java
trunk/cdk/generator/src/main/resources/META-INF/schema/entities/ajax_region_attributes.ent
Log:
fixed syntax for J5
Modified: trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/config/JsfBean.java
===================================================================
--- trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/config/JsfBean.java 2008-03-07
12:16:44 UTC (rev 6615)
+++ trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/config/JsfBean.java 2008-03-07
12:16:51 UTC (rev 6616)
@@ -23,6 +23,8 @@
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
+import java.util.Collections;
+import java.util.List;
import org.ajax4jsf.builder.generator.Logger;
@@ -114,6 +116,11 @@
return getClassname();
}
+ public List<JsfBean> getGenericTypes() {
+ return Collections.emptyList();
+ }
+
+
/**
* @param classname The classname to set.
*/
Modified:
trunk/cdk/generator/src/main/resources/META-INF/schema/entities/ajax_region_attributes.ent
===================================================================
---
trunk/cdk/generator/src/main/resources/META-INF/schema/entities/ajax_region_attributes.ent 2008-03-07
12:16:44 UTC (rev 6615)
+++
trunk/cdk/generator/src/main/resources/META-INF/schema/entities/ajax_region_attributes.ent 2008-03-07
12:16:51 UTC (rev 6616)
@@ -2,9 +2,9 @@
<property elonly="true" el="true"
attachedstate="true" >
<name>ajaxListener</name>
<defaultvalue>null</defaultvalue>
- <classname>javax.faces.el.MethodBinding</classname>
+ <classname>javax.el.MethodExpression</classname>
<methodargs>org.ajax4jsf.event.AjaxEvent</methodargs>
- <description> MethodBinding representing an action listener method that
will be notified when this component is activated by the ajax Request and handle it. The
expression must evaluate to a public method that takes an AjaxEvent parameter, with a
return type of void</description>
+ <description> MethodExpression representing an action listener method that
will be notified when this component is activated by the ajax Request and handle it. The
expression must evaluate to a public method that takes an AjaxEvent parameter, with a
return type of void</description>
</property>
<property hidden="true">
<name>submitted</name>
Show replies by date