Re: TreeGrid ActionLink

2012-02-20 Thread George Christman
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} > >

Re: TreeGrid ActionLink

2012-02-20 Thread Lance Java
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

Re: TreeGrid ActionLink

2012-02-20 Thread Lance Java
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

Re: TreeGrid ActionLink

2012-02-19 Thread George Christman
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