Examples of InputObjectTexts


Examples of org.openqreg.bean.InputObjectTexts

      String helpText = requestedLanguage.get(key + "_H");
      if (helpText == null) {
        missingTexts.get(langId).add(key + "_H");
      }

      InputObjectTexts returnObject = new InputObjectTexts();
      returnObject.setVariableName(key);
      returnObject.setDescriptionText(descText);
      returnObject.setHelpText(helpText);
      returnObject.setListOptions(outTree);
      return returnObject;
    } finally {
      this.releaseReadLock();
    }
View Full Code Here

Examples of org.openqreg.bean.InputObjectTexts

      String helpText = requestedLanguage.get(key + "_H");
      if (helpText == null) {
        missingTexts.get(langId).add(key + "_H");
      }

      InputObjectTexts returnObject = new InputObjectTexts();
      returnObject.setVariableName(key);
      returnObject.setDescriptionText(descText);
      returnObject.setHelpText(helpText);
      returnObject.setListOptions(outTree);
      return returnObject;
    } finally {
      this.releaseReadLock();
    }
  }
View Full Code Here

Examples of org.openqreg.bean.InputObjectTexts

  @Override
  public String createJournalHTML(ElementParameter elemParam) {
    StringBuffer out = new StringBuffer();
    LanguageHandler lang = LanguageHandler.getInstance();

    InputObjectTexts obj = lang.getInputObjectTexts(elemParam.getLangId(), getName(), getName());
    Map<Integer, ListOption> listOptions = obj.getListOptions();
    out.append("<table id='").append(this.getName()).append("'>");
   
    if (listOptions != null) {

      int i=0;
View Full Code Here

Examples of org.openqreg.bean.InputObjectTexts

   */
  @Override
  public String createHTML(ElementParameter elemParam) {
    StringBuffer out = new StringBuffer();
    LanguageHandler lang = LanguageHandler.getInstance();
    InputObjectTexts obj = lang.getInputObjectTexts(elemParam.getLangId(),
        getName(), getName());

    String checked = " checked";
    // iterates over listoptions
    for(ListOption radioObject : obj.getListOptions().values()) {
      out.append(nl);
      out.append("<input type=\"radio\" ");
      out.append("id=\"" + getName() + radioObject.getValue().trim()
          + "\" ");
      out.append("name=\"" + getName() + "\" ");
View Full Code Here

Examples of org.openqreg.bean.InputObjectTexts

  @Override
  public String createJournalHTML(ElementParameter elemParam) {
    StringBuffer out = new StringBuffer();
    LanguageHandler lang = LanguageHandler.getInstance();

    InputObjectTexts obj = lang.getInputObjectTexts(elemParam.getLangId(), getName(), getName());
    FetchData fetch = elemParam.getFetch();
    for(ListOption radioOption : obj.getListOptions().values()) {
      if (fetch.containsValue(this.getName()) && radioOption.getValue().equals(fetch.getValueAsString(this.getName()))) {
        out.append("<span class=\"").append(getStylesheet()).append("\">");
        out.append(radioOption.getValue().trim());
        out.append("</span>");
      }
View Full Code Here

Examples of org.openqreg.bean.InputObjectTexts

    LanguageHandler lang = LanguageHandler.getInstance();
   
    String helpText = "<b>" + lang.getTranslation(elemParam.getLangId(), getDescriptionID()) + "</b><br/><br/>"
        + lang.getTranslation(elemParam.getLangId(), getHelpTextID());

    InputObjectTexts obj = lang.getInputObjectTexts(elemParam.getLangId(), getName(), getName());

    String checked = " checked";
    out.append("<span onmouseover=\"showHelpBox('" + helpText + "')\">\n ");
    //iterates over listoptions
    for(ListOption radioObject : obj.getListOptions().values()) {
     
      out.append("<nobr><input type=\"radio\" name=\"");
      out.append(getName());
      out.append("\" value=\"");
      out.append(radioObject.getValue().trim());
View Full Code Here

Examples of org.openqreg.bean.InputObjectTexts

  @Override
  public String createJournalHTML(ElementParameter elemParam) {
    StringBuffer out = new StringBuffer();
    LanguageHandler lang = LanguageHandler.getInstance();

    InputObjectTexts obj = lang.getInputObjectTexts(elemParam.getLangId(),
        getName(), getListBoxId());
    Map<Integer, ListOption> listOptions = obj.getListOptions();

    if (listOptions != null) {
      FetchData fetch = elemParam.getFetch();

      for (ListOption listOption : listOptions.values()) {
View Full Code Here

Examples of org.openqreg.bean.InputObjectTexts

  @Override
  public String createPaperFormHTML(ElementParameter elemParam) {
    StringBuffer out = new StringBuffer();
    LanguageHandler lang = LanguageHandler.getInstance();

    InputObjectTexts obj = lang.getInputObjectTexts(elemParam.getLangId(),
        getName(), getListBoxId());
    Calendar checkDate1 = elemParam.getCalendar();
    out.append("<div class=\"PFoptionstable\">\n");
    int col = 0;
    if (null != obj.getListOptions()
        && null != obj.getListOptions().values()) {
      // iterates over listoptions
      for (ListOption listObject : obj.getListOptions().values()) {
        // is the row within the specified interval
        if ((null == listObject.getStartDate() && null == listObject
            .getEndDate())
            || ((null == listObject.getStartDate()
                || listObject.getStartDate().before(checkDate1) || listObject
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.