@Generated(value="com.liferay.alloy.tools.builder.FacesBuilder") public abstract class CaptchaBase extends javax.faces.component.UIInput implements com.liferay.faces.util.component.Styleable
Modifier and Type | Class and Description |
---|---|
protected static class |
CaptchaBase.CaptchaPropertyKeys |
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_TYPE |
static String |
RENDERER_TYPE |
COMPONENT_FAMILY, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID, VALIDATE_EMPTY_FIELDS_PARAM_NAME
Constructor and Description |
---|
CaptchaBase() |
Modifier and Type | Method and Description |
---|---|
String |
getLabel()
label attribute description: |
String |
getStyle()
style attribute description: |
String |
getStyleClass()
styleClass attribute description: |
String |
getUrl()
url attribute description: |
boolean |
isRequired()
required attribute description: |
void |
setLabel(String label)
label attribute description: |
void |
setRequired(boolean required)
required attribute description: |
void |
setStyle(String style)
style attribute description: |
void |
setStyleClass(String styleClass)
styleClass attribute description: |
void |
setUrl(String url)
url attribute description: |
addValidator, addValueChangeListener, clearInitialState, compareValues, decode, getConvertedValue, getConverterMessage, getFamily, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValue, getValueChangeListener, getValueChangeListeners, isEmpty, isImmediate, isLocalValueSet, isValid, markInitialState, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, restoreState, saveState, setConverterMessage, setImmediate, setLocalValueSet, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel, validate, validateValue
getConverter, getLocalValue, setConverter
addClientBehavior, addFacesListener, broadcast, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
public static final String COMPONENT_TYPE
public static final String RENDERER_TYPE
public String getLabel()
label
attribute description:
public void setLabel(String label)
label
attribute description:
public boolean isRequired()
required
attribute description:
true
, when running in Liferay Portal 7.0 (and above) the Captcha.isRequired() method can return false
when an authenticated user has achieved a level of trust by correctly entering a maximum number of challenges. The maximum is defined by the captcha.max.challenges
property in the portal-ext.properties file, which is '1' by default. When an authenticated user has gained the necessary level of trust, the captcha will no longer be rendered (or required) for the remainder of the session. Non-authenticated users will never be considered trustworthy, and will always be required enter a correct value for the captcha, provided that the value of the required
property is true
. For more information, see the default values in the "Captcha" section of Liferay Portal's portal.properties file and LPS-40401.isRequired
in interface javax.faces.component.EditableValueHolder
isRequired
in class javax.faces.component.UIInput
public void setRequired(boolean required)
required
attribute description:
true
, when running in Liferay Portal 7.0 (and above) the Captcha.isRequired() method can return false
when an authenticated user has achieved a level of trust by correctly entering a maximum number of challenges. The maximum is defined by the captcha.max.challenges
property in the portal-ext.properties file, which is '1' by default. When an authenticated user has gained the necessary level of trust, the captcha will no longer be rendered (or required) for the remainder of the session. Non-authenticated users will never be considered trustworthy, and will always be required enter a correct value for the captcha, provided that the value of the required
property is true
. For more information, see the default values in the "Captcha" section of Liferay Portal's portal.properties file and LPS-40401.setRequired
in interface javax.faces.component.EditableValueHolder
setRequired
in class javax.faces.component.UIInput
public String getStyle()
style
attribute description:
getStyle
in interface com.liferay.faces.util.component.Styleable
public void setStyle(String style)
style
attribute description:
setStyle
in interface com.liferay.faces.util.component.Styleable
public String getStyleClass()
styleClass
attribute description:
getStyleClass
in interface com.liferay.faces.util.component.Styleable
public void setStyleClass(String styleClass)
styleClass
attribute description:
setStyleClass
in interface com.liferay.faces.util.component.Styleable
public String getUrl()
url
attribute description:
public void setUrl(String url)
url
attribute description:
Copyright © 2022 Liferay, Inc.. All rights reserved.