On Wed, 18 Aug 2010 12:31:15 -0300, Alexander Muthmann <amuthm...@dev-eth0.de> wrote:

  I just refer to this article about class-comparison:
https://www.securecoding.cert.org/confluence/display/java/OBJ06-J.+Compare+classes+and+not+class+names
But if you say it's ok, I trust you ;)

Another option is to get the transformed page instance from ComponentSource, get its class from getClass() and then use equals() for comparison.
Please try this and post the result.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

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

Reply via email to