1 Reply Latest reply on Aug 1, 2008 6:03 AM by arne anka

    rich:tree: el-expressions ignored completely -- tree not ren

    arne anka Newbie

      i try to get the simple example from livedemo up and flying, but the tree is absolutely and completely ignored (i tried <h:form> and whatsoever, only to force an error -- nothing. below is the shortest code)!
      only thing i see is "Selected Node:".
      what's particular weird: the el-expressions are not read! i can put into them whatever i want, nothing happens -- no error, nothing.

      everyone of the three el-expression below should start with stbean. -- but as you can see, that's not the case. and yet, the server does not complain, it's silently ignored!

      do i need to add a library? configure something? no clue whatsoever

      <!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
      <ui:composition xmlns="http://www.w3.org/1999/xhtml"
       <ui:define name="body">
       <h:messages globalOnly="true" styleClass="message" />
       <rich:panel rendered="true">
       <rich:tree style="width:300px" nodeSelectListener="#{stbean.processSelection}" reRender="selectedNode" ajaxSubmitSelection="true" switchType="client"
       <h:outputText escape="false" value="Selected Node: #{stb3ean.nodeTitle}" id="selectedNode" />

        • 1. Re: rich:tree: el-expressions ignored completely -- tree not
          arne anka Newbie

          seems to works somehow now.
          first thing was to put
          into SimpleTreeBean.java -- the example commes completely w/o annotations of this kind, can't understand how it is supposed to work.
          next thing was to really write "stbean" everywhere in the el -expressions.

          yet, there's no error if the bean's name is wrong, it's simply ignored.
          all other bean names cause errors if spelled wrong, stbean simply does not ...