You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org> on 2005/07/16 01:44:11 UTC
[jira] Commented: (TAPESTRY-396) RequestLocaleManagerImpl: Change private members to protected, to enable overriding implementation
[ http://issues.apache.org/jira/browse/TAPESTRY-396?page=comments#action_12315963 ]
Howard M. Lewis Ship commented on TAPESTRY-396:
-----------------------------------------------
Could you be more specific about what you'd like to override? Generally, you wil want to use the Decorator pattern; provide your own implementation of RLM that conditionally delegates to tapestry.request.RequestLocaleManager.
> RequestLocaleManagerImpl: Change private members to protected, to enable overriding implementation
> --------------------------------------------------------------------------------------------------
>
> Key: TAPESTRY-396
> URL: http://issues.apache.org/jira/browse/TAPESTRY-396
> Project: Tapestry
> Type: Wish
> Components: Framework
> Versions: 4.0
> Reporter: Ron Piterman
>
> in class org.apachetapestry.services.impl.RequestLocaleManagerImpl (and probably in other impl classes as well) all members are defined private, not allowing to override a method.
> So, one has to copy the class. this is very ugly practive.
> Change the private to protected to enable sound extention of such services.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org