public class FieldScreenBean extends Object
A simple bean to help issuefields.jsp
do the job of passing the displayParameters
map to
FieldScreenRenderLayoutItem.getCreateHtml(webwork.action.Action, com.atlassian.jira.issue.customfields.OperationContext, com.atlassian.jira.issue.Issue, java.util.Map)
.
The map passed in as a parameter to the JSP include is augmented with additional display parameters desired by
fields when rendering themselves. This is then passed on to the getCreateHtml
and getEditHtml
methods.
FieldScreenRenderLayoutItem.getCreateHtml(webwork.action.Action, com.atlassian.jira.issue.customfields.OperationContext, com.atlassian.jira.issue.Issue, java.util.Map)
,
FieldScreenRenderLayoutItem.getEditHtml(webwork.action.Action, com.atlassian.jira.issue.customfields.OperationContext, com.atlassian.jira.issue.Issue, java.util.Map)
Constructor and Description |
---|
FieldScreenBean() |
public Map<String,Object> computeDisplayParams(webwork.view.taglib.IteratorStatus fieldStatus, Map<String,Object> baseDisplayParams)
IteratorStatus
of the
field being rendered. This allows us to pass along information about the position of the field on the FieldScreenTab
in relation to other fields.fieldStatus
- the status from the iterator
tag that is relevant to the current fieldbaseDisplayParams
- the displayParameters
map that was passed in to the JSP include as a parameterCopyright © 2002-2015 Atlassian. All Rights Reserved.