How to config startNode in expression

hi Experts,
My customer is using wc11.1.1.5, they want to use the following expression to build up a left-tree menu in space, but set startNode to the current space, the sample expression has a code for startNode=/, how to change it to current space or a special space?
<af:treeTable value="#{navigationContext.defaultNavigationModel.treeModel['startNode=/, includeStartNode=false, depth=0']}" summary="#{null}" var="node" rowBandingInterval="0" id="tt1" horizontalGridVisible="false" verticalGridVisible="false" initiallyExpanded="false" fetchSize="250" rowSelection="none" contentDelivery="immediate" columnSelection="none" columnStretching="column:c5" inlineStyle="border:none;background-color:transparent" styleClass="AFStretchWidth" autoHeightRows="250">
Thanks in advance.
Best regards

hi Bijesh,
I downloaded http://www.oracle.com/technetwork/middleware/webcenter/samples-196325.zip as prototype.
unzip that zip and in tree_navigation.ear, I changed taskflow.jsff as following:
from:
<af:treeTable value="#{navigationContext.defaultNavigationModel.treeModel['startNode=/, includeStartNode=false, depth=0']}" summary="#{null}" var="node" rowBandingInterval="0" id="tt1" horizontalGridVisible="false" verticalGridVisible="false" initiallyExpanded="false" fetchSize="250" rowSelection="none" contentDelivery="immediate" columnSelection="none" columnStretching="column:c5" inlineStyle="border:none;background-color:transparent" styleClass="AFStretchWidth" autoHeightRows="250">
to:
<af:treeTable value="#{navigationContext.defaultNavigationModel.treeModel['startNode=/m1, includeStartNode=false, depth=0']}" summary="#{null}" var="node" rowBandingInterval="0" id="tt1" horizontalGridVisible="false" verticalGridVisible="false" initiallyExpanded="false" fetchSize="250" rowSelection="none" contentDelivery="immediate" columnSelection="none" columnStretching="column:c5" inlineStyle="border:none;background-color:transparent" styleClass="AFStretchWidth" autoHeightRows="250">
The only difference is between startNode=/ and startNode=/m1, I also tested startNode=m1, got the same result:
1. With startNode=/, the menu tree displayed well
2. With other 2 options: startNode=/m1, or =m1, it showed me an empty tree with no extra error logs compared the log with startNode=/
m1 is the name(not display name) of a space which my customer wants the tree menu should always start with, m1 has some subspaces and pages within it.
Best regards
Edited by: 862182 on 13-May-2013 07:59

