RE: [Xdoclet-user] Data Object and Strings

2002-02-20 Thread Ara Abrahamian
Write a template tag. Don't do the looping/checking in the template. It's easy, and you can register the template tag quite easily by XDtTag:tagDef (check docs for more info). Ara. > -Original Message- > From: [EMAIL PROTECTED] [mailto:xdoclet-user- > [EMAIL PROTECTED]] On Behalf Of Shaw

Re: Re: [Xdoclet-user] JNDI names for JBoss 3

2002-02-20 Thread Dmitri Colebatch
sorry... just playing with it now... ok - its just been implemented in the CVS version. I'm using it with Reference to the home GreenKeeper EJB ejb/GreenKeeper Session golf.interfaces.GreenKeeperLocalHome golf.interfaces.GreenKeeperLocal GreenKeeper

Re: [Xdoclet-user] Data Object and Strings

2002-02-20 Thread David Jencks
I don't know anything about how XDoclet variables work, but if they aren't immutable, you could do the equivalent of append method name ( sep = "" loop append sep sep = ", " end loop david jencks On 2002.02.20 07:45:47 -0500 "Shaw, Chris" wrote: > Hi, > > I was thinking along the lines of h

Re: Re: [Xdoclet-user] JNDI names for JBoss 3

2002-02-20 Thread Daniel Bratell
> > > something that's allowed by the j2ee1.3 spec, but something I've > > > never figured out how to get working in jboss. > > > > Then I guess the question is: "Does JBoss claim to support it?". > >I haven't seen it stated anywhere... more one of those implied things. I >think if I actually lo

Re: [Xdoclet-user] Data Object and Strings

2002-02-20 Thread Dmitri Colebatch
ahhh - sorry... I dont think we have anything for that yet if you're feeling game, you could have a look in PersistentTagHandler at the forAllPersistentFields method, and see if you could put something in cheesr dim - Original Message - From: "Shaw, Chris" <[EMAIL PROTECTED]> T

RE: [Xdoclet-user] Data Object and Strings

2002-02-20 Thread Shaw, Chris
Hi, I was thinking along the lines of having a 'string-only' constructorin addition to the current one(s)...(maybe it is better, if parsing through XML, to just call a set method for each parameter as they are found anyway but...) So I was working on the premise that I would need a comma-sep

Re: [Xdoclet-user] Data Object and Strings

2002-02-20 Thread Dmitri Colebatch
Why not java.lang.String AsString; ) also remember that if this is to go in the dataobject class, you will have namespace issues if you use - hence my appending of 'AsString' to the name. cheers dim - Original Message - From: "Shaw, Chris" <[EMAIL PROTECTED]> To: "'xdoclet-user'"

RE: [Xdoclet-user] Data Object and Strings

2002-02-20 Thread Shaw, Chris
Hi, Quick question...(?) Is it possible to do something like the following? (or am I tackling it wrong?) ( java.lang.String <**ifNotLastPeristentFieldThenPrintThis**>, ) Thanks Chris -=-=-= -Original Message- From: Ara Abrahamian [mailto:[EMAIL PROTECTED]] Sent: 19 February 20

RE: [Xdoclet-user] Data Object and Strings

2002-02-20 Thread Shaw, Chris
Of course. and since there is a merge file include by default which is called dataobject-custom.j, it makes it even easier to implement...based strongly on the current dataobject.j template (is there anything you haven't thought of already???!!!) Thanks Chris -=-=- -Original Message