RE: generate struts ActionForm & strut's jsp from hibernate's map ping

2004-04-23 Thread David Friedman
nd example? Regards, David -Original Message- From: Nick Heudecker [mailto:[EMAIL PROTECTED] Sent: Friday, April 23, 2004 2:28 AM To: Struts Users Mailing List Subject: Re: generate struts ActionForm & strut's jsp from hibernate's map ping Some people use the @struts.form XDoc

RE: generate struts ActionForm & strut's jsp from hibernate's map ping

2004-04-23 Thread Dionisius Purba
David, you're right that I oversimplified the situation regarding the HTML Input's type, For my situations, the inputs in JSPs will be put between etc. The and and it's closing tags will be generated too to minimize copy & pasting (the jsp phsycial file itself would be generated automaticall

Re: generate struts ActionForm & strut's jsp from hibernate's map ping

2004-04-22 Thread Nick Heudecker
Some people use the @struts.form XDoclet tags to create their form classes, although I wasn't able to get it to work with non-EJB classes. I've written an XDoclet extension to create dynamic form bean definitions to get around this. Your problem is that you're going from HBM > Java Bean > Form Be

RE: generate struts ActionForm & strut's jsp from hibernate's map ping

2004-04-22 Thread Dionisius Purba
David, It works perfectly fine. You see, based on, for instance, Person.hbm.xml, hbm2java will generate Person.java but since I use struts, I still need to generate PersonForm.java and Person.jsp PersonForm would be very similar to Person.java, with the difference is that in PersonForm, all field