Em Wed, 30 Dec 2009 10:17:14 -0200, Captain Cid <captain_...@indiatimes.com> escreveu:

I want to pass an object to component. Components renders from data from this object.

Just use @Component as Ville suggested.

I tried doing an environment push of component but tapestry gives error
"java.lang.ClassNotFoundException: caught an exception while obtaining a
class file" .

Why are you using the Environment for that?
Anyway, post the full stack trace so we can undestand it better.

It seems only component classes can be pushed into environment..and not
normal classes.

That's not correct. By the way, I've never seen a component instance being pushed in the environment.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, software architect and developer, 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