0 Replies Latest reply on Oct 2, 2008 8:52 AM by traysa b

    Richfaces: no expressions in attributes possible

    traysa b Newbie


      i'm totally new to jsf, richfaces etc.
      i would like to read a xml-file into my jsp-file and than to create a richfaces panelMenu depending on the items in the xml-file.

      <c:import url="/WEB-INF/menu.xml" var="url"/>
      <x:parse xml="${url}" var="doc"/>
       <rich:panel header="Navigation">
       <rich:panelMenu style="width:200px" mode="ajax"
       iconExpandedGroup="disc" iconCollapsedGroup="disc"
       iconCollapsedTopGroup="chevronDown" >
       <x:forEach var="interface" select="$doc/navigation/item">
       <c:set var="interfaceTitle"><x:out select="$interface/title"/></c:set>
       <rich:panelMenuGroup label="${interfaceTitle}">

      According to TLD or attribute directive in tag file, attribute label does not accept any expressions

      why can't i use ${interfaceTitle} for the attribute label?
      i hope anybody understand what i mean and can help me ^^