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

Specifying which HTML editor to have open

I have created a custom work item type and am using the Custom Attributes Layout so I can have several sections with HTML presentations in each tab. It looks great in the Eclipse rich client, but in the web interface it insists on closing the HTML editors for all but the last section on the page.

Of course, this is opposite what the user of the work item will want to do -- the user will want to fill in the information from the top to the bottom.

I'd love to tell RTC to keep them all open so the user sees all the places s/he needs to enter text, but I would be satisfied if I could at least tell it to keep the top one open, not the last one.

I've search help and forums and played around with the "expanded" property, but I haven found anything that works yet. Any suggestions?
Thanks, Bonnie

0 votes



12 answers

Permanent link
I don't think you can do this.
(all my custom workitems & attributes have the edit fields closed on workitem open)

the browser is a stateless editor.. so you have to tell it that you want to edit something, and that you are done.. so it can capture the data.
(all javascript, else you have to use the ugly html form processing)..

the eclipse client is a rich component where the state is known in the UI engine and the data can be collected all at once.

0 votes


Permanent link
Hmmm... The last editor is open without having to click and "edit" button, so it can't be that no editor can be open as your answer implies.
Below, the bottom red arrow points to the open editor and the top arrow points to a closed editor with the "Edit" button displayed, which is the one I want to be opened. I just want to know how to tell RTC which of the several editors in the tab should be open when the work item is created.
http://i.imgur.com/qbUlZ.png

0 votes


Permanent link
You mentioned you used "expanded" property and that should expand/collapse those sections as specified. Was that property (expanded) applied at each section? (with values true/false for expand/collapse accordingly).

--
Gabriel Enriquez, Jazz, Tracking & Planning

Hmmm... The last editor is open without having to click and "edit" button, so it can't be that no editor can be open as your answer implies.
Below, the bottom red arrow points to the open editor and the top arrow points to a closed editor with the "Edit" button displayed, which is the one I want to be opened. I just want to know how to tell RTC which of the several editors in the tab should be open when the work item is created.
http://i.imgur.com/qbUlZ.png

0 votes


Permanent link
The expanded property seems to effect only the way the rich client looks. the web interface looks the same whether I put in "expanded true". "expeande false" or leave the propoerties blank.

There is another clue, though. Since teh loading of a blank work item is not instantaneous, I can see that it loads first with both editors only and a fraction of a second later it closes the first editor (there are only two in this work item type).

0 votes


Permanent link
Ah - I see you mentioned the collapse property -- I didn't try that one. I will try it.

Is there a place that lists all the propoerties and what they do? I've been searching for such a list and am unable to find one.

Be back soon with an answer about collapse.
Bonnie

0 votes


Permanent link
With
expanded true
collapsed false
as the property values in both sections, the behavior is exactly the same on the web (only the second editor open) as it is if you don't have these properties set at all.
Bonnie

0 votes


Permanent link
I just rechecked all my custom presentations and attributes..

all editors are closed.

all the fields are HTML in the editor presentation definition.

0 votes


Permanent link
All mine are also of type HTML.
So yours is even worse than mine -- all being closed. I want them all open - or at least the first one open if only one can be open at a time.

0 votes


Permanent link
I created an enhancement for it, please help us to add any comments on it.

Also, for clarification purposes. The "expanded" property is a valid property with a boolean value (i.e., true or false); "collapse" is not an existing property (it was only used for describing the behavior), and this property only applies to collapse or expand a section (not a presentation, like the HTML editor). The Web UI shows the existing properties that apply for sections when configuring Work Item Editor Presentions through a drop down.

--
Gabriel Enriquez, IBM Rational, Tracking & Planning

All mine are also of type HTML.
So yours is even worse than mine -- all being closed. I want them all open - or at least the first one open if only one can be open at a time.

0 votes


Permanent link
I also discovered that the behavior is browser dependent. On Firefox, it shows hte last editor open (the behvaior I was complaining about); on Safari it shows the first editor open (the behavior I wanted); on Chrome it shows all editors closed (all on Mac OS, I don't have access to a Windows machine).
It sure would be nice for the Web UI to look the same on all browsers -- you can't control the user experiencer when it looks different for different user groups.

I found that myself working in the Eclipse client for defining my work item types, so I didn't see the drop-down for properties that the Web UI shows -- that's nice, thanks. Is there anythig that tells you what the properties mean? (e.g., what's "autocollect"?)

0 votes

1–15 items
page 1of 1 pagesof 2 pages

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: May 24 '12, 12:34 p.m.

Question was seen: 14,396 times

Last updated: Jul 30 '12, 7:23 p.m.

Confirmation Cancel Confirm