You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "jmi (JIRA)" <ji...@apache.org> on 2008/06/04 23:45:45 UTC

[jira] Created: (CXF-1630) Make nicer service list for CXFServlet

Make nicer service list for CXFServlet
--------------------------------------

                 Key: CXF-1630
                 URL: https://issues.apache.org/jira/browse/CXF-1630
             Project: CXF
          Issue Type: Improvement
          Components: Transports
    Affects Versions: 2.1
            Reporter: jmi
            Priority: Trivial


service list is ugly. Working on nicer version.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (CXF-1630) Make nicer service list for CXFServlet

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp reassigned CXF-1630:
--------------------------------

    Assignee: Daniel Kulp

> Make nicer service list for CXFServlet
> --------------------------------------
>
>                 Key: CXF-1630
>                 URL: https://issues.apache.org/jira/browse/CXF-1630
>             Project: CXF
>          Issue Type: Improvement
>          Components: Transports
>    Affects Versions: 2.1
>            Reporter: jmi
>            Assignee: Daniel Kulp
>            Priority: Trivial
>         Attachments: patch.txt, servicelist.css
>
>
> service list is ugly. Working on nicer version.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CXF-1630) Make nicer service list for CXFServlet

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-1630.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.7
                   2.1.1


Patches applied.  Thanks!

> Make nicer service list for CXFServlet
> --------------------------------------
>
>                 Key: CXF-1630
>                 URL: https://issues.apache.org/jira/browse/CXF-1630
>             Project: CXF
>          Issue Type: Improvement
>          Components: Transports
>    Affects Versions: 2.1
>            Reporter: jmi
>            Assignee: Daniel Kulp
>            Priority: Trivial
>             Fix For: 2.1.1, 2.0.7
>
>         Attachments: patch.txt, servicelist.css, sorting.patch
>
>
> service list is ugly. Working on nicer version.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CXF-1630) Make nicer service list for CXFServlet

Posted by "Sergey Pulyaev (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Pulyaev updated CXF-1630:
--------------------------------

    Attachment: sorting.patch

By the way - it would be nice to show list of services sorted by name - patch in attachment

> Make nicer service list for CXFServlet
> --------------------------------------
>
>                 Key: CXF-1630
>                 URL: https://issues.apache.org/jira/browse/CXF-1630
>             Project: CXF
>          Issue Type: Improvement
>          Components: Transports
>    Affects Versions: 2.1
>            Reporter: jmi
>            Assignee: Daniel Kulp
>            Priority: Trivial
>         Attachments: patch.txt, servicelist.css, sorting.patch
>
>
> service list is ugly. Working on nicer version.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CXF-1630) Make nicer service list for CXFServlet

Posted by "jmi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jmi updated CXF-1630:
---------------------

    Attachment: servicelist.css

sample stylesheet

> Make nicer service list for CXFServlet
> --------------------------------------
>
>                 Key: CXF-1630
>                 URL: https://issues.apache.org/jira/browse/CXF-1630
>             Project: CXF
>          Issue Type: Improvement
>          Components: Transports
>    Affects Versions: 2.1
>            Reporter: jmi
>            Priority: Trivial
>         Attachments: servicelist.css
>
>
> service list is ugly. Working on nicer version.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CXF-1630) Make nicer service list for CXFServlet

Posted by "jmi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jmi updated CXF-1630:
---------------------

    Attachment: patch.txt

added patch.txt

> Make nicer service list for CXFServlet
> --------------------------------------
>
>                 Key: CXF-1630
>                 URL: https://issues.apache.org/jira/browse/CXF-1630
>             Project: CXF
>          Issue Type: Improvement
>          Components: Transports
>    Affects Versions: 2.1
>            Reporter: jmi
>            Priority: Trivial
>         Attachments: patch.txt, servicelist.css
>
>
> service list is ugly. Working on nicer version.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-1630) Make nicer service list for CXFServlet

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12603133#action_12603133 ] 

Daniel Kulp commented on CXF-1630:
----------------------------------

I've applied these to trunk/2.0.x.   I made some modifications so that default stylesheet is picked up.   Nothing major.





