[ 
https://issues.apache.org/jira/browse/JS2-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Woonsan Ko resolved JS2-1203.
-----------------------------

    Resolution: Fixed

Fixed.
One more constructor argument is added into DecorationValve to allow injection 
of default decorator actions factory.
Also, the following constructor-arg is added to DecorationValve bean 
configuration in the default pipelines.xml:

    <!-- default decorator actions factory -->
    <constructor-arg index='5'>
      <bean 
class="org.apache.jetspeed.decoration.DefaultDecoratorActionsFactory">
        <meta key="j2:cat" value="default" />
      </bean>
    </constructor-arg>

So, a custom decorator actions factory bean could be configured in the above 
constructor-arg element to customize the default one applied globally.

> DecorationValve needs to allow injection of the default decorator actions 
> factory
> ---------------------------------------------------------------------------------
>
>                 Key: JS2-1203
>                 URL: https://issues.apache.org/jira/browse/JS2-1203
>             Project: Jetspeed 2
>          Issue Type: Improvement
>          Components: Decorations/Themes
>    Affects Versions: 2.2.1
>            Reporter: Woonsan Ko
>            Assignee: Woonsan Ko
>            Priority: Minor
>             Fix For: 2.2.2
>
>
> Currently, to change the decorator actions factory, the only way is to 
> configure the factory class name in decorator.properties.
> This, however, allows customization only in the specific decorator.
> It would be more flexible if the default decorator actions factory could be 
> injected in the spring assembly configurations when the customization should 
> applies globally.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscr...@portals.apache.org
For additional commands, e-mail: jetspeed-dev-h...@portals.apache.org

Reply via email to