Package com.vdoc.sdk.commons.ui.widget
Class CtlCASLoginButton
java.lang.Object
com.axemble.vdp.ui.framework.foundation.Component
com.axemble.vdp.ui.framework.foundation.Widget
com.axemble.vdp.ui.framework.widgets.CtlAbstractAction
com.axemble.vdp.ui.framework.widgets.CtlButton
com.vdoc.sdk.commons.ui.widget.CtlCASLoginButton
- All Implemented Interfaces:
IWidget,IWritable,IButton,INamedWidget,com.axemble.vdp.utils.parameters.ParamsHandler,Serializable
public class CtlCASLoginButton
extends com.axemble.vdp.ui.framework.widgets.CtlButton
Graphical component for CAS Login Button
Created by vmartinon on 27/03/2015.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected StringFields inherited from class com.axemble.vdp.ui.framework.widgets.CtlButton
additionnalCssStyle, attributes, customRenderer, disabled, editable, icon, javascriptCallable, MODE_DEFAULT, MODE_DISABLED, MODE_NORMAL, onclick, RETURN_FALSE, STYLE_1, STYLE_2, STYLE_3, target, urlFields inherited from class com.axemble.vdp.ui.framework.widgets.CtlAbstractAction
customWidgets, label, nameFields inherited from class com.axemble.vdp.ui.framework.foundation.Widget
actionListeners, isHidden, param, parentBlock, sysname, userIdFields inherited from class com.axemble.vdp.ui.framework.foundation.Component
changeListeners, LOGGERFields inherited from interface com.axemble.vdp.utils.parameters.ParamsHandler
ERROR_EXCEED_ELEM_SIZE, ERROR_EXCEED_TOTAL_SIZE, ERROR_NOT_COMPLETED, ERROR_READ_FAILED, EXCEED_ELEM_NUMBER, NO_ERROR -
Constructor Summary
ConstructorsConstructorDescriptionCtlCASLoginButton(String name, com.axemble.vdp.ui.framework.widgets.CtlText label, String casUrl, String serviceUrl) ConstructorCtlCASLoginButton(String name, String casUrl, String serviceUrl) Constructor -
Method Summary
Modifier and TypeMethodDescriptiongetcasRedirectJSPpropertygetcasUrlpropertygetserviceUrlpropertyprotected final com.axemble.vdp.ui.framework.template.TemplateWritergetTemplateWriter(String relativePath) getuserLoginIDpropertygetuserPasswordIDpropertyrender()Render the widgetvoidsetCasRedirectJSP(String casRedirectJSP) setcasRedirectJSPpropertyvoidsetcasUrlpropertyvoidsetServiceUrl(String serviceUrl) setserviceUrlpropertyvoidsetUserLoginID(String userLoginID) setuserLoginIDpropertyvoidsetUserPasswordID(String userPasswordID) setuserPasswordIDpropertyMethods inherited from class com.axemble.vdp.ui.framework.widgets.CtlButton
addAdditionnalCssStyle, addAttribute, clearAttribute, getAdditionnalCssStyle, getButtonStyle, getIcon, getMode, getOnclick, getStyle, getTarget, getUrl, handleAction, isDisabled, isEditable, removeAttribute, renderButton, renderEasySiteBlockButton, setAdditionnalCssStyle, setButtonStyle, setCustomRenderer, setDisabled, setEditable, setIcon, setMode, setOnclick, setStyle, setStyle, setTarget, setUrlMethods inherited from class com.axemble.vdp.ui.framework.widgets.CtlAbstractAction
addCustomWidget, fireActionEvent, getCustomWidgets, getLabel, getName, setLabelMethods inherited from class com.axemble.vdp.ui.framework.foundation.Widget
addActionListener, afterInit, buildFireMessage, buildFireMessage, buildFireMessage, buildFireMessage, buildFireMessage, buildFireMessage, buildFireOnClickMessage, buildFireOnClickMessage, buildFormName, findFileRecipient, findStringRecipient, findXmlRecipient, focus, getCtrlTemplate, getCtrlTemplateWriter, getJavaScriptFocusScript, getJavascriptId, getParam, getParentBlock, getSysname, getUserDisplayName, getUserId, handleParams, hasActionListeners, isHidden, refresh, refreshWidgets, removeActionListener, removeActionListeners, renderMobile, setHidden, setParam, setParentBlock, setSysname, setUserId, writeMethods inherited from class com.axemble.vdp.ui.framework.foundation.Component
addChangeListener, createComponent, evaluateExpressions, fireChangeEvent, getDynamicDescription, getDynamicLabel, getLanguage, getNavigator, getRootNavigator, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, hasChangeListeners, removeChangeListener, removeChangeListeners, stateChangedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.axemble.vdoc.sdk.interfaces.ui.widgets.IButton
getLabel, setLabelMethods inherited from interface com.axemble.vdp.ui.framework.widgets.INamedWidget
getNameMethods inherited from interface com.axemble.vdoc.sdk.interfaces.ui.IWidget
addActionListener, addChangeListener, afterInit, getCtrlTemplate, getCtrlTemplateWriter, getParam, getParentBlock, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getSysname, hasActionListeners, hasChangeListeners, isHidden, refresh, refreshWidgets, removeActionListener, removeActionListeners, removeChangeListener, removeChangeListeners, renderMobile, setHidden, setParentBlock, setSysname
-
Field Details
-
casUrl
-
serviceUrl
-
userLoginID
-
userPasswordID
-
casRedirectJSP
-
-
Constructor Details
-
CtlCASLoginButton
Constructor- Parameters:
name- the button's namecasUrl- the cas urlserviceUrl- the service url
-
CtlCASLoginButton
public CtlCASLoginButton(String name, com.axemble.vdp.ui.framework.widgets.CtlText label, String casUrl, String serviceUrl) Constructor- Parameters:
name- the button's namelabel- the button's labelcasUrl- the cas urlserviceUrl- the service url
-
-
Method Details
-
getCasUrl
getcasUrlproperty- Returns:
- get the casUrl property
-
setCasUrl
setcasUrlproperty- Parameters:
casUrl- set the casUrl property
-
getServiceUrl
getserviceUrlproperty- Returns:
- get the serviceUrl property
-
setServiceUrl
setserviceUrlproperty- Parameters:
serviceUrl- set the serviceUrl property
-
getUserLoginID
getuserLoginIDproperty- Returns:
- get the userLoginID property
-
setUserLoginID
setuserLoginIDproperty- Parameters:
userLoginID- set the userLoginID property
-
getUserPasswordID
getuserPasswordIDproperty- Returns:
- get the userPasswordID property
-
setUserPasswordID
setuserPasswordIDproperty- Parameters:
userPasswordID- set the userPasswordID property
-
getCasRedirectJSP
getcasRedirectJSPproperty- Returns:
- get the casRedirectJSP property
-
setCasRedirectJSP
setcasRedirectJSPproperty- Parameters:
casRedirectJSP- set the casRedirectJSP property
-
render
Description copied from interface:IWidgetRender the widget- Specified by:
renderin interfaceIWidget- Overrides:
renderin classcom.axemble.vdp.ui.framework.widgets.CtlButton- Returns:
- writableWidget
- Throws:
RenderException
-
getTemplateWriter
protected final com.axemble.vdp.ui.framework.template.TemplateWriter getTemplateWriter(String relativePath) throws RenderException - Parameters:
relativePath-- Returns:
- Throws:
RenderException
-