javax.faces.component.html.HtmlInputHidden Maven / Gradle / Ivy
Go to download
This is the master POM file for Oracle's Implementation of the JSF 2.1 Specification.
/**
* The contents of this file are subject to the terms
* of the Common Development and Distribution License
* (the License). You may not use this file except in
* compliance with the License.
*
* You can obtain a copy of the License at
* https://javaserverfaces.dev.java.net/CDDL.html or
* legal/CDDLv1.0.txt.
* See the License for the specific language governing
* permission and limitations under the License.
*
* When distributing Covered Code, include this CDDL
* Header Notice in each file and include the License file
* at legal/CDDLv1.0.txt.
* If applicable, add the following below the CDDL Header,
* with the fields enclosed by brackets [] replaced by
* your own identifying information:
* "Portions Copyrighted [year] [name of copyright owner]"
*
* [Name of File] [ver.__] [Date]
*
* Copyright 2006 Sun Microsystems Inc. All Rights Reserved
*/
package javax.faces.component.html;
import java.io.IOException;
import java.util.List;
import java.util.ArrayList;
import javax.faces.context.FacesContext;
import javax.el.MethodExpression;
import javax.el.ValueExpression;
/*
* ******* GENERATED CODE - DO NOT EDIT *******
*/
/**
* Represents an HTML input
element
* of type hidden
.
* By default, the rendererType
property must be set to "javax.faces.Hidden
".
* This value can be changed by calling the setRendererType()
method.
*/
public class HtmlInputHidden extends javax.faces.component.UIInput {
public HtmlInputHidden() {
super();
setRendererType("javax.faces.Hidden");
}
/**
* The standard component type for this component.
*/
public static final String COMPONENT_TYPE = "javax.faces.HtmlInputHidden";
private Object[] _values;
public Object saveState(FacesContext _context) {
if (_values == null) {
_values = new Object[1];
}
_values[0] = super.saveState(_context);
return _values;
}
public void restoreState(FacesContext _context, Object _state) {
_values = (Object[]) _state;
super.restoreState(_context, _values[0]);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy