On Wed, 20 May 2015 10:11:34 -0300, Lance Java <lance.j...@googlemail.com> wrote:

As you've discovered... Tapestry replaces field access with Binding.get()
using plastic byte code magic. You can use a local variable to avoid
multiple gets.

Or annotate the getter with @Cached. :)


Eg:

@BindParameter
private GridDataSource source;

...

GridDataSource sourceCopy = source;
doStuff(sourceCopy);
doMoreStuff(sourceCopy);


--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.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