You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Glen Mazza (JIRA)" <ji...@apache.org> on 2008/09/10 00:57:44 UTC
[jira] Issue Comment Edited: (CXF-1782)
ServletController.generateServiceList is private - cannot extend/change the
way a service list is built
[ https://issues.apache.org/jira/browse/CXF-1782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12629648#action_12629648 ]
gmazza edited comment on CXF-1782 at 9/9/08 3:56 PM:
---------------------------------------------------------
I think we have an ability to specify a CSS for the service list--I would search our CXF user's list for that.
Beyond that, -0.5. I would think service list generation should be FINAL -- not something that can be overridden or modified. AFAIK the service list construction mechanism is defined within the JAX-WS specification, which CXF is programmed to implement. It would perhaps be akin to CXF defined to provide the perimeter of a circle given its radius, yet allowing itself to be overridden to provide the area instead.
was (Author: gmazza):
I think we have an ability to specify a CSS for the service list--I would search our CXF user's list for that.
Beyond that, -0.5. I would think service generation should be FINAL -- not something that can be overridden or modified. AFAIK the service list construction mechanism is defined within the JAX-WS specification, which CXF is programmed to implement. It would perhaps be akin to CXF defined to provide the perimeter of a circle given its radius, yet allowing itself to be overridden to provide the area instead.
> ServletController.generateServiceList is private - cannot extend/change the way a service list is built
> -------------------------------------------------------------------------------------------------------
>
> Key: CXF-1782
> URL: https://issues.apache.org/jira/browse/CXF-1782
> Project: CXF
> Issue Type: Improvement
> Components: Transports
> Affects Versions: 2.1.2
> Environment: All
> Reporter: Peter Liljenberg
> Attachments: patch.txt
>
> Original Estimate: 0.02h
> Remaining Estimate: 0.02h
>
> The ServletController.generateService method is private instead of protected. This means that in order to change the way/layout of the service list I have to override the invoke method instead, which is not recommended since it contains some logic that might be updated in a later version.
> Proposed solution:
> Change: private void generateServiceList(HttpServletRequest request, HttpServletResponse response) throws IOException
> To: protected void generateServiceList(HttpServletRequest request, HttpServletResponse response) throws IOException
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.