You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2008/03/13 12:33:38 UTC

svn commit: r636719 - /myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/resources/org/apache/myfaces/tobago/apt/component.stg

Author: bommel
Date: Thu Mar 13 04:33:31 2008
New Revision: 636719

URL: http://svn.apache.org/viewvc?rev=636719&view=rev
Log:
(TOBAGO-637) Generate Components, JSP Tags from annotations
Just commited current state. I think 60% of the work is done.

Modified:
    myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/resources/org/apache/myfaces/tobago/apt/component.stg

Modified: myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/resources/org/apache/myfaces/tobago/apt/component.stg
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/resources/org/apache/myfaces/tobago/apt/component.stg?rev=636719&r1=636718&r2=636719&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/resources/org/apache/myfaces/tobago/apt/component.stg (original)
+++ myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/resources/org/apache/myfaces/tobago/apt/component.stg Thu Mar 13 04:33:31 2008
@@ -215,6 +215,17 @@
 }
 >>
 
+MethodBindingProperty(property) ::= <<
+
+public MethodBinding get<property.upperCamelCaseName>() {
+  return <property.propertyName>; 
+}
+
+public void set<property.upperCamelCaseName>(Character <property.propertyName>) {
+  this.<property.propertyName> = <property.propertyName>;
+
+>>
+
 field() ::= <<
 private <it.type> <it.propertyName>;
 >>