Skip to Content
avatar image
Former Member

How to nest trees inside trays

Hi Everybody,

Wanted to nest trees inside a tray. Unaware of the syntax. A demo already exists in EP, but no source-code.

http://<EP_ServerName>:<Port>/irj/servlet/prt/portal/prtroot/com.sap.portal.pdk.htmlb.htmlbexamples.treeJSP

Thnx in advance

Regards,

Meesum

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Aug 11, 2004 at 01:33 PM

    Hi Meesum,

    Welcome at SDN with your first forum posting! (And get used to award points for answers for example as great as this 😉, compare Spread the Love!).

    Look under "Java Development" - "Examples" - "HTMLB Control Overview" - "Tree" - "Documentation"/"JSP Source".

    For programmatic access, look under "Java Development" - "Documentation" - "Javadocs" - "HTML Business For Java" - "Tree" etc.

    Hope this helps

    Detlev

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 11, 2004 at 01:55 PM

    Hi Detlev,

    Thnx for the warm welcome message.

    Been thro the preliminary examples. They do not talk of nesting a component inside a Tray. As already mentioned, there exists a demo at the URL:

    http://<UR_SERVER>:<UR_PORT>/irj/servlet/prt/portal/prtroot/com.sap.portal.pdk.htmlb.htmlbexamples.treeJSP

    Was looking for that kind of output..

    Thnx

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Meesum,

      ahh, now I got it... 😊

      Two ways to go on:

      1.) (It's easier, and should be enough) Look at the tray example also given at the location mentioned for the tree example; there under documentation "Control API for Tray" exists; look at the example using the classlib; you can add a component to the try. In this example, it's a TextView, you just would have to use a tree.

      2.) Decompile the example 😊

      Hope it helps

      Detlev