there is a line in all velocity template files. for example :
controlHeader ($action $field.id $i18n.getText($field.nameKey) $fieldLayoutItem.required $displayParameters.get('noHeader'))
i want to know the meaning of this..
Community moderators have prevented the ability to post new answers.
First, I should point out that you've lost a # at the beginning of controlHeader - you really need to be careful with things like that, it can confuse the question.
Anyway #controlHeader is a velocity macro - you can find the definition in the macros.vm file. Simply put, the #controlHeader prints out some HTML (with some conditions) which wraps around your custom field
thanks Nic. does the variables entered in control header affects the variable used in the body of vm file?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i have a function written inside descriptionSytemfield.java. how can i use in description-edit.vm ??
Does control header helps me in doing this ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Recommended Learning For You
Level up your skills with Atlassian learning
Learning Path
Apply agile practices
Transform how you manage your work with agile practices, including kanban and scrum frameworks.
Learning Path
Configure agile boards for Jira projects
Learn how to create and configure agile Jira boards so you can plan, prioritize, and estimate upcoming work.
Jira Essentials with Agile Mindset
Suitable for beginners, this live instructor-led full-day course will set up your whole team to understand how to use Jira with an agile methodology.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.