[ 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
