[
https://issues.apache.org/jira/browse/WW-3777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13234181#comment-13234181
]
Lukasz Lenart commented on WW-3777:
-----------------------------------
Done, the bean is a new extension point under struts.view.urlHelper and can be
overwritten in struts-plugin.xml like this
{code:xml}
<bean type="org.apache.struts2.views.util.UrlHelper" name="myHelper"
class="com.app.MyHelper"/>
<constant name="struts.view.urlHelper" value="myHelper"/>
{code}
> Convert UrlHelper into a real bean
> ----------------------------------
>
> Key: WW-3777
> URL: https://issues.apache.org/jira/browse/WW-3777
> Project: Struts 2
> Issue Type: Improvement
> Components: Core Actions
> Affects Versions: 2.3.1.2
> Reporter: Lukasz Lenart
> Assignee: Lukasz Lenart
> Priority: Minor
> Fix For: 2.3.2
>
>
> When converted into a bean, dependency can be inject instead using
> ActionContext.getContext().getContainer();
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira