Important patch but you're breaking the API. Vincent, I have some 100 custom templates in my application, should I go change all my tag handlers to use the new mechanism? Please add getCurrentTag() again, in its implementation return currentmethodtag if !=null, else currentclasstag. Agree?
Ara. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:xdoclet-devel- > [EMAIL PROTECTED]] On Behalf Of Vincent Harcq > Sent: Thursday, April 18, 2002 3:32 AM > To: [EMAIL PROTECTED] > Subject: [Xdoclet-devel] CVS update: xdoclet/core/src/xdoclet > DocletSupport.java XDocletTagSupport.java > > User: vharcq > Date: 02/04/17 16:02:29 > > Modified: core/src/xdoclet DocletSupport.java XDocletTagSupport.java > Log: > Important patch! > I split currentTag in one for class tag and one for method tag > I check if it is set in getTagValue (the biggest method around) > This is to solve in once problems like having > @ejb:permission role-name="a,b" on class and/or method > or having > * @ejb.finder > * signature="Collection findByCode(String code)" > * query="SELECT OBJECT(p) FROM LANGUAGE as p WHERE p.id = ?1" > * @ejb.finder > * signature "Collection findByCode(java.lang.String a, > java.lang.String b)" > * query="SELECT OBJECT(p) FROM LANGUAGE as p WHERE p.id = ?1 AND > p.id = ?2" > > Plus all tags that merge forAllClass and forAllMethod > Plus all tags that have in a forAllMethod on a tag/param a lookup on > another (tag)/(param) > > It passes samples and unit tests _________________________________________________________ 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
