Well, in fact you gave me the solution, we should change the reentrant()
method to :

        return
getTagValue("ejb:bean","reentrant",-1,null,"False",null,null,null,true,t
rue,false);

So if I defined it in my entity super classes like
        @ejb:bean reentrant="true"
I solve my problem.

I didn't know inheritance was also working for attributes but it does
:O) 

OK ?

Vincent.

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]] On Behalf 
> Of Ara Abrahamian
> Sent: mardi 27 novembre 2001 20:56
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: [Xdoclet-devel] Reentrant default value
> 
> 
> > Reentrant is set to False in xdoclet.
> > Why not :)
> > I would prefer it to be True.  But it's me, so ...
> > This is defined by ejb:bean so I could not have my super 
> entity object 
> > have a value that all my beans will inherit
> 
> Well, you mean you have ejb:bean in base and also in 
> children, but you can't set it in base's ejb:bean and let it 
> inherit it? One of the things I change some time ago was 
> introduction of getMethod/ClassTagValue instead of raw 
> getTagValue/getParameterValue. getclassTagValue knows how to 
> not stop in first ejb:bean occurance. Problem is it's not 
> used everywhere. I'll try to update tag handlers that use 
> those deprecated
> (?!) methods.
> 
> > And I would prefer to limit the number of tags/attributes at the
> maximum
> > 
> > So have a default value in a properties file ?
> > We could then extend that.  For example, all my entity 
> beans are local 
> > only, why should I have a view-type="local" to all my 
> entity beans ? 
> > Maybe I am going too far ...
> 
> And your suggestion is ....?
> 
> Ara.
> 
> 
> _________________________________________________________
> 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
> 
> 



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

Reply via email to