> -----Original Message-----
> From: Alexander Klimetschek [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, May 01, 2008 6:13 PM
> To: [email protected]
> Subject: Re: JSON renderer
> 
> IMHO you should add a special resource for getting the 
> property types.  
> An easy way to do so is by using selectors, eg.
> 
>     /foo/bar.metadata.json
> 
> where "metadata" is the selector. And the json would give you 
> the metadata of the node, for example with a sub-object (in 
> json) for each property and then all the property type data 
> as key-value pairs.
> 

Sorry for being a pain, but I'm still getting myself oriented here ;-)

So, should I be creating a new servlet with a new extension?  Or should
I add this to the JsonRendererServlet and just look for my selector
there (since this is technically still a json rendering and I'm not sure
how the extension resolution would work if I use a similar extension)?
The latter seems like the right approach to me.

Also, the code I pointed out in my original e-mail where there are two
implementations for properties, do you think that needs to be addressed
in some way?

> Regards,
> Alex
> 

Thanks for the help!

Cheers,
Craig

Reply via email to