"[EMAIL PROTECTED]" wrote : You could use the ThemeService.
  | org.jboos.portal.theme.ThemService
  | 
  | It has the following method:
  |  addTheme(RuntimeContext runtimeContext, PortalThemeMetaData metaData) 
throws ThemeException;
  | 
  | You should be able to achieve this goal.

Thank you for a quick answer. When the user has created a new theme, is it 
possible to edit the themes programmatically? I.e. can I call some 
setThemeMetaData() on an existing theme? I did not find any. The idea is to let 
the user upload her/his own portlet-frame-images to our server and modify an 
existing theme. (her dedicated theme folder in the core)

I have also found out that adding a new theme requires me to restart the server 
in order to find the theme in the portlet manager. Need I restart the server in 
order to call the org.jboos.portal.theme.ThemService.addTheme ?



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027971#4027971

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027971
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to