Update of
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-castor/src/main/java/org/xdoclet/plugin/castor/mappingxml
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4440/plugin-castor/src/main/java/org/xdoclet/plugin/castor/mappingxml
Modified Files:
Fields.jelly
Log Message:
XDP-70: Castor Plugin doesn't support @castor.field-sql fields
Fixed: Added support, testcases updates.
Index: Fields.jelly
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-castor/src/main/java/org/xdoclet/plugin/castor/mappingxml/Fields.jelly,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Fields.jelly 22 Jun 2005 08:14:56 -0000 1.1
--- Fields.jelly 25 Jun 2005 01:37:02 -0000 1.2
***************
*** 15,18 ****
--- 15,29 ----
handler="${castorFieldTag.getNamedParameter('handler')}"
>
+ <j:if
test="${mappingField.getTagByName('castor.field-sql') != null}">
+ <j:set var="castorFieldSqlTag"
value="${mappingField.getTagByName('castor.field-sql')}"/>
+ <sql
name="${castorFieldSqlTag.getNamedParameter('name')}"
+
type="${castorFieldSqlTag.getNamedParameter('type')}"
+
many-key="${castorFieldSqlTag.getNamedParameter('many-key')}"
+
many-table="${castorFieldSqlTag.getNamedParameter('many-table')}"
+
read-only="${castorFieldSqlTag.getNamedParameter('read-only')}"
+
dirty="${castorFieldSqlTag.getNamedParameter('auto-naming')}"
+
transient="${castorFieldSqlTag.getNamedParameter('transient')}"
+ />
+ </j:if>
<j:if
test="${mappingField.getTagByName('castor.field-xml') != null}">
<j:set var="castorFieldXmlTag"
value="${mappingField.getTagByName('castor.field-xml')}"/>
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
xdoclet-plugins-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-commits