Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In order to be able to use this subdivision, you need to modify your coinfiguration configuration in the Setup Tool.

 In the /web/setup tool, select the [Website specific setting] tab.

Þ       In the first channel, navigate to ‘presentation_jsps_url’. Enter the following folders:

On the General tab, navigate to the section "website_settings (x) where x is the name of the channel you want to configure.

  1. For the first channel, enter the following folders for the setting presentation_jsps_url:

           /WEB-INF/%PACKAGE%.%WCB NAME%/<dir> (e.g., WEB-INF/project/nl.gx.solutions.userprofileextension/jsp, for example)        where <dir> is the name of the folder where the channel-specific JSPs are located.
    /WEB-INF/wm/jsp/ (optional)              

Þ       Click on the ‘Update’ button for this channel.

Þ       For each channel, repeat the above steps by replacing ‘<dir>’ with the name of the folder in which the channel specific JSPs are located.

 


  1. Click [Save Changes].
  2. Repeat the above steps for each channel.

 

The Explanation: In the /web/setup tool, the descriptor directories are listed in a particular sequence. This sequence also indicates which JSPs are used if there are more other JSPs with the same name. For instanceexample, if with above settings, there is a page.jsp exists in the common folder directory and there is a page.jsp exists in the website1 folder directory, then the page.jsp from the website1 folder directory will be used. 

The static files can be placed in a similar way as the JSPs:

...