You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Emmanuel Venisse (JIRA)" <ji...@apache.org> on 2006/05/31 17:40:16 UTC
[jira] Created: (WW-1329) Add the possibility to use the role-hint
tag in plexus configuration
Add the possibility to use the role-hint tag in plexus configuration
--------------------------------------------------------------------
Key: WW-1329
URL: http://issues.apache.org/struts/browse/WW-1329
Project: Struts Action 2
Type: Improvement
Components: Component Management
Versions: WW 2.2.2
Reporter: Emmanuel Venisse
Actually, the plexus integration allow only to use the classname, defined in xwork.xml, in the role tag of the plexus component configuration like this:
In xwork.xml:
{noformat}
<action name="Hello" class="com.acme.MyAction">
<result name="success" type="dispatcher">
<param name="location">/success.jsp</param>
</result>
</action>
{noformat}
In plexus-*.xml:
{noformat}
<component>
<role>com.acme.MyAction</role>
<implementation>com.acme.MyAction</implementation>
</component>
{noformat}
With this patch, it will be possible to define the classname in one place and to use the role-hint tag of plexus configuration like this:
In xwork.xml:
{noformat}
<action name="Hello" class="myAction">
<result name="success" type="dispatcher">
<param name="location">/success.jsp</param>
</result>
</action>
{noformat}
In plexus-*.xml:
{noformat}
<component>
<role>com.opensymphony.xwork.Action</role>
<role-hint>myAction</role-hint>
<implementation>com.acme.MyAction</implementation>
</component>
{noformat}
This mechanism works for Action, Interceptor, Result and Validator.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Updated: (WW-1329) Add the possibility to use the role-hint
tag in plexus configuration
Posted by "Patrick Lightbody (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/struts/browse/WW-1329?page=all ]
Patrick Lightbody updated WW-1329:
----------------------------------
Fix Version: 2.0
Version: WW 2.2.1
(was: 2.0)
> Add the possibility to use the role-hint tag in plexus configuration
> --------------------------------------------------------------------
>
> Key: WW-1329
> URL: http://issues.apache.org/struts/browse/WW-1329
> Project: Struts Action 2
> Type: Improvement
> Components: Component Management
> Versions: WW 2.2.1
> Reporter: Emmanuel Venisse
> Fix For: 2.0
> Attachments: plexus.patch
>
> Actually, the plexus integration allow only to use the classname, defined in xwork.xml, in the role tag of the plexus component configuration like this:
> In xwork.xml:
> {noformat}
> <action name="Hello" class="com.acme.MyAction">
> <result name="success" type="dispatcher">
> <param name="location">/success.jsp</param>
> </result>
> </action>
> {noformat}
> In plexus-*.xml:
> {noformat}
> <component>
> <role>com.acme.MyAction</role>
> <implementation>com.acme.MyAction</implementation>
> </component>
> {noformat}
> With this patch, it will be possible to define the classname in one place and to use the role-hint tag of plexus configuration like this:
> In xwork.xml:
> {noformat}
> <action name="Hello" class="myAction">
> <result name="success" type="dispatcher">
> <param name="location">/success.jsp</param>
> </result>
> </action>
> {noformat}
> In plexus-*.xml:
> {noformat}
> <component>
> <role>com.opensymphony.xwork.Action</role>
> <role-hint>myAction</role-hint>
> <implementation>com.acme.MyAction</implementation>
> </component>
> {noformat}
> This mechanism works for Action, Interceptor, Result and Validator.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Updated: (WW-1329) Add the possibility to use the role-hint
tag in plexus configuration
Posted by "Emmanuel Venisse (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/struts/browse/WW-1329?page=all ]
Emmanuel Venisse updated WW-1329:
---------------------------------
Attachment: plexus.patch
> Add the possibility to use the role-hint tag in plexus configuration
> --------------------------------------------------------------------
>
> Key: WW-1329
> URL: http://issues.apache.org/struts/browse/WW-1329
> Project: Struts Action 2
> Type: Improvement
> Components: Component Management
> Versions: WW 2.2.2
> Reporter: Emmanuel Venisse
> Attachments: plexus.patch
>
> Actually, the plexus integration allow only to use the classname, defined in xwork.xml, in the role tag of the plexus component configuration like this:
> In xwork.xml:
> {noformat}
> <action name="Hello" class="com.acme.MyAction">
> <result name="success" type="dispatcher">
> <param name="location">/success.jsp</param>
> </result>
> </action>
> {noformat}
> In plexus-*.xml:
> {noformat}
> <component>
> <role>com.acme.MyAction</role>
> <implementation>com.acme.MyAction</implementation>
> </component>
> {noformat}
> With this patch, it will be possible to define the classname in one place and to use the role-hint tag of plexus configuration like this:
> In xwork.xml:
> {noformat}
> <action name="Hello" class="myAction">
> <result name="success" type="dispatcher">
> <param name="location">/success.jsp</param>
> </result>
> </action>
> {noformat}
> In plexus-*.xml:
> {noformat}
> <component>
> <role>com.opensymphony.xwork.Action</role>
> <role-hint>myAction</role-hint>
> <implementation>com.acme.MyAction</implementation>
> </component>
> {noformat}
> This mechanism works for Action, Interceptor, Result and Validator.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Resolved: (WW-1329) Add the possibility to use the role-hint
tag in plexus configuration
Posted by "Don Brown (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/struts/browse/WW-1329?page=all ]
Don Brown resolved WW-1329:
---------------------------
Resolution: Fixed
Assign To: Don Brown
Patch applied. Thanks!
> Add the possibility to use the role-hint tag in plexus configuration
> --------------------------------------------------------------------
>
> Key: WW-1329
> URL: http://issues.apache.org/struts/browse/WW-1329
> Project: Struts Action 2
> Type: Improvement
> Components: Component Management
> Versions: WW 2.2.1
> Reporter: Emmanuel Venisse
> Assignee: Don Brown
> Fix For: 2.0.0
> Attachments: plexus.patch, plexus2.patch
>
> Actually, the plexus integration allow only to use the classname, defined in xwork.xml, in the role tag of the plexus component configuration like this:
> In xwork.xml:
> {noformat}
> <action name="Hello" class="com.acme.MyAction">
> <result name="success" type="dispatcher">
> <param name="location">/success.jsp</param>
> </result>
> </action>
> {noformat}
> In plexus-*.xml:
> {noformat}
> <component>
> <role>com.acme.MyAction</role>
> <implementation>com.acme.MyAction</implementation>
> </component>
> {noformat}
> With this patch, it will be possible to define the classname in one place and to use the role-hint tag of plexus configuration like this:
> In xwork.xml:
> {noformat}
> <action name="Hello" class="myAction">
> <result name="success" type="dispatcher">
> <param name="location">/success.jsp</param>
> </result>
> </action>
> {noformat}
> In plexus-*.xml:
> {noformat}
> <component>
> <role>com.opensymphony.xwork.Action</role>
> <role-hint>myAction</role-hint>
> <implementation>com.acme.MyAction</implementation>
> </component>
> {noformat}
> This mechanism works for Action, Interceptor, Result and Validator.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Updated: (WW-1329) Add the possibility to use the role-hint
tag in plexus configuration
Posted by "Emmanuel Venisse (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/struts/browse/WW-1329?page=all ]
Emmanuel Venisse updated WW-1329:
---------------------------------
Attachment: plexus2.patch
This new patch include the previous and fix the plexus child container initialization
> Add the possibility to use the role-hint tag in plexus configuration
> --------------------------------------------------------------------
>
> Key: WW-1329
> URL: http://issues.apache.org/struts/browse/WW-1329
> Project: Struts Action 2
> Type: Improvement
> Components: Component Management
> Versions: WW 2.2.1
> Reporter: Emmanuel Venisse
> Fix For: 2.0
> Attachments: plexus.patch, plexus2.patch
>
> Actually, the plexus integration allow only to use the classname, defined in xwork.xml, in the role tag of the plexus component configuration like this:
> In xwork.xml:
> {noformat}
> <action name="Hello" class="com.acme.MyAction">
> <result name="success" type="dispatcher">
> <param name="location">/success.jsp</param>
> </result>
> </action>
> {noformat}
> In plexus-*.xml:
> {noformat}
> <component>
> <role>com.acme.MyAction</role>
> <implementation>com.acme.MyAction</implementation>
> </component>
> {noformat}
> With this patch, it will be possible to define the classname in one place and to use the role-hint tag of plexus configuration like this:
> In xwork.xml:
> {noformat}
> <action name="Hello" class="myAction">
> <result name="success" type="dispatcher">
> <param name="location">/success.jsp</param>
> </result>
> </action>
> {noformat}
> In plexus-*.xml:
> {noformat}
> <component>
> <role>com.opensymphony.xwork.Action</role>
> <role-hint>myAction</role-hint>
> <implementation>com.acme.MyAction</implementation>
> </component>
> {noformat}
> This mechanism works for Action, Interceptor, Result and Validator.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Updated: (WW-1329) Add the possibility to use the role-hint
tag in plexus configuration
Posted by "Patrick Lightbody (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/struts/browse/WW-1329?page=all ]
Patrick Lightbody updated WW-1329:
----------------------------------
Version: 2.0
(was: WW 2.2.2)
> Add the possibility to use the role-hint tag in plexus configuration
> --------------------------------------------------------------------
>
> Key: WW-1329
> URL: http://issues.apache.org/struts/browse/WW-1329
> Project: Struts Action 2
> Type: Improvement
> Components: Component Management
> Versions: 2.0
> Reporter: Emmanuel Venisse
> Attachments: plexus.patch
>
> Actually, the plexus integration allow only to use the classname, defined in xwork.xml, in the role tag of the plexus component configuration like this:
> In xwork.xml:
> {noformat}
> <action name="Hello" class="com.acme.MyAction">
> <result name="success" type="dispatcher">
> <param name="location">/success.jsp</param>
> </result>
> </action>
> {noformat}
> In plexus-*.xml:
> {noformat}
> <component>
> <role>com.acme.MyAction</role>
> <implementation>com.acme.MyAction</implementation>
> </component>
> {noformat}
> With this patch, it will be possible to define the classname in one place and to use the role-hint tag of plexus configuration like this:
> In xwork.xml:
> {noformat}
> <action name="Hello" class="myAction">
> <result name="success" type="dispatcher">
> <param name="location">/success.jsp</param>
> </result>
> </action>
> {noformat}
> In plexus-*.xml:
> {noformat}
> <component>
> <role>com.opensymphony.xwork.Action</role>
> <role-hint>myAction</role-hint>
> <implementation>com.acme.MyAction</implementation>
> </component>
> {noformat}
> This mechanism works for Action, Interceptor, Result and Validator.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira