I've just read Andrew's post on this, and figured that this is related to
what you were doing the other day, yes?  Did you understand my
suggestion?  The fieldNameLastModified field's getter's and setter's can
be generated based on the getter's for the fieldnames - your real problem
is going to be in ejb2 cmp how to do it... anyway, not 100% about how
you're planning to implement it but want to make sure you received my
suggestion...

> This is an enhancement request.  I would like to see two new template tags
> included in XDoclet
> 1.  <ifMethodNameEqual>
> 2.  <ifMethodNameNotEqual>

I see no problem with this, but am surprised we dont have something
similar.  I know we have <ifHasMethod> and stuff, but its not quite the
same thing.  The other thing you could do is use the "looping variable" -
I cant remember what its called, but have seen functionality where you can
basically set a variable and then test against it, as a workaround you may
be able to do that.

Having said that, if you want to send a patch with those tags, it'd be
welcome.

cheers
dim


> 
> These tags would allow me to include code within a template that is targeted
> at a specific method within a class.  After looking at the source I think
> that these will be very easy to create but I would like to know others
> thoughts before I create them.
> 
> C.
> 
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> 


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

Reply via email to