It's possible but....

We should change anywhere a getParameter/getTagsByName is used to
XDocletTagSupport.getClassTagValue/getMethodTagValue because use of the
two first methods means first get the tag and then find the parameter in
it, but the later two search for a tag+param combination and searches
the whole hierarchy. I would be super-grateful if someone could do the
conversion :o) I'm busy with other stuff and actually a bit
disinterested to do that sort of stuff ;-)

Ara.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:xdoclet-devel-
> [EMAIL PROTECTED]] On Behalf Of David Budworth
> Sent: Saturday, January 26, 2002 10:41 PM
> To: [EMAIL PROTECTED]
> Subject: [Xdoclet-devel] Merging inherited doclet tags? is it
possible?
> 
> Howdy yall,
> 
> I have a base class, EntityBase which is the base of all my entity
EJBs
> 
> It defines the create, and common persistent fields (pk) fields for
all
> sub-beans.
> 
> This all works fine.  The one thing I can't figure out, is how to
define
> some class tags in the base, and merge them with the subclass class
> tags.
> 
> ie:
> 
> /**
>  * @ejb:bean  type="CMP"
>  *            cmp-version="2.x"
>  *            view-type="local"
>  *            primkey-field="iD"
>  */
> public abstract class EntityBase {
> }
> 
> 
> /**
>  * @ejb:bean name="MyRealEJB"
>  */
> public abstract class MyRealBean extends EntityBase {
> }
> 
> 
> So all I have to do is add that one tag to each EJB.
> 
> Is this possible currently?
> 
> It seems that if specified as above, the subclass' ejb:bean tag
replaces
> the parents tag.  So I assume that it isn't merging right now.
> 
> If that's the case, anyone mind if I add that?  Or is it on purpose?
(to
> allow subclasses to override base class tags, dropping off extra
> options)
> 
> -David
> 
> 
> _______________________________________________
> Xdoclet-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-devel


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to