You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by matt11 <ma...@yahoo.de> on 2011/06/06 09:27:31 UTC

$T deprecated in Tapestry

Hello,

in tapestry.js on the bottom there's a comment for the $T method:

/**
2183 * In the spirit of $(), $T() exists to access a hash of extra data
about an
2184 * element. In release 5.1 and prior, a hash attached to the element by
Tapestry
2185 * was returned. In 5.2, Prototype's storage object is returned, which
is less
2186 * likely to cause memory leaks in IE.
2187 *
2188 * @deprecated With no specific replacement. To be removed after
Tapestry 5.2.
2189 * @param element
2190 * an element instance or element id
2191 * @return object Prototype storage object for the element
2192 */

Which implications does this have on existing code where $T is in use. Is
there already any kind of document on how this change has to be addressed?
For example I'm accessing the zone like this: $T(linkElement).zoneId;, how
would this look in a future version?

Thanks in advance and best regards
Matt

--
View this message in context: http://tapestry.1045711.n5.nabble.com/T-deprecated-in-Tapestry-tp4457863p4457863.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: $T deprecated in Tapestry

Posted by LLTYK <LL...@mailinator.com>.
Apparently it's still used in 5.3. Looks like the replacement hasn't been
decided on.

--
View this message in context: http://tapestry-users.832.n2.nabble.com/T-deprecated-in-Tapestry-tp6444160p6448959.html
Sent from the Tapestry Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org