WD ABAP: Raise message in popup

Hi,
I use the following way to create a popup and I want to raise messages i this popup:
      wd_this->detail_popup = l_window_manager->create_window(
       window_name = 'DETAIL_OVERVIEW'
       button_kind = if_wd_window=>co_buttons_close
       title = title
       message_display_mode = '0'
       close_in_any_case = abap_false
When I want the message to be displayed in the popup, I use the following way:
  DATA: l_current_controller TYPE REF TO if_wd_controller,
        l_message_manager    TYPE REF TO if_wd_message_manager.
  l_current_controller ?= wd_this->wd_get_api( ).
  CALL METHOD l_current_controller->get_message_manager
    RECEIVING
      message_manager = l_message_manager.
        CALL METHOD l_message_manager->report_t100_message
          EXPORTING
            msgid = '/KYK/OPS_PP'
            msgno = '012'
            msgty = 'W'.
but nothing happens after this method is called, could anybody explain why?
Thanks!
Yuankai
Message was edited by: Armin Reichert

hi,
Try using this if_wd_window_manager instead. the below code works for me:
data: l_cmp_api type ref to if_wd_component,
     l_window_manager type ref to if_wd_window_manager,
     l_popup type ref to if_wd_window,
     l_text type string_table,
     l_api type ref to if_wd_component.
    l_cmp_api = wd_this->wd_get_api( ).
    l_window_manager = l_cmp_api->get_window_manager( ).
    insert `No Developement Details Involved` into table l_text.
    l_popup = l_window_manager->create_popup_to_confirm(
                   text = l_text
            button_kind = if_wd_window=>CO_BUTTON_OK
           message_type = if_wd_window=>CO_MSG_TYPE_INFORMATION
           window_title = `Status Information`
           WINDOW_WIDTH = `400`
           window_position = if_wd_window=>co_center ).
    l_popup->open( ).
hope this helps,
Best Regards,
Ravikiran.

Similar Messages

  • How to display the return message in popup window

    Hi Experts,
    In WDA i want to display the return message through popup window.
    Regards,
    M.Chella Meenal.

    hi Chella Meenal ,
    you can generate the popup using popup factory class also , look at the below sample code for displaying message in a popup , and you can do your own configurating like visible , enable the buttons you want ..
    data:
        lr_component type ref to if_wd_component,
        ls_conf type wdr_popup_to_confirm,
        lt_texts     type string_table.
      ls_conf-window_position = '1'.
      ls_conf-button_1-text = 'OK'.
      ls_conf-button_1-icon = 'ICON_OKAY'.
      ls_conf-button_1-enabled = 'X'.
      ls_conf-button_1-visible = CL_WD_UIELEMENT=>E_VISIBLE-VISIBLE.
      ls_conf-button_2-visible = CL_WD_UIELEMENT=>E_VISIBLE-NONE.
      ls_conf-button_cancel-visible = CL_WD_UIELEMENT=>E_VISIBLE-NONE.
      lr_component = wd_comp_controller->wd_get_api( ).
      append 'some text' to lt_texts.
      cl_wd_popup_factory=>popup_to_confirm(
          component        = lr_component
          text             = lt_texts
          CONFIGURATION    = ls_conf
          window_title     = 'some title' ).
    Regards
    Chinnaiya P

  • Activities to show up on Messages/Alert Popup

    Hi all,
    We would like activities that we assign to other users to show up on their messages/alert popup.
    Is there a way to make this happen?
    Thanks,
    Jane

    Hi Jane,
    When setting up the activity, be sure to set a reminder. this will enable the alert to show on the alerts inbox.
    Also, make sure that the "display inbox when new message arrives" is activated for the user (system initialization -->general settings --> services tab) and set the "update messages" to an acceptable time.
    Hope this helps,
    Kiran

  • How can i show a raise message?

    Hi...
    I am use JDev 11.1.2.0.0
    How can i show a raise message for the user for validations issues
    and after his message the user can't do any thing.
    thanks...

    HI ,
    You can use your entity level validations for this .For this go to your entity object then select the required attribute ,now at the bottom of the page validation rules for that attribute is given just click on that ,now you can select the validation that you want and give error handling msg also.
    If you want that user cannot move further without filling that field then you can mark that fields as compulsory by selecting true value at its required field in property inspector.

  • How to delete 'crm_order_maintain' FM raised messages in WebUI

    Hi Experts,
       I want to delete messages based on conditions in 'do_prepare_output' method. How to delete 'crm_order_maintain' FM raised messages in WebUI
    Thanks & Regards,
    Nitish

    Hi Dharmakasi,
       Thanks a lot for your reply. I have implemented logic in Badi also. After deleting message in badi even thou  again i am getting error message, transaction in display mode. That's the reason i am deleting error message in bap component. Please find the below badi logic.
    Thanks & Regards,
    Nitish
    * Get Log Handle(s)
         CALL FUNCTION 'CRM_MESSAGES_GET_LOG_HANDLES'
           IMPORTING
             et_log_handle = lt_log_handle.
         LOOP AT lt_log_handle INTO ls_log_handle.
           CALL FUNCTION 'CRM_MESSAGES_SEARCH'
             EXPORTING
               iv_log_handle  = ls_log_handle
             IMPORTING
               et_msg_handle  = lt_msg_handle
             EXCEPTIONS
               appl_log_error = 1
               error_occurred = 2
               OTHERS         = 3.
           IF sy-subrc EQ 0.
             LOOP AT lt_msg_handle INTO ls_msg_handle.
               CLEAR: ls_message.
               CLEAR: ls_msg_info.
               CLEAR: ls_msg.
               CLEAR: lv_ref_object_text.
               CALL FUNCTION 'CRM_MESSAGES_GET_MSG_INFO'
                 EXPORTING
                   is_msg_handle           = ls_msg_handle
    *             IV_GET_CALLER_NAME      =  TRUE
                 IMPORTING
                   es_info                 = ls_msg_info
                   es_msg                  = ls_msg
                   ev_ref_object           = lv_ref_object_text
                 EXCEPTIONS
                   not_found               = 1
                   wrong_context_structure = 2
                   data_error              = 3
                   OTHERS                  = 4.
               IF sy-subrc EQ 0.
                 MOVE-CORRESPONDING ls_msg_info TO ls_message.
                 MOVE-CORRESPONDING ls_msg      TO ls_message.
                 INSERT ls_message INTO TABLE et_message.
               ENDIF.
             ENDLOOP.
           ENDIF.
         ENDLOOP.
         CLEAR: ls_message.
         LOOP AT et_message INTO ls_message WHERE object_name = 'SERVICE_OS'
                                              AND ref_kind    = 'B'
                                              AND msgty       = 'E'
                                              AND msgid       = 'CRM_SERVICE_OS'
                                              AND msgno       = '121'.
           MOVE: ls_message-log_handle TO es_msg_handle-log_handle,
                 ls_message-msgnumber  TO es_msg_handle-msgnumber,
                 ls_message-ref_object TO lv_guid_ref.
           APPEND es_msg_handle TO et_msg_handle.
         ENDLOOP.
    * Reading Item details
         IF lv_guid_ref IS NOT INITIAL.
           CALL FUNCTION 'CRM_ORDERADM_I_READ_OW'
             EXPORTING
               iv_guid        = lv_guid_ref
             IMPORTING
               ev_header_guid = lv_header_guid
             EXCEPTIONS
               item_not_found = 1
               OTHERS         = 2.
           IF sy-subrc EQ 0.
             CALL FUNCTION 'CRM_ORDERADM_I_READ_OB'
               EXPORTING
                 iv_header           = lv_header_guid
               IMPORTING
                 et_orderadm_i_wrk   = lt_orderadm_i
               EXCEPTIONS
                 item_does_not_exist = 1
                 error_occurred      = 2
                 OTHERS              = 3.
             IF sy-subrc EQ 0.
               CLEAR: ls_orderadm_i.
               LOOP AT lt_orderadm_i INTO ls_orderadm_i.
                 REFRESH: lt_osset_n,
                         lt_refobj_n.
                 CLEAR: ls_osset_n,
                        ls_refobj_n,
                        ls_service_os.
                 CALL FUNCTION 'CRM_SERVICE_OS_READ_OB'
                   EXPORTING
                     iv_ref_guid          = ls_orderadm_i-guid
                     iv_ref_kind          = 'B'
                   IMPORTING
                     es_srv_osset_wrk     = ls_service_os
                   EXCEPTIONS
                     entry_does_not_exist = 1
                     error_occured        = 2
                     parameter_error      = 3
                     OTHERS               = 4.
                 IF sy-subrc EQ 0.
                   MOVE: ls_service_os-osset[] TO lt_osset_n[],
                         ls_service_os-ref_guid TO ls_serial-ref_guid.
                   READ TABLE lt_osset_n INTO ls_osset_n INDEX 1.
                   IF sy-subrc = 0.
                     lt_refobj_n[] = ls_osset_n-refobject[].
                     READ TABLE lt_refobj_n INTO ls_refobj_n INDEX 1.
                     IF sy-subrc = 0.
                       MOVE ls_refobj_n-serial_number TO ls_serial-serial_no.
                       MOVE ls_refobj_n-serial_number TO lv_sernum_n.
                       APPEND ls_serial TO lt_serial.
                     ELSE.
                       READ TABLE lt_refobj INTO ls_refobj INDEX 1.
                       IF sy-subrc = 0.
                         MOVE ls_refobj-serial_number TO ls_serial-serial_no.
                         MOVE ls_refobj-serial_number TO lv_sernum_n.
                         APPEND ls_serial TO lt_serial.
                       ENDIF.
                     ENDIF.
                   ENDIF.
                 ENDIF.
               ENDLOOP.
               SORT lt_serial BY serial_no.
               IF lt_serial[] IS NOT INITIAL.
                 LOOP AT lt_serial INTO ls_serial WHERE serial_no EQ lv_sernum_n.
                   CALL FUNCTION 'CRM_STATUS_READ_OW'
                     EXPORTING
                       iv_guid       = ls_serial-ref_guid
                     IMPORTING
                       et_status_wrk = lt_status
                     EXCEPTIONS
                       not_found     = 1
                       OTHERS        = 2.
                   IF sy-subrc EQ 0.
                     READ TABLE lt_status INTO ls_status WITH KEY object_type = 'BUS2000160' " Complaint Item
                                                                  kind = 'B'
                                                                  user_stat_proc = 'CRMCOM_I'.
                     IF sy-subrc EQ 0.
                       IF ls_status-status EQ 'E0004'.
                         lv_comp = lv_comp + 1.
                       ELSE.
                         lv_ncomp = lv_ncomp + 1.
                       ENDIF.
                     ENDIF.
                   ENDIF.
                 ENDLOOP.
                 IF lv_comp GE 1
                AND lv_ncomp LE 1.
                   IF et_msg_handle[] IS NOT INITIAL.
                     LOOP AT et_msg_handle INTO es_msg_handle.
                       CALL FUNCTION 'BAL_LOG_MSG_DELETE'
                         EXPORTING
                           i_s_msg_handle = es_msg_handle
                         EXCEPTIONS
                           msg_not_found  = 1
                           log_not_found  = 2
                           OTHERS         = 3.
                       IF sy-subrc EQ 0.
    * Implement suitable error handling here
                       ENDIF.
                     ENDLOOP.
                   ENDIF.
                 ENDIF.
                 CLEAR: lv_comp, lv_ncomp.
               ENDIF.
             ENDIF.
           ENDIF.
         ENDIF.

  • How to raise message in table maintance genartor

    Hi,
    I have one Z table . Customer wants to if entry is not found in the table using SM30 then raise message " NO DATA FOUND".
    how to rasie message in table maintace geraror.
    Thanks

    Hi ,
    U will have Function group for TAble maintenence generator where u can do all kind of validations on the data in u r table in
    PBO or PAI of the screens used in TMG.
    Regarsd

  • Character Limits on Raise Messages

    Hi friends.
    I searched over the web for a while and I coudl not find.
    Whats the limit of characters for raise messages like that:
    Ex: raise_application_error(-20100,XXXXX);
    How many characters could the "XXXXX" pop up?
    Tks a lot for any help

    Hi,
    it is mentioned in the documentation: http://docs.oracle.com/cd/E11882_01/appdev.112/e25519/errors.htm#autoId15 :
    "The error_code is an integer in the range -20000..-20999 and the message is a character string of at most 2048 bytes."
    Herald ten Dam
    http://htendam.wordpress.com

  • Error message as popup in webdynpro for Abap

    Hi,
    Use method REPORT_ERROR_MESSAGE of interface IF_WD_MESSAGE_MANAGER to create an error message in the webdynpro application.
    This works fine, the message is shown in the message area.
    Now I want to have the error message in a popup.
    In the method REPORT_ERROR_MESSAGE i set the parameter SHOW_AS_POPUP on abap_true but i get no popup.
    Is anyone familar with this?
    Thanks.
    Vincent.

    Hi Vincent.
    That's one I fell into as well.  That importing field is not is use yet.  Perhaps in a future support stack.
    You can bypass that by using the CREATE_POPUP_TO_CONFIRM method.  Below, you'll find some code from SAP's documentation.  All you need to do is select the button type and create some actions to receive input from the popup.
    data: l_cmp_api type ref to if_wd_component,
        l_window_manager type ref to if_wd_window_manager,
        l_popup type ref to if_wd_window,
        l_text type string_table,
        l_api type ref to if_wd_view_controller.
    l_cmp_api = wd_comp_controller->wd_get_api( ).
    l_window_manager = l_cmp_api->get_window_manager( ).
    insert `Data where changed` into table l_text. "#EC *
    insert `Do you want to save?` into table l_text. "#EC *
    l_popup = l_window_manager->create_popup_to_confirm(
        text = l_text
        button_kind = if_wd_window=>co_buttons_yesnocancel
        message_type = if_wd_window=>co_msg_type_question
        window_title = 'Test: Popup to confirm'
        window_position = if_wd_window=>co_center )."#EC *
    l_api = wd_this->wd_get_api( ).
    l_popup->subscribe_to_button_event(
        button = if_wd_window=>co_button_yes
        action_name = 'YES'
        action_view = l_api
        is_default_button = abap_true ).
    l_popup->subscribe_to_button_event(
        button = if_wd_window=>co_button_no
        action_name = 'NO'
        action_view = l_api
        is_default_button = abap_false ).
    l_popup->subscribe_to_button_event(
        button = if_wd_window=>co_button_cancel
        action_name = 'CANCEL'
        action_view = l_api
        is_default_button = abap_false ).
    l_popup->open( ).
    Hope this helps.
    Adam

  • Service Desk Configuration (Raising message from R3 system)

    Hi,
    I want to configure my R3 system, so that when I create a support Message it is reflected in Solution Manager.
    I have done the following steps, in R3 system
    1) Use transaction SM30 and modify BCOS_CUST table.
    Entries in this table are
    Col 1: OSS_MSG
    Col 2: W
    Col 3: SOLUTION_MANAGER (Not sure, what is the right entry for this column)
    Col 4: CUST620
    Col 5: 1.0
    I am confused over the entry for Col 3:
    In some postings I have seen that the value is SM_<sysid>CLNT<client>_TRUSTED, so assuming my Solution Manager SID is SL3 and Client is 100, the value for Col3 must be
    SM_SL3_CLNT100_TRUSTED
    Is the above assumption right?
    2) Is it necessary to make entries for RFC destination in my R3 system using transaction SM59.
    Also while creating the RFC Connection using transaction SM59 in the R3 system, it asks about the type of connection.
    Which type of the connection, should be chosed.
    Type :: Short text
    I :: Connection to application server with same database
    3 :: Connection to R/3 System
    2 :: Connection to R/2 System
    T :: Start an external program via TCP/IP
    L :: Reference entry (refers to another destination)
    S :: Start an external program via SNA or APPC
    X :: RFC via special ABAP/4 driver routines
    M :: CMC connection
    H :: HTTP Connection to R/3 System
    G :: HTTP Connection to External Server
    Hope you can help..
    Regards,
    Vikas

    Hi,
    The third one is RFC destination which is a way of linking two systems providing there ip and login credentials.
    When you create RFC in sm59 tcode you have to provide ip address and login credentials and a name,This name you have to provide in se11 bcos_cust table third field.
    You have to create an R/3 or abap connection.check this for creating rfc connection.
    http://help.sap.com/saphelp_nw04/helpdata/en/26/64f62cfa8911d386e70000e82011b8/content.htm
    Check the following .
    /people/federico.babelis2/blog/2006/04/14/service-desk-configuration-guide-for-dummies
    in short first of all go to tcode sm59 create a r/3 connection to your server and provide a name to it.
    secondly go to bcos_cust table and provide this name in the third field.
    Please reward points if it helps.
    Message was edited by:
            Prakhar Saxena

  • ABAP Mapping - Message shown in Standard Change List Process Log

    Hi
    I am working with ABAP Mapping program. I had created ABAP class using ABAP workbench. Before this, in exchangeProfile..data was provided for com.sap.aii.repository.mapping.additionaltypes ==>> as " R3_ABAP|Abap-class;R3_XSLT|XSL (ABAP Engine) " and 'Saved'.
    In Interface Mapping, after providing the Class Name under 'Mapping Program' and activated. After activation (Standard Change List), it is showing the following messages under 'Processing Log'.
    --> Standard Change List - Process Log message
    Activation of the change list canceled Check result for Interface Mapping IM_ABAP_MAPPING | http://ABAP_Mapping_SREE:  Type R3_ABAP of
    program ZSREETEST is invalid because it is not registered in the exchange profile . Check the values for the exchange profile parameter
    IntegrationBuilder.Repository.com.sap.aii.repository.mapping.additionaltypes
    --> End of Log message
    Can some one please guide me in resolving the ABAP mapping issue.
    Thanks in advance.
    ..Sree

    Sree,
    The log says that there is ABAP mapping included in your exchange profile. Do the things what michal have told and also check your mapping program whether working fine or not in SXI_MAPPING transaction.
    You can see this weblog for reference:
    /people/sameer.shadab/blog/2005/09/29/testing-abap-mapping
    ---Satish

  • How to find contents of ABAP proxy message

    we are using an ABAP proxy to send data including a document number from SAP to PI when a document is received on our SAP ERP system.
    it is possible under certain conditions that the proxy will not be processed, but the document has. I want to be able to check the messages sent to PI  to ensure that all the data has actually created a proxy message. How can I, if it is possible, find the data within the messages so I can determine if the whole process has completed OK.
    Put another way how do we know what data is in a message as listed under transaction SXMB_MONI ? The GUID in this transaction appears to relate to table SXMSPMAST but how can I find the information contained within that message so I can then link the message with the original document and then if necessary call the proxy again for that document ?
    Colin
    Edited by: Colin Heap on Oct 22, 2009 5:16 PM

    The problems I mentioned above seem to have been down to the xml messages themsleves rather than the coding found from Ravis' link however I made a few changes to the code to add more flexibility in the search parameter and also a TRY - ENDTRY to deal with the problem of abends when the SAP cannot interpret the message contents.
    please refer to the original BLOG ( Super Message Monitor for SAP XI ) by Alessandro Guarneri at the link in Ravis' post.
    I have then made the following changes. Please note that the field names used in my code are slighlty different to the original code to fit in with local coding practice however I think it will be easy for a programmer to interpret the changes
    1. Selection Screen 850 has been changed to use a SELECT-OPTION for the payload value. In Alessandros' code this is in INCLUDE ZXIMONI_RSXMB_SEL_MSG_SEL.
    * Super selection screen -------------------------------------------------- BEGIN
    TABLES: idxsndpor, idxrcvpor.
    SELECTION-SCREEN BEGIN OF SCREEN 0850 AS SUBSCREEN.
    SELECTION-SCREEN COMMENT 5(40) text-S98.
    * IDoc
    SELECTION-SCREEN BEGIN OF BLOCK idoc WITH FRAME TITLE text-s16.
    * Sender
    SELECTION-SCREEN BEGIN OF BLOCK idoc_snd WITH FRAME TITLE text-s14.
    SELECT-OPTIONS: s_snum FOR idxsndpor-idocnumber NO INTERVALS,
                    s_styp FOR idxsndpor-idoctyp    NO INTERVALS.
    SELECTION-SCREEN END OF BLOCK idoc_snd.
    * Receiver
    SELECTION-SCREEN BEGIN OF BLOCK idoc_rcv WITH FRAME TITLE text-s15.
    SELECT-OPTIONS: s_rnum FOR idxrcvpor-idocnumber NO INTERVALS,
                    s_rtyp FOR idxrcvpor-idoctyp    NO INTERVALS.
    SELECTION-SCREEN END OF BLOCK idoc_rcv.
    SELECTION-SCREEN END OF BLOCK idoc.
    * Payload
    SELECTION-SCREEN BEGIN OF BLOCK xp WITH FRAME TITLE text-s30.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT (30) text-x01 FOR FIELD p_xpath.
    PARAMETERS: p_xpath TYPE text256.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT (30) text-x02 FOR FIELD s_xvalue. 
    PARAMETERS: p_xvalue TYPE text256 NO-DISPLAY.                   
    SELECT-OPTIONS s_xvalue for p_xvalue.                                      
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK xp.
    SELECTION-SCREEN END OF SCREEN 0850.
    * Super selection screen -------------------------------------------------- END
    I'm having trouble entering the next piece of code for INCLUDE ZXIMONI_RSXMB_CUSTFILTERS  so will enter it in the next post.

  • File to Proxy ABAP - Split message possible?

    Hi experts,
    I am facing a slight problem with my scenario, I designed flat file to proxy Abap, it works fine, the problem is that my flat file tend to be a bit too large in term of volume (about 15Mo) and I would like to divide the file in multiple messages.
    I managed to do that by putting in the recordset structure : NAME, 500.
    It divides the file content in several messages in XI, the problem is that each Proxy call processes a program that deletes and replaces a table. Hence, it only takes in account the last message.
    Is there a way to deal with that? maybe to precise that all the messages sent are part of the same source.
    Kind regards,
    Jamal

    From your description, this program of yours is executed within a transactional context. Each execution of the program will be independent of each other.
    If you need your messages to be executed within the same transaction, then you need to reunite the separate messages into a unique transaction again, meaning, you need to merge the messages back into one, or correlate them somehow.
    Anyway, 15 MB is hard but not unfeasible. With proper sizing/tunning, you should be able to run it in a single execution.
    But if split at XI is indeed necessary and you don't want to merge again in XI (wouldn't make much sense, would it?), you need to develop something on the receiver side (Z ABAP) to hold the entries and only when the file is finished, call the initial program.
    Regards,
    Henrique.

  • Raised Messages Not Appearing In ByDesign

    Hello everyone,
    Simple question --- I have a message on a custom BO I want to appear in ByDesign should a script successfully run. The message appears with the correct values in the debugger if I have it open, but nothing comes up along the bottom of the screen in ByDesign, whether the debugger's open or not.
    I was under the impression that all I had to do was write:
    raise MessageName.Create("S", <parameter list>);
    And it would appear, but apparently not. The screen in question is the file input screen: I want a message to appear should the file input successfully trigger and run an AfterModify script to completion. Any ideas? Thanks!
    Lewis

    Hi Frederick,
    In order to be able to display synchronous messages in SXI_MONITOR you have to set the following
    parameter in SXMB_ADM.
    Go to SXMB_ADM --> Integration Engine Configuration. Click on 'specific Configuration'.
    Add the following parameter:
    Category: RUNTIME
    Parameter: LOGGING_SYNC
    Value: 1.
    Hope this helps you.
    Carlos

  • Inbound Abap Proxy - Message ID error

    Hi,
    We are on XI 2.0.  We have a scenario of flat file --> XI --> R/3 via ABAP Proxy.  The file is processed in XI through file adapter, converted to XML doc, and sent to R/3.  In Monitor of R/3 we get the error mesage "Message ID XXXXXXXXXXXXXX for pipeline CENTRAL already exists in called system".
    Has anyone come across this error?  Any help is much appreciated.
    Thanks in advance.
    Best Regards,
    Doo

    Hi Venki,
    It has a status of 'Processed Successfully (Message Processed)' in XI.  In R/3 it has a status of 'Message Already Processed'.
    Best Regards,
    Doo

  • Validation error message in popup

    Hello,
    I want to ask if it's possible to display validation error message in a popup window/box? I have searched the forum but couldn't find specific solution.
    Thank you in advance.

    Hi,
    Edit your label template as above. Remove javascripts mentioned above if you edit same template.
    Include this javascript
    <script type="text/javascript">
    $('#errdialog').find('ul').append($('<li/>',{text:'#ERROR_MESSAGE#'}));
    </script>Then in page where you like use this place to page HTML header
    <script type="text/javascript">
    $(function(){
    if($('#errdialog').find('li').length>0){
      $('#errdialog').dialog({
       modal:true,resizable:false,
       buttons:{"Ok":function(){$(this).dialog("close")}}
    </script>And to page Header Text
    <div id="errdialog" title="Validation Error !" style="display:none"><ul/></div>Regards,
    Jari
    Edited by: jarola on Nov 4, 2010 10:48 AM
    And remember change item labels use this custom template
    Edited by: jarola on Nov 4, 2010 10:49 AM
    script tag included

Maybe you are looking for