cancel
Showing results for 
Search instead for 
Did you mean: 

How to nest trees inside trays

Former Member
0 Kudos

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....

Thnx in advance

Regards,

Meesum

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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.t...

Was looking for that kind of output..

Thnx

detlev_beutner
Active Contributor
0 Kudos

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

detlev_beutner
Active Contributor
0 Kudos

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 ).

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