Skip to Content

use of Object MESSAGE.

Hi All,

We need to show error messag to the user in case of incorrect entry.

I have a tableView with an editable field , when save is clicked this field is checked , if the entery made is incorrect , i want to display an error message at the bottom of the page.

I have to use the methods ADD_MESSAGE , ASSERT_MESSGAE and GET_MESSAGE o do this,

i cant figure out the syntax and specially , how to define the parameter condition of ADD_MESSAGE..

Please help,


Edited by: Anubhav Jain on Jun 5, 2008 6:56 AM

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jun 05, 2008 at 06:55 AM


    In layout of the BSP Page, u can use phtmlb extension for this.

    In one of my application, i have used the following code:

    <%@extension name="phtmlb" prefix="phtmlb" %>
          if message is not initial.
          <phtmlb:messageBar id           = "messageBar"
                             text         = "<%= message-text %>"
                             type         = "<%= message-type %>"
                             rulerDisplay = "BOTTOM" />
          clear message.

    In the above code message can be brought in OnInputProcessing method and can be used in layout.

    Hope this helps..



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.