Re: [Xdoclet-user] hibernatedoclet merge dir

2004-02-12 Thread Andrew Stevens
On Thu, 2004-02-12 at 18:44, Mark Lowe wrote: > Thankyou very much, i was just reaching for the razor blades.. > > Nice answer.. also thanks to andrea for his answer. I think i'll > upgrade another day. The package hierarchy workaround will do just fine > for now. It's not a workaround, it's th

Re: [Xdoclet-user] Nested Beans with Struts Validator tags?

2004-02-12 Thread Erik Hatcher
On Feb 12, 2004, at 8:53 PM, Seth Ladd wrote: | /** | * @struts.validator | */ | public void setBar(Bar bar) | | it will cause it to descend the bean hierarchy adding the dots | appropriately. Hmm.. I tried that and doesn't look like it did the right thing. I also looked through the source, and

Re: [Xdoclet-user] Nested Beans with Struts Validator tags?

2004-02-12 Thread Erik Hatcher
On Feb 12, 2004, at 8:04 PM, Seth Ladd wrote: | Hope that works for you, cause if it doesn't you'll be mostly on your | own since I'm a very happy Tapestry coder now :) haha In one hand I hear Tapestry is The Way and the other I hear WebWork is The Way. I'm still waiting for some more examples an

Re: [Xdoclet-user] Nested Beans with Struts Validator tags?

