Package ch.entwine.weblounge.workbench

Examples of ch.entwine.weblounge.workbench.PageletEditor


    if (site == null)
      throw new WebApplicationException(Status.NOT_FOUND);

    // Return the editor
    ResourceURI uri = new PageURIImpl(site, null, pageURI, Resource.WORK);
    PageletEditor editor;
    try {
      editor = workbench.getEditor(site, uri, composerId, pagelet, language, environment);
    } catch (IOException e) {
      throw new WebApplicationException(e);
    }
    if (editor == null)
      throw new WebApplicationException(Status.NOT_FOUND);
    return Response.ok(editor.toXml()).build();
  }
View Full Code Here

TOP

Related Classes of ch.entwine.weblounge.workbench.PageletEditor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.