Sun Java System Portal Server 7.1 Technical Reference

Example 2

This example uses three display profiles, the global display profile, the display profile for the organization acme, and the display profile for the role hradmin. When the user who is assigned to the hradmin role logs in to the Desktop, the JSPTableContainer appears with the following channels:


Example 16–2 Global Display Profile Document


<DisplayProfile version="1.0" priority="0">
...
<Container name="JSPTableContainer" provider="JSPTableContainerProvider" merge="fuse">
    <Properties>
        ...
    </Properties>
    <Available>
        ...
    </Available>
    <Selected merge="fuse" lock="false">
        <Reference value="UserInfo"/>
    </Selected>
    <Channels/>
</Container>
...
</DisplayProfile>

Display Profile Document for the Organization (dc=acme.com)


<DisplayProfile version="1.0" priority="0"> ...
 <Container name="JSPTableContainer"
provider="JSPTableContainerProvider" merge="fuse">
<Properties> ... </Properties>
<Available> ... </Available> <Selected merge="fuse"
lock="false"> <Reference value="UserInfo"/>
<Reference value="Notes"/> </Selected> <Channels/>
</Container> ... </DisplayProfile>

Display Profile Document for the hradmin Role


<DisplayProfile version="1.0" priority="0">
...
<Container name="JSPTableContainer" provider="JSPTableContainerProvider" merge="fuse">
    <Properties>
        ...
    </Properties>
    <Available>
        ...
    </Available>
    <Selected merge="fuse" lock="true">
        
        <Reference value="SampleSimpleWebService"/>
    </Selected>
    <Channels/>
</Container>
...
</DisplayProfile>