Render variables (a.k.a the var: binding) doesn't support properties. Period. Instead, create a property in the corresponding Java class for being your loop variable. The var: binding is only supposed to be used in very specific scenarios in which the looped values are primitives, strings or anything else you don't need to access properties.

On Wed, 18 Mar 2015 13:09:34 -0300, Dominik Dorn <domi...@dominikdorn.com> wrote:

Hi,

Hi!

I couldn't find information on how to access properties of render
variables.

Because there's no way of doing that. ;) The var: binding is only supposed to be used in very specific scenarios in which the looped values are primitives, strings or anything else you don't need to access properties.

If I create explizit iteration variables for node and app in my page-class, it works as expected.

That's your solution.

Shouldn't this be working?

No. :)

--
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