Submitted by Frank X Li on Oct 8, 2011 12:17:46 AM

Is it possible to put custom layouts in the war file for the theme?

Is it possible to put custom layouts in the theme war? If we can, then we can avoid using WEBDAV for custom PageBuilder2 theme deployment.

I guess it is possible to put PageBuilder2 skins in theme war file. In skin.js, declare the package name that is not started with "com.ibm.skins" and call dojo.registermodulepath to register the dojo packages for the skins.

Submitted by Cody Burleson on Jul 25, 2011 6:30:12 PM

Re: Create a custom theme without WebDAV

Excellent article, John! It is handy to do static resources only using WebDAV, but this approach you documented is often very necessary. For example, in our project, we NEED JSP pages in order to have complete control. It also makes deployment to multiple clusters better because then you just have a single, fully contained and deployable WAR file. Your instructions are pretty good and I was able to succeed based on them. Thanks!

Submitted by John De Binder on May 2, 2011 12:07:14 PM

Re: Create a custom theme without WebDAV

Correct, it is not a good idea to change the original PageBuilder2 files in either the out-of-box war or in WebDAV. But remember, when you create a new theme via the /dav/themelist/ entry point you are creating your own copy of the files in WebDAV. So you are safe. This article simply gives an alternative for those that can not find a suitable WebDAV client.

Submitted by Michael L Henderson on Apr 15, 2011 7:46:21 AM

Re: Create a custom theme without WebDAV

Line 2 content is spelled cotent. :) This is good documentation. You do not want your theme to be overwritten by an IBM update so it is not a good practice to use webdav to edit the existing pagebuilder2 theme. By creting the new war file you avoid that risk.