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/05/14 15:23:03 UTC

svn commit: r656274 - /myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/resources/org/apache/myfaces/tobago/apt/tag1.2.stg

Author: bommel
Date: Wed May 14 06:23:03 2008
New Revision: 656274

URL: http://svn.apache.org/viewvc?rev=656274&view=rev
Log:
(TOBAGO-332) script tags are not handled on ajax requests

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

Modified: myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/resources/org/apache/myfaces/tobago/apt/tag1.2.stg
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/resources/org/apache/myfaces/tobago/apt/tag1.2.stg?rev=656274&r1=656273&r2=656274&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/resources/org/apache/myfaces/tobago/apt/tag1.2.stg (original)
+++ myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/resources/org/apache/myfaces/tobago/apt/tag1.2.stg Wed May 14 06:23:03 2008
@@ -71,6 +71,18 @@
 
   <tagInfo.properties:property(); separator="\n">
 
+  <if(tagInfo.bodyContent)>
+  @Override
+  public int doEndTag() throws javax.servlet.jsp.JspException {
+    if (!isBodyContentEmpty()) {
+      String bodyContentStr = getBodyContentStr();
+      <tagInfo.componentClassName> component = (<tagInfo.componentClassName>) getComponentInstance();
+      component.set<tagInfo.bodyContent.upperCamelCaseName>(bodyContentStr);
+    }
+    return super.doEndTag();
+  }
+  <endif>
+
   @Override
   public void release() {
     super.release();