You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Olivier Lamy (JIRA)" <ji...@apache.org> on 2011/08/11 10:30:27 UTC

[jira] [Created] (CXF-3731) add a maven plugin which display the wadl content in a more human readable in a maven website

add a maven plugin which display the wadl content in a more human readable in a maven website
---------------------------------------------------------------------------------------------

                 Key: CXF-3731
                 URL: https://issues.apache.org/jira/browse/CXF-3731
             Project: CXF
          Issue Type: New Feature
            Reporter: Olivier Lamy




--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CXF-3731) add a maven plugin which display the wadl content in a more human readable in a maven website

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

Sergey Beryozkin commented on CXF-3731:
---------------------------------------

I guess one option is to get an instance of WADLGenerator configured with a reference to XSLT resource; if HTTP Accept is set to application/xml+html or text/html then WADLGenerator will pass the wadl content through that stylesheet. 
This can be decoupled a bit by doing it at a later stage, when the response is actually written to output stream, by providing a simple XSLT provider. Perhaps XSLTJaxbProvider can be made to reuse it...
This is how I'd attempt approaching another enhancement request (return human readable WADL rep when requested from a browser, using ?_wadl&type=html for ex).

Would something like this work for you ?

> add a maven plugin which display the wadl content in a more human readable in a maven website
> ---------------------------------------------------------------------------------------------
>
>                 Key: CXF-3731
>                 URL: https://issues.apache.org/jira/browse/CXF-3731
>             Project: CXF
>          Issue Type: New Feature
>            Reporter: Olivier Lamy
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CXF-3731) add a maven plugin which display the wadl content in a more human readable in a maven website

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

Olivier Lamy commented on CXF-3731:
-----------------------------------

The idea is to display nice html in a maven site page.
See sample/idea on how the maven folks do that with modello [http://maven.apache.org/ref/3.0.3/maven-model/maven.html]

> add a maven plugin which display the wadl content in a more human readable in a maven website
> ---------------------------------------------------------------------------------------------
>
>                 Key: CXF-3731
>                 URL: https://issues.apache.org/jira/browse/CXF-3731
>             Project: CXF
>          Issue Type: New Feature
>            Reporter: Olivier Lamy
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CXF-3731) add a maven plugin which display the wadl content in a more human readable in a maven website

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

Sergey Beryozkin commented on CXF-3731:
---------------------------------------

Another option is to populate WADL model (wadl/xsd would need to be processed) - a bit more involved.
Depends on how the plugin needs to interact with WADL generator

> add a maven plugin which display the wadl content in a more human readable in a maven website
> ---------------------------------------------------------------------------------------------
>
>                 Key: CXF-3731
>                 URL: https://issues.apache.org/jira/browse/CXF-3731
>             Project: CXF
>          Issue Type: New Feature
>            Reporter: Olivier Lamy
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira