All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.myfaces_core.tld Maven / Gradle / Ivy

Go to download

The private implementation classes of the Apache MyFaces Core JSF-2.0 Implementation

There is a newer version: 4.1.0-RC3
Show newest version



   This tag library implements the standard JSF core tags.
   JSF core tag library.
   1.2
   f
   http://java.sun.com/jsf/core
   
   



    
   
      
See the javadocs for interface NamingContainer for further details.

]]>
subview org.apache.myfaces.taglib.core.SubviewTag JSP rendered java.lang.Boolean id true true binding javax.faces.component.UIComponent
viewParam org.apache.myfaces.taglib.core.ViewParamTag JSP maxlength int If this value is true and no input value is provided by a postback operation, then the "requiredMessage" text is registered as a FacesMessage for the request, and validation fails.

Default value: false.

]]>
required boolean

]]>
converterMessage java.lang.String
requiredMessage java.lang.String The invoked method is expected to check the submitted value for this component, and if not acceptable then report a validation error for the component.

The method is expected to have the prototype

public void aMethod(FacesContext, UIComponent,Object)]]>
validator void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object )
validatorMessage java.lang.String The phase in which this method is invoked can be controlled via the immediate attribute.

]]>
valueChangeListener void myMethod( javax.faces.event.ValueChangeEvent )
value java.lang.Object The value can either be a static value (ID) or an EL expression. When a static id is specified, an instance of the converter type registered with that id is used. When this is an EL expression, the result of evaluating the expression must be an object that implements the Converter interface.

]]>
converter javax.faces.convert.Converter
id true binding javax.faces.component.UIComponent
Unless otherwise specified, all attributes accept static values or EL expressions.

See the javadoc for this class in the JSF Specification for further details.

]]>
view org.apache.myfaces.taglib.core.ViewTag JSP afterPhase void myMethod( javax.faces.event.PhaseEvent ) beforePhase void myMethod( javax.faces.event.PhaseEvent ) Defaults to the default locale specified in the faces configuration file.

]]>
locale java.lang.Object
renderKitId java.lang.String
Unless otherwise specified, all attributes accept static values or EL expressions.

]]>
param org.apache.myfaces.taglib.core.ParamTag JSP value java.lang.Object name java.lang.String id true binding javax.faces.component.UIComponent
Unless otherwise specified, all attributes accept static values or EL expressions.

UISelectItem should be nestetd inside a UISelectMany or UISelectOne component, and results in the addition of a SelectItem instance to the list of available options for the parent component

]]>
selectItem org.apache.myfaces.taglib.core.SelectItemTag empty value javax.faces.model.SelectItem itemDisabled java.lang.Boolean escape java.lang.String itemDescription java.lang.String itemLabel java.lang.String itemValue java.lang.Object noSelectionOption java.lang.Boolean id true binding javax.faces.component.UIComponent
Unless otherwise specified, all attributes accept static values or EL expressions.

UISelectItems should be nested inside a UISelectMany or UISelectOne component, and results in the addition of one ore more SelectItem instance to the list of available options for the parent component

]]>
selectItems org.apache.myfaces.taglib.core.SelectItemsTag empty value java.lang.Object var false itemValue java.lang.Object itemLabel java.lang.String itemDescription java.lang.String itemDisabled java.lang.Boolean itemLabelEscaped java.lang.Boolean id true binding javax.faces.component.UIComponent
JSF Specification]]> convertDateTime org.apache.myfaces.taglib.core.ConvertDateTimeTag empty dateStyle java.lang.String locale java.lang.Object pattern java.lang.String timeStyle java.lang.String timeZone java.lang.Object type java.lang.String binding javax.faces.convert.DateTimeConverter JSF Specification]]> convertNumber org.apache.myfaces.taglib.core.ConvertNumberTag empty currencyCode java.lang.String currencySymbol java.lang.String groupingUsed java.lang.Boolean integerOnly java.lang.Boolean locale java.lang.Object maxFractionDigits java.lang.Integer maxIntegerDigits java.lang.Integer minFractionDigits java.lang.Integer minIntegerDigits java.lang.Integer pattern java.lang.String type java.lang.String binding javax.faces.convert.NumberConverter JSF Specification]]> validateDoubleRange org.apache.myfaces.taglib.core.ValidateDoubleRangeTag empty maximum java.lang.Double minimum java.lang.Double binding javax.faces.validator.DoubleRangeValidator JSF Specification]]> validateLength org.apache.myfaces.taglib.core.ValidateLengthTag empty maximum java.lang.Integer minimum java.lang.Integer binding javax.faces.validator.LengthValidator JSF Specification]]> validateLongRange org.apache.myfaces.taglib.core.ValidateLongRangeTag empty maximum java.lang.Long minimum java.lang.Long binding javax.faces.validator.LongRangeValidator RegexValidator is a {@link javax.faces.validator.Validator} that checks the value of the corresponding component against specified pattern using Java regular expression syntax. The regular expression syntax accepted by the RegexValidator class is same as mentioned in class {@link java.util.regex.Pattern} in package java.util.regex.

