JoinedSubclass tag bug 
------------------------

         Key: XDP-53
         URL: http://jira.codehaus.org/browse/XDP-53
     Project: XDoclet 2 Plugins
        Type: Bug
  Components: hibernate  
    Versions: hibernate-1.0    
 Environment: J2SDK 1.4.2_7 on FreeBSD 5.3-SNAP001
    Reporter: Soheil Hassas Yeganeh
    Priority: Blocker


JoinedSubclass task does not work for a hierarchy of depth 2 or more.
There is a bug in JoinedSubclass.jelly

<j:forEach var="joinedSubclass" items="${plugin.getJoinedSubclasses(class)}">
                                                ^== The function doesnot exist
              <j:import uri="org/xdoclet/plugin/hibernate/JoinedSubclass.jelly" 
inherit="true"/>
</j:forEach>

if you change this tag to 
<j:forEach var="joinedSubclass" 
items="${plugin.getSubclasses(class,'hibernate.joined-subclass')}">
getJoinedSubclasses == > getSubclasses
             <j:import uri="org/xdoclet/plugin/hibernate/JoinedSubclass.jelly" 
inherit="true"/>
</j:forEach>

It works fine 
I have tested this.
Thanx



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
xdoclet-plugins-interest mailing list
xdoclet-plugins-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest

Reply via email to