cancel
Showing results for 
Search instead for 
Did you mean: 

How to copy Message Pool from one component to another component ?

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

p_2_5_6_9_6_0
Active Participant
0 Kudos

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.