Re: anybody has a tool to extract variable and class names out of Java Business and Java-Struts-ActionForm classes into xml, i.e. a free-marker usable data format?

Daniel Dekany <[email protected]> Thu, 25 Sep 2003 18:46:01 +0200
Newsgroups gmane.comp.text.fmpp
Message-ID <[email protected]>
Thursday, September 25, 2003, 12:05:53 PM, Ralf Hauser wrote:

> Hi,
>
> In a similar spirit as
> http://sourceforge.net/mailarchive/message.php?msg_id=6066563 re exporting
> sql field names etc. into an xml for fmpp usage, it would be great if for
> all Java Business and Java-Struts-ActionForm classes, the variable names
> could be distilled in an ant-able/batchable way into a JavaConstants.ftl
> file (possibly via an interim xml step) such that I could create
> <#assign jc_UserClassLoginVar="login" /> to use in struts as property of its
> <logic:... and <html:... tags.
>
> This would make the struts views much more manageable:
>
> If there was a way to extract the class and private variable names in a
> fmpp-able manner, this would be significant efficiency gain!
>
> Anybody on the list has a recommendation, please share!

It seems to me that it is a question of data-loader... a key point in
the FMPP design is that it is easily extendable with data-loaders. And
if you develop Struts apps., then probably there are Java programmers
around, so they can do it. And, of course, I'm happy to publish any
useful and (more/less) documented data-loader on the FMPP homepage for
the FMPP users.

-- 
Best regards,
 Daniel Dekany




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf