Re: Passing object as paramters to component

2009-12-30 Thread Thiago H. de Paula Figueiredo
Em Wed, 30 Dec 2009 10:17:14 -0200, Captain Cid 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.ClassNotFoundExceptio

Re: Passing object as paramters to component

2009-12-30 Thread Ville Virtanen
Hi, define private YourObjectType param; variable to your component class and use it. Annotate it with @Parameter annotation. Then use your component like this: Or read the documentation: http://tapestry.apache.org/tapestry5/guide/parameters.html - Ville Captain Cid wrote: > > I want to p