Hi!

Please post the block template and the code it uses so we can have a better picture.

On Tue, 08 Oct 2013 11:07:30 -0300, Davide Vecchi <d...@amc.dk> wrote:

I have an instance of org.apache.tapestry5.Block and I would like to get this block's content as a String.

When I inspect that Block instance, I see the block content that I need to get: there is a field called "elements" which is an ArrayList with 3 elements. One of them is an ExpansionPageElement and it has a field called "binding" which has a field called "label" which contains my text.

However Block seems to have no methods I can call to get the value of that "label" field.

I imagine this means that it's wrong of me to try to get that value, but I'm not clear why.

Should I just give up and try to change the design, or there is a way to get the value of that "label" field ? After all that value is there and it was actually supposed to be there, so I don't know the reason why Tapestry doesn't want that content to be retrievable.


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