Sun Java System Portal Server 7.1 Developer Sample Guide

ProcedureTo Customize the Channel Window Preference

  1. Define the display profile (either for the channel, to make the change for only that channel, or for the provider, to make the change for every channel that uses the provider) so that it includes the windowPref property.

    For example:


    <Properties>
    	...
    	<String name="windowPref" value="all_new"/>
    	...
    </Properties>

    Note –

    The values are:

    • all_new (New window is opened for every link)

    • one_new (All links open on the same new window)

    • same (Desktop window)


  2. Load the display profile into LDAP using the psadmin subcommand or from the Portal Server management console.


    Note –

    The intelligence has to be built with the help of JavaScript for that particular channel.