Examples of ERXResponse


Examples of er.extensions.appserver.ERXResponse

          return WOApplication.application().pageWithName(pageName, context);
        }
        else if (_action != null) {
          return (WOActionResults) _action.valueInComponent(component);
        } else {
          ERXResponse response = new ERXResponse();
          //AK: we might want to be able to set this...
          response.appendContentString("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">");
          response.appendContentString("<html><body style='border:0; margin: 0; padding: 0; width:100%; height: 100%'>");
          doAppendChildrenToResponse(response, context);
          response.appendContentString("</body></html>");
          ERXResponseComponent comp = (ERXResponseComponent) WOApplication.application().pageWithName("ERXResponseComponent", context);
          comp.setResponse(response);
          comp.setComponent(context.page());
          return comp;
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.