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.
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
On Thu, 04 Jun 2009 12:08:03 +0000, geetugarg wrote:
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
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
On Tue, 21 Jul 2009 12:53:01 +0000, geetugarg wrote:
There's no analog to the Team Advisor in the Web UI yet.
--
Jared Burns
Jazz Process Team
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