Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?xml version="1.0" encoding="UTF-8"?>
<!-- JBoss, Home of Professional Open Source Copyright ${year}, Red Hat, 
    Inc. and individual contributors by the @authors tag. See the copyright.txt 
    in the distribution for a full listing of individual contributors. This is 
    free software; you can redistribute it and/or modify it under the terms of 
    the GNU Lesser General Public License as published by the Free Software Foundation; 
    either version 2.1 of the License, or (at your option) any later version. 
    This software is distributed in the hope that it will be useful, but WITHOUT 
    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 
    FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 
    details. You should have received a copy of the GNU Lesser General Public 
    License along with this software; if not, write to the Free Software Foundation, 
    Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA, or see the 
    FSF site: http://www.fsf.org. -->
<cdk:properties xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:cdk="http://jboss.org/schema/richfaces/cdk/extensions"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee">

    <property>
        <property-name>leaf</property-name>
        <property-class>boolean</property-class>
        <property-extension>
            <cdk:generate>false</cdk:generate>
        </property-extension>
        <description>
            Determines if tree node generated by model is leaf. Should contain EL expression which uses request-scoped
            variable with name defied in tree attribute 'var'.
        </description>
    </property>

    <property>
        <property-name>nodes</property-name>
        <property-class>java.lang.Object</property-class>
        <property-extension>
            <cdk:generate>false</cdk:generate>
        </property-extension>
        <description>
            EL expression pointing to nodes which should tree model iterate over. Implementation of java.util.Map or
            java.util.List. When map is provided, map keys are used as keys for the model, otherwise, keys are generated. (In
            case of treeModelRecursiveAdaptor, nodes are defined recursively, starting with roots and
            continuing with inner nodes. EL expression should then use request-scoped variable with name defied
            in tree attribute 'var' to point to
            inner nodes recursively and return null or empty map/collection for leafs.)
        </description>
    </property>
    
    <property>
        <description>Converter for a row key object</description>
        <property-name>rowKeyConverter</property-name>
        <property-class>javax.faces.convert.Converter</property-class>
    </property>

</cdk:properties>
New to GrepCode? Check out our FAQ X