What I meaned to say with the perfect explanation... :) Thank you! :) 2010/5/5 Thiago H. de Paula Figueiredo <thiag...@gmail.com>
> On Wed, 05 May 2010 13:13:09 -0300, Nicolas Bouillon <nico...@bouil.org> > wrote: > > My real component takes is used to display the product price in an order >> from the client cart (many lines, so in a loop). And as local variable I >> had the discount.... so once a discount was found for a line, it was kept >> for all the following lines... not very good for business ! >> > > You need to pass the discount as a parameter to your component. > > > -- > 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 > >