public abstract class FieldRendererBase extends Object implements FieldRenderer
Constructor and Description |
---|
FieldRendererBase() |
Modifier and Type | Method and Description |
---|---|
protected String |
buildOnBlur()
Writes the onblur call for the wrapped field
|
void |
clear()
Clears the field
|
void |
closeNoWrapSpan(javax.servlet.jsp.PageContext pageContext,
javax.servlet.jsp.tagext.Tag parentTag)
Renders the closing of a no wrap span
|
protected String |
getAccessibleTitle()
Returns an accessible title for the field being rendered
|
protected String |
getDynamicNameLabel() |
protected String |
getErrorIconImageTag() |
org.kuali.rice.kns.web.ui.Field |
getField()
Returns the field to render
|
protected String |
getFieldName() |
protected int |
getQuickfinderTabIndex() |
boolean |
isShowError()
Gets the showError attribute.
|
void |
openNoWrapSpan(javax.servlet.jsp.PageContext pageContext,
javax.servlet.jsp.tagext.Tag parentTag)
Renders the opening of a no-wrap span
|
void |
overrideOnBlur(String onBlur)
Overrides the onBlur setting for this renderer
|
protected void |
renderErrorIcon(javax.servlet.jsp.PageContext pageContext)
Renders the error icon
|
protected void |
renderQuickFinderIfNecessary(javax.servlet.jsp.PageContext pageContext,
javax.servlet.jsp.tagext.Tag parentTag)
Renders a quick finder for the field if one is warranted
|
void |
setAccessibleTitle(String accessibleTitle)
Sets the accessible title of the current field
|
void |
setArbitrarilyHighTabIndex(int tabIndex)
Sets the tab index the field being rendered should use - if it never ever wants to get tabbed to
|
void |
setDynamicNameLabel(String dynamicNameLabel)
On the renderer, sets the name of the dynamic name label
|
void |
setField(org.kuali.rice.kns.web.ui.Field field)
Sets the field to render
|
void |
setShowError(boolean showError)
Sets the showError attribute value.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
renderQuickfinder
public FieldRendererBase()
public void setField(org.kuali.rice.kns.web.ui.Field field)
setField
in interface FieldRenderer
field
- the field to renderKRAD Conversion - Setting the field - No Use of data dictionary
public org.kuali.rice.kns.web.ui.Field getField()
protected String getFieldName()
public void clear()
clear
in interface Renderer
Renderer.clear()
protected String getAccessibleTitle()
public void setAccessibleTitle(String accessibleTitle)
setAccessibleTitle
in interface FieldRenderer
accessibleTitle
- the given the accessible titleprotected void renderQuickFinderIfNecessary(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.Tag parentTag) throws javax.servlet.jsp.JspException
pageContext
- the page context to render toparentTag
- the parent tag requesting all of this renderingbusinessObjectToRender
- the business object that will be renderedjavax.servlet.jsp.JspException
- thrown if something's offprotected String buildOnBlur()
public void overrideOnBlur(String onBlur)
overrideOnBlur
in interface FieldRenderer
onBlur
- the onBlur value to set and return from buildOnBlurprotected String getDynamicNameLabel()
public void setDynamicNameLabel(String dynamicNameLabel)
FieldRenderer
setDynamicNameLabel
in interface FieldRenderer
dynamicNameLabel
- the label to setFieldRenderer.setDynamicNameLabel(java.lang.String)
public void setArbitrarilyHighTabIndex(int tabIndex)
FieldRenderer
setArbitrarilyHighTabIndex
in interface FieldRenderer
tabIndex
- a tab index no human will have the patience to reachFieldRenderer.setArbitrarilyHighTabIndex(int)
protected int getQuickfinderTabIndex()
public void closeNoWrapSpan(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.Tag parentTag) throws javax.servlet.jsp.JspException
FieldRenderer
closeNoWrapSpan
in interface FieldRenderer
pageContext
- the page contex to render toparentTag
- the tag requesting all of this renderingjavax.servlet.jsp.JspException
- thrown if something goes wrong in renderingorg.kuali.ole.sys.document.web.renderers.FieldRenderer#closeNoWrapSpan()
public void openNoWrapSpan(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.Tag parentTag) throws javax.servlet.jsp.JspException
FieldRenderer
openNoWrapSpan
in interface FieldRenderer
pageContext
- the page contex to render toparentTag
- the tag requesting all of this renderingjavax.servlet.jsp.JspException
- thrown if something goes wrong in renderingorg.kuali.ole.sys.document.web.renderers.FieldRenderer#openNoWrapSpan()
public boolean isShowError()
public void setShowError(boolean showError)
setShowError
in interface FieldRenderer
showError
- The showError to set.protected void renderErrorIcon(javax.servlet.jsp.PageContext pageContext) throws javax.servlet.jsp.JspException
pageContext
- the page context to render toIOException
- thrown if the pageContext cannot be written tojavax.servlet.jsp.JspException
protected String getErrorIconImageTag()
Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.