Hi, define private YourObjectType param; variable to your component class and use it. Annotate it with @Parameter annotation.
Then use your component like this: <t:myComponent t:param="prop:paramGetterSetterInPageClass" /> Or read the documentation: http://tapestry.apache.org/tapestry5/guide/parameters.html - Ville Captain Cid wrote: > > I want to pass an object to component. Components renders from data from > this object. > > I tried doing an environment push of component but tapestry gives error > "java.lang.ClassNotFoundException: caught an exception while obtaining a > class file" . > > It seems only component classes can be pushed into environment..and not > normal classes. > -- View this message in context: http://old.nabble.com/Passing-object-as-paramters-to-component-tp26966814p26966920.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org