On Oct 5, 2008, at 9:43 PM, Mansour Al Akeel wrote:
Mansour Al Akeel wrote:
Hello all,
how do I check in the portlet decorator if the current theme is a
portal or desktop ?
On this page http://portals.apache.org/tutorials/jetspeed-2-ant/02/desktop-theme.html
, there's brief explanation of the usage of $
{jetspeedDesktop.getDesktopTheme()} however, I am not sure how to
check this from velocity.
For example, in my portlet decorator:
#if( desktop)
display this
#else
display something else
#end
thank you.
Ok, I think that's not going to work because the rendering the
portlets in the desktop is different that the portal. For example,
editing decorator.vm will change the portlet only under the portal
mode. In the desktop mode, these changes are not reflected. Now the
question is: How do I deign a template for a portlet in the desktop
mode? what files are involved ?
We have been designing two different decorator templates, one for
desktop, one for portal. I understand this may not be the greatest
solution, but this is the first time someone has wanted to support both
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]