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

Displaying Warning Messages in Team Advisor

Hi,

I ahve the following code in my class for a follow up action to display warning messages on the Team Advisor.
This follow up action is executed on "SAve Work Item" Action ad just before saving, I call this method to add warning messages to the Collector.

private void processRequiredAttributeWarnings(
IParticipantInfoCollector collector, ArrayList<String> warnings) {
if (warnings == null)
return;

Iterator<String> warningIter = warnings.iterator();
while (warningIter.hasNext()) {
String[] warning = warningIter.next();
addWarning(collector, warning,warning);
}
}

and

private void addWarning(IParticipantInfoCollector collector, String summary,String warning) {
IReportInfo reportInfo = collector.createInfo(summary, warning);
collector.addInfo(reportInfo);
}


This code is not displaying the warning in the Team Advisor View.
Please help.

0 votes



4 answers

Permanent link
On Thu, 04 Jun 2009 12:08:03 +0000, geetugarg wrote:

This code is not displaying the warning in the Team Advisor View. Please
help.

The Team Advisor is not really designed to show warnings. We really just
intend it to show the user information that they *must* know. (If the
view is always full of warnings, one fear is that people will just learn
to ignore the view entirely.)

That said... the code that you've shown here will append extra
information to operation report which should be visible in the Team
Advisor, but only if you toggle OFF the filter that only shows errors and
toggle ON the button to show the detail tree.

--
Jared Burns
Jazz Process Team

0 votes


Permanent link
On Tue, 21 Jul 2009 12:53:01 +0000, geetugarg wrote:
This works as desired but only in the RTC Client. Is there any way that
we can display this warning in WEb UI? Also, will the same solution
apply in RTC 2.0 WEb UI?

There's no analog to the Team Advisor in the Web UI yet.

--
Jared Burns
Jazz Process Team

0 votes


Permanent link
Hi,

Thank you for this.
This works as desired but only in the RTC Client.
Is there any way that we can display this warning in WEb UI?
Also, will the same solution apply in RTC 2.0 WEb UI?

Please suggest.

Thank you.

0 votes


Permanent link
We need this requirement for our users, so I created enhancement 89320 for this.

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

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,941

Question asked: Jun 04 '09, 8:05 a.m.

Question was seen: 6,447 times

Last updated: Jun 04 '09, 8:05 a.m.

Confirmation Cancel Confirm