2004-02-12 Thread Seth Ladd
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 | The trick is (and it's been a while since I tried it, but this is the | way I coded it...) if you tag your bean setter like this: | | /** | * @struts.validator | */ | public void setBar(Bar bar) | | it will cause it to descend the bean hierarchy add

RE: [Xdoclet-user] installation/classpath issue

2004-02-12 Thread Harkness, David
Sunny Bro wrote: > I'm getting the following message when running my build > taskdef class xdoclet.modules.ejb.EjbDocletTask cannot be found > > I'm using the template build provided with jboss examples having the > following base.path for the ejbdoclet taskdef > > > > >

Re: [Xdoclet-user] Nested Beans with Struts Validator tags?

2004-02-12 Thread Seth Ladd
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 | Why thank you! hehe Thank you for doing it! | it will cause it to descend the bean hierarchy adding the dots | appropriately. No way. That is awesome. I'll go give it a shot. | | Hope that works for you, cause if it doesn't you'll be mostly on yo

Re: [Xdoclet-user] Nested Beans with Struts Validator tags?

2004-02-12 Thread Erik Hatcher
On Feb 12, 2004, at 3:23 PM, Seth Ladd wrote: I have a simple Struts formbean with a nested bean. For instance: public class Foo { ~public Bar getBar(); ~public void setBar(Bar bar); } public class Bar { ~public String getX(); ~public void setX(String x); } Is there a way to use x

Re: [Xdoclet-user] Cant use ejb.select in CMP

2004-02-12 Thread J. Cameron Cooper
J Cameron Cooper wrote: I can't say, but here's a clip from one of my attempts at doing something similar for JBoss 3.2.3. It deploys fine. But beware of thinking that it's necessarily right: I cannot run this where the database's summation results are anything other than NULL without ge

Re: [Xdoclet-user] Cant use ejb.select in CMP

2004-02-12 Thread J Cameron Cooper
[EMAIL PROTECTED] wrote: I try to use the @ejb.select tag. But it does not work for me. I am declaring the following methods: - /** * @ejb.select * query = "select a.amount from jrnl

[Xdoclet-user] Nested Beans with Struts Validator tags?

2004-02-12 Thread Seth Ladd
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I tried to google around, but didn't come up with much. Forgive me if this has been asked before. I have a simple Struts formbean with a nested bean. For instance: public class Foo { ~public Bar getBar(); ~public void setBar(Bar bar);

Re: [Xdoclet-user] hibernatedoclet merge dir

2004-02-12 Thread Mark Lowe
Thankyou very much, i was just reaching for the razor blades.. Nice answer.. also thanks to andrea for his answer. I think i'll upgrade another day. The package hierarchy workaround will do just fine for now. Cheers again mark On 12 Feb 2004, at 18:31, Aleksandr Shneyderman wrote: Make sure t

Re: [Xdoclet-user] hibernatedoclet merge dir

2004-02-12 Thread Andreas Kemkes
Xdoclet1.2b3 and Xdoclet1.2b4 put it in the wrong place. See http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?id=10906 for details. Andreas Mark Lowe wrote: hello anyone know if there are any quirks with the mergedir attribute for hibernatedoclet, it seems not to want

RE: [Xdoclet-user] hibernatedoclet merge dir

2004-02-12 Thread Aleksandr Shneyderman
Make sure that you put your files in the correct subdirs. IE: suppose you have mergeDir="${basedir}/resources/mergeDir/" in the doclet tag. You also have a class com.foo.Bar as ${basedir}/src/com/foo/Bar.java You have to put your merge files in ${basedir}/resources/mergeDir/com/foo/hibernate

Re: [Xdoclet-user] Issues with XDoclet Hibernate Example

2004-02-12 Thread Andreas Kemkes
Konstantin: Konstantin Priblouda wrote: --- Andreas Kemkes <[EMAIL PROTECTED]> wrote: Thanks for answering. Wouldn't it be better with all this implicit mandatory guessing to fill in the class name instead of ""? Can xdoclet do that? No. XDoclet has no way to know, w

[Xdoclet-user] Repost of Open Issues with XDoclet Hibernate Example

2004-02-12 Thread Andreas Kemkes
(2) In Product.java: * @hibernate.property * length="4096" * Returns the image. * @return byte[] only worked after inserting * type="binary" as parameter for the property tag. Is this the correct way to fix it? (3) In CompositeIdEntity.java: public String getFoo() { return _fo

[Xdoclet-user] installation/classpath issue

2004-02-12 Thread Sunny Bro
Hi, I'm getting the following message when running my build taskdef class xdoclet.modules.ejb.EjbDocletTask cannot be found I'm using the template build provided with jboss examples having the following base.path for the ejbdoclet taskdef

Re: [Xdoclet-user] hibernatedoclet merge dir

2004-02-12 Thread Konstantin Priblouda
--- Mark Lowe <[EMAIL PROTECTED]> wrote: > hello > > anyone know if there are any quirks with the > mergedir attribute for > hibernatedoclet, it seems not to want to merge? and youare sure you are placing merge files with correct names in subdirectories reflecting your package hierarchy? regar

[Xdoclet-user] hibernatedoclet merge dir

2004-02-12 Thread Mark Lowe
hello anyone know if there are any quirks with the mergedir attribute for hibernatedoclet, it seems not to want to merge? cheers mark --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux

[Xdoclet-user] Re: Generated EJB local interface implementing interface aside from EJBLocalObject, possible or not?

2004-02-12 Thread Matthew Hawthorne
Damjan S. Vujnovic wrote: What bothers me is: since the PersistentSet's local interface is generated automatically, is it possible to accomplish that it also implements interface Set (beside the interface EJBLocalObject), something like public interface LocalPersistentSet extends Set, EJBLocalObje

[Xdoclet-user] Generated EJB local interface implementing interface aside from EJBLocalObject, possible or not?

2004-02-12 Thread Damjan S. Vujnovic
Hi,   I'm a Xdoclet newbie, actually I'm now considering wheather to use Xdoclet in the project I currently work on. I've developed the J2EE enterprise application (comprised of one EJB module and one WEB module), the target application server is now Sun ONE Application Server, but the idea

Re: [Xdoclet-user] relations + value objects = my problems ;)

2004-02-12 Thread Marcus Beyer
[EMAIL PROTECTED] wrote: Good point, Marcus. I have noticed exactly the same. It looks like xDoclet process only one VO for CMR. please vote for its fixing: http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-567 thanx! Marcus -

Re: [Xdoclet-user] Issues with XDoclet Hibernate Example

2004-02-12 Thread Konstantin Priblouda
--- Andreas Kemkes <[EMAIL PROTECTED]> wrote: > Thanks for answering. > > Wouldn't it be better with all this implicit > mandatory guessing to fill > in the class name instead of ""? Can xdoclet do > that? No. XDoclet has no way to know, what class is intendet to be inside this collection ( i

Re: [Xdoclet-user] ejbdoclet skipping source files for generation

2004-02-12 Thread Konstantin Priblouda
--- Michael Small <[EMAIL PROTECTED]> wrote: > When I run xdoclet with the ejbdoclet tag, the > session tag runs but does not process any of the > beans. I have read another posting with a similar > problem, but I'm quite certain that my fileset is > pointing to the appropriate directory. See my

Re: [Xdoclet-user] Many to many with Hibernate

2004-02-12 Thread Mark Lowe
Ah I see what you mean now.. I've done the same (with product-lines, stock items and size-colour variations (stockitems is also a linking table for many-to-many etc)). Change of topic, but have you an example or know where a decent example or of using the composite id and all that jazz where yo