Re: [Xdoclet-user] Struts Forms

2004-08-12 Thread Sebastian Ho
Of cos it can't.. maybe someone should come out with a tool that inserts xdoclets tag after hibernate generates its POJO. Else it is impossbile to make use of the struts xdoclets tags if hibernate is used. I suppose that is what most ppl are doing.. If I can't find a solution to this, I will have

Re: [Xdoclet-user] Struts Forms

2004-08-12 Thread Matt Raible
XDoclet is not capable of processing Java files w/o marking the source with XDoclet tags. At least, as far as I know. Matt On Aug 12, 2004, at 7:50 PM, Sebastian Ho wrote: Hi Adding to this discussion. Lets say my hibernate POJO are generated (without any xdoclet tags). Any easy way for me to g

Re: [Xdoclet-user] Struts Forms

2004-08-12 Thread Sebastian Ho
Hi Adding to this discussion. Lets say my hibernate POJO are generated (without any xdoclet tags). Any easy way for me to generate Struts ActionForm from them using xdoclet? Editing hundreds of hibernate POJO to add in xdoclet tags is stupid.. Thanks Sebastian On Fri, 2004-08-13 at 02:51, Mat

[Xdoclet-user] hibernatedoclet: inheritance and id sequences

2004-08-12 Thread Thompson Marzagão
Hello! I've got a hibernatedoclet problem: Let's say I have class Widget: public class Widget { private Long id; /* * @hibernate.id * column="id" * type="java.lang.Long" * generator-class="sequence" * * @hibernate.generator-p

Re: [Xdoclet-user] Struts Forms

2004-08-12 Thread Matt Raible
They need to be in a merge directory in a global-forwards.xml file. For example: If you want to check out a project that uses XDoclet for a lot of Struts code generation (including ActionForms from Hibernate POJOs), check out AppFuse (http://appfuse.dev.java.net). Matt Laran E

Re: [Xdoclet-user] Struts Forms

2004-08-12 Thread Laran Evans
How does XDoclet handle global-forwards in struts-config.xml. Is there example code around that I can just look at? Rupp, Heiko wrote: I would say, docu is wrong here, as in the samples there are some that use the struts tags in servlets. Can you please raise an issue in JIRA about this ht

RE: [Xdoclet-user] Struts Forms

2004-08-12 Thread Rupp, Heiko
I would say, docu is wrong here, as in the samples there are some that use the struts tags in servlets. Can you please raise an issue in JIRA about this http://opensource.atlassian.com/projects/xdoclet/secure/Dashboard.jspa ? >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL P

[Xdoclet-user] Struts Forms

2004-08-12 Thread Laran Evans
I have a struts ActionForm which I would like to markup with xdoclet tags. The documentation for @struts.form however says "Applies to: Entity beans". Does this mean that the only ActionForm implementations xdoclet supports are implemented as EJBs? Is it reasonable for me to think that I'll be