Application generated warning messages

I seem to be constantly vexed by integrating warning messages into my applications. I am fine with javascript and am a former PHP (LAMP) developer so I think I just have to get the proper architecture for warning messages through my head and them I will be all set. The built in validation functionality is great but I am looking for information about the traditional warning messages like 'that value seems to high, are you sure' which would then allow the user to click 'OK' and save the records.
Sometimes this involves going against the database to generate the warning and that is the part that I am struggling with. Could someone point me toward a good post, blog, or any resource that has a good overview of the best way to accomplish this.
TIA.

JSF sees and merges all configuration files listed below:
(1) WEB-INF/faces-config.xml
(2) some xml files you specify using the context-param element of WEB-INF/web.xml
(3) META-INF/faces-config.xml files included in all jar files
Check the all configuration files and see whether they have doubled elements
and merge them.

Similar Messages

  • Loading resources generates warning messages

    Our application uses a number of resources stored in multiple +.properties+ files. These files are on the server machine and accessed by the Java client applet using Apache WebServer.
    When any such resource file loads on the client, a number of warning messages are getting logged by Apache. So, for example, if the Java client applet is loading login.properties, Apache log would show:
    File does not exist: /data/apache/htdocs/xaqpsprd/login.class
    File does not exist: /data/apache/htdocs/xaqpsprd/login_en.class
    File does not exist: /data/apache/htdocs/xaqpsprd/login_en.properties
    File does not exist: /data/apache/htdocs/xaqpsprd/login_en_US.class
    File does not exist: /data/apache/htdocs/xaqpsprd/login_en_US.properties
    The application otherwise functions correct. Because of the volume of these warnings generated, they crowd out the real useful message in the Apache log file. So users are complaining and asking us to suppress them.
    I am looking for a way to suppress these warnings and prevent them from showing in the Apache log.
    Any suggestions?
    Thanks!

    Thanks for you suggestion. I had tried a similar idea as you suggested before. And the problem was partly addressed. The product I work on however support 13 languages. So I would need to create about 300 such dummy properties files for all the resource bundles-locale (en, en_US, etc) that product needs to support. That makes it unwieldy as you can imagine.
    I have not been successful at bundling the files into a JAR. So I am looking for a way to suppress them completely so other way. *Does anyone know what the root cause of this warning is? I presume this is some kind of default JVM behavior where it looks for the the resource bundles in order of en_US, _en, etc*
    Suggestions on suppressing that behavior?

  • Script for generating warning message during Shutdown by GPO

    Hello,
    I want to apply GPO in my AD to generate a warning message in the pop-up window just after when user click SHUT-DOWN  in their system .
    But I don't know what are the script for the same in batch file. Any body please suggest me.
    Thanks 

    Hello,
    i know the process how to apply it , the only things i have a problem is the content of script  as i mentioned above and now below also. I shown the script above which i used so far here only i need how to improve my script .
    echo msgbox "Hey! Here is a message!" > %tmp%\tmp.vbs
    cscript /nologo %tmp%\tmp.vbs del %tmp%\tmp.vbs
    Thanks

  • Warning Message in Absence Page

    Hi All,
    I have a requirement detailing the Following Scenario in Oracle HRMS R12.1.1
    1. User selects Create Absence Entry
    2. Selects Paternity Leave
    3. Create the Leaves and Click the Submit Button
    4. A warning Message should be issued to the User (Asking him to submit the Child Birth Certificate)
    5. This should be a warning message and if the user clicks the submit button once again, he should be allowed to submit the Leave.
    I have extended the concerned class in the Page and added the Warning Message.
    However when submitting the leave in the Application, the Warning Message is displayed, but it does NOT allow the user to proceed.
    The code is as follows:
    if(absenceType.trim().equalsIgnoreCase("Paternity Leave") && gender.equalsIgnoreCase("M"))
                             //Change by Ravi @ 06-Aug-2010 to give a Warning Message to the User that a Medical Certificate Needs to be provided
                             throw new OAException("You are requested to submit original medical certificate certifying birth of child" , OAException.WARNING);Grateful if you people could help.
    Thks
    Ravi

    Hi Ravi
    throw statement throws the error and ends the execution!!!!You can try like below code
    if(absenceType.trim().equalsIgnoreCase("Paternity Leave") && gender.equalsIgnoreCase("M"))
    //Change by Ravi @ 06-Aug-2010 to give a Warning Message to the User that a Medical Certificate Needs to be provided
    //throw new OAException("You are requested to submit original medical certificate certifying birth of child" , OAException.WARNING);
    OAException exception = new OAException("You are requested to submit original medical certificate certifying birth of child" , OAException.WARNING);
    pageContext.putDialogMessage(exception);Hope it helps!!!
    Thanks
    AJ

  • Warning Message in application

    Hi All,
    We are facing an issue when using Universal Work List and Guided Procedures in EP 7.0.
    A Warning message is getting displayed on the screens as ' Another administrator is currently customizing this application. If you want to customize, please restart the application later and try again'.
    SAP replied in OSS message saying that "that this message is coming from the Webdynpro code in the application and this is not a standard message at SAP end"
    Any suggestions regarding this are most welcome.
    Regards
    Bindu

    Hi Siva Rama
    Thanks for your reply
    i will explain indetail...
    i have installed the portal CE 7.1 freshly.
    when for the first time who ever user logs in then it wont be getting displayed.
    when any second user and susequent users logs in then it is getting the warning message displayed as i mentioned above
    can we handle the same in webdynpro app which we are using for UWL for GP workflow.
    Please reply back
    Regards
    bindu

  • Warning message into Application log of Service request

    Hi Experts,
    I have a requirement where I am using Event handlers(CRMV_EVENT) to redetermine partners of a service request whenever certain values are changed in the transaction CRMD_ORDER.
    Partners will be retrieved from a custom table.
    In any circumstances, if the partners cannot be determined then we need to push a WARNING message stating that "Partners can not be determined, pls maintain the values in the custom table'.
    For this purpose I am using the function module CRM_MESSAGE_COLLECT with the following parameters, but still I am not able to see the same into the Application log of the Service request that is going to be created.
    CALL FUNCTION 'CRM_MESSAGE_COLLECT'
      EXPORTING
        iv_caller_name         = 'ORDERADM_H'
        IV_REF_OBJECT          = iv_header_guid
        IV_REF_KIND            = 'A'
       IV_LOGICAL_KEY         = '0001'
        IV_MSGNO               = '001'
        IV_MSGID               = 'ZSP'
        IV_MSGTY               = 'W'
      IV_MSGV1               = SY-MSGV1
      IV_MSGV2               = SY-MSGV2
      IV_MSGV3               = SY-MSGV3
      IV_MSGV4               = SY-MSGV4
        IV_MSGLEVEL            = '1'
      IV_FIELDNAME           =
      IV_ACTION              =
        IV_LOG_HANDLE          = lv_log_handle
        IV_CUMULATE            = 'X'
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Do I missed in passing of any additional parameters?
    Can any one of you have encountered the same problem and solved this, pls through some light on me too(if possible with block of code).
    Thanks in advance.

    Hi,
    Here is the block of code that I used to push a message in to Application log.
    Push your message into a variable called dummy and then call the below mentioned function module.
    DATA:        lv_dummy(254)    TYPE  c,            "#EC NEEDED
              MESSAGE w052(sppf_media) WITH text-001
                                            text-002
                                        INTO lv_dummy.
              CALL FUNCTION 'CRM_MESSAGE_COLLECT'
                EXPORTING
                  iv_caller_name = 'ORDERADM_H'
                  iv_ref_object  = iv_header_guid
                  iv_ref_kind    = lc_ref_kind_a
                  iv_msgno       = sy-msgno
                  iv_msgid       = sy-msgid
                  iv_msgty       = sy-msgty
                  iv_cumulate    = lc_x
                IMPORTING
                  ev_msgty       = lv_msgtyp
                  es_msg_handle  = gv_msghandle
                EXCEPTIONS
                  not_found      = 1
                  appl_log_error = 2
                  OTHERS         = 3.
              IF sy-subrc <> 0.
                MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                       WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
              ENDIF.
            ENDIF.
    Hope this helps to resolve your issue.
    Regards,
    Usha.

  • Photoshop Elements 11 installed on Mac Mini OS X 10.9.5. Application running successfully on bot main user and administrative accounts for considerable time with no warning messages. When established a new user account on same computer and try to call up

    Photoshop Elements 11 installed on Mac Mini OS X 10.9.5. Application running successfully on bot main user and administrative accounts for considerable time with no warning messages. When established a new user account on same computer and try to call up elements receive message “Some ot the application components are missing from the Application directory. Please reinstall the application.” How do I correct this problem without disturbing application in main user account?

    Brooks lansing if you create a new Administrator account does the same issue occur?  If so then it is likely that there is a file permission failure and file permissions have been set for the existing Users instead of the groups they belong to.
    Have you removed and reinstalled Photoshop Elements 11?  This may reset the file permissions to the correct state to allow it to work under new accounts.

  • SQL Developer 1.5.1 - warning messages generated by CREATE TABLE

    Hi,
    Have an issue with a CREATE TABLE statement - it works correctly, but generates a warning message when used in SQL Developer (1.2 or 1.5.1). Full test case below:
    Setup:
    drop table samplenames;
    drop table customers;
    drop table phones;
    drop table customers_phone;
    drop sequence primkey;
    create table samplenames
    (name VARCHAR2(10));
    insert into samplenames values ('dan');
    insert into samplenames values ('joe');
    insert into samplenames values ('bob');
    insert into samplenames values ('sam');
    insert into samplenames values ('weslington');
    insert into samplenames values ('sue');
    insert into samplenames values ('ann');
    insert into samplenames values ('mary');
    insert into samplenames values ('pam');
    insert into samplenames values ('lucy');
    create sequence primkey
    start with 1000000
    increment by 1;
    create table customers as
    select primkey.nextval as cust_id,
    tmp1.name || tmp2.name as first_name,
    tmp3.name || tmp4.name || tmp5.name as last_name
    from samplenames tmp1,
    samplenames tmp2,
    samplenames tmp3,
    samplenames tmp4,
    samplenames tmp5;
    CREATE TABLE PHONES AS
    SELECT cust_id, 'H' as phn_loc, trunc(dbms_random.value(100,999)) as area_cde,
    trunc(dbms_random.value(1000000,9999999)) as phn_num
    FROM customers;
    INSERT INTO PHONES
    SELECT cust_id, 'B' as phn_loc, trunc(dbms_random.value(100,999)) as area_cde,
    trunc(dbms_random.value(1000000,9999999)) as phn_num
    FROM customers;
    --randomly delete ~10% of records to make sure nulls are handled correctly.
    delete from phones
    where MOD(area_cde + phn_num, 10) = 0;
    create table statement (there are legacy reasons for why this is written the way it is):
    CREATE TABLE customers_phone NOLOGGING AS
    SELECT cst.*,
    piv.HOME_PHONE,
    piv.WORK_PHONE
    FROM (SELECT cust_id,
    MAX(decode(phn_loc, 'H', '(' || area_cde || ') ' ||
    substr(phn_num,1,3) || '-' || substr(phn_num,4,4), NULL)) AS HOME_PHONE,
    MAX(decode(phn_loc, 'B', '(' || area_cde || ') ' ||
    substr(phn_num,1,3) || '-' || substr(phn_num,4,4), NULL)) AS WORK_PHONE
    FROM phones phn
    WHERE phn_loc IN ('H', 'B')
    AND cust_id IS NOT NULL
    AND EXISTS (SELECT NULL
    FROM customers
    WHERE cust_id = phn.cust_id)
    GROUP BY cust_id) piv,
    customers cst
    WHERE cst.cust_id = piv.cust_id (+)
    Warning message output:
    "Error starting at line 1 in command:
    CREATE TABLE customers_phone NOLOGGING AS
    SELECT cst.*,
    piv.HOME_PHONE,
    piv.WORK_PHONE
    FROM (SELECT cust_id,
    MAX(decode(phn_loc, 'H', '(' || area_cde || ') ' || substr(phn_num,1,3) || '-' || substr(phn_num,4,4), NULL)) AS HOME_PHONE,
    MAX(decode(phn_loc, 'B', '(' || area_cde || ') ' || substr(phn_num,1,3) || '-' || substr(phn_num,4,4), NULL)) AS WORK_PHONE
    FROM phones phn
    WHERE phn_loc IN ('H', 'B')
    AND cust_id IS NOT NULL
    AND EXISTS (SELECT NULL
    FROM customers
    WHERE cust_id = phn.cust_id)
    GROUP BY cust_id) piv,
    customers cst
    WHERE cst.cust_id = piv.cust_id (+)
    Error report:
    SQL Command: CREATE TABLE
    Failed: Warning: execution completed with warning"
    I am on 10.2.0.3. The CREATE TABLE always completes successfully, but the warning bugs me, and I have had no success tracking it down since there is no associated numberr.
    Anyone have any ideas?

    Hi ,
    The Oracle JDBC driver is returning this warning so I will be logging an issue with them, but for the moment SQL Developer will continue to report the warning as is.
    The reason for the warning is not clear or documented as far as I can tell,
    but I have replicated the issue with a simpler testcase which makes it easier to have a guess about the issue :)
    ----START
    DROP TABLE sourcetable ;
    CREATE TABLE sourcetable(col1 char);
    INSERT INTO sourcetable VALUES('M');
    DROP TABLE customers_phone;
    CREATE TABLE customers_phone AS
    SELECT MAX(decode(col1, 'm','OK' , NULL)) COLALIAS
    FROM sourcetable;
    ----END
    The warning occurs in the above script in SQL Developer , but not in SQL*Plus.
    The warning disappears when we change 'm' to 'M'.
    The warning disappears when we change NULL to 'OK2'
    In all cases the table creates successfully and the appropriate values inserted.
    My gut feeling is ...
    During the definition of customers_phone, Oracle has to work out what the COLALIAS datatype is.
    When it sees NULL as the only alternative (as sourcetable.col1 = 'M' not 'm') it throws up a warning. It then has to rely on the 'OK' value to define the COLALIAS datatype, even though the 'OK' value wont be inserted as sourcetable.col1 = 'M' and not 'm'. So Oracle makes the correct decision to define the COLALIAS as VARCHAR2(2), but the warning is just to say it had to use the alternative value to define the column.
    Why SQL*Plus does not report it and JDBC does, I'm not sure. Either way it doesn't look like a real issue.
    Again, this is just a guess and not a fact.
    Just though an update was in order.
    Regards,
    Dermot.

  • How to trap warning messages generated from the background processing?

    Hi all,
    Following is my requirement, i want to know whether it can be done and how?
    The credit management (CM) warning messages generated as a result of the CM background processes, where do the messages go? Can you trap them and include them in an interface control report?
    Thanks

    Hi
    If it's created a job for that process, you can try to read the log: here you should find all triggered messages, so the warning ones too.
    U can try to use fm like BP_JOBLOG_READ or BP_JOBLOG_SHOW in order to get the log.
    Max

  • Warning message on log off when application is running

    How can I make a warning message when a user is trying to logoff windows while an application made with labview is still running ?
    I want to pop something that ask the user if he's sure he wants to quit.
    thanks

    I was working on just this issue today. Here is a vi (in 7.1.1) and an exe showing it. The exe has been renamed to a .llb to get around some attachment restrictions, so rename it (after scanning with you antivirus of choice!).  I can make it in 8.0 if needed (don't currently have 8.2 installed)
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion
    Attachments:
    shutdown.vi ‏31 KB
    shutdown.llb ‏62 KB

  • How to send information/warning message from CRM to B2B application

    Hi,
    I need to send information/warning mesage from CRM to B2B application.
    I am using FM CRM_MESSAGE_COLLECT to send the required message to application log first and then implemented a BADI called CRM_ISA_BASKET_MSGS for reading that message to dispay it in Internet Sales.
    When I am passing message type as E in FM CRM_MESSAGE_COLLECT ,it is correctly showing it in B2B internet sales application as an error message but when I tried to pass message type as I/W it is not dispaying the message in B2B internet sales application although that information/warning message is being displayed in application log in CRM
    Can anyone pls provide some useful inputs for passing information or warning message type from CRM to Internet Sales allpication??
    BR,
    Bykam

    You need to fire the action from B2B, maybe when the b2b is all loaded you can call a FM in CRM that will handle some validations, this FM will return a result, store it in a session attribute, and put a condition in the JSP that will handle the response, inside this condition (if the attribute session is not empty) print a block, a label or something in html, css class will help to put some colors and maybe make a custom alert block.

  • Mkv files now now generate a message that mkv maybe an application.

    I have mkv files. I play these files with MPlayerX. A great player that does a excellent job. I have set the mkv files to open in MPlayerX. Until the last week or so the icons for the mkv files looked like the MPlayerX icon. Now they look like a blank icon of a file that is not associated with any program. Also clicking on one for the first time generates a message that the mkv maybe an application. This makes no sense what so ever and is also a recent development. Any ideas as to what maybe going on and how do I get this to stop.

    Follow the instructions of tt2 given in https://discussions.apple.com/thread/5822086 and note to run as admin

  • Every time I start up Firefox, I receive the following warning/message. Java Script Application. Type Error: Components.classes(cid) is undefined. How do I correct this?

    Question
    Every time I start up Firefox, I receive the following warning/message. Java Script Application. Type Error: Components.classes(cid) is undefined. How do I correct this?

    Do you see a Last 7 days folder?
    If not then older history has been deleted.<br />
    Firefox 5 doesn't use a time limit to store history like previous Firefox 3 versions did.

  • TS1702 My iphone has displayed a warning message two days ago that if i dont ..... i cannot purchase anymore applications but I could not read the first sentence and now I am unable to purchase

    My iphone has displayed a warning message two days ago that if i dont ..... i cannot purchase anymore applications but I could not read the first sentence and now I am unable to purchase

    That error message suggest you have a permissions issue. Make sure you have full read/write privileges for the Drive/ Folder location that you are copying the files to. 

  • Warning message after generating RMM Customizing Group

    Hi experts!<br>
    <br>
    I want to generate a customizing group in transaction sdoe_rmm01 in order to prepare the receiver generation. The generation process aborts with the following warning message: "201-Err:Metainfo FM MMW_RMM_METH_META_REG_SERVICE", Message no. RMM034.<br>
    Although it is only a warning message, the group is not getting generated. When I want to generate existing customizing groups, the same behaviour can be observed.<br><br>
    I have looked for more details regarding the warning message and it is number, but I was not successful. Has anybody an idea what the problem is?<br>
    <br>
    Thanks in advance and best regards,<br>
    <br>
    Christoph

    There can be only two possibilities:
    1. You did something wrong which you need to correct
    2. The DOE encountered a programmatic error while generating.
    No matter what the problem is, any sort of error/warning that stops generation should (atleast briefly) explain what the problem is. This one is not. So my opinion is: Raise an OSS message.
    Moreover, the fact that it is referring to a 'metainfo' sounds more like a programmatic error.
    Also: Search SAP Notes referring to a similiar message. Maybe its already fixed.
    Cheers!

Maybe you are looking for