ArticlesTutorialsInterview Questions & AnswersCertificationsFree Books & Sample ChaptersTechnical Discussions  Your Account | Advertise with us | Feedback |
Few pages of this site are under construction and we are constantly trying to improve it. If you have any suggestions or ideas about how to improve the site, please Let us know.
Tomahawk InputHidden

 t:inputFileUpload Tomahawk Tag Home t:inputHtml 

<t:inputHidden>


Contents

  1. Introduction
  2. Tag Attributes
  3. Example

Introduction

The t:inputHidden tag extends the HTML hidden field input with some additional features.



Tag Attributes


AttributeDescription   Type    
binding The value-binding expression linking this component tag to a backing bean property.String
converter The converter attribute sets the converter instance to be registered for this component. It must match the converter-id value of a converter element defined in your Faces configuration file.String
forceId The forceId attribute expects a boolean value, that when set to true, forces the tag to render its ID exactly as specified in the ID attribute. This allows you to apply CSS styles to the tag and to reference it in JavaScript by ID, which is typically not possible using the default JSF component ID naming system. This attribute is false by default. String
forceIdIndex The forceIdIndex attribute effects the component ID name when this component is rendered at runtime. It expects a boolean value that, when true, causes the component to display an index number in its ID value if the component is in a list. It has a default value of true.String
id The unique identifier value for this component. The value must be unique within the closest naming container (e.g.,h:form or f:subview).This value must be a static value.String
immediate A boolean value that identifies the phase during which action events should fire. During normal event processing, action methods and action listener methods are fired during the "invoke application" phase of request processing. If this attribute is set to "true", these methods are fired instead at the end of the "apply request values" phase.String
renderedA boolean value that indicates whether this component should be rendered.Default value: true.String
requiredThe required attribute is a boolean flag that indicates whether or not the user is required to provide a value for this field before the form can be submitted to the server.String
validatorThe validator attribute accepts a method-binding expression representing a validator method that will be called when the JSF framework validates this component. A validator method must be a public method that takes FacesContext, UIComponent, and Object parameters, with a return type of void.String
valueThe value attribute sets the current value for this component.String
valueChangeListenerThe valueChangeListener attribute accepts a method-binding expression representing a value change listener method to be notified when a new value has been set for this input component. A value change listener method must be a public method that takes a ValueChangeEvent parameter, with a return type of void.String


Example


<t:inputHidden id="validate" validator="#{myBackingBean.validate}" value="DontUse"/>

 t:inputFileUpload Tomahawk Tag Home t:inputHtml 

  ALSO SEE :

About Us | Our Mission | Terms of use | Author Terms |    Search        | Contact Us | Advertise With Us | Link to Us | Sitemap
Copyright © 2016 developersBOOK.COM. All rights reserved.