Examples of contaNodi()


Examples of org.xdams.xml.builder.XMLBuilder.contaNodi()

      // confControl.add("query");
      // editingManager.rewriteMultipleConf(confControl);

      // System.out.println(getConfFile());
      // System.out.println(getTheMultiEditingPath());
      int contaNodi = builderManaging.contaNodi("/root/managing/user/element");
      for (int i = 0; i < contaNodi; i++) {
        String functionTxt = "";
        String anchorTxt = "";
        String targetTxt = "";
        String txtAhref = builderManaging.valoreNodo("/root/managing/user/element[" + (i + 1) + "]/@value");
View Full Code Here

Examples of org.xdams.xml.builder.XMLBuilder.contaNodi()

      for (int i = 0; i < contaNodi; i++) {
        String functionTxt = "";
        String anchorTxt = "";
        String targetTxt = "";
        String txtAhref = builderManaging.valoreNodo("/root/managing/user/element[" + (i + 1) + "]/@value");
        int contaEventJavaScript = builderManaging.contaNodi("/root/managing/user/element[" + (i + 1) + "]/eventJavaScript");
        int contaAnchor = builderManaging.contaNodi("/root/managing/user/element[" + (i + 1) + "]/anchor");
        String isVisible = "true";

        String testMethod = builderManaging.valoreNodo("/root/managing/user/element[" + (i + 1) + "]/@testMethod");
        String testClass = builderManaging.valoreNodo("/root/managing/user/element[" + (i + 1) + "]/@testClass");
View Full Code Here

Examples of org.xdams.xml.builder.XMLBuilder.contaNodi()

        String functionTxt = "";
        String anchorTxt = "";
        String targetTxt = "";
        String txtAhref = builderManaging.valoreNodo("/root/managing/user/element[" + (i + 1) + "]/@value");
        int contaEventJavaScript = builderManaging.contaNodi("/root/managing/user/element[" + (i + 1) + "]/eventJavaScript");
        int contaAnchor = builderManaging.contaNodi("/root/managing/user/element[" + (i + 1) + "]/anchor");
        String isVisible = "true";

        String testMethod = builderManaging.valoreNodo("/root/managing/user/element[" + (i + 1) + "]/@testMethod");
        String testClass = builderManaging.valoreNodo("/root/managing/user/element[" + (i + 1) + "]/@testClass");
        String userValue = builderManaging.valoreNodo("/root/managing/user/element[" + (i + 1) + "]/@userValue");
View Full Code Here

Examples of org.xdams.xml.builder.XMLBuilder.contaNodi()

          ReflectionUtil reflectionUtil = new ReflectionUtil();
          if (contaAnchor == 1) {

            for (int j = 0; j < contaAnchor; j++) {
              String anchor = builderManaging.valoreNodo("/root/managing/user/element[" + (i + 1) + "]/anchor[" + (j + 1) + "]/@value");
              int contaParamAnchor = builderManaging.contaNodi("/root/managing/user/element[" + (i + 1) + "]/anchor[" + (j + 1) + "]/paramAnchor");
              String interrogativo = "?";
              if (anchor.indexOf("#") != -1 || contaParamAnchor == 0) {
                interrogativo = "";
              }
              if (ExpressionEvaluationUtils.isExpressionLanguage(anchor)) {
View Full Code Here

Examples of org.xdams.xml.builder.XMLBuilder.contaNodi()

          // out.println("contaEventJavaScript " + contaEventJavaScript);
          for (int j = 0; j < contaEventJavaScript; j++) {
            String eventJavaScript = builderManaging.valoreNodo("/root/managing/user/element[" + (i + 1) + "]/eventJavaScript[" + (j + 1) + "]/@value");
            // out.println("eventJavaScripty " + eventJavaScript);
            eventJavaScript += "=\"";
            int contaFunctionName = builderManaging.contaNodi("/root/managing/user/element[" + (i + 1) + "]/eventJavaScript[" + (j + 1) + "]/functionName");
            for (int k = 0; k < contaFunctionName; k++) {
              String functionName = builderManaging.valoreNodo("/root/managing/user/element[" + (i + 1) + "]/eventJavaScript[" + (j + 1) + "]/functionName[" + (k + 1) + "]/@value");
              // out.println("functionName " + functionName);
              eventJavaScript += functionName + "(";
              int contaParamFunction = builderManaging.contaNodi("/root/managing/user/element[" + (i + 1) + "]/eventJavaScript[" + (j + 1) + "]/functionName[" + (k + 1) + "]/paramFunction");
View Full Code Here

Examples of org.xdams.xml.builder.XMLBuilder.contaNodi()

            int contaFunctionName = builderManaging.contaNodi("/root/managing/user/element[" + (i + 1) + "]/eventJavaScript[" + (j + 1) + "]/functionName");
            for (int k = 0; k < contaFunctionName; k++) {
              String functionName = builderManaging.valoreNodo("/root/managing/user/element[" + (i + 1) + "]/eventJavaScript[" + (j + 1) + "]/functionName[" + (k + 1) + "]/@value");
              // out.println("functionName " + functionName);
              eventJavaScript += functionName + "(";
              int contaParamFunction = builderManaging.contaNodi("/root/managing/user/element[" + (i + 1) + "]/eventJavaScript[" + (j + 1) + "]/functionName[" + (k + 1) + "]/paramFunction");
              for (int index = 0; index < contaParamFunction; index++) {
                String javaBean = builderManaging.valoreNodo("/root/managing/user/element[" + (i + 1) + "]/eventJavaScript[" + (j + 1) + "]/functionName[" + (k + 1) + "]/paramFunction[" + (index + 1) + "]/@javaBean");
                String methodBean = builderManaging.valoreNodo("/root/managing/user/element[" + (i + 1) + "]/eventJavaScript[" + (j + 1) + "]/functionName[" + (k + 1) + "]/paramFunction[" + (index + 1) + "]/text()");
                String paramValue = builderManaging.valoreNodo("/root/managing/user/element[" + (i + 1) + "]/eventJavaScript[" + (j + 1) + "]/functionName[" + (k + 1) + "]/paramFunction[" + (index + 1) + "]/@paramValue");
                String escapeSingleApex = builderManaging.valoreNodo("/root/managing/user/element[" + (i + 1) + "]/eventJavaScript[" + (j + 1) + "]/functionName[" + (k + 1) + "]/paramFunction[" + (index + 1) + "]/@escapeSingleApex");
View Full Code Here

Examples of org.xdams.xml.builder.XMLBuilder.contaNodi()

    // INIZIO /query/element per i dizionari e ric libera
    String prefix = "/root/query/element";
    Map<String, String> hashOutputField = null;

    List<Map<String, String>> arrLabel = new ArrayList<Map<String, String>>();
    int numField = theXMLconf.contaNodi(prefix);
    for (int i = 0; i < numField; i++) {
      hashOutputField = new HashMap<String, String>();
      String positionDiv = theXMLconf.valoreNodo(prefix + "[" + (i + 1) + "]/@position");
      String attrLabel = theXMLconf.valoreNodo(prefix + "[" + (i + 1) + "]/@label");
      String attrFirstIdx = theXMLconf.valoreNodo(prefix + "[" + (i + 1) + "]/@firstIdx");
View Full Code Here

Examples of org.xdams.xml.builder.XMLBuilder.contaNodi()

      String nameValueEncoded = URLEncoder.encode(nameValue, "iso-8859-1").replaceAll("%", "").replaceAll("\\*", "");
      if (attrTypology.equals("radio")) {
        String ilValoreCorrente = attrValue;
        XMLBuilder theXMLconfTMP = confBean.getTheXMLValControllati();
        String thisExternalPath = attrExternalPath;
        int nodiOpzioni = theXMLconfTMP.contaNodi(thisExternalPath);
        if (theXMLconfTMP.contaNodi(thisExternalPath + "[@value = '']") == 0 && (!selectAddEmptyValue.equals("") && selectAddEmptyValue.equals("yes"))) {
          outputField = "<input type=\"radio\" name=\"[" + nameValue + "]\" value=\"\" checked=\"true\" />nessun valore";
        }
        for (int a = 0; a < nodiOpzioni; a++) {
          outputField += "<input type=\"radio\" name=\"[" + nameValue + "]\" value=\"" + theXMLconfTMP.valoreNodo(thisExternalPath + "[" + (a + 1) + "]/@value") + "\" />" + theXMLconfTMP.valoreNodo(thisExternalPath + "[" + (a + 1) + "]/text()").replaceAll(" ", "&#160;");
View Full Code Here

Examples of org.xdams.xml.builder.XMLBuilder.contaNodi()

      if (attrTypology.equals("radio")) {
        String ilValoreCorrente = attrValue;
        XMLBuilder theXMLconfTMP = confBean.getTheXMLValControllati();
        String thisExternalPath = attrExternalPath;
        int nodiOpzioni = theXMLconfTMP.contaNodi(thisExternalPath);
        if (theXMLconfTMP.contaNodi(thisExternalPath + "[@value = '']") == 0 && (!selectAddEmptyValue.equals("") && selectAddEmptyValue.equals("yes"))) {
          outputField = "<input type=\"radio\" name=\"[" + nameValue + "]\" value=\"\" checked=\"true\" />nessun valore";
        }
        for (int a = 0; a < nodiOpzioni; a++) {
          outputField += "<input type=\"radio\" name=\"[" + nameValue + "]\" value=\"" + theXMLconfTMP.valoreNodo(thisExternalPath + "[" + (a + 1) + "]/@value") + "\" />" + theXMLconfTMP.valoreNodo(thisExternalPath + "[" + (a + 1) + "]/text()").replaceAll(" ", "&#160;");
        }
View Full Code Here

Examples of org.xdams.xml.builder.XMLBuilder.contaNodi()

        }
      } else if (attrTypology.equals("select")) {
        String ilValoreCorrente = attrValue;
        XMLBuilder theXMLconfTMP = confBean.getTheXMLValControllati();
        String thisExternalPath = attrExternalPath;
        int nodiOpzioni = theXMLconfTMP.contaNodi(thisExternalPath);
        outputField = "<select class=\"text\" name=\"[" + nameValue + "]\" id=\"" + nameValueEncoded + "\">";
        if (theXMLconfTMP.contaNodi(thisExternalPath + "[@value = '']") == 0 && (!selectAddEmptyValue.equals("") && selectAddEmptyValue.equals("yes"))) {
          outputField += "<option value=\"\" selected=\"true\">nessun valore</option>";
        }
        for (int a = 0; a < nodiOpzioni; a++) {
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.