Sun Java System Portal Server 7.2 Enterprise Sample Guide

ProcedureTo Access a Container or Channel Directly

  1. Use a specific container or channel reference by using the provider argument to the Desktop login URL:


    http://hostname:port/portal-ID/dt?provider=provider-name
    

    where provider-name is one of the providers. For example, to access the JSP-based tab desktop, in a browser, type:


    http://hostname:port/portal-ID/dt?provider=JSPTabContainer
    • Example of a URL to access a desktop Subtab directly: http://nicp75.india.sun.com:8080/portal/dt?provider=JSPTabContainer&JSPTabContainer.setSelected=WorkContainer/MySubTab The above URL displays a subtab “MySubTab” under WorkContainer.

    • Example of a URL to access a desktop Channel directly: http://nicp75.india.sun.com:8080/portal/dt?provider=FullPageContainer&channel=NewsContainer/EmployeeProfile The above URL displays EmployeeProfile channel under NewsContainer.

    • If no channel is referenced, the Desktop looks in the session for the last channel or container that was displayed. (This is stored in the session.)

    • If no channel is stored in the session, the Desktop looks in a Desktop service attribute for the top-level container to display (Default Channel Name attribute). This happens after an initial login.

    • Once this top-level container is determined, that container draws the containers or channels that it references (through the Selected list), until all of its leaves have been reached.