on 10-24-2005 4:08 PM
hy,
I have a table binded to context. The table hase several rows and columns. The user can edit the values in table-cells. Now I want to make a plausibility-check for all values in the table. And if there are for example 5 errors I want to mark the error-cells red. Therefore I wrote
msgMgr.reportContextAttributeMessage(
element,
attrinfo,
IMessageZABComp.TEST,
new Object[] ,
false
);
for every error-field. My problem is that there are 5 error-messages shown in the message-area, but I want to show only one error-message "please correct your input !". How can I do this ? How can I put out only one message in the message-area, though there are several errors ?
Florian
Forian,
You may do only on of both:
1. As is, highlight every cell, but have N messages in message area
2. Highlight no cells, and have one message -- via IWDMessageManager.reportException(...)
Nothing in between
VS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi florian ,
can you elaborate on the situation. if you define any message inside the message pool and display it using
Msgmngr.reportcontextattributeMessage(elemnt,attributeinfo,IMessage<compname>.test,new Object [] ,false) , it'll only display the error message with id 'test' only once. just check if you are writing this code inside a loop.
regards,
rahul.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.