public class AccountingLineViewMultipleReadOnlyFields extends FieldTableJoiningWithHeader
Constructor and Description |
---|
AccountingLineViewMultipleReadOnlyFields(AccountingLineViewMultipleReadOnlyFieldsDefinition definition,
List<org.kuali.rice.kns.web.ui.Field> fields)
Constructs a AccountingLineViewMultipleReadOnlyFields
|
Modifier and Type | Method and Description |
---|---|
void |
appendFields(List<org.kuali.rice.kns.web.ui.Field> fields)
None of the read only fields will be associated with quickfinders, so this method does nothing
|
HeaderLabel |
createHeaderLabel()
Returns the property of the accounting line business object that can be used to find the label for the given renderable element
|
protected org.kuali.rice.kns.service.DataDictionaryService |
getDataDictionaryService() |
List<org.kuali.rice.kns.web.ui.Field> |
getFields() |
String |
getName()
Returns the top field name given in the definition
|
void |
populateWithTabIndexIfRequested(int reallyHighIndex)
There are no input fields here, so no need to set tab indices
|
void |
renderElement(javax.servlet.jsp.PageContext pageContext,
javax.servlet.jsp.tagext.Tag parentTag,
AccountingLineRenderingContext renderingContext)
Renders this element
|
protected void |
setInquiryUrlForField(org.kuali.rice.kns.web.ui.Field field,
AccountingLine accountingLine)
Populates the inquiry url on the field if possible
|
protected void |
setShortLabelsForFields(org.kuali.rice.kns.web.ui.Field field,
org.kuali.rice.krad.datadictionary.BusinessObjectEntry boEntry)
For each field, set the short label, or, failing that, set the label
|
protected void |
setValueForField(org.kuali.rice.kns.web.ui.Field field,
AccountingLine accountingLine)
Sets the value for the field before rendering
|
createHeaderLabelTableCell, getRequestedRowCount, joinRow, joinTable
createTableCell, isActionBlock, isEmpty, isHidden, performFieldTransformations, readOnlyizeReadOnlyBlocks, removeAllActionBlocks, removeUnviewableBlocks, setEditableBlocks
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isHidden
performFieldTransformations, readOnlyizeReadOnlyBlocks, removeAllActionBlocks, removeUnviewableBlocks, setEditableBlocks
public AccountingLineViewMultipleReadOnlyFields(AccountingLineViewMultipleReadOnlyFieldsDefinition definition, List<org.kuali.rice.kns.web.ui.Field> fields)
definition
- data dictionary definition which created thisfields
- the fields to render as read only
KRAD Conversion: Customization of the fields - No use of data dictionarypublic HeaderLabel createHeaderLabel()
TableJoiningWithHeader
TableJoiningWithHeader.createHeaderLabel()
public String getName()
ElementNamable.getName()
public void appendFields(List<org.kuali.rice.kns.web.ui.Field> fields)
public void populateWithTabIndexIfRequested(int reallyHighIndex)
reallyHighIndex
- a really high index for elements who should not be tabbed toRenderableElement.populateWithTabIndexIfRequested(int)
public List<org.kuali.rice.kns.web.ui.Field> getFields()
public void renderElement(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.Tag parentTag, AccountingLineRenderingContext renderingContext) throws javax.servlet.jsp.JspException
RenderableElement
pageContext
- the context to render toparentTag
- the parent tag that is requesting this renderingrenderingContext
- the context about the accounting line that this element would end up renderingjavax.servlet.jsp.JspException
KRAD Conversion: Customization of the fields - No use of data dictionary
protected void setShortLabelsForFields(org.kuali.rice.kns.web.ui.Field field, org.kuali.rice.krad.datadictionary.BusinessObjectEntry boEntry)
boEntry
- the business object entry for the accounting line
KRAD Conversion: Customization of the fields - Uses data dictionaryprotected void setValueForField(org.kuali.rice.kns.web.ui.Field field, AccountingLine accountingLine)
field
- the field to set the value ofaccountingLine
- the accounting line the field is associated with, which holds the value
KRAD Conversion: Setting the property value of the field - No use of data dictionaryprotected void setInquiryUrlForField(org.kuali.rice.kns.web.ui.Field field, AccountingLine accountingLine)
field
- the field to set the inquiry url onaccountingLine
- the accounting line holding values for the field
KRAD Conversion: Setting inquiry url for the fields - No use of data dictionaryprotected org.kuali.rice.kns.service.DataDictionaryService getDataDictionaryService()
Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.