It's all about the answers!

Ask a question

Displaying Warning Messages in Team Advisor


geetu garg (81412) | asked Jun 04 '09, 8:05 a.m.
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.

4 answers



permanent link
Jared Burns (4.5k29) | answered Jun 29 '09, 8:51 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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

permanent link
Jared Burns (4.5k29) | answered Jul 21 '09, 8:22 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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

permanent link
geetu garg (81412) | answered Jul 21 '09, 8:46 a.m.
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.

permanent link
Gaston Williams (81126) | answered Aug 05 '09, 5:06 p.m.
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

Your answer


Register or 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.