I need to throw an error message if the terms&conditions checkbox is not checked on click of Submit Button. Can anyone suggest.

I need to throw an error message if the terms&conditions checkbox is not checked on click of Submit Button in webdynpro java. Can anyone suggest.

My Apologies. The simplest way- write the following code in the action of the Submit button-
if (<check box not checked>)
wdComponentAPI.getMessageManager().reportException("Please accept Terms and Conditions to continue",false);
else
     continueExecution();
The exception message will be shown on top of the view.
You may like to use Message Area UI element and place it at the bottom of the WD4J view to show our exception message at the bottom of the view.
I hope this helps !
Cheers,
-Amol Gupta

Similar Messages

  • I installed a new printer and now Photoshop Elements tells me I can't print.  The error message is "The saved printer information is not compatible with this version of Photoshop Elements, or the saved printer is no longer available.  You will need to che

    I installed a new printer and now Photoshop Elements tells me I can't print.  The error message is "The saved printer information is not compatible with this version of Photoshop Elements, or the saved printer is no longer available.  You will need to check your printer settings before printing."  I have uninstalled and re-installed Photoshop Elements, checked my printer settings and still I can't print a photo.

    Hi ,
    Please update to PSE 13.1
    13.1 has solved this problem.
    Refer to this link.
    Photoshop Elements Help | Printer errors with Photoshop Elements 13

  • Need a fix to error message...AppleSyncNotifier.exe - Entry Point Not Found  The procedure entry point sqlite3_wal_checkpoint could not be located in the dynamic link library SQLite.dll

    need a fix to error message...AppleSyncNotifier.exe - Entry Point Not Found  The procedure entry point sqlite3_wal_checkpoint could not be located in the dynamic link library SQLite3.dll

    Any answers how to fix it? All Im getting is error for the past 3 days!

  • How do I view and open all my files again that are on my external hard drive?? Error message saying 'The disk you inserted was not readable by this computer' Three options are Initialize, Ignore or Eject.

    I have recently purchased Toshiba 1TB hard drive and I set it up and I was able to transfer all my files onto it such as my music, photos, documents. I had correctly ejected and used it again and all these files were safely stored and accessible afterwards. However after I rebooted my computer as it had been going slow and I had too much clogging it up once I reconnected the external hard drive I have error message saying 'The disk you inserted was not readable by this computer' Three options are Initialize, Ignore or Eject. How do I access all my files? I set it up to work on both mac and windows. I have tried both another mac and windows computer and same issue occurs?? I am worried that all my personal files are gone but am confused as the drive has had absolutely no damage to it as it was in a very short time frame and its never left the same spot. Any help would be greatly appreciated. Thanks

    Thanks for your quick response. I had a look at your discussion... I tried it on a Windows machine and I thought that was compatible with ExFAT?
    Therefore I need to attempt to use my external hard drive with a machine that boasts OS X 10.6.5 or above and then it should work?
    Thanks

  • My Adobe Reader XI 11.0.09 fails to open pdf's. Error message - "because the associated helper application does not exist." Can anyone help me?

    My Adobe Reader XI 11.0.09 fails to open pdf's. Error message - "because the associated helper application does not exist." Can anyone help me?

    Okay. I will try this again. I did remove and reinstall earlier, but will
    do it now.
    regards, Mike
    On Wed, Oct 15, 2014 at 12:55 PM, Sabian Zildjian <[email protected]>

  • HT1338 I cannot print wirelessly from Macbook Pro: this is the error message I receive /Library/Printers/EPSON/InkjetPrinter2/Filter/rastertoescpII.app/Contents/MacOS /rastertoescpII  failed. can anyone help. I have been able to print on this printer for

    I cannot print wirelessly from Macbook Pro: this is the error message I receive /Library/Printers/EPSON/InkjetPrinter2/Filter/rastertoescpII.app/Contents/MacOS /rastertoescpII failed. Can anyone help. I have been able to print on this printer for months, then yesturday out of the blue I get this error.

    "/Library/Printers/EPSON/InkjetPrinter2/Filter/rastertoescpII.app/Contents/MacOS /rastertoescpII failed"
    I also saw this same error message above the Print Queue, ever since allowing the Epson Printer Software Update (August 2013) to install. After this update installed, I was able to print a basic Test Page from the Print Queue, but when printing from any application I only got "Looking for printer..." displayed above the Print Queue, which would stall and never print.
    2008 MacBook, 10.7.5. It used to print to my Epson WorkForce 845 wirelessly without problems, before this software update was installed.
    Changing the driver from "Epson WorkForce 845" to "Epson WorkForce 600 - Gutenprint v5.2.3" was a workaround that did allow me to print, but I wasn't satisfied with that.
    Found this better solution in https://discussions.apple.com/thread/5233149?start=0&tstart=0
    (with thanks to Yuengdog1983):
    This issue may be a result of the Computer Name being left empty:
    Open System Preferences and choose Sharing.
    Enter a name for your computer.
    Even without restarting the MacBook, I was able to now change back to using the Epson WorkForce 845 driver v9.0 successfully. I never would have guessed that a Computer Name is required in order to print!

  • Need help in displaying error message on the same screen

    Hi Experts,
    I have written a report which gets called from IW52 by clicking one of the action items. Now in my report when I am trying display an error message it is getting displayed at the bottom of a blank screen. My requirement is to display it at the bottom of the IW52 screen, so that user can rectify the error.
    Please help.
    Regards,
    Sambaran Ray.

    Hi,
    Probably you need to find a way to enhance the standard code.
    But make one thing sure that the code (included bu you) gets fired only when that specific report is being executed. Else it may harm the standard functionality.
    Hope this helps you.
    Regards,
    Tarun

  • Error message received: The iTunes update server could not be contacted

    Please help! I'm using a windows 7 laptop. The iTunes store is not displaying images, and if I try to import a CD it will not access the gracenote database for track info.Tried updating but got the error message 'the itunes update server could not be contacted'. I'm accessing the internet via a Tmobile dongle and all other web content is working . I have uninstalled and reinstalled itunes, checked my driver are up to date and that my AVG firewall allows iTunes through.I have disabled the windows firewall.I tried disabling the AVG one completely too but that had no effect so I'm stuck - can anyone help?

    Not sure if you already fixed this problem or not, but I recently upgraded my laptop to Win7 and ran into the same issue.  My Internet connection was working fine, I could even browse the store within iTunes, just couldn't download any software or firmware updates.  I fixed it by editing the "hosts" file located in the C:\Windows\System32\drivers\etc folder.  Open it in notepad with admin rights (right click notepad & select "Run as administrator").  Uncomment (delete the hash symbol "#") the last 2 lines or the ones that consist of "127.0.0.1   localhost" and "::1   localhost".  Restart iTunes and see if this works (if you haven't already found a solution).

  • Itunes won't load latest upgrade, error message says 'the itunes update server could not be contacted'  Any ideas on how I can fix this?

    I've been trying to update my version of Itunes for ages now and I keep getting an error message.  When I get the automatic alerts for the upgrade this also won't work or the upgrade to Quicktime & I'm getting a bit miffed now. I've bought an iphone and as I have an old version of itunes I can't download my music to it. 
    Any help would be appreciated.
    Thanks
    Lyn

    See the futher information area of Troubleshooting issues with iTunes for Windows updates for download advice and direct links if required.
    tt2

  • How do I correct an error message 2753 The file 'acrosup64.dll' is not marked for installation?

    I received this error message and cannot find a solution. does anyone have any suggestions?

    Try downloading the offline installer from http://get.adobe.com/reader/enterprise/

  • I purchased the mountain lion and while downloading an error message appear :The product distribution file could not be verified. It may be damaged or was not signed. what i've to do to complete downloading??

    please help me coz i'm anew mac user and i don't have much knowledge about mac system

    how can i skip his error ( The product distribution file could not be verified. It may be damaged or was not signe )
    because it's driving me crazy

  • When I try to update or install Firefox, I get the error message that the platform 6.0 is not compatible with the upgrade. What gives?

    I uninstalled Firefox, but could never get the program to reinstall. I have been using Safari instead.

    If the full message is similar to ''"Platform version <x.x.x.x> is not compatible with minVersion <x.x.x.x>"'', then do the following.
    The updater wasn't able to update all the files and some were left as older versions. Do a clean reinstall. See: [http://kb.mozillazine.org/Browser_will_not_start_up#XULRunner_error_after_an_update Browser will not start up - XUL Runner error after an update]
    #Download a fresh Firefox copy and save the file to the desktop.
    #*Firefox 6.0.x: http://www.mozilla.com/en-US/firefox/all.html
    #Uninstall your current Firefox version.
    #*'''''Do not remove personal data when you uninstall the current version'''''
    #*Your bookmarks and other profile data are stored elsewhere in the Firefox Profile Folder and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.
    #*See [http://support.mozilla.com/en-US/kb/uninstalling+Firefox Uninstalling Firefox] '''''and''''' [http://kb.mozillazine.org/Uninstalling_firefox Uninstalling Firefox (Mozillazine)]
    #*Also see: [http://support.mozilla.com/en-US/kb/Backing+up+your+information Backing up your information] '''''and''''' [http://kb.mozillazine.org/Profile_backup Profile backup (Mozillazine)]
    #Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    #*It is important to delete the Firefox program folder/directory to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    #*See: http://kb.mozillazine.org/Installation_directory
    #Install the fresh copy of Firefox that you downloaded in step 1
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • Error message that "the disk you inserted was not readable by the computer"  when I haven't put any disk or drives in.  This seems to be impacting Safari as well

    Getting "the disk you inserted was not readable" when restarting computer. This seems to be causing problems in Safari taking many minutes to load some pages that in the past took seconds

    Start with SMC and PRAM resets:
    http://support.apple.com/kb/ht3964
    http://support.apple.com/kb/ht1379
    Ciao.

  • CS2 Error message.= The command "pdf presentation" is not available at this time.

    CS2 and Bridge will not make any pdfs'
    CS2 has been un-installed and re-installed twice from disc without solving problem. 
    I will download CS2 from Adobe as my next step, however my CS2 disc would have to be de-activated and there is no activation server for CS2 anymore.
    http://www.adobe.com/downloads/cs2_downloads/index.html.
    System info:
    Windows Vista
    Intel CPU 2399 Mhz
    Memory 4094MB
    Does anyone have any solutions to bring back "pdf presentation"?
    Also, is there a way to upgrade the raw plugin folder to be able to read the current raw formats?
    Thank you
    Barry
    [email protected]

    Did if ever work since putting cs2 on windows vista?
    Does the pdf presentation work if you invoke the command in photoshop proper instead of bridge?
    File>Automate>PDF Presentation.
    I really don't think using the adobe cs2 download will make any difference as either your bridge and/or photoshop preferences could be corrupted
    and you should try resetting those as they are not reset during a unistall/reinstall of cs2.
    Reset photoshop preferences:
    http://forums.adobe.com/thread/375776?tstart=0
    Reset bridge preferences:
    Reset Bridge by holding Option(Mac) or Ctrl (Pc) as soon as you click on the icon to start it.
    ADD -  If done properly you will get a reset window with 3 options.

  • Editable ALV - how to throw an error message for a specific line & field

    Hi all,
    I've implemented an editable ALV and also the ON_DATA_CHECK event to check the values, entered in the ALV. So this works fine and I can check the values.
    But now, I want to throw an error message corresponding to the field in the ALV, where the error occured.
    How can I throw this error message corresponding to a specific line/field in the ALV?
    I was using REPORT_ATTRIBUTE_ERROR_MESSAGE and REPORT_ELEMENT_ERROR_MESSAGE but without success.
    I'm also using a loop over the "CHANGES" in the ALV and within this loop, I use
    elem_alv = node_alv->get_element( index = <change>-element_index ) 
    to get the element for the message.
    CALL METHOD lo_message_manager->REPORT_ELEMENT_ERROR_MESSAGE
      EXPORTING
        MESSAGE_TEXT              = 'my message'
        ELEMENT                   = elem_alv
    *    ATTRIBUTES                =
    *    PARAMS                    =
    *    MSG_USER_DATA             =
    *    IS_PERMANENT              = ABAP_FALSE
    *    SCOPE_PERMANENT_MSG       = CO_MSG_SCOPE_CTXT_ELEMENT
    *    MSG_INDEX                 =
    *    CANCEL_NAVIGATION         =
    *    IS_VALIDATION_INDEPENDENT = ABAP_FALSE.
    2.) is it right, that for an editable ALV, I can't use the WDDOBEFOREACTION to do the checks?
    If I try to use this, I can't get the values of my ALV table to check it.
    Thanks,
    Andreas

    Hi Andreas,
    I have tried to replicate your problem and I am getting the desired output. I have a row by name TEMP_NEW in my ALV and I want to throw an error message whenever the user enters a value of 4 for that particular field. Please find my coding as below. The important thing is where we perform the actual comparison between the r_value and 4. r_value is defined in SALV_WD_S_TABLE_MOD_CELL as reference to type DATA. So suppose the user enters a value of say 3 in the TEMP_NEW field of the ALV then r_value would contain 3 but if you observe its type in debugging mode it would be as TYPE REF TO I and not TYPE I. So you cannot directly say something like:
    "if ls_modified_cells-r_value = 3" as this would lead to a syntax error. Define a field-symbol say <temp> and then use it to get the actual value into it by saying like:
    ASSIGN ls_modified_cells-r_value->* TO <temp>.
    Then you can use this <temp> for comparison in your IF statement like:
    IF  <temp> = 3.
    Find the entire coding as below:
    METHOD check_data.
      DATA: lr_node TYPE REF TO if_wd_context_node,
            lr_element TYPE REF TO if_wd_context_element,
            ls_modified_cells TYPE salv_wd_s_table_mod_cell.
      FIELD-SYMBOLS <temp> TYPE data.
    " get message manager
      DATA lo_api_controller     TYPE REF TO if_wd_controller.
      DATA lo_message_manager    TYPE REF TO if_wd_message_manager.
      lo_api_controller ?= wd_this->wd_get_api( ).
      CALL METHOD lo_api_controller->get_message_manager
        RECEIVING
          message_manager = lo_message_manager.
      lr_node = wd_context->get_child_node( name = 'NODE' ).
      LOOP AT r_param->t_modified_cells INTO ls_modified_cells.
        lr_element = lr_node->get_element( index = ls_modified_cells-index ).
        IF ls_modified_cells-attribute = 'TEMP_NEW'.
    " Get the value extracted into the field symbol from the reference variable
          ASSIGN ls_modified_cells-r_value->* TO <temp>.
    " Use the value present in this field-symbol for your comparison
          IF  <temp> = 4.
    " report message
            CALL METHOD lo_message_manager->report_attribute_error_message
              EXPORTING
                message_text   = 'Sample message text'
                element        = lr_element
                attribute_name = ls_modified_cells-attribute.
          ENDIF.
        ENDIF.
      ENDLOOP.
    ENDMETHOD.
    Hope this helps resolve your problem.
    Regards,
    Uday

Maybe you are looking for