portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gonzalo Aguilar Delgado <gagui...@aguilardelgado.com>
Subject Re: JSON + Ajax + toolbox
Date Thu, 19 Nov 2009 16:36:50 GMT
Hi  David, 

I've already done the interface. I got results and everything is

The problem as you say is about working with xml... It's a pain. I can't
make it work
with xml. And already did a small patch because getportlets action has a
bug that already
corrected.  I will send you the patches when finished.

What I will do now is to add the json interface to the action and give a
try with json. 

It's my first time using YUI3 so I'm going a little bit slow. But I
think I got it.

Thank you for pointing me to the right directions. 

NOTE: I will also add a small library of json definitions that I will
complete step by step.


> http://localhost:8080/jetspeed/ajaxapi?action=getportlets
> Take a look at GetPortletsAction.java. There is request parameter  
> "format" which can be either "json" or "xml". Not all of the actions  
> support json. I would like to support json in all actions with the  
> next release. The getportlets action for instance, only supports xml.  
> See getportlets.vm for details. See getthemes.vm for a json example.  
> If you dont want to work on the server side apis, let me know. I could  
> quickly write the json vm script for you.....
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-dev-help@portals.apache.org

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message