Package org.ogce.expbuilder.bean

Examples of org.ogce.expbuilder.bean.WorkflowBean


  public QMExtension() {
    FacesContext facesContext = FacesContext.getCurrentInstance();
    if (facesContext != null) {
      Application application = facesContext.getApplication();
      WorkflowBean bean = ((WorkflowBean) application.createValueBinding("#{workflow}").getValue(facesContext));
      Map<String, String> geoParam = bean.getGeoguiParam();
      QMExtension extension = new QMExtension();
      QMExtInput input = new QMExtInput();
      input.setEast(Integer.parseInt(geoParam.get("eastbc")));
      input.setNorth(Integer.parseInt(geoParam.get("eastbc")));
      input.setWest(Integer.parseInt(geoParam.get("eastbc")));
View Full Code Here


    // String workflowUrlType =
    // request.getParameter(WORKFLOW_URL_CONTEXT_TYPE);
    // String workflowId = request.getParameter(WORKFLOW_ID);
    try {
      WorkflowBean bean = new WorkflowBean();
      this.workflow = appContext.getExpBuilderManager().getWorkflow(workflowID);
      bean.setWorkflow(workflow);
      ValueBinding valueBinding = application.createValueBinding("#{workflow}");
      valueBinding.setValue(context, bean);
       
      BufferedImage buffer = workflow.getWorkflowImage();
      response.setContentType("image/png");
View Full Code Here

TOP

Related Classes of org.ogce.expbuilder.bean.WorkflowBean

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.