Hi Bertrand, 

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On 
> Behalf Of Bertrand Delacretaz
> Sent: Wednesday, June 18, 2008 10:08 AM
> To: [email protected]
> Subject: Re: Json Rendering
> 
> Hi Craig,
> 
> On Wed, Jun 18, 2008 at 4:18 PM, Craig L. Ching 
> <[EMAIL PROTECTED]> wrote:
> > ... have a patch here
> > (https://issues.apache.org/jira/browse/SLING-518) that I'm 
> waiting for 
> > someone to give guidance on....
> 
> I had a quick look, and I think creating a custom JSON 
> rendering servlet, by inheriting from the 
> JsonRendererServlet, and wirting that to the json extension 
> and a specific selector might be better that the proposed 
> patch. Unless you guys can come up with a simple generalized 
> way of "flavoring" the JSON output.
> 
Ok, you didn't like my hard-coded meta selector in the existing servlet
then? ;-)  I kind of figured that a whole new servlet would have been
overkill for this, but I'm happy to do what you guys think is best.
Question then, how do I map the selector to my new servlet?  In other
words, is there a way to map to a servlet based on selector?  I may be
showing my sling noobness here ;-)  Feel free to point me to the
documentation if it's documented, I have a feeling I've read about this
already and I'm just not recalling ...

Thanks for the input!

> -Bertrand
> 

Cheers,
Craig

Reply via email to