Iterate over collection
"Steiner Dominik, (QX59311)" <[email protected]>
| Newsgroups | gmane.comp.java.xdoclet.user |
|---|---|
| Message-ID | <DF443EE4DE59DF4AA773D923AE18D537331545@MZLEXN01.BMW-Motorsport.corp> |
Hi there,
I try to implement following add on to my appfuse/appgen project. In a
form page I want to generate a display table when a property is of a
collection type. So, I already added a method in my TagHandler which
discovers if it is of a collection type. My problem right now is, how is
it possible to get the XClass of the collection? (Java 1.4)
I'm using hibernate, so I'm able to get the class name through the tag
description of say a one-to-many relationship.
But when I have following code, the retrieved XClass seems like an
empty.
XJavaDoc xdoc = new XJavaDoc();
XClass xlcass = Xdoc.getXClass("foo.bar");
Can somebody point me in the right direction?
Dominik
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
xdoclet-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user