It's all about the answers!

Ask a question

HTML Element on Workitem


Pankaj Sharma (40348) | asked Oct 26 '15, 2:29 p.m.
 I am using RTC 5.0 & RTC Client 5.0 
I am referring this to enhance UI, Now i need to add a html element (button / checkbox) insider a workitem especially on to Section headed also i want to attach some javascripts to the same elements.

Please help me on this,


Accepted answer


permanent link
Donald Nong (14.4k314) | answered Oct 26 '15, 7:20 p.m.
I don't think you can do it. What you try to modify is the work item editor, which is not "themable". The work item editor is customized per project, while the theming is server wide. Also note that it's called "Web UI Theming", which apparently does not work in the Eclipse UI.
Pankaj Sharma selected this answer as the correct answer

Comments
Pankaj Sharma commented Oct 26 '15, 10:27 p.m.

Hey Donald,

Actually i have a scenario where i have lots of checkbox items now i need to select or deselect them with another checkbox, So is there any other way using which we can achieve this.

My idea was to create a checkbox and write javascripts to toggle selection on checkbox.


Donald Nong commented Oct 27 '15, 12:19 a.m.

You picked the wrong method then. You should look into work item customization. The checkboxes represent values in a work item editor, so effectively you are trying to change value for one attribute when another attribute is changed.
https://jazz.net/library/article/1003
http://www.ibm.com/developerworks/rational/library/rational-team-concert-calculated-fields-work-item/index.html


Pankaj Sharma commented Nov 03 '15, 3:40 p.m.

That worked Donald, Thanks

Your answer


Register or to post your answer.