Adds a parameter that will be rendered as a hidden input within the dummy form.
Adds a parameter that will be rendered as a hidden input within the dummy form.
Adds the given Style Sheet to the document Header.
Adds the given Javascript resource to the document body, without passing UIComponent.
Adds the given Javascript resource to the document body.
Adds the given Javascript resource to the document Header.
Adds the given Javascript resource to the document Header.
This is a utility class to render link to resources used by custom components.
Used by the x:inputDate renderer : HTMLDateRenderer
Adds the given Style Sheet to the document Header.
Convenient method for derived table renderers.
Convenient method for derived table renderers.
The aliasBean tag allows you to link a fictive bean to a real bean.
Holds several aliases that are configured by aliasBean tags.
ALIGN_ATTR - static field in class org.apache.myfaces.renderkit.html.
HTML ALT_ATTR - static field in class org.apache.myfaces.renderkit.html.
HTML Adds the hidden form input value assignment that is necessary for the autoscroll
feature to an html link or button onclick attribute.
Utility class for managing arrays
This Phase listener is necessary for the autoscroll feature.
Calculates initial capacity needed to hold size
elements in
a HashMap or Hashtable without forcing an expensive increase in internal
capacity.
Answer the children of the receiver.
CLASS_ATTR - static field in class org.apache.myfaces.renderkit.html.
HTML Tries a Class.forName with the context class loader of the current thread first and
automatically falls back to the ClassUtils class loader (i.e. the loader of the
myfaces.jar lib) if necessary.
Ensures that the node identified by the specified path is collapsed and
viewable.
Collapse the complete path specified.
Collapse the complete path specified.
Expands all of the nodes in the specfied path.
COLS_ATTR - static field in class org.apache.myfaces.renderkit.html.
HTML Concatenates two arrays into one.
Concatenates arrays into one.
Convert locale string used by converter tags to locale.
Creates a new DataModel around the current value.
The message identifier of the FacesMessage
to be created if
the creditcard check fails.
The message identifier of the FacesMessage
to be created if
the maximum length check fails.
Variant of encode
where encodeNewline is false and encodeNbsp is true.
Variant of encode
where encodeNewline is false and encodeNbsp is true.
Variant of encode
where encodeNbsp is true.
Variant of encode
where encodeNbsp is true.
Encodes the given string, so that it can be used within a html page.
Encodes the given string, so that it can be used within a html page.
handles uicolumns component
Encodes the current node.
Renders everything inside the
Encodes the tree and its children.
The message identifier of the FacesMessage
to be created if
the equal_for check fails.
Test two TreePaths for equality by checking each element of the
paths for equality.
Epands all nodes by default.
Ensures that the node identified by the specified path is expanded and
viewable.
Expand the complete path specified.
Expand the complete path specified.
Expands all of the nodes in the specfied path.
This filters is mandatory for the use of many components.
Answer true if this node allows children.
Helper method for getting the boolean value of an attribute.
Answer the uploaded file contents.
Answer the uploaded file contents.
Answer the uploaded file contents.
Answer the uploaded file contents.
Return the child of parent
at index index
in the parent's child array.
Answer the child at the given index.
Answer the number of children this node contains.
Gets the number of children this node has.
Answer the number of children of parent
.
Returns the values of the child indexes.
Return the objects that are children of the node identified by
the path of this event at the locations specified by
getChildIndices
.
Return content of child element with given tag name.
Return list of content Strings of all child elements with given tag name.
Prefixes the given String with "clear_" and removes special characters
Gets the client id associated with the component.
Convenient utility method that returns the currently given value as String,
using the given converter.
Convenient utility method that returns the currently given SelectItem value
as String, using the given converter.
Gets the ClassLoader associated with the current thread.
Returns a previously cached
TreeModel
, if any, or sets the cache variable to either the
current value (if its a
TreeModel
) or to a new instance of
TreeModel
(if it's a
TreeNode
) with the provided value object as the root node.
Returns a DummyFormResponseWriter.
Gets the expand/collapse control that can be used to handle expand/collapse nodes.
Not used internaly by MyFaces, but provides a way to handle the uploaded files
out of MyFaces.
Gets the footerClass attribute of the given UIComponent
.
Gets the headerClass attribute of the given UIComponent
.
Gets the identifier asociated with the
TreeNode
.
Answer the index of the given node in this node's children.
Return the index of child in parent.
Answer the uploaded file contents input stream
Answer the uploaded file contents input stream
Answer the uploaded file contents input stream
Answer the uploaded file contents input stream
Returns the last component of this path.
Answer the path of the current (new) selection.
Set the number of columns the table will be divided over.
Gets the current
TreeNode
or
null
if no node ID is selected.
Gets the current
TreeNode
or
null
if no node ID is selected.
Answer the path of the old selection.
This method is used by Jetty.
Answer the parent of this node.
Return a path containing all the elements of this object, except
the last path component.
Return an array of Objects containing the components of this
TreePath.
Return the path component at the specified index.
Return the number of elements in the path.
Gets an array of String containing the ID's of all of the
TreeNode
s in the path to
the specified node.
Gets an array of String containing the ID's of all of the
TreeNode
s in the path to
the specified node.
Gets an array of String containing the ID's of all of the
TreeNode
s in the path to
the specified node.
Collect all parent nodes up to the root node.
Recursivly collect parent nodes up the the root node.
Get the Path used to retrieve an internal resource for a custom component.
Return the root of the tree.
Convenient utility method that returns the currently selected values of
a UISelectMany component as a Set, of which the contains method can then be
easily used to determine if a value is currently selected.
Answer the size of this file.
Answer the size of this file.
Answer the size of this file.
Answer the size of this file.
Answer the source of this event
Gets the spacer facet, between each pair of newspaper columns.
Can be overwritten by derived classes to overrule the style to be used.
Can be overwritten by derived classes to overrule the style to be used.
Can be overwritten by derived classes to overrule the style class to be used.
Can be overwritten by derived classes to overrule the style class to be used.
Gets styles for the specified component.
Convenient utility method that returns the currently submitted values of
a UISelectMany component as a Set, of which the contains method can then be
easily used to determine if a select item is currently selected.
As the colon (:) can't be used in CSS, transforms the id to make it safe to use for CSS.
Answer the mutable collection of tree model listeners.
For all events, except treeStructureChanged,
returns the parent of the changed nodes.
Gets the value of the TreeData.
Return the request-scope attribute under which the data object for the current node will be exposed
when iterating.
This method is used by Tomcat.
H1_ELEM - static field in class org.apache.myfaces.renderkit.html.
HTML H2_ELEM - static field in class org.apache.myfaces.renderkit.html.
HTML H3_ELEM - static field in class org.apache.myfaces.renderkit.html.
HTML H4_ELEM - static field in class org.apache.myfaces.renderkit.html.
HTML H5_ELEM - static field in class org.apache.myfaces.renderkit.html.
HTML H6_ELEM - static field in class org.apache.myfaces.renderkit.html.
HTML handles uicolumns component
Return the hashCode for the object.
HREF_ATTR - static field in class org.apache.myfaces.renderkit.html.
HTML HTML - class org.apache.myfaces.renderkit.html.
HTML Constant declarations for HTML rendering.
Command, that represents a navigation item.
Utility class for providing basic functionality to the HTML faces
extended components.
Converts Strings so that they can be used within HTML-Code.
X-CHECKED: tlddoc h:panelGrid 1.0 final
Extended version of
HtmlInputHidden
that provides additional MyFaces functionality.
X-CHECKED: tlddoc of h:selectManyListbox
Model for a table in multiple balanced columns.
Renderer for a table in multiple balanced columns.
Tag for a table in multiple balanced columns.
Manage a stack of JSF components and allow for one child component to be choosen for rendering.
see Spec.1.0 EA - JSF.7.6.4 Renderer Types for UIInput Components
Common base tag class for HtmlSelectOneListbox and HtmlSelectManyListbox components.
Common base tag class for HtmlSelectOneMenu and HtmlSelectManyMenu components.
Tree implementation based on javax.swing.JTree.
Represents "tree data" in an HTML format.
Represents a single node of a three.
Interface to be implemented by node icon providers.
ID_ATTR - static field in class org.apache.myfaces.renderkit.html.
HTML IMG_ELEM - static field in class org.apache.myfaces.renderkit.html.
HTML should be called when initialising Servlet
Init method for this filter
INPUT_ELEM - static field in class org.apache.myfaces.renderkit.html.
HTML HTML Editor using the kupu library.
Add the given child to the children of this node.
Add the given child to the children of this node at index.
Do not use this in renderers directly!
Return true if path
is a
descendant of this
TreePath.
Gets the comma separated list of enabling user roles from the given component
and checks if current user is in one of these roles.
Checks that the string represents a floating point number that CANNOT be
in exponential notation
Indicates whether or not the specified
TreeNode
is the last child in the
List
of children.
Indicates whether or not the specified
TreeNode
is the last child in the
List
of children.
Indicates whether or not the specified
TreeNode
is the last child in the
List
of children.
Answer true if this is a leaf node.
Answer true
if node
is a leaf.
ISMAP_ATTR - static field in class org.apache.myfaces.renderkit.html.
HTML Indicates whether or not the current
TreeNode
is expanded.
Indicates whether or not the specified
TreeNode
is expanded.
Indicates whether or not the specified
TreeNode
is expanded.
Indicates whether or not the current
TreeNode
is selected.
Getter for transient property.
Getter for transient property.
Gets the comma separated list of visibility user roles from the given component
and checks if current user is in one of these roles.
NAME_ATTR - static field in class org.apache.myfaces.renderkit.html.
HTML Subclasses must implement to have automatic creation of new instances
or alternatively can use put
to add new items to the cache.
Implementing this method is prefered to guarantee that there will be only
one instance per key ever created.
Invoke this method after you've changed how node is to be
represented in the tree.
Invoke this method after you've changed how the children identified by
childIndicies are to be represented in the tree.
Invoke this method if you've totally changed the children of
node and its childrens children...
Invoke this method after you've inserted some TreeNodes into
node. childIndices should be the index of the new elements and
must be sorted in ascending order.
Invoke this method after you've removed some TreeNodes from
node. childIndices should be the index of the removed elements and
must be sorted in ascending order.
Enumeration without elements
Iterator without elements
The message identifier of the FacesMessage
to be created if
the creditcard check fails.
REL_ATTR - static field in class org.apache.myfaces.renderkit.html.
HTML Remove the child at the given index.
This operation is very expensive.
Remove this node from its parent.
Renders the autoscroll javascript function.
Renders the hidden form input that is necessary for the autoscroll feature.
Renders the children given the rowClassIndex.
Render the javascript function that is called on a click on a commandLink
to clear the hidden inputs.
Renders the body of a given UIColumn
(everything but the header and footer facets).
handles uicolumns component
Renders the footer facet for the given UIColumn
.
Renders the footer facet for the given UIColumn
.
Renders the footer row for the columns, which is a separate row from the footer row for the
UIData
footer facet.
Renders the header facet for the given UIColumn
.
Renders the header facet for the given UIColumn
.
Renders the header row for the columns, which is a separate row from the header row for the
UIData
header facet.
the component's renderers and type
Renders either the header or the footer facets.
Overrides super renderFacet to render the
HtmlTree
facets.
Renders the end of a row of body content.
Renders the start of a new row of body content.
Renders the start of a new row of body content.
Renders the select options for a UIComponent
that is
rendered as an HTML select element.
Renders the footer row of the table being rendered.
Renders the header row of the table being rendered.
Render the column where the tree is displayed.
REV_ATTR - static field in class org.apache.myfaces.renderkit.html.
HTML ROW_ID - static field in class org.apache.myfaces.renderkit.
JSFAttr ROWS_ATTR - static field in class org.apache.myfaces.renderkit.html.
HTML RULES_ATTR - static field in class org.apache.myfaces.renderkit.html.
HTML SCOPE_ATTR - static field in class org.apache.myfaces.renderkit.html.
HTML Separator char to be used in node path generation.
Prevent content-length being set as the page might be modified.
Sets the forceId attribute of the tag.
Sets the forceId attribute of the tag.
Sets the forceIdIndex attribute of the tag.
Sets the forceIdIndex attribute of the tag.
Sets the identifier associated with the
TreeNode
.
Sets the image location attribute of the tag.
Sets the javascript location attribute of the tag.
Sets the current
TreeNode
to the specified node ID.
Sets the current
TreeNode
to the specified node ID, which is a colon-separated list
of node indexes.
Implements the javax.faces.event.ActionListener
interface.
Apply properties from this tag to the specified component.
overrides setProperties() form UIComponentTag.
Applies attributes to the tree component
overrides setProperties() form UIComponentTag.
Applies attributes to the tree component
Sets the style location attribute of the tag.
Setter for transient property
Setter for transient property
Sets the user object of this node.
Sets the value of the TreeData.
Set the request-scope attribute under which the data object for the current node wil be exposed
when iterating.
Switch on/off the writing of a dummy form in endDocument.
Switch on/off the writing of a dummy form in endDocument.
SHAPE_ATTR - static field in class org.apache.myfaces.renderkit.html.
HTML Empty constructor, so that new instances can be created when restoring state.
Same as
classForName(String)
, but throws a RuntimeException
(FacesException) instead of a ClassNotFoundException.
Same as
javaTypeToClass(String)
, but throws a RuntimeException
(FacesException) instead of a ClassNotFoundException.
SIZE_ATTR - static field in class org.apache.myfaces.renderkit.html.
HTML SPAN_ELEM - static field in class org.apache.myfaces.renderkit.html.
HTML Split a string into an array of strings arround a character separator.
Split a string into an array of strings arround a character separator.
Split a string into an array of strings arround a character separator.
Split a string into an array of strings arround a character separator.
SRC_ATTR - static field in class org.apache.myfaces.renderkit.html.
HTML Created by IntelliJ IDEA.
Implements utility functions for the String class
Emphasis on performance and reduced memory allocation/garbage collection
in exchange for longer more complex code.
STYLE_ATTR - static field in class org.apache.myfaces.renderkit.html.
HTML STYLE_ELEM - static field in class org.apache.myfaces.renderkit.html.
HTML Uses MessageFormat
and the supplied parameters to fill in the param placeholders in the String.
TABLE_ELEM - static field in class org.apache.myfaces.renderkit.html.
HTML TBODY_ELEM - static field in class org.apache.myfaces.renderkit.html.
HTML TD_ELEM - static field in class org.apache.myfaces.renderkit.html.
HTML TFOOT_ELEM - static field in class org.apache.myfaces.renderkit.html.
HTML TH_ELEM - static field in class org.apache.myfaces.renderkit.html.
HTML THEAD_ELEM - static field in class org.apache.myfaces.renderkit.html.
HTML TITLE_ATTR - static field in class org.apache.myfaces.renderkit.html.
HTML Toggle the expanded state of the current node.
Toggle the expanded state of the specified
TreeNode
.
Toggle the expanded state of the specified
TreeNode
.
Converts a locale string to Locale
class.
Returns a string that displays and identifies this object's
properties.
Return a string that displays and identifies this
object's properties.
TR_ELEM - static field in class org.apache.myfaces.renderkit.html.
HTML
Tag used to render the column containing the tree.
Model class for the tree component.
Model class for the tree component.
Used to create an event when nodes have been changed, inserted, or
removed, identifying the path to the parent of the modified items as
a TreePath object.
Used to create an event when nodes have been changed, inserted, or
removed, identifying the path to the parent of the modified items as
an array of Objects.
Used to create an event when nodes have been changed, inserted, or
removed, identifying the path to the parent of the modified items as
a TreePath object.
Used to create an event when nodes have been changed, inserted, or
removed, identifying the path to the parent of the modified items as
a TreePath object.
Defines the requirements for an object that can be used as a tree node for
HtmlTree
. (inspired by javax.swing.tree.TreeNode).
Defines the requirements for an object that can be used as a tree node for
use in a
UITreeData
component. (inspired by javax.swing.tree.TreeNode).
Invoked after a node (or a set of siblings) has changed in some
way.
Invoked after a node (or a set of siblings) has changed in some
way.
Invoked after nodes have been inserted into the tree.
Use
e.getPath()
to get the parent of the new node(s).
Invoked after nodes have been inserted into the tree.
Use
e.getPath()
to get the parent of the new node(s).
Invoked after nodes have been removed from the tree.
Invoked after nodes have been removed from the tree.
Construct a pathElements from an array of Objects
Construct a new TreePath from an array of objects.
Construct a new TreePath, which is the path identified by
parent ending in lastElement.
Event fired by
HtmlTree
on selection changes.
Listener interface for node selection events
Tag to add a tree selection listeners to a
HtmlTree
Invoked after the tree has drastically changed structure from a
given node down.
Invoked after the tree has drastically changed structure from a
given node down.
TYPE_ATTR - static field in class org.apache.myfaces.renderkit.html.
HTML