Hi

Look at CategoryPortletSelector.java for customizer.
Still it use a lot of javascript and dojo. We have Ajax api in jetspeed
for custom portlets, as explained by David

Vivek


Vikas Agrawal wrote:
Hi David
Thanks for ur reply
I tried to find out customizer code in Jetspeed source but was unable to
So can you please help me with location.
I wont prefer javascript but willl go as you suggested with customizer

Thanks again

David Sean Taylor wrote:
On Jan 27, 2009, at 12:01 AM, Vikas Agrawal Engg wrote:

Hi
I want to present option on my Portal developed with Jetspeed 2.1.3 to change Page Theme dynamically whenever required.
I fetch data through web services from server.
My case is if some user is logged in on Portal then he must be shown a dropdown for changing the Page Theme of the Portal.
Please help urgently

Take a look at the customizer, it has all the code required to do so, see layout.vm for starters..

Or if you prefer an ajax api, there is the "updatepage" api, try (assuming you are running on localhost, and your authenticated user has privilege to update a page), you can call from javascript:

http://localhost:8080/jetspeed/ajaxapi/Events.psml?action=updatepage&method=info&layout-decorator=blueocean



Reply via email to