Richfaces 4
This is version . It is not the current version, and thus it cannot be edited.
Back to current version   Restore this version

Skinning#

	<context-param>
		<param-name>org.richfaces.enableControlSkinning</param-name>
		<param-value>true</param-value>
	</context-param>
	<context-param>
		<param-name>org.richfaces.enableControlSkinningClasses</param-name>
		<param-value>true</param-value>
	</context-param>
	<context-param>
		<param-name>org.richfaces.skin</param-name>
		<param-value>blueSky</param-value>
	</context-param>

Tree#

Um die Selection-Events zu bekommen, sind einige Dinge zu beachten:
    <h:form id="tree-form">
        <rich:tree id="tree" value="#{bean.tree}" selectionType="ajax">
		<rich:treeSelectionChangeListener listener="#{bean.changeSelection}"/>
		<rich:treeNode>
			<h:outputText value="#{node.name}"/>
		</rich:treeNode>
        </rich:tree>
    </h:form>
	public void changeSelection(TreeSelectionChangeEvent event) {
		System.out.println("Selection changed: " + event.getNewSelection());
	}