I see. But why 'business' and not 'interface'? Agree? Btw, the problem is that 'remote' used to be optional, now it's not: <XDtClass:ifClassTagValueEquals tagName="ejb:ejb-external-ref" paramName="view-type" value="remote">
We should merge those two local/remote block and put some if/else test for those lines which deal with interface type. Ara. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:xdoclet-devel- > [EMAIL PROTECTED]] On Behalf Of Aslak Hellesoy > Sent: Tuesday, June 11, 2002 10:32 PM > To: Ara Abrahamian; [EMAIL PROTECTED]; xdoclet- > [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: RE: [Xdoclet-devel] RE: [Xdoclet-user] ejb-body.xdt > > I changed this when trying to fix bug #466629 > http://sourceforge.net/tracker/?group_id=31602&atid=402704&func=detail&a id > =4 > 66629 > > The mentioned change was introduced on 1.1.2.2 on > MODULE_REFACTORING_BRANCH: > http://cvs.xdoclet.sourceforge.net/cgi- > bin/viewcvs.cgi/xdoclet/xdoclet/modul > es/ejb/src/xdoclet/modules/ejb/dd/resources/ejb-body.xdt > > The commit message says "-fixed bad relative references to merge files", > so > I guess I must have forgotten that I tried to fix the bug at the same > time. > Sorry that I forgot to mention this in the commit message. > > What I tried to do was to introduce a "business" parameter in stead of the > "remote" parameter (as the bug-reporter suggested, cc to him here), > because > "remote" is a bad word when the ref is to a local EJB. I thought I kept > backwards compatibility by still looking for the "remote" parameter. -But > the problem is perhaps something else? > > While fixing it I also realised that some parts of the template would > never > generate an ejb-link element (line 147-162 in 1.1.2.1), so I tried to do > some refactorings in the template to fix that too. > > Now you know _why_ this have changed. If this causes a problem, please > explain _what_ the problem is ;-) > > Cheers, > Aslak > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]]On Behalf Of Ara > > Abrahamian > > Sent: 11. juni 2002 19:19 > > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > > Subject: [Xdoclet-devel] RE: [Xdoclet-user] ejb-body.xdt > > > > > > > Anybody who knows the reason for the differences between > > > > > > ejb-body.j line 141 following and > > > ejb-body.xdt line 148 > > > > > > In ejb-body.xdt is missing the following part: > > > <XDtClass:ifDoesntHaveClassTag tagName="ejb:ejb-external-ref" > > > paramName="view-type"> > > > [...] > > > </XDtClass:ifDoesntHaveClassTag> > > > > <parameter type="text"> > > <name>home</name> > > <usage-description> > > The fully qualified class name of the home interface of the > > referenced bean. > > </usage-description> > > <mandatory>true</mandatory> > > </parameter> > > <parameter type="text"> > > <name>business</name> > > <usage-description> > > The fully qualified class name of the business interface > > (local or remote > > interface) of the referenced bean. > > </usage-description> > > <mandatory>true</mandatory> > > </parameter> > > <parameter type="text"> > > <name>remote</name> > > <usage-description> > > (Deprecated). Synonym for 'business' parameter. Only works > > if the view-type is 'remote' > > </usage-description> > > <mandatory>false</mandatory> > > </parameter> > > > > I don't remember who changed it (Vincent?) and I don't remember the > > reason for such a change! It's a change in a @tag and it affects the end > > user, so it should have been discussed before being implemented. > > > > Anyway, could the guy who've changed ejb:external-ref's syntax please > > enlighten me? What's the goal of such a change? > > > > Ara. > > > > > > _______________________________________________________________ > > > > Don't miss the 2002 Sprint PCS Application Developer's Conference > > August 25-28 in Las Vegas - > http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink > > _______________________________________________ > Xdoclet-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-devel > > > _______________________________________________________________ > > Multimillion Dollar Computer Inventory > Live Webcast Auctions Thru Aug. 2002 - > http://www.cowanalexander.com/calendar > > > > _______________________________________________ > Xdoclet-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-devel _______________________________________________________________ Multimillion Dollar Computer Inventory Live Webcast Auctions Thru Aug. 2002 - http://www.cowanalexander.com/calendar _______________________________________________ Xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel