org.nuxeo.opensocial.webengine.gadgets.render
Class GadgetSpecView
java.lang.Object
org.nuxeo.opensocial.webengine.gadgets.render.GadgetSpecView
public class GadgetSpecView
- extends Object
Helper to render the GadgetSpec via FreeMarker
Using FreeMarker for that allow to have some dynamic computations : - OAUth
urls (that may be different depending on the IP the client uses) - resources
urls - requests urls - ...
- Author:
- tiry
i18n
public static Gadgeti18n i18n
GadgetSpecView
public GadgetSpecView()
render
public static InputStream render(InternalGadgetDescriptor gadget,
Map<String,Object> params)
throws Exception
- Throws:
Exception
Copyright © 2011 Nuxeo SAS. All Rights Reserved.