I'm working on http://www.ja-sig.org/issues/browse/UP-1768 which is an issue where the minimize change the chrome provides actually hides the portlet's output. Some logic needs to be added to the theme to allow the rendered output of a minimized portlet to be displayed (per the JSR-168 spec). I'm looking for the appropriate place to add information to the layout about if the channel is a portlet or not.

The IUserLayoutChannelDescription interface has a "boolean isPortlet()" and the impl (UserLayoutChannelDescription) does properly implement this method. The "public void addNodeAttributes(Element node)" method didn't do anything with isPortlet but trying to add logic there to add the attribute doesn't seem to work and after adding a breakpoint in that method it doesn't appear to be used.

Anyone with more familiarity in the underpinnings of DLM know where the appropriate place would be to add detection of the type of <channel> element being added to the layout XML and adding a isPortlet=(true|false) attribute?

Thanks,
-Eric

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to