on 05-11-2009 3:20 AM
Dear All,
Please advise how to copy message pool from one component to another component so i no need to re-create all the message inside ?
Thank You and Best Regards
Fernand
Hi Fernand,
Why don't you use the existing components Message Pool in your new component?
Write following methods in the existing Component Interface controller like:
reportError, reportWarning, reportSuccess and getMessage.
Use this component as a Used Component in your new Component. Use the above methods to print Error, Warning,success messages and to get the message text by providing the key.
Hope this helps! Let me know if you need any clarification.
Regards,
Jaya.
Edited by: VJR on May 11, 2009 5:22 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I dont think that is allowed NWDS 04S version since we are allowed to add only a single message at a time.
Unfortunately, I think - you will have to recreate that message pool in the new component as well.
A way out would be to figure out what file stores the message pool values in the _comp folder of your component. Then copy that to the new component - although even that I believe will not work due to various eclipse issues.
Thanks.
p256960.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
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.