Class DueDateFieldModel
java.lang.Object
com.atlassian.jira.plugin.viewissue.web.FieldModel
com.atlassian.jira.plugin.viewissue.web.SystemFieldModel
com.atlassian.jira.plugin.viewissue.web.DateFieldModel
com.atlassian.jira.plugin.viewissue.web.DueDateFieldModel
Field Model to render the Due Date system field
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlassian.jira.plugin.viewissue.web.FieldModel
FieldModel.FieldModelType
-
Field Summary
Fields inherited from class com.atlassian.jira.plugin.viewissue.web.DateFieldModel
fieldHtml, fieldType, iso8601, key, styleClass, title
Fields inherited from class com.atlassian.jira.plugin.viewissue.web.FieldModel
id, name
-
Method Summary
Modifier and TypeMethodDescriptionUnfortunately when view issue was originally written, this field was rendered on the DOM with the arbitrary id of 'due-date' Then issue nav plugin came along and added a special case for the DueDate field which now looks for this id.Methods inherited from class com.atlassian.jira.plugin.viewissue.web.DateFieldModel
getFieldHtml, getFieldType, getIso8601, getKey, getStyleClass, getTitle, hasValue
Methods inherited from class com.atlassian.jira.plugin.viewissue.web.SystemFieldModel
getFieldModelType
Methods inherited from class com.atlassian.jira.plugin.viewissue.web.FieldModel
getId, getName
-
Method Details
-
getElementId
Unfortunately when view issue was originally written, this field was rendered on the DOM with the arbitrary id of 'due-date' Then issue nav plugin came along and added a special case for the DueDate field which now looks for this id.- Overrides:
getElementId
in classFieldModel
- Returns:
- the correct id to render the due date field with so that issue nav will apply the inline editor.
-