Tag valueHolder

Tag to hold a value and expose it to the request context.

It can control a value to sublit as any input component, or not.

Available since 5.5.

<nxu:valueHolder var="myVar" value="#{myComp.myValue}"> <h:outputText value="#{myVar}" /> </nxu:valueHolder>

Tag Information
Tag ClassNone
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

valuefalsefalsejava.util.ListValue binding representing the item to hold
defaultValuefalsefalsejava.util.ListValue binding representing the default value for the item to hold. is only resolved when the value attribute resolves to a null or empty value, and can be useful to set default values from the interface, without having to resolve them in the original value binding method.
idfalsefalsejava.lang.StringThe component identifier for this component. This value must be unique within the closest parent component that is a naming container.
renderedfalsefalsejava.lang.StringFlag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.
requiredfalsefalsejava.lang.StringFlag indicating that the user is required to provide a submitted value.
varfalsefalsejava.lang.StringString. The name of a request-scope attribute under which the value held will be exposed.
submitValuefalsefalsejava.lang.StringFlag indicating whether or not the value held by this component should be submitted to the backing bean. Defaults to true.

No Variables Defined.

Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.