Hi All,

I haven't had further responses on my previous thread so we went ahead and 
created our own alternative to the gadgetsettings "API".

There are three classes involved:

RenderUserPrefsController
https://gist.github.com/anonymous/5849412

RenderUserPrefsService
https://gist.github.com/anonymous/5849417

RenderUserPrefsException
https://gist.github.com/anonymous/5849420

We incorporated this into our existing application (using the Shindig 2.0 
container). The application is based on the Spring framework.

There are two additional dependencies:

Apache HttpComponents 4.1+ (for fetching the XML document)
Apache Commons Lang 3.1+ (for escaping the generated HTML)

We performed limited testing but so far it seems to be working great.

I hope this is of use to other users of Shindig 2.0.

If there are any questions / commons / feedback, please get in touch!

Best Regards,
Charl

-- 
Charl van Niekerk
ICT Service Centre
University of Twente

Reply via email to