Awesome Lance, I was a little concerned at first lol.
On Mon, Feb 20, 2012 at 3:36 AM, Lance Java [via Tapestry] <
ml-node+s1045711n5498481...@n5.nabble.com> wrote:
> Tree accepts a "label" parameter which can be a block.
>
>
>
>
> context="node.id">${node.label}
>
>
Monday morning-itus... Try the following:
Page.java
@InjectComponent
@Property
Tree tree;
-
tml
-
${tree.node.label}
${tree.node.label}
On Monday, 20 February 2012, Lance Java wrote:
> Tree accepts a "label" parameter w
Tree accepts a "label" parameter which can be a block.
${node.label}
${node.label}
This will require a getter() in your page to get the currently rendering
TreeNode (ie the "node" property from the Tree component) and at this stage
I've tried the following, all without success.
@OnEvent(value = EventConstants.NODE_SELECTED)
Link nodeSelected(Integer nodeId) {
company.setCompany((Company) session.get(Company.class, nodeId));
Link link = pageRenderLinkSource.createPageRenderLink(Index.class);
r