public String getExpandedValue(FacesContext context, UITreeNode node) {
return Boolean.toString(node.getUITree().isExpanded());
}
protected void doDecode(FacesContext context, UIComponent component) {
UITreeNode node = (UITreeNode) component;
UITree tree = node.getUITree();
TreeRowKey key = (TreeRowKey) tree.getRowKey();
Map requestMap = context.getExternalContext().getRequestParameterMap();
String id = node.getClientId(context);
TreeState componentState = (TreeState) tree.getComponentState();
String nodeExpandedId = id + NODE_EXPANDED_INPUT_SUFFIX;
Object nodeExpandedValue = requestMap.get(nodeExpandedId);
if (nodeExpandedValue != null) {