The following algorithm is implemented:

  • If the passed value is null, exit immediately.
  • If the passed value is not a String, exit with a {@link #NOT_MATCHED_MESSAGE_ID} error message.
  • If no pattern has been set, or pattern resolves to null or an empty String, throw a {@link javax.faces.validator.ValidatorException} with a {@link #PATTERN_NOT_SET_MESSAGE_ID} message.
  • If pattern is not a valid regular expression, according to the rules as defined in class {@link java.util.regex.Pattern}, throw a {@link ValidatorException} with a (@link #MATCH_EXCEPTION_MESSAGE_ID} message.
  • If a pattern property has been configured on this {@link javax.faces.validator.Validator}, check the passed value against this pattern. If value does not match pattern throw a {@link ValidatorException} containing a {@link #NOT_MATCHED_MESSAGE_ID} message.
]]>
validateRegex org.apache.myfaces.taglib.core.ValidateRegexTag empty pattern true java.lang.String binding javax.faces.validator.RegexValidator
JSF Specification]]> facet javax.faces.webapp.FacetTag JSP name true false java.lang.String Unless otherwise specified, all attributes accept static values or EL expressions.

]]>
actionListener org.apache.myfaces.taglib.core.ActionListenerTag empty type false java.lang.String binding false javax.faces.event.ActionListener
When the value is not an EL expression, this tag has the same effect as calling component.getAttributes.put(name, value). When the attribute name specified matches a standard property of the component, that property is set. However it is also valid to assign attributes to components using any arbitrary name; the component itself won't make any use of these but other objects such as custom renderers, validators or action listeners can later retrieve the attribute from the component by name.

When the value is an EL expression, this tag has the same effect as calling component.setValueBinding. A call to method component.getAttributes().get(name) will then cause that expression to be evaluated and the result of the expression is returned, not the original EL expression string.

See the javadoc for UIComponent.getAttributes for more details.

Unless otherwise specified, all attributes accept static values or EL expressions.

]]>
attribute org.apache.myfaces.taglib.core.AttributeTag empty name false java.lang.String value false java.lang.Object
converter org.apache.myfaces.taglib.core.ConverterImplTag empty converterId false java.lang.String binding false javax.faces.convert.Converter Unless otherwise specified, all attributes accept static values or EL expressions.

TODO: We should find a way to save loaded bundles in the state, because otherwise on the next request the bundle map will not be present before the render phase and value bindings that reference to the bundle will always log annoying "Variable 'xxx' could not be resolved" error messages.

]]>
loadBundle org.apache.myfaces.taglib.core.LoadBundleTag empty basename false java.lang.String var true false java.lang.String
phaseListener org.apache.myfaces.taglib.core.PhaseListenerTag empty type false java.lang.String binding false javax.faces.event.PhaseListener setPropertyActionListener org.apache.myfaces.taglib.core.SetPropertyActionListenerTag empty target true java.lang.Object value true java.lang.Object During the validation phase (or the apply-request-values phase for immediate components), if the associated component has any submitted value and the conversion of that value to the required type has succeeded then the specified validator type is invoked to test the validity of the converted value.

Commonly associated with an h:inputText entity, but may be applied to any input component.

Some validators may allow the component to use attributes to define component-specific validation constraints; see the f:attribute tag. See also the "validator" attribute of all input components, which allows a component to specify an arbitrary validation <i>method</i> (rather than a registered validation type, as this tag does).

Unless otherwise specified, all attributes accept static values or EL expressions.

]]>
validator org.apache.myfaces.taglib.core.ValidatorImplTag empty validatorId false java.lang.String binding false javax.faces.validator.Validator
Whenever the form containing the parent UIComponent is submitted, an instance of the specified type is created. If the submitted value from the component is different from the component's current value then a ValueChangeEvent is queued. When the ValueChangeEvent is processed (at end of the validate phase for non-immediate components, or at end of the apply-request-values phase for immediate components) the object's processValueChange method is invoked.

Unless otherwise specified, all attributes accept static values or EL expressions.

]]>
valueChangeListener org.apache.myfaces.taglib.core.ValueChangeListenerTag empty type false java.lang.String binding false javax.faces.event.ValueChangeListener
verbatim org.apache.myfaces.taglib.core.VerbatimTag JSP escape false java.lang.Boolean rendered false java.lang.Boolean




© 2015 - 2024 Weber Informatics LLC | Privacy Policy