Hi Phil
Velocity is an open-source Java-based templating language. It is an Apache
project - http://velocity.apache.org/
To see how it is used in Jetspeed, take a look at the directories under
..\Jetspeed-2.1.3\webapps\jetspeed\decorations\layout There is one directory
here (e.g. tigris, bluesky etc) approximately corresponding to a Jetspeed
theme. Also, take a look at
..\Jetspeed-2.1.3\webapps\jetspeed\decorations\portlet These subdirectories
approximately correnspond to WPS skins.
Regards
Ron
----- Original Message -----
From: "PhilJackson" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[email protected]>
Sent: Saturday, March 15, 2008 5:27 PM
Subject: Re: Default theme
Hi Ron,
As I am not doing anything too complex with WPS themes, I am using just
a text editor - EditPlus! If you have jsp reloading enabled the
turnaround time is pretty quick. So far the purple screen of death has
been enough to lead me to the error(s).
What is a Velocity template comprised of?
I have approached the JSP and JSPF files rather gingerly so far, as all
things Java-related are still new and strange to me. That is where a
majority of the heavy lifting is going on, along with the properties
file.
Phil
On Sat, 2008-03-15 at 16:54 +1300, Ron McNulty wrote:
Hi Phil
I am working with both Jetspeed and IBM WPS. I am investigating using
Jetspeed for development, and only going to WPS for integration test and
production. Main reason is that WPS is a very unfriendly developer
environment. (Slow to install, needs a really capable machine, takes
forever
to start in debug mode and runs like a dog when debugging, stuck on Java
1.4...)
Jetspeed themes are Velocity templates, but not at all difficult to
build.
They are described as "decorators" in the documentation. There is an
experimental JSP decorator in the latest release, but I have not tried
it.
Generally you can copy an existing Jetspeed theme and replace the images
&
css files with the ones from WPS. Then edit the header.vm and footer.vm
files using the WPS JSPs as a guide. For simple jobs, the single column
layout is usually OK so you don't need to build a special layout.
Regards
Ron
----- Original Message -----
From: "PhilJackson" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[email protected]>
Sent: Saturday, March 15, 2008 3:05 PM
Subject: Re: Default theme
> Pardon me,
>
> I am a fair newbie to IBM WebSphere Portal server and have been working
> a bit with themes. Subscribed to this out of curiousity. So a curious
> question(s) - does JetSpeed allow different themes to be applied to
> different pages? Figuring it must. Are they implemented with a
> collection of jsp and jspf files along with CSS, images, and property
> files? Really kind of interesting in WPS, uses some odd
> portal-specific
> tag libraries...
>
> PhilJ
>
> On Fri, 2008-03-14 at 18:51 -0700, David Sean Taylor wrote:
>> On Mar 14, 2008, at 1:39 PM, Dan Olsen wrote:
>>
>> > Is there are way to set the default theme for Jetspeed and then
>> > disable the theme selectors?
>> >
>> > - Dan
>>
>>
>> Don't set the decorator on any pages or folders except the root
>> folder.metadata
>> It will inherit down to all folders and pages
>>
>> To disable features in the customizer, the settings are in each
>> individual decorator.properties:
>>
>> allow.add.folder=false
>> allow.add.page=false
>> allow.add.portlet=true
>> allow.change.folder.name=false
>> allow.change.folder.theme=false
>> allow.change.portlet.decorator=false
>> allow.change.page.name=false
>> allow.change.page.theme=false
>> allow.change.layout=true
>> allow.delete.folder=false
>> allow.delete.page=false
>> allow.navigate.folder=false
>> allow.navigate.page=false
>> max.layout.nesting=2
>>
>> Note these settings no longer pickup when you edit the
>> decorator.properties
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]