on 11-05-2008 8:48 AM
Hi,
I am getting error in this line of code
wdComponentAPI.getMessageManager().reportMessage(
IMessageUpDownload.SF_UPLOAD,
new Object[]{res.getResourceName()},false);
what might be the error.
Giving IMessageUpDownload.SF_UPLOAD cannot be resolved..
Regards,
H.V.Swathi
Edited by: H.V Swathi on Nov 5, 2008 10:06 AM
Hi Swathi,
Are you sure that "UpDownload" is the name of your component. Because the format for this is IMessage<Component Name>. Did you create the message in the messagePool with the ID SF_UPLOAD?
If all these are ok then rebuild your project and then try again.
Hope it helps.
Cheers,
Manoj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Double click on the message pool.
In the message editor you will see a + button click on this
Provide the following details
Key->SF_UPLOAD
Type->Success( if needed change this )
Text->Test.
Now if your component name is UpDownload use as follows
IMessageUpDownload.SF_UPLOAD to access the message "Test" using the key.
Regards
Ayyapparaj
Hi
It seems that it is unable to reconized "IMessageUpDownload"
Can you explain more
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.