portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Woonsan Ko (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Resolved: (JS2-1203) DecorationValve needs to allow injection of the default decorator actions factory
Date Sat, 17 Jul 2010 00:37:50 GMT

     [ 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-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message