Example usage for org.apache.wicket.util.string StringList get

List of usage examples for org.apache.wicket.util.string StringList get

Introduction

In this page you can find the example usage for org.apache.wicket.util.string StringList get.

Prototype

@Override
public String get(final int index) 

Source Link

Document

Gets the string at the given index.

Usage

From source file:org.wicketstuff.extjs.tree.ExtTreePanel.java

License:Apache License

protected ExtTreeNode findNode(String nodeid) {
    StringList list = StringList.tokenize(nodeid, "_");
    ExtTreeNode node = root;/*from  w w w .  ja v a 2  s  .  com*/
    for (int i = 1; i < list.size(); i++)
        node = node.childNodes().get(Integer.valueOf(list.get(i)));

    return node;
}