[jira] [Resolved] (JS2-1298) Jetspeed Power Tool renderPortletWindow loses PSML Preferences

"David Sean Taylor (JIRA)" <[email protected]>
Newsgroups gmane.comp.jakarta.jetspeed.devel
Message-ID <JIRA.12722924.1403312423879.22405.1403315904353@arcas>
     [ https://issues.apache.org/jira/browse/JS2-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Sean Taylor resolved JS2-1298.
------------------------------------

    Resolution: Not a Problem

Turns out this wasn't a bug. I was passing in the wrong content fragment id. Since version 2.2.1, fragment ids must be fully qualified. Example:

    <fragment id="my-layout" type="layout" name="jetspeed-layouts::VelocityTwoColumns">
        <fragment id="my-portlet" type="portlet" name="nested-portlet::MenuPortlet">

The id for my-portlet would be  "my-layout__my-portlet" 
Note the two underscores to follow the path of the fragments


> Jetspeed Power Tool renderPortletWindow loses PSML Preferences
> --------------------------------------------------------------
>
>                 Key: JS2-1298
>                 URL: https://issues.apache.org/jira/browse/JS2-1298
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Aggregation
>    Affects Versions: 2.3.0
>            Reporter: David Sean Taylor
>            Assignee: David Sean Taylor
>             Fix For: 2.3.0
>
>
> The JetspeedPowerTool can render a single portlet with the renderPortletWindow() method. However, it is not properly associating the fragment with the portlet window, effectively breaking PSML preferences support on this method of rendering.



--
This message was sent by Atlassian JIRA
(v6.2#6252)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.