public class OverrideFieldRenderer extends FieldRendererBase
Constructor and Description |
---|
OverrideFieldRenderer() |
Modifier and Type | Method and Description |
---|---|
protected String |
buildLabelSpanClosing() |
protected String |
buildLabelSpanOpening() |
protected String |
buildLineBreak() |
protected String |
buildNonBreakingSpace() |
void |
clear()
Cleans up the tags used to display this field
|
protected void |
clearOverrideHiddenTag()
Cleans up the hidden that displays information for the override
|
protected void |
clearOverrideNeededTag()
Cleans up the HiddenTag that renders override needed properties
|
AccountingLine |
getAccountingLine()
Gets the accountingLine attribute.
|
String |
getOverrideNeededValue()
Gets the overrideNeededValue attribute.
|
boolean |
isReadOnly()
Gets the readOnly attribute.
|
void |
render(javax.servlet.jsp.PageContext pageContext,
javax.servlet.jsp.tagext.Tag parentTag)
Renders the override field and its associated override needed field
|
protected void |
renderOverrideAsHidden(javax.servlet.jsp.PageContext pageContext,
javax.servlet.jsp.tagext.Tag parentTag)
Renders the override field as a hidden field
|
protected void |
renderOverrideAsNonHidden(javax.servlet.jsp.PageContext pageContext,
javax.servlet.jsp.tagext.Tag parentTag)
Renders the override field as non-hidden (probably a checkbox)
|
protected void |
renderOverrideNeededField(javax.servlet.jsp.PageContext pageContext,
javax.servlet.jsp.tagext.Tag parentTag)
Renders the overrideNeeded field (which is always hidden)
|
protected void |
renderOverridePresent(javax.servlet.jsp.PageContext pageContext,
javax.servlet.jsp.tagext.Tag parentTag)
Renders the override field as a hidden field
|
boolean |
renderQuickfinder()
We never render quick finders on these
|
void |
setAccountingLine(AccountingLine accountingLine)
Sets the accountingLine attribute value.
|
void |
setField(org.kuali.rice.kns.web.ui.Field overrideField)
Also sets the overrideNeededProperty name
|
void |
setOverrideNeededValue(String overrideNeededValue)
Sets the overrideNeededValue attribute value.
|
void |
setReadOnly(boolean readOnly)
Sets the readOnly attribute value.
|
buildOnBlur, closeNoWrapSpan, getAccessibleTitle, getDynamicNameLabel, getErrorIconImageTag, getField, getFieldName, getQuickfinderTabIndex, isShowError, openNoWrapSpan, overrideOnBlur, renderErrorIcon, renderQuickFinderIfNecessary, setAccessibleTitle, setArbitrarilyHighTabIndex, setDynamicNameLabel, setShowError
public OverrideFieldRenderer()
public boolean renderQuickfinder()
FieldRenderer.renderQuickfinder()
public void clear()
clear
in interface Renderer
clear
in class FieldRendererBase
FieldRendererBase.clear()
protected void clearOverrideHiddenTag()
protected void clearOverrideNeededTag()
public void setField(org.kuali.rice.kns.web.ui.Field overrideField)
setField
in interface FieldRenderer
setField
in class FieldRendererBase
overrideField
- the field to renderKRAD Conversion: setting fields
public boolean isReadOnly()
public void setReadOnly(boolean readOnly)
readOnly
- The readOnly to set.public String getOverrideNeededValue()
public void setOverrideNeededValue(String overrideNeededValue)
overrideNeededValue
- The overrideNeededValue to set.public AccountingLine getAccountingLine()
public void setAccountingLine(AccountingLine accountingLine)
accountingLine
- The accountingLine to set.public void render(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.Tag parentTag) throws javax.servlet.jsp.JspException
pageContext
- the JSP page context to render toparentTag
- the tag that is the "parent" of this renderingjavax.servlet.jsp.JspException
Renderer.render(javax.servlet.jsp.PageContext, javax.servlet.jsp.tagext.Tag)
protected String buildLineBreak()
protected String buildNonBreakingSpace()
protected String buildLabelSpanOpening()
protected String buildLabelSpanClosing()
protected void renderOverrideAsNonHidden(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.Tag parentTag) throws javax.servlet.jsp.JspException
pageContext
- the page context to render toparentTag
- the tag requesting all this renderingjavax.servlet.jsp.JspException
- thrown if rendering failsprotected void renderOverrideAsHidden(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.Tag parentTag) throws javax.servlet.jsp.JspException
pageContext
- the page context to render toparentTag
- the tag requesting all this renderingjavax.servlet.jsp.JspException
- thrown if rendering failsprotected void renderOverridePresent(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.Tag parentTag) throws javax.servlet.jsp.JspException
pageContext
- the page context to render toparentTag
- the tag requesting all this renderingjavax.servlet.jsp.JspException
- thrown if rendering failsprotected void renderOverrideNeededField(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.Tag parentTag) throws javax.servlet.jsp.JspException
pageContext
- the page context to render toparentTag
- the tag requesting all this renderingjavax.servlet.jsp.JspException
- thrown if rendering failsCopyright © 2004–2014 The Kuali Foundation. All rights reserved.