commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter royal <pro...@apache.org>
Subject Re: [Jelly] How to know the Tag type inside tag class ?
Date Sun, 04 Jan 2004 19:50:36 GMT
On Jan 2, 2004, at 5:39 PM, texed75@free.fr wrote:
> But how can I know which XML tag fire the DoTag of AttributeTag.class 
> for
> example, data-source or data-target ?

Have your tag implement LocationAware and then you will receive the 
element name via 'setElementName'
-pete


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message