RE: [Xdoclet-user] Resolved: Overriding default templates

2005-01-17 Thread James Richardson
I found that reading the docs pointed me towards the tag: I noticed that if the file doesn't exist, the default is used. Did the trick! Best Regards, James > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of James Richardson > Sent: 17

Re: [Xdoclet-user] XDoclet and Struts / generation of struts-config.xml

2005-01-17 Thread Matt Raible
I believe this has been fixed in CVS: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-952 Matt On Jan 16, 2005, at 9:25 AM, Marco Mistroni wrote: hello all, i am using XDoclet in my webapplication to generate the struts-config.xml file. In my action i am specifying attributes 'name,

Re: [Xdoclet-user] XDoclet - Ensure value is unique in database

2005-01-17 Thread Konstantin Priblouda
--- Shaun Logue <[EMAIL PROTECTED]> wrote: > Hi, > > My application is using a table with address types > e.g. Shipping, Home, Work, etc. > These names must be unique and the name is not the > primary key > > Is there any way that XDoclet can be used to ensure > this It depends on what you lik

[Xdoclet-user] XDoclet - Ensure value is unique in database

2005-01-17 Thread Shaun Logue
Hi,   My application is using a table with address types e.g. Shipping, Home, Work, etc. These names must be unique and the name is not the primary key   Is there any way that XDoclet can be used to ensure this   Regards Shaun

Re: [Xdoclet-user] Problem with generating an automatic primary key

2005-01-17 Thread Gino Gervasio
Hi, I am using the same version of eclipse, jboss and xdoclet but I use a Postgresql 7.4.5 database. And when I use sequences, I usually include this tag: /** @jboss.persistence auto-increment="true" */ at the get method of the primary key. Hope that helped. Good luck! Gino --

[Xdoclet-user] Problem with generating an automatic primary key

2005-01-17 Thread frederic . kieffer
Hi,     We have a problem with the automatic generation of a primary key in a CMP entity bean. We are using eclipse 3.0, jboss3.2.4 and xdoclet 1.2.1.   In the entity bean, we added the following xdoclet tags:       /** * @ejb.bean name="PropertySOVCMP" * jndi-name="fr.com.gerling.rm.ejb

[Xdoclet-user] RE: xdoclet-user digest, Vol 1 #2005 - 4 msgs

2005-01-17 Thread Greene, Brian
Marco, Just crack open the xdoclet jar file for struts and edit the template that generates the struts config file. The template language is relatively easy to understand, and you should be able to make the requested alterations with ease. If you are really having issue, buy the book from

[Xdoclet-user] Overriding default templates

2005-01-17 Thread James Richardson
Hi, I'm pretty new to using xdoclet. Its proving extremely useful in writing EJBs so thank you! I would like though to substitute a custom template for the "lookup.xdt" (I think) template that is run for the "utilObject" goal. I have found the source code for the template, and the changes seem

Re: [Xdoclet-user] XDoclet and Struts / generation of struts-config.xml

2005-01-17 Thread Konstantin Priblouda
--- Marco Mistroni <[EMAIL PROTECTED]> wrote: > hello all, > i am using XDoclet in my webapplication to generate > the struts-config.xml > file. > In my action i am specifying attributes > 'name,scope,path and input' but i > would like > to 'override' XDoclet by specifying an additional