Hey Martin,

I was looking at the Action class you quoted as I was writing the original
email in this thread.  I saw that the example wanted a Category object for
the tree, but I wasn't sure what that Category class was supposed to look
like.

Thanks, though.

-Brian


On 3/19/07, Martin Gainty <[EMAIL PROTECTED]> wrote:

Brian

Looking at
public class DynamicTreeSelectAction extends ActionSupport
which acquires the 
org.apache.struts.action2.showcase.ajax.tree.Categorycategory by nodeID as in
private Category currentCategory;
when the Action class acquires the Category by nodeID
e.g.
public String execute() throws Exception {
        currentCategory = Category.getById(nodeId);
        return SUCCESS;
}
Does this answer your question?

M--

Reply via email to