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

str.fontcolor in attribute customization javascript

Hi,


Good morning to all...

I have two attributes. 1 enumerated list yes/no and 1 message
When the user selects YES, I display message in attribute 2
I want the text of the message to be a color instead of black.

I have tried:
   var result = str.fontcolor("red");

No matter where or how I put this it breaks the scripts.  In testing I go to select YES and no message appears anymore.

Is this supported and if YES, how is the right way to do it?

Thank you,
Mike

0 votes



One answer

Permanent link

I don' think it works that way. To change any CSS styles, you will change it for all the attributes of the same type, not just the one attribute that you think you have selected. For more details, see:
https://jazz.net/wiki/bin/view/Main/WebUITheming

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
× 10,937
× 152
× 4

Question asked: Nov 29 '17, 10:44 a.m.

Question was seen: 2,465 times

Last updated: Dec 06 '17, 11:21 p.m.

Confirmation Cancel Confirm