commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Gilde <hgi...@optonline.net>
Subject RE: [jelly] Can I get the unique ID for current TagScript
Date Wed, 03 Aug 2005 01:42:49 GMT
Well, this doesn't sound like a good thing to be doing. Could you describe
the purpose, maybe there is another approach?

-----Original Message-----
From: Guo, Jiaqi [mailto:jiaqi.guo@gmail.com] 
Sent: Tuesday, August 02, 2005 2:06 PM
To: commons-user@jakarta.apache.org
Subject: [jelly] Can I get the unique ID for current TagScript

When I'm in a home-made Tag class, can I get a unique identifier for the 
current TagScript? So that next time the same tag in the same script is 
invoked, I know it's the same thing. Therefore, if I want to cache 
something I can do it.

I can't take MyTag.hashCode() because Tag is transient object in my 
case. Can I do MyTag.getBody().hashCode()? It doesn't sound well for 
those tags without body.

Any solution for it? Thanks.



Jiaqi

jiaqi.guo@gmail.com
http://www.cyclopsgroup.com


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


---------------------------------------------------------------------
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