FileDocCategorySizeDatePackage
DynamicTreeSelectAction.javaAPI DocApache Struts 2.0.9 Apps1659Mon Jul 23 13:43:26 BST 2007org.apache.struts2.showcase

DynamicTreeSelectAction

public class DynamicTreeSelectAction extends com.opensymphony.xwork2.ActionSupport

Fields Summary
private long
nodeId
private org.apache.struts2.showcase.ajax.tree.Category
currentCategory
Constructors Summary
Methods Summary
public java.lang.Stringexecute()

        currentCategory = Category.getById(nodeId);
        return SUCCESS;
    
public longgetNodeId()

        return nodeId;
    
public java.lang.StringgetNodeName()

        return currentCategory.getName();
    
public voidsetNodeId(long nodeId)

        this.nodeId = nodeId;