1 Reply Latest reply on Jul 24, 2007 6:52 PM by Daniel Ray

    Question from novice: rich:tree

    Alex L Newbie

      I am having such a jsp:
      <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
      <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
      <%@ taglib uri="http://richfaces.ajax4jsf.org/rich" prefix="rich"%>
      <%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
      <%
      String path = request.getContextPath();
      String basePath = request.getScheme() + "://"
      + request.getServerName() + ":" + request.getServerPort()
      + path + "/";
      %>

      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">




      My JSP 'test2.jsp' starting page

      <meta http-equiv="pragma" content="no-cache">
      <meta http-equiv="cache-control" content="no-cache">
      <meta http-equiv="expires" content="0">
      <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
      <meta http-equiv="description" content="This is my page">
      <!--

      -->





      <f:view>

      <h:form>
      <rich:tree style="width:300px" switchType="client">
      <rich:treeNode type="simpleNode">
      <f:facet name="icon">
      <h:outputText value="A" />
      </f:facet>
      <f:facet name="iconCollapsed">
      <h:outputText value="B" />
      </f:facet>
      <f:facet name="iconExpanded">
      <h:outputText value="C" />
      </f:facet>
      <f:facet name="iconLeaf">
      <h:outputText value="D" />
      </f:facet>
      </rich:treeNode>
      </rich:tree>
      </h:form>

      </f:view>
      Hello



      I am deploying it on JBoss AS, and just see nothing, no errors no other messages, just nothing.

      Thanks, any help is appreciated.