Author: nbelaevski
Date: 2007-04-24 20:24:54 -0400 (Tue, 24 Apr 2007)
New Revision: 122
Modified:
trunk/cdk/generator/src/main/resources/META-INF/templates/facelets.taglib.vm
trunk/cdk/generator/src/main/resources/META-INF/templates12/facelets.taglib.vm
Log:
listener tags generation added
Modified: trunk/cdk/generator/src/main/resources/META-INF/templates/facelets.taglib.vm
===================================================================
---
trunk/cdk/generator/src/main/resources/META-INF/templates/facelets.taglib.vm 2007-04-24
17:36:59 UTC (rev 121)
+++
trunk/cdk/generator/src/main/resources/META-INF/templates/facelets.taglib.vm 2007-04-25
00:24:54 UTC (rev 122)
@@ -28,4 +28,18 @@
</tag>
#end
#end
+
+
+#foreach( $listener in ${listeners})
+ <tag>
+ <tag-name>${listener.name}</tag-name>
+#if(${listener.taghandler})
+ <handler-class>
+ ${listener.taghandler.classname}
+ </handler-class>
+#end
+
+ </tag>
+#end
+
</facelet-taglib>
\ No newline at end of file
Modified: trunk/cdk/generator/src/main/resources/META-INF/templates12/facelets.taglib.vm
===================================================================
---
trunk/cdk/generator/src/main/resources/META-INF/templates12/facelets.taglib.vm 2007-04-24
17:36:59 UTC (rev 121)
+++
trunk/cdk/generator/src/main/resources/META-INF/templates12/facelets.taglib.vm 2007-04-25
00:24:54 UTC (rev 122)
@@ -52,4 +52,17 @@
#end
#end
+
+#foreach( $listener in ${listeners})
+ <tag>
+ <tag-name>${listener.name}</tag-name>
+#if(${listener.taghandler})
+ <handler-class>
+ ${listener.taghandler.classname}
+ </handler-class>
+#end
+
+ </tag>
+#end
+
</facelet-taglib>
\ No newline at end of file
Show replies by date