Re: [appfuse-user] Xdoclet

2007-05-01 Thread Matt Raible
You can add a .java file that extends your class in metadata/web. See metadata/web/xdoclet-UserForm.java for an example. The XDoclet template for ActionForms doesn't currently contain any logic to handle arrays. You may be able to add this functionality, just modify metadata/templates/struts_for

[appfuse-user] Xdoclet

2007-04-29 Thread jithesh
Hai, I am having a problem with x doclet. I used to generate form bean useing x doclets. i declared the variables as ineger[] , but while generating the form bean it was of type string. How would i get return type as of integer[] . form bean is generating at run time so i cant modify the form

Re: [appfuse-user] xdoclet hibernate param bug

2007-01-28 Thread Matt Raible
Can you enter this as a bug in AppFuse's or XDoclet's JIRA? I should see it and be able to fix it if you enter it into XDoclet's JIRA. Thanks, Matt On 1/11/07, xiuxiu <[EMAIL PROTECTED]> wrote: Hi, I am using Appfuse 1.9.4 with xdoclet-1.3-SNAPSHOT. And I found there is a bug in thi

[appfuse-user] xdoclet hibernate param bug

2007-01-11 Thread xiuxiu
Hi, I am using Appfuse 1.9.4 with xdoclet-1.3-SNAPSHOT. And I found there is a bug in this xdoclet version. for the hibernate-param.xdt in xdoclet-hibernate-module-1.3-SNAPSHOT.jar\xdoclet\modules\hibernate\resources. There is a blank between the tag and param value. And the h

Re: [appfuse-user] XDoclet -- How to use stipulate list index?

2006-12-29 Thread Gary
*/ I notice that your list-index column is city_name. Is this a String? A list-index column must be an integer. Gary - Original Message From: mxc <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net Sent: Friday, December 29, 2006 3:20:07 AM Subject: [appfuse-user] XDoclet

Re: [appfuse-user] XDoclet -- How to use stipulate list index?

2006-12-29 Thread Jason Brice
Is there such a tag as hibernate.list-index? I didn't see one here: http://xdoclet.sourceforge.net/xdoclet/tags/hibernate-tags.html Perhaps you want to use hibernate.collection-index ? Jason On 12/29/06, mxc <[EMAIL PROTECTED]> wrote: Hi all, I can't seem to find an appropriate xdoclet for

[appfuse-user] XDoclet -- How to use stipulate list index?

2006-12-29 Thread mxc
Hi all, I can't seem to find an appropriate xdoclet forum so I though I would ask here. I have setup a list element for a one-to-many relationship as so. /** * @hibernate.list lazy="true" outer-join="auto" inverse="true" cascade="all-delete-orphan" * @hibernate.list-in

Re: [appfuse-user] xdoclet unique-key question

2006-12-09 Thread majaa majaa
iginal Message - *From:* majaa majaa <[EMAIL PROTECTED]> *To:* users@appfuse.dev.java.net *Sent:* Saturday, December 09, 2006 11:06 AM *Subject:* Re: [appfuse-user] xdoclet unique-key question I have one unique key with 3 fields. /** * @hibernate.component unique="true" */ in one cl

Re: [appfuse-user] xdoclet unique-key question

2006-12-09 Thread Rene Lavoie
09, 2006 11:06 AM Subject: Re: [appfuse-user] xdoclet unique-key question I have one unique key with 3 fields. /** * @hibernate.component unique="true" */ in one class and rest for these key in second Perhaps you can do that only in this way.. majaa

Re: [appfuse-user] xdoclet unique-key question

2006-12-09 Thread majaa majaa
I have one unique key with 3 fields. /** * @hibernate.component unique="true" */ in one class and rest for these key in second Perhaps you can do that only in this way.. majaa

Re: [appfuse-user] xdoclet unique-key question

2006-12-08 Thread Rene Lavoie
Btw, ignore the inconsistency in package names. - Original Message - From: "Rene Lavoie" <[EMAIL PROTECTED]> To: Sent: Saturday, December 09, 2006 2:12 AM Subject: Re: [appfuse-user] xdoclet unique-key question ant setup ends with: [schemaexport] (c

Re: [appfuse-user] xdoclet unique-key question

2006-12-08 Thread Rene Lavoie
dtd";> - Original Message - From: "Matt Raible" <[EMAIL PROTECTED]> To: Sent: Friday, December 08, 2006 11:02 PM Subject: Re: [appfuse-user] xdoclet unique-key question Can you post the full error/stacktrace you're seeing? Thanks, Matt

Re: [appfuse-user] xdoclet unique-key question

2006-12-08 Thread Matt Raible
Can you post the full error/stacktrace you're seeing? Thanks, Matt On 12/8/06, Rene Lavoie <[EMAIL PROTECTED]> wrote: Hello, I m trying to map a unique constraint with two fields. And the build keeps failing: "Schema text failed" Any idea? Thanks public class LiteralText extends BaseObject

[appfuse-user] xdoclet unique-key question

2006-12-08 Thread Rene Lavoie
Hello, I m trying to map a unique constraint with two fields. And the build keeps failing: "Schema text failed" Any idea? Thanks public class LiteralText extends BaseObject { ... /** * @hibernate.id generator-class="native" type="java.lang.Long" column="id" * @return the id */ public Long