A deployable decorator must have the following properties set or defaulted in the decorator.properties configuration:
id=xxx media.type=(html|...) decorates=(layout|portlet|any)
To avoid conflicts with the locale logic and runtime locators, decorators should be named with ids longer than 2 characters in length. The media.type property defaults to 'html'. The 'any' value for the decorates property is mapped to the generic deployment directory.
Here is a table listing of an example jar archive file that deploys with locale specific content:
0 Fri Dec 03 00:29:48 MST 2004 META-INF/ 71 Fri Dec 03 00:29:48 MST 2004 META-INF/MANIFEST.MF 0 Fri Dec 03 00:15:38 MST 2004 css/ 4656 Thu Dec 02 11:53:58 MST 2004 css/styles.css 760 Thu Dec 02 11:48:18 MST 2004 decorator-bottom.vm 3491 Thu Dec 02 11:48:18 MST 2004 decorator-macros.vm 723 Thu Dec 02 11:52:58 MST 2004 decorator.properties 3930 Thu Dec 02 11:52:38 MST 2004 decorator-top.vm 0 Thu Dec 02 23:41:52 MST 2004 fr/ 3937 Thu Dec 02 23:41:52 MST 2004 fr/decorator-top.vm 0 Thu Dec 02 11:50:46 MST 2004 images/ 2568 Thu Dec 02 11:48:18 MST 2004 images/jetspeed-logo.gif 2259 Thu Dec 02 11:48:18 MST 2004 images/jetspeed-powered.gif 51 Thu Dec 02 11:48:18 MST 2004 images/nw_maj_rond.gif 0 Thu Dec 02 23:42:26 MST 2004 ja/ 3937 Thu Dec 02 11:54:52 MST 2004 ja/decorator-top.vm 0 Thu Dec 02 23:50:46 MST 2004 ja/images/ 2568 Thu Dec 02 23:48:18 MST 2004 ja/images/jetspeed-logo.gif 0 Thu Dec 02 23:42:36 MST 2004 ja/JP/ 3937 Thu Dec 02 23:42:36 MST 2004 ja/JP/decorator-top.vm
The decorator.properties file must be located in the root directory of the jar archive and contain the properties outlined above to be identified as a decorator by the autodeployment system. The deployer will relocate the locale specific content to satisfy J2 content locators as necessary on deploy and undeploy. The current implementation supports only 2 character language and country codes.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]