Similar Messages

  • How to config ZFS in solaris 10

    hi,
    I'm testing solaris 10 x86 edition in my PC. but i don't
    find any information about how to config ZFS in 10 (X86).. ;-(
    if anybody know it, pls.give me some information.
    thanks a lot.

    ZFS has not yet been integrated into Solaris 10...
    At this time you need either the "Software Express for Solaris 2/06"
    ( http://www.sun.com/software/solaris/solaris-express/ ) or the
    "Solaris Express: Community Release"
    ( http://www.opensolaris.org/os/downloads/on/ ) to play with ZFS.
    .

  • How to connect old aiport express to my new Airport Extreme? My Ipad says "base station e5713b cannot be configured" and my AirPort tool on my PC will not permit me to add my new Airport Extreme network (no network names to choose from)

    How to connect old aiport express to my new Airport Extreme?
    I have a PC running with Win7 and just replaced my Jensen With a brand New Airport Extreme.
    I have set up the Airport Extreme to the internet, Iphones and Ipads and it work as it should.
    I have downloaded latest Version of Airport tool on my PC. In addition i have downloaded the airport tool for Ipad.
    I have reset one of my airport Express and it now shows up both on the Ipad and on the PC airport tool.
    My Ipad says "base station e5713b cannot be configured."
    I have wired the airport Express to my Ethernet to be able to "see it" on my Airport tool.
    My AirPort tool on the PC will not permit me to add the airport Express to my new Airport Extreme network (no network names on the drop-down list to choose from). I wished for an easy set-up, but nothing seems to be plug and play as the Commercial says.. can you please help me?
    Sigve

    Hi
    Thanks for Swift reply.
    Yep - I in fact have two A1088 and one A1264
    I actually bought the new router because the Jensen
    router always lost connection to the Airport Express after some hours or days. I
    always needed to restart my Jensen to play music and that was driving my wife
    mad. The hope was that the Extreme should fix this. Both A1088 have been set up
    to only stream music to two of my stereo amplifiers from my PC’s Itunes library.
    Are the A1088 now useless?
    The A1264 has been set up to feed internet into a Denon Reciever that needed Ethernet cable.
    Please advise
    Regards
    Sigve

  • How to use the Dynamic Expression in BRFplus

    Hi Experts
                   I am new to BRFplus. Can you give any document on BRFplus how to use the Dynamic Expression.
    Thankyou
    Venkat

    OK I tried it and worked but for one condition:
    WHERE DECODE (E.qualification_sid, 1104,
         (TO_DATE(E.RANK_DATE, 'DD-MM-RR')+(365*M.spe_per)+1),
         (TO_DATE(E.RANK_DATE, 'DD-MM-RR')+(365*M.mili_yea_per)+1))
         BETWEEN TO_DATE('01-07-2011', 'DD-MM-RR') AND TO_DATE('31-07-2011', 'DD-MM-RR')
    But how to put two conditions for the same Expression:
    WHERE DECODE ((E.qualification_sid, 1104) AND (E.RANK_SID, 8),
         (TO_DATE(E.RANK_DATE, 'DD-MM-RR')+(365*M.spe_per)+1),
         (TO_DATE(E.RANK_DATE, 'DD-MM-RR')+(365*M.mili_yea_per)+1))
         BETWEEN TO_DATE('01-07-2011', 'DD-MM-RR') AND TO_DATE('31-07-2011', 'DD-MM-RR')
    The previous code gives me this error: missing right parenthesis

  • How to config a new remote on apple tv (first generation). I have lost my remote which came with the apple tv

    How to config a new remote on apple tv (first generation). I have lost my remote which came with the apple tv.

    Do you mean you've replaced your remote and it wont work because your AppleTV is paired to your lost remote?
    If so, http://support.apple.com/kb/HT1555 has you covered.

  • How to set up Airport Express in Bridge mode for hotel use

    Please provide step by step instructions on how to set up Airport Express in Bridge mode for hotel use. I do not have a computer with me, only an iPhone and AEX 802.11n.

    +"Please provide step by step instructions on how to set up Airport Express in Bridge mode for hotel use. I do not have a computer with me, only an iPhone and AEX 802.11n."+
    AirPort Utility is the application that must be used to setup and make any configuration changes to the AirPort Express. I'm not aware of an "App" for this.
    If you could borrow a computer from someone there for 30 minutes or maybe use the computer in the lobby, you could download AirPort Utility and reconfigure your Express. To help with setup, use an ethernet cable from the computer to the Express to help AirPort Utility "see" the Express.
    http://support.apple.com/downloads/#airport

  • How can i install airport express A 1264 on os x 10.9.2

    How can i install Airport Express A 1264 on os x 10.9.2

    Hello chawich
    All you should need is Airport Utility that is located in the Utilities folder that sits in the Application folder. If you have an iOS device, you can also set it up with that device with Airport Utility or in Wi-Fi section in Settings.
    AirPort Utility software and firmware downloads
    https://support.apple.com/kb/HT1998
    Regards,
    -Norm G.

  • How to config OnDemand Report

    Hi,
    How to config OD Report if I want result display as below SQL command
    select a.accountname,count(b.salestage),
    (select count(b.salestage) from opportunity b where salestage in ('Closed/Did Nothing','Closed/Lost'))
    from account a,opportunity b group by a.accountname
    Thanks
    Pae

    if submit url with parameter
    http://hostname:7778/reports/rwservlet?destype=PRINTER&desname=lpSZ_R02_2&report=sticker.out
    error
    REP-50159: Executed successfully but there were some errors when distribute the output
    How to Solution?

  • How do you use Logical Expressions in the RTF?

    How do you use logical expressions such as "and", "or" when you want to do conditional printing of XML data in the RTF?
    For example:
    if (conditionA and conditionB) then...
    Regards,
    Smita

    Thank you Sir! - I had something else wrong in the expression, but the error message I was getting was a bit misleading and sent me down the wrong path.
    Thanks again, and best regards:)

  • How can I get Log Express to recognize my external keyboard? - NEWBIE

    I'm using a Lexicon Lambda phantom powered converter (I think that's what it's called) to run my Left and Right 1/4" cables to, from my Kurweil master out. Then the USB cable from the Lexicon out, to the Mac. How do I get Logic Express to recognize the Kurzweil so I can record the Kurzweil's on-board sounds rather than using it as a Midi controller?
    Very new to Logic and all of this-any help is appreciated in layman's terms.

    OK - got logic to recognize the Kurzweil keyboard on a new track, I can hear the on-board Kurzweil piano sounds, but Logic is not recording it. what gives?

  • How can I use airport express in India on my ipad

    I have iPad that I want to use in India with airport express. Please help how to.

    Connect the Airport Express via Ethernet cable to the modem you got from your Internet provider. Assuming your PC is using wired Internet now download the Airport utility. Then follow the quick setup guide that came with the AEX.

  • How to config the telephony button in CRM 5.0 (win client)

    Dear Sir,
    I can't find the documents how to config the telephony button in CRM5.0 (win clicent). Please kindly advise.
    Thank you and best regards,
    Vimol

    i can find the solution

  • How do I build an expression for a multi-element in-list?

    How do I build an expression for a multi-element in-list? For example:
    SELECT * FROM employees
    WHERE (first_name, last_name, email) IN
    (('Guy', 'Himuro', 'GHIMURO'),('Karen', 'Colmenares', 'KCOLMENA'))
    Passing a Vector to Expression.in(Vector) where each element is a Vector of values itself will result in the appropriate expression for the values clause, but how to I get the columns to be considered together, that is, how do I get the "(first_name, last_name, email)" part?
    Steve

    Steve,
    I do not believe this is currently supported in the TopLink expression framework. Your best bet at this point will be to use custom SQL.
    Doug

  • How to config the web.xml file, when I use Richfaces + RI 1.2?

    Hi there:
    I want to use Richfaces + RI 1.2 to build a project. I don`t know how to config the web.xml file.
    By the way, my web server is Tomcat 6.0, my JDK's version is 6u6. I don`t want to use the facelets.
    thanks.
    lxm

    just add this before *</web-app>*
    <context-param>
           <param-name>org.richfaces.SKIN</param-name>
           <param-value>blueSky</param-value>
      </context-param>
      <filter>
           <display-name>RichFaces Filter</display-name>
           <filter-name>richfaces</filter-name>
           <filter-class>org.ajax4jsf.Filter</filter-class>
      </filter>
      <filter-mapping>
           <filter-name>richfaces</filter-name>
           <servlet-name>Faces Servlet</servlet-name>
           <dispatcher>REQUEST</dispatcher>
           <dispatcher>FORWARD</dispatcher>
           <dispatcher>INCLUDE</dispatcher>
      </filter-mapping>

  • How to config the font size of rich pod?

    Hi,
    Does anyone know how to config the font size of rich pod? It's too small.
    Thanks!

    You can do that using the PRINT-CONTROL Statement.This will only work when you send the list to the printer.Sample code is as below :
    REPORT zfont NO STANDARD PAGE HEADING LINE-SIZE 80 LINE-COUNT 65.
    Start of print-control
    NEW-PAGE PRINT ON.
    PRINT-CONTROL FUNCTION 'SF000'.
    WRITE: / 'This is CPI 20'.
    SKIP.
    PRINT-CONTROL FUNCTION 'SF020'.
    WRITE: / 'This is CPI 6'.
    SKIP.
    PRINT-CONTROL FUNCTION 'SF008'.
    WRITE: / 'This is CPI 12'.
    Depending on your SAP printer device, this may also work
    PRINT-CONTROL FONT 1 LPI 6.
    you can try to change font and LPI numbers
    WRITE: / 'font 1 lpi 6'.
    PRINT-CONTROL FONT 2 LPI 6.
    WRITE: / 'font 2 lpi 6'.
    PRINT-CONTROL FONT 3 LPI 6.
    WRITE: / 'font 3 lpi 6'.
    End of print-control
    NEW-PAGE PRINT OFF.
    *--- End of Program

Maybe you are looking for