on 07-21-2009 9:47 AM
Hi all,
I want to print the number of rows in the message using message manager.
any pointers regarding same will be highly appreciated.
thanks and regards
anand
Add a message with key "msgNumRows" and text "There are rows" to the message pool. In your event handler you can use this message like this:
Integer rows = ...;
String msg = wdComponentAPI.getTextAccessor().getText(IMessage<ComponentName>.MSG_NUM_ROWS, new Object[] {rows});
wdComponentAPI.getMessageManager.reportSuccess(msg);
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi anand,
Can u send your code ?
Regards,
Sunaina Reddy T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Have a look at below link,
http://help.sap.com/saphelp_nw04/helpdata/en/2d/e7381138a8d2458f1f4fac32614f71/frameset.htm
Regards,
Krishna chaitanya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
write for loop to iterate the no of rows and print that rows in message manager.
Regards,
Sunaina Reddy T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all,
can you please elaborate the same
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anand
Number of rows in the table
int x= wdContext.node<name>.size();
iwdComponentAPI.getmessagemanager().reportSuccess(" "+ x);
Thanks
Tulasi
Edited by: Tulasi Palnati on Jul 21, 2009 10:59 AM
Edited by: Tulasi Palnati on Jul 21, 2009 11:00 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
While creating the meassage in the message pool use ,................
and print these messages using message manager.
or
write for loop to iterate the no of rows and print that rows in message manager.
Regards,
Sunaina Reddy T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When writing a message template in the message pool use variants like .
When creating the message send a multi line string to the variant.
Aviad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
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.