public class

FieldScreenBean

extends Object
java.lang.Object
   ↳ com.atlassian.jira.web.bean.FieldScreenBean

Class Overview

A simple bean to help issuefields.jsp do the job of passing the displayParameters map to 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.

Summary

Public Constructors
FieldScreenBean()
Public Methods
Map<StringObject> computeDisplayParams(IteratorStatus fieldStatus, Map<StringObject> baseDisplayParams)
Given a base map, we add in extra information about the current webwork.view.taglib.IteratorStatus of the field being rendered.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public FieldScreenBean ()

Public Methods

public Map<StringObject> computeDisplayParams (IteratorStatus fieldStatus, Map<StringObject> baseDisplayParams)

Given a base map, we add in extra information about the current webwork.view.taglib.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.

Parameters
fieldStatus the status from the iterator tag that is relevant to the current field
baseDisplayParams the displayParameters map that was passed in to the JSP include as a parameter
Returns
  • a map which can be passed along as the "displayParameters" map to the field rendering code