I've experienced some issues using XDtClass:forAllClasses or XDtType:ifIsOfType in a custom struts template, in particular with the extent being set to "hierarchy".

The behavior I'm getting is that the object hierarchy is only partially traversed, which allows me to use XDtType:ifIsOfType only in the context of "super" rather than "hierarchy". For instance, if I have an object graph
A
B,C,D extends A
E extends B


and my template wants to do something for all objects of type "A", only objects B,C,D will be affected, not E.

Tracing xdoclet shows me the issue. The superclass is loaded as an UnknownClass, which implicitly extends Object, which of course ends the hierarchy search. I may be failing to RTFM sufficiently, but what might I do in order for the superclass to be loaded correctly? (i.e, to be loaded such that it knows its own superclass).

--

David J. Hamilton
Software Engineer
Bricsnet
The CRE Automation Company
[EMAIL PROTECTED]
+1 415.884.5678x822
http://www.bricsnet.com/


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to