You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Kirstin Ebeling <ki...@gmatic.de> on 2014/03/10 14:47:08 UTC

Tobago treeNode markup for state selected

I use tobago-core-2.0.0-beta-1-SNAPSHOT with myfaces-api-2.2.0 . Since
2.0.0:

"The tc:treeNode has no longer the attributes: "selected", "expanded",
"marked", "treeMarkedListener", "treeExpansionListener" ".

I like to mark selected node other than not selected nodes (other
foreground-color for example). In my tree I use tc:treeCommand. There is
attribut markup. This must evaluate to
"org.apache.myfaces.tobago.context.Markup". But there is not possibility
to instantiate my own markup ?! Is there another way?

snippet from .xhtml:

  <tc:tree id="#{tree.id}"
                showRootJunction="#{tree.showRootJunction}"
                showRoot="#{tree.showRoot}"
                selectable="single"
                state="#{tree.state}"
                markup="naviTree">
         <tc:treeData var="tobago_node" value="#{tree.rootNode}">
         <tc:treeNode id="template">
           <tc:treeIndent showJunctions="true"/>
           <tc:treeIcon value="#{tobago_node.iconPath}"/>
           <tc:treeCommand
                  id="cmd"
                  label="#{tobago_node.label}"
                  rendered="#{tobago_node.rendered}"
                  action="#{tobago_node.action}"
                  markup="#{tobago_node.markup}"
                  />

              </tc:treeNode>
              </tc:treeData>
      </tc:tree>


G.punkt - medical services
Ihre Wünsche sind unser Konzept
Halberstädter Str. 115 A
39112 Magdeburg

fon: +49 391 280380
fax: +49 391 2803822

mail: Kirstin.Ebeling@gmatic.de
inet: www.gmatic.de

Institutskennzeichen: IK331530332, OID: 1.2.276.0.76.3.1.51; (c) 2013 by G.punkt
G.punkt ist Trust center zertifiziert für elektronischen Datenaustausch mit Leistungserbringern
GF: Tino Graßhof; ST-ID: DE210661356; Nr.: 101-225-04463; Großhandelserlaubnis nach § 52a Arzneimittelgesetz
G.punkt ist Mitglied im smartcareunit Netzwerk: modular, intensiv, human - Intensivstationen der Zukunft
Neoscreen, NIQ und gmatic sind eingetragene Warenzeichen