> Make nicer service list for CXFServlet
> --------------------------------------
>
>                 Key: CXF-1630
>                 URL: https://issues.apache.org/jira/browse/CXF-1630
>             Project: CXF
>          Issue Type: Improvement
>          Components: Transports
>    Affects Versions: 2.1
>            Reporter: jmi
>            Priority: Trivial
>         Attachments: patch.txt, servicelist.css
>
>
> service list is ugly. Working on nicer version.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-1630) Make nicer service list for CXFServlet

Posted by "Glen Mazza (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12604394#action_12604394 ] 

Glen Mazza commented on CXF-1630:
---------------------------------

OK.  Never mind.

> Make nicer service list for CXFServlet
> --------------------------------------
>
>                 Key: CXF-1630
>                 URL: https://issues.apache.org/jira/browse/CXF-1630
>             Project: CXF
>          Issue Type: Improvement
>          Components: Transports
>    Affects Versions: 2.1
>            Reporter: jmi
>            Assignee: Daniel Kulp
>            Priority: Trivial
>         Attachments: patch.txt, servicelist.css, sorting.patch
>
>
> service list is ugly. Working on nicer version.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-1630) Make nicer service list for CXFServlet

Posted by "jmi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12602469#action_12602469 ] 

jmi commented on CXF-1630:
--------------------------

Added new optional servlet init-param:

	<servlet>
		<servlet-name>CXFServlet</servlet-name>
		<display-name>CXF Servlet</display-name>
		<servlet-class>
			org.apache.cxf.transport.servlet.CXFServlet
		</servlet-class>
		<init-param>
			<param-name>service-list-stylesheet</param-name>
			<param-value>servicelist.css</param-value>
		</init-param>
		<load-on-startup>1</load-on-startup>
	</servlet>


patch and sample stylesheet in attachment in few minutes..

> Make nicer service list for CXFServlet
> --------------------------------------
>
>                 Key: CXF-1630
>                 URL: https://issues.apache.org/jira/browse/CXF-1630
>             Project: CXF
>          Issue Type: Improvement
>          Components: Transports
>    Affects Versions: 2.1
>            Reporter: jmi
>            Priority: Trivial
>         Attachments: servicelist.css
>
>
> service list is ugly. Working on nicer version.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-1630) Make nicer service list for CXFServlet

Posted by "Glen Mazza (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12604256#action_12604256 ] 

Glen Mazza commented on CXF-1630:
---------------------------------

I would recommend against alphabetization--people have reasons to have operations in certain orders, especially for larger WSDLs, and that ordering should be followed--sometimes alphabetization actually makes things worse, as it separates operations related to the same topic.

There are ways to sort the WSDL using XSLT if alphabetization is desired.  Check the CXF articles page for a blog entry I did on that.

Glen


> Make nicer service list for CXFServlet
> --------------------------------------
>
>                 Key: CXF-1630
>                 URL: https://issues.apache.org/jira/browse/CXF-1630
>             Project: CXF
>          Issue Type: Improvement
>          Components: Transports
>    Affects Versions: 2.1
>            Reporter: jmi
>            Assignee: Daniel Kulp
>            Priority: Trivial
>         Attachments: patch.txt, servicelist.css, sorting.patch
>
>
> service list is ugly. Working on nicer version.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-1630) Make nicer service list for CXFServlet

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12604258#action_12604258 ] 

Daniel Kulp commented on CXF-1630:
----------------------------------


Glen,

The patch sorts the Services that are deployed in the servlet by Service name.   It doesn't sort the operations in the service.

Since the services are stored in a HashMap, right now, the list would be a semi-random order depending on the state of the Map.   Thus, I think providing some sort of consistent order to them is probably a good thing.   

Dan



> Make nicer service list for CXFServlet
> --------------------------------------
>
>                 Key: CXF-1630
>                 URL: https://issues.apache.org/jira/browse/CXF-1630
>             Project: CXF
>          Issue Type: Improvement
>          Components: Transports
>    Affects Versions: 2.1
>            Reporter: jmi
>            Assignee: Daniel Kulp
>            Priority: Trivial
>         Attachments: patch.txt, servicelist.css, sorting.patch
>
>
> service list is ugly. Working on nicer version.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.