Examples of DOFormModel


Examples of com.exedosoft.plat.ui.DOFormModel

      if (hpm.getDOGridModel() != null) {
        formName = "a" + hpm.getDOGridModel().getObjUid();
      }
    }
    if(gm.getBottomOutGridFormLinks().size()>0){
      DOFormModel firstFm = (DOFormModel)gm.getBottomOutGridFormLinks().get(0);
      if(firstFm.isHidden()){
        formName = firstFm.getTargetForms();
      }
    }
    data.put("formName",formName);

    return data;
View Full Code Here

Examples of com.exedosoft.plat.ui.DOFormModel

        List<DOFormModel> listFm = gridModel
            .getStatisticOutGridFormLinks();
        if (listFm != null && listFm.size() > 0) {
          for (Iterator<DOFormModel> it = listFm.iterator(); it
              .hasNext();) {
            DOFormModel aFm = it.next();
            aFm.setData(statistics);
            sb.append("&nbsp;&nbsp;&nbsp;&nbsp;").append(
                aFm.getL10n()).append(":").append(
                aFm.getValue()).append(
                "&nbsp;&nbsp;&nbsp;&nbsp;");
          }
        }
        data.put("statistics_details", sb.toString());
View Full Code Here

Examples of com.exedosoft.plat.ui.DOFormModel

        }
      }

    }
    if(gm.getBottomOutGridFormLinks().size()>0){
      DOFormModel firstFm = (DOFormModel)gm.getBottomOutGridFormLinks().get(0);
      if(firstFm.isHidden()){
        formName = firstFm.getTargetForms();
      }
    }
    data.put("formName",formName);

    return data;
View Full Code Here

Examples of com.exedosoft.plat.ui.DOFormModel

        List<DOFormModel> listFm = gridModel
            .getStatisticOutGridFormLinks();
        if (listFm != null && listFm.size() > 0) {
          for (Iterator<DOFormModel> it = listFm.iterator(); it
              .hasNext();) {
            DOFormModel aFm = it.next();
            aFm.setData(statistics);
            sb.append("&nbsp;&nbsp;&nbsp;&nbsp;").append(
                aFm.getL10n()).append(":").append(
                aFm.getValue()).append(
                "&nbsp;&nbsp;&nbsp;&nbsp;");
          }
        }
        data.put("statistics_details", sb.toString());
View Full Code Here

Examples of com.exedosoft.plat.ui.DOFormModel

    Map<String, Object> data = new HashMap<String, Object>();
    data.put("model", doimodel);
    data.put("contextPath", DOGlobals.PRE_FULL_FOLDER);
    data.put("webmodule", DOGlobals.URL);

    DOFormModel fm = (DOFormModel) doimodel;

    StringBuffer strLink = new StringBuffer();

    strLink.append(DOGlobals.PRE_FULL_FOLDER).append(
        "file/downloadfile_common.jsp?formModelUid=").append(
        fm.getObjUid());
   
    BOInstance biData = fm.getData();
    if(biData==null){
      biData = fm.getGridModel().getCategory().getCorrInstance();
    }
   
    if(biData!=null){
        strLink.append("&fileName=")
        .append( biData.getName());
        if(fm.getInputConfig()==null){
          strLink.append(".xml");
        }else{
          strLink.append(fm.getInputConfig());
        }
    }

    data.put("link_url", strLink.toString());
   
View Full Code Here

Examples of com.exedosoft.plat.ui.DOFormModel

public class DOValueSimpleLoginMan implements DOIView {
 

  public String getHtmlCode(DOIModel aModel) {

    DOFormModel property = (DOFormModel) aModel;
    //String value = fm.getValue();
   
   
    String theValue = DOGlobals.getInstance().getSessoinContext().getUser().getUid();
   
    BOInstance bi = null;
   
    DOBO corrBO = property.getLinkBO();
   


    if (corrBO == null && property.getLinkService() != null) {
      corrBO = property.getLinkService().getBo();
    }
 

    if (theValue != null
        && !"".equals(theValue.trim())) {
View Full Code Here

Examples of com.exedosoft.plat.ui.DOFormModel

public class DOValueStaticList extends DOStaticList {

  public String getHtmlCode(DOIModel aModel) {

    DOFormModel property = (DOFormModel) aModel;
    return getStaticListValue(property);
  }
View Full Code Here

Examples of com.exedosoft.plat.ui.DOFormModel

    Map<String, Object> data = new HashMap<String, Object>();
    data.put("model", doimodel);
    data.put("contextPath", DOGlobals.PRE_FULL_FOLDER);
    data.put("webmodule", DOGlobals.URL);

    DOFormModel fm = (DOFormModel) doimodel;

    StringBuffer strLink = new StringBuffer();

    strLink.append(DOGlobals.PRE_FULL_FOLDER).append(
        "file/downloadfile_excel.jsp?paneModelUid=").append(
        fm.getLinkPaneModel().getObjUid());
    if (fm.getLinkService() != null) {
      strLink.append("&contextServiceName=").append(
          fm.getLinkService().getName());
    }
    data.put("excelurl", strLink.toString());
   
    return data;
  }
View Full Code Here

Examples of com.exedosoft.plat.ui.DOFormModel

    // TODO Auto-generated constructor stub
  }

  public String getHtmlCode(DOIModel aModel) {

    DOFormModel property = (DOFormModel) aModel;

    StringBuffer buffer = new StringBuffer();
    String areaConfig = property.getInputConfig();
    int cols = 50;
    int rows = 5;
    if (areaConfig != null && !areaConfig.equals("")) {
      String[] configs = areaConfig.split(";");
      if (configs != null && configs.length == 2) {
        if (Integer.parseInt(configs[0]) != 0) {
          cols = Integer.parseInt(configs[0]);
        }
        if (Integer.parseInt(configs[1]) != 0) {
          rows = Integer.parseInt(configs[1]);
        }
      }
    }
   
    buffer.append("<textarea  name=\"").append(property.getColName()).append("\"");
    buffer.append(" readonly=\"readonly\" id=\"").append(property.getFullColID()).append("\" ");
//    buffer  .append("\" dojoType=\"");
//    if (property.getExedojoType() != null
//        && !"".equals(property.getExedojoType().trim())) {
//      buffer.append(property.getExedojoType()).append("\"");
//    } else {
//      buffer.append("ValidationTextBox\"");
//    }
 
    buffer.append(" title='").append(property.getL10n().trim()).append("'");

    buffer.append(this.appendValidateConfig(property));
   
        buffer.append(" cols=").append("\"").append(cols)
        .append("\" rows=").append("\"").append(rows).append("\">");
    if (property.getValue() != null) {
      buffer.append(property.getValue());
    }
   
    buffer.append("</textarea>");

   
View Full Code Here

Examples of com.exedosoft.plat.ui.DOFormModel

*/
public class DOValuePane extends DOBaseForm {

  public String getHtmlCode(DOIModel iModel) {

    DOFormModel property = (DOFormModel) iModel;

    if (property.getData() != null && property.getLinkPaneModel() != null) {

      StringBuffer buffer = new StringBuffer("<a href=\"");
 
      DOValueService.appendJSPaneLink(property,buffer);
      buffer.append("\" > ").append(property.getValue()).append("</a>");

      return buffer.toString();
    }
    return property.getValue();

  }
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.