Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Controlling editor presentation in work items

I'd like finer control of how controls are displayed in my editor presentations. It seems like the tools are there but I don't know how to control some things. For example, I'd like a custom attribute for someone to enter a url in. I set it up as a String type (or smallString even), and when displayed in the editor it shows a large text area. I'd like it to display a single line entry field instead, but am not sure how to adjust that. I expect that I just need to know what key/value pair to set in the Presentation entry, but I don't know what options there are.

Another example is that I want people to enter a decimal number (like 1.25) but I don't see a "float" type (only integer and long). How do I go about adding custom types and attributes like that? Adding enumeration types seems to work nicely but I don't see a way to do other new types, or add associated behavior to them.

0 votes



4 answers

Permanent link
I'd like finer control of how controls are displayed in my editor presentations. It seems like the tools are there but I don't know how to control some things. For example, I'd like a custom attribute for someone to enter a url in. I set it up as a String type (or smallString even), and when displayed in the editor it shows a large text area. I'd like it to display a single line entry field instead, but am not sure how to adjust that. I expect that I just need to know what key/value pair to set in the Presentation entry, but I don't know what options there are.

Another example is that I want people to enter a decimal number (like 1.25) but I don't see a "float" type (only integer and long). How do I go about adding custom types and attributes like that? Adding enumeration types seems to work nicely but I don't see a way to do other new types, or add associated behavior to them.


Hello,

Please have a look at the followig document concerning work items customization: https://jazz.net/learn/LearnItem.jsp?href=content/docs/work-items-cust/index.html - you will find there list of possible types of custom attributes.
I just tried and I was able to create smallString attribute - in the work item editor it appeared as a small edit box.
Float attributes are not supported for custom attributes - I found the following work item addressing this: https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=61040 - please add your comments and/or subscribe to it to get informed about any updates.

kind regards,
Jakub

0 votes


Permanent link
Unfortunately the small text boxes show up only in the rich UI, not the web UI. No matter what you do you get a textarea in the web UI.

0 votes


Permanent link
Unfortunately the small text boxes show up only in the rich UI, not the web UI. No matter what you do you get a textarea in the web UI.

Maybe a Work Item should be submitted to address this?

kind regards,
Jakub

0 votes


Permanent link
Maybe you could lobby for it to be in 2.0 :)

https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=58738

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Apr 17 '09, 11:23 p.m.

Question was seen: 4,881 times

Last updated: Apr 17 '09, 11:23 p.m.

Confirmation Cancel Confirm