Examples of HtmlInputHidden


Examples of javax.faces.component.html.HtmlInputHidden

        this.evaluationType = evaluationType;
    }

    public HtmlInputHidden getEvaluationTypeHidden() {
        if (this.evaluationTypeHidden == null) {
            this.evaluationTypeHidden = new HtmlInputHidden();
            this.evaluationTypeHidden.setValue(getEvaluationType());
        }
        return this.evaluationTypeHidden;
    }
View Full Code Here

Examples of javax.faces.component.html.HtmlInputHidden

        Assert.assertNotNull(input14);
       
        HtmlInputFile input15 = (HtmlInputFile) form.findComponent("input15");
        Assert.assertNotNull(input15);
       
        HtmlInputHidden input16 = (HtmlInputHidden) form.findComponent("input16");
        Assert.assertNotNull(input16);
       
        HtmlInputSecret input17 = (HtmlInputSecret) form.findComponent("input17");
        Assert.assertNotNull(input17);
       
View Full Code Here

Examples of javax.faces.component.html.HtmlInputHidden

      }
    } else {
     
      // non-visible hidden text
      if ((parameter.getInput() != null&& (parameter.getInput() instanceof InputText)) {
        HtmlInputHidden cmpLabel = new HtmlInputHidden();
        cmpLabel.setId(parameter.getInput().getFacesId()+"-plcHldr");
        HtmlInputHidden cmp = new HtmlInputHidden();
        cmp.setId(parameter.getInput().getFacesId());
        parameter.getInput().setComponentValue(context,cmp,parameter);
        parametersTable.getChildren().add(cmpLabel);
        parametersTable.getChildren().add(cmp);
      }
    }
View Full Code Here

Examples of javax.faces.component.html.HtmlInputHidden

  linkText.setId(this.getIdPrefix() + "txtLastPage"); //$NON-NLS-1$
  linkText.setValue(this.getProperty("catalog.general.pageCursor.last")); //$NON-NLS-1$
  link.getChildren().add(linkText);
  mainPanel.getChildren().add(link);

  HtmlInputHidden inpHidden = new HtmlInputHidden();
  inpHidden.setId(this.getIdPrefix() + "pageCursorTotalRecords");
  Object obj =
    this.getAttributes().get(ComponentMapKeys.pageCursorTotalPages.name());
  if(obj instanceof ValueBinding) {
    inpHidden.setValueBinding("value", (ValueBinding)obj);
    mainPanel.getChildren().add(inpHidden);
  }
  inpHidden = new HtmlInputHidden();
  inpHidden.setId(this.getIdPrefix() + "pageCurrentPage");
  obj =
    this.getAttributes().get(ComponentMapKeys.pageCursorCurrentPage.name());
  if(obj instanceof ValueBinding) {
    inpHidden.setValueBinding("value", (ValueBinding)obj);
    mainPanel.getChildren().add(inpHidden);
  }


  // Add label to right side if applicable
View Full Code Here

Examples of org.apache.myfaces.component.html.ext.HtmlInputHidden

        ResponseWriter out = context.getResponseWriter();
        renderInputField(out, text, getTextId(component, context), component);

        // render hidden input field containing the user's choice
        HtmlInputHidden hiddenChoice = new HtmlInputHidden();
        hiddenChoice.setId(getChoiceId(component, context));
        hiddenChoice.setValue(value);
        hiddenChoice.getAttributes().put(JSFAttr.FORCE_ID_ATTR, Boolean.TRUE);
        /** @todo use new encode recursive helper method once available */
        hiddenChoice.encodeBegin(context);
        hiddenChoice.encodeEnd(context);

        encodeSuggestions(context, out, choices,
                          getSuggestionsId(component, context), component);
        encodeStyles(component, context);
        encodeJavascript(component, context);
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.