Update of 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-tapestry/src/main/java/org/xdoclet/plugin/tapestry/jelly
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv856/xdoclet-plugins/plugin-tapestry/src/main/java/org/xdoclet/plugin/tapestry/jelly

Modified Files:
        FrameworkComponents.jelly Property.jelly 
Log Message:
Added tapestry.text-field tag for Tapestry's TextField component
Added ability to guess the name parameter for the tapestry.property tag

Index: FrameworkComponents.jelly
===================================================================
RCS file: 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-tapestry/src/main/java/org/xdoclet/plugin/tapestry/jelly/FrameworkComponents.jelly,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** FrameworkComponents.jelly   14 Oct 2005 10:03:56 -0000      1.4
--- FrameworkComponents.jelly   14 Oct 2005 15:49:10 -0000      1.5
***************
*** 7,9 ****
--- 7,10 ----
      <j:import uri="/framework/Insert.jelly" inherit="true"/> 
      <j:import uri="/framework/PageLink.jelly" inherit="true"/> 
+     <j:import uri="/framework/TextField.jelly" inherit="true"/> 
  </j:jelly>

Index: Property.jelly
===================================================================
RCS file: 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-tapestry/src/main/java/org/xdoclet/plugin/tapestry/jelly/Property.jelly,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Property.jelly      22 Aug 2005 09:49:26 -0000      1.1
--- Property.jelly      14 Oct 2005 15:49:10 -0000      1.2
***************
*** 1,6 ****
--- 1,13 ----
  <?xml version="1.0" encoding="UTF-8"?>
  <j:jelly xmlns:j="jelly:core" xmlns:jxml="jelly:xml" xmlns:d="jelly:define">
+     <!-- process class tags -->
      <j:forEach var="property" 
items="${class.getTagsByName('tapestry.property')}">
          <property name="${property.name_}" persist="${property.persist}" 
initial-value="${property.initialValue}"/>
      </j:forEach>
+     <!-- process get methods tags -->
+     <j:forEach var="getterMethod" items="${plugin.getAbstractGetters(class)}">
+         <j:forEach var="property" 
items="${getterMethod.getTagsByName('tapestry.property')}">
+         <property name="${getterMethod.propertyName}" 
persist="${property.persist}" initial-value="${property.initialValue}"/>
+         </j:forEach>
+     </j:forEach>
  </j:jelly>



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
xdoclet-plugins-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-commits

Reply via email to