on 04-07-2011 7:23 AM
Hi,
I have few q' s which i felt will get answered over here.
a) Is it possible to count the number of messages that gets collected by the message manager at the run time.
b) Is it possible to stop the further collection of messages using message manager post a certain limit or count.
c) Can we have a scrollbar to the message area.
Any (pointers/ answers) will be highly appreciated.
Thanks in Advance,
Vipin.
Hi,
PFB answers inlined .
a) Is it possible to count the number of messages that gets collected by the message manager at the run time.
message manger always holds and siaplys only 1 message at runtime.
b) Is it possible to stop the further collection of messages using message manager post a certain limit or count.
u can use maxVisibile messages propery fo message Area UI.
c) Can we have a scrollbar to the message area.
I don't think its possibble .
Regards,
Govindu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Govindu,
Thanks for your quick reply.
I opened the thread due to the reason that i was getting the below exception
com.sap.tc.webdynpro.progmodel.controller.MessageManagerOverflowException: The MessageManager contains already 1,000 messages. Assuming loop. The first messages: ........
Now the requirement from the user is to stop further collection of error messages the moment 100 messages are collected.
Any (pointers/ answers) on how i can restrict this exception and limit the collection to 100 will be highly appreciated.
Thanks in Advance,
Vipin.
Hi John,
First of all, thanks for giving a reply.
Having gone through the input been provided, i feel the messages are needed to be collected in a context variable type string and play with it but before we try that, is it that we can not handle the same requirement using message manager it self as that would be very good.
Just out of curiosity, doesn' t message manager provide these features of checking the count of messages it holds and aborting the collection post certain limit.
Any (answers/ pointers) wil be highly appreciated.
Thanks in Advance,
Vipin.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.