users@jersey.java.net

Re: [Jersey] WadlResource

From: Martin Grotzke <martin.grotzke_at_freiheit.com>
Date: Mon, 09 Mar 2009 15:40:59 +0100

Hi Herb,

as I already answered to Christopher, I plan to have a look at this this
evening and then I can give feedback.

Cheers,
Martin


On Sat, 2009-03-07 at 07:46 -0500, Herb Chapman wrote:
> It looks like the "application.wadl" path gets tied to the
> WadlResource class, which generates the wadl. Is there a way to
> invoke a custom WadlGenerator when "application.wadl" is entered?
>
> My problem is, would like an easy way to insert an xsl stylesheet into
> the extended wadl at webapp runtime. From looking around in the code,
> I thought modifying the marshalling in WadlResource would be what I
> wanted to do. But, I need to hook it into the application somehow.
>
> Anyway, if I am way off here, is there a way to insert a stylesheet
> reference into the generated wadl?
>
> --
> Herb Chapman