On Jan 22, 2008 11:04 AM, David Nuescheler <[EMAIL PROTECTED]> wrote:
> ...I personally believe that we should support a simple way for people to > get to different views of the same json (like the DOJO tree structure). > Now, I am not sure if we need to do that on the server side... That can be done on the client, sure, but I think we should support some useful cases on the server side. > ... from a url perspective something like ... > > /mynode.all.0.json > /mynode.all.1.json > > ... or ... > > /mynode.dojotree.infinity.json > > could do the trick... Agreed, the convention would then be to use the last selector (0,1,infinity) for the recursion level, and the selector before that for the JSON "flavor". Currently the default renderers are hardcoded in the launchpad-servlets module, but we'll need to make them pluggable at some point anyway, so implementing what you suggest shouldn't be a problem. -Bertrand
