org.alfresco.web.ui.repo.tag
Class LanguageSelectorTag
java.lang.Object
javax.faces.webapp.UIComponentTag
org.springframework.extensions.webscripts.ui.common.tag.BaseComponentTag
org.alfresco.web.ui.common.tag.HtmlComponentTag
org.alfresco.web.ui.repo.tag.LanguageSelectorTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
public class LanguageSelectorTag
- extends HtmlComponentTag
Tag class for the Language selector component
Fields inherited from class org.springframework.extensions.webscripts.ui.common.tag.BaseComponentTag |
ACTION_CLASS_ARGS |
Fields inherited from class javax.faces.webapp.UIComponentTag |
pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Method Summary |
java.lang.String |
getComponentType()
|
java.lang.String |
getOnlyAvailable()
|
java.lang.String |
getRendererType()
|
java.lang.String |
getReturnCurLgge()
|
void |
release()
|
void |
setDisabled(java.lang.String disabled)
Sets whether the component should be rendered in a disabled state |
void |
setOnlyAvailable(java.lang.String onlyAvailable)
Sets whether the component should returns each language or only the available
translations of the cuyrrent node. |
protected void |
setProperties(javax.faces.component.UIComponent component)
|
void |
setReturnCurLgge(java.lang.String returnCurLgge)
Sets whether the component should returns the language of the node
Without effect if onlyAvailable is false. |
void |
setValue(java.lang.String value)
Set the value |
Methods inherited from class org.springframework.extensions.webscripts.ui.common.tag.BaseComponentTag |
setActionListenerProperty, setActionProperty, setBooleanProperty, setBooleanStaticProperty, setIntProperty, setIntStaticProperty, setStringBindingProperty, setStringProperty, setStringStaticProperty |
Methods inherited from class javax.faces.webapp.UIComponentTag |
doEndTag, doStartTag, encodeBegin, encodeChildren, encodeEnd, findComponent, getComponentInstance, getCreated, getDoEndValue, getDoStartValue, getFacesContext, getFacetName, getId, getParent, getParentUIComponentTag, isSuppressed, isValueReference, setBinding, setId, setPageContext, setParent, setRendered, setupResponseWriter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LanguageSelectorTag
public LanguageSelectorTag()
getComponentType
public java.lang.String getComponentType()
- Specified by:
getComponentType
in class javax.faces.webapp.UIComponentTag
getRendererType
public java.lang.String getRendererType()
- Specified by:
getRendererType
in class javax.faces.webapp.UIComponentTag
setProperties
protected void setProperties(javax.faces.component.UIComponent component)
- Overrides:
setProperties
in class HtmlComponentTag
- See Also:
UIComponentTag.setProperties(javax.faces.component.UIComponent)
release
public void release()
- Specified by:
release
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
release
in class HtmlComponentTag
- See Also:
Tag.release()
setValue
public void setValue(java.lang.String value)
- Set the value
- Parameters:
value
- the value
setDisabled
public void setDisabled(java.lang.String disabled)
- Sets whether the component should be rendered in a disabled state
- Parameters:
disabled
- true to render the component in a disabled state
setOnlyAvailable
public void setOnlyAvailable(java.lang.String onlyAvailable)
- Sets whether the component should returns each language or only the available
translations of the cuyrrent node.
- Parameters:
onlyAvailable
-
getOnlyAvailable
public java.lang.String getOnlyAvailable()
getReturnCurLgge
public java.lang.String getReturnCurLgge()
setReturnCurLgge
public void setReturnCurLgge(java.lang.String returnCurLgge)
- Sets whether the component should returns the language of the node
Without effect if
onlyAvailable
is false.
- Parameters:
returnCurLgge
-
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.