- I created
mymodule1.json(equivalent to plugin.xml)
and upload
/fs-type1/themes/MyTheme/
contributions/
folder in WebDAV
{
"modules": [{
"id":"mymodule1",
"version":"1.0",
"prereqs":[{
"id":"wp_portal"
}],
"capabilitys": [
{
"id":"capabilityA",
"value":"1.0.0"
}
]
"contributions": [{
"type":"head",
"sub-contributions": [{
"type":"js",
"uris": [{
"value":"res:/MyProfile/js/myprofile_head.js"
}]
}]
}]
}]
}
2. I created myprofile.json and upload /fs-type1/themes/MyTheme/profiles/
folder in WebDAV
{
"moduleIDs":
[
"wp_theme_portal_80",
"wp_portlet_css",
"wp_one_ui",
"wp_one_ui_dijit",
"wp_legacy_layouts",
"wp_client_ext",
"wp_status_bar",
"wp_theme_menus",
"wp_theme_skin_region",
"wp_theme_high_contrast",
"wp_layout_windowstates",
"wp_project_menu",
"wp_portal",
"dojo_dom",
"dijit_app",
"dijit_form",
"dijit_layout_basic",
"dijit_layout_ext",
"wp_wcm_modal_dialog",
"
mymodule1"
]
}
3. Restart websphere portal server
4. Set resourceaggregation.profile=profile/myprofile.json
in your page.
No comments:
Post a Comment