Skip to Content
avatar image
Former Member

Message.messagekey is coming instead of message text of message pool

Hi All.

I am facing one problem , I have created one error message in message pool ,and

I am validating the field but when I am trying to use this ,Its highlighting the fields but

message is not coming instead message.messagekey is coming.

I am using the following code:

ai=wdContext.getNodeInfo().getAttribute(IPrivateVEmployeeRequestView.IContextElement.DATE_OF_RESIGNATION);

messageMgr.reportContextAttributeMessage(wdContext.currentContextElement(),ai,IMessageCEmployeeRequest.MSG, new Object[]{" resignation date is a non-working day. Please select a working day"},true);

Thanks in Advance.

Regards

Abhishekh Singh

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • avatar image
    Former Member
    Apr 13, 2010 at 04:08 AM

    Hi,

    Are you using two different DCs. One which contains all the messages in the message pool and the other where you are displaying the message.

    If yes, then build and deploy the DC containing the messages on your server.

    Regards,

    Manoj

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 13, 2010 at 04:16 AM

    Message pool and given code both are in the same DC.

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 13, 2010 at 04:27 AM

    Hi Abhishekh,

    Could you please check the message pool entry for the error, refer below example:-

    Message Key Message Type Message Text

    MissingInput error : Entry of a valid is required for proceeding with the requested service.

    Deepak!!!

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 13, 2010 at 05:03 AM

    In the message text I have given The . and from code I am passing the parameter for .

    But instead of text . message.msg(key of message ) is coming

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 13, 2010 at 05:56 AM
    Add comment
    10|10000 characters needed characters exceeded