Manually putting a message in the request

Hello,
How do I put a message in the request (being in the action class), manually , so that the tag <h:messages displays it?
Thanks, regards,
Javo

Got it:
facesContext.addMessage("mess1", new FacesMessage("Hello World"));

Similar Messages

  • Error message is 'The Request Error : 400' with SAP Download Manager

    Hello,
    The authorization object SWDOWNLOAD (download software) is assigned to the My user ID.
    But I could not download below that file.
    SAP_ABA 710 (4~8)
    SAP_BASIS 710 (4~8)
    PI_BASIS 2006_1_710 (4~8)
    SAP_BW 710 (4~8)
    Error message is 'The Request Error : 400' with SAP Download Manager
    I logged on to SAP Service Marketplace, software download area /swdc.
    I have created objects in the download basket and have received approvals (->Maintenance-Optimizer) where required.
    I start the SAP Download Manager and the objects from the download basket are visible in the object list of the program window.
    After I choose "Objects for Download", the system starts the download.
    In the info-line (in the lower part of the window), the system displays the message 'Processing object...' and then 'The request failed: 400'.

    Hello,
    In these cases the following things should be checked:
    1.- Please be sure that you are using the latest Donwload Manager version
    2.- S-User and password should be active
    3.- Specify the proxy. Please refer to SAP Note 155954
    4.- It might be that you are not licensed for the product you want to download.
    If the checkings above are correct and the problem is still alive, I would recommend you to open an SAP customer message under component XX-SER-SAPSMP-SDM providing the following information:
    1.- The exactly software product name and package or stack number you try to download.
    2.- Attach to the message the results of the trace file generated as per note 574885:
    574885 - Download Manager: Generate trace file for analysis
    I hope this helps you.
    Regards,
    Blanca

  • HT4061 my ipad is comeing up with the message  404  the requested / undefined was not ound on this server... What do I do about this please

    My Ipad is showing message 404    The requested URL /undefined was not ound on this server..  please helpme solve this issue

    A 404 error on the web is reported when you try to visit a site or page that is not there. It could be the content was deleted, moved or the page renamed. Make sure you are entering the URL of the page correctly.
    Normally this is a problem at the server end of the web and not a problem on the iPad so long as the URL address you are entering, or tapping on, is correct.

  • What is causing this message? The request for account "iCloud" failed.  The server responded with "509" to operation CalDAVMigrateToServerQueueableOperation.

    What is causing this message. Occurs on both Mini and MacBook Pro.
    The request for account “iCloud” failed.
    The server responded with
    “509”
    to operation CalDAVMigrateToServerQueueableOperation.

    Follow the links given in the right panel, under "More Like This", they should provide answers.

  • Is there any way to manually put podast episodes in the correct order. sometimes they download in reverse.

    Some of the podcasts that I download are not in numerical order and will play in the correct order, is there a way to automatically or manually fix this?

    Effectively, the only realistic way to play Podcasts in the order you want on an iPod Classic is either:
    to put them into a Playlist, in the order you want.
    turn on the Shuffle feature, which would allow you to select one Podcast to play, and then the iPod will stop at the end of that episode, because iTunes marks all Podcasts as Skip when shuflfing. This means that when the chosen one finishes, all the others are skipped, because you are playing in Shuffle mode and there is nothing left to play.

  • Putting an attribute into the request/session/servletContext

    Hello,
    I would like to add an attribute into the request (or session or servletContext) from JSF. Is that possible? If so how? (I want the equivalent of request.addAttribute only the request object is not available in JSF).
    Thanks in advance,
    Julien.

    you can use <f:param> in combination with the command link component or directly put it with FacesContext.getCurrentInstance().getExternalContext().getRequestParameterParm().put(..)

  • Can't do online banking. Get error message. "The requested URL /Summary.cgi was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    I can't do online banking. When I try to open the page I get error "The requested URL /Summary.cgi was not found on this server.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    Hi,
    These blog posts might help debug problem
    Oracle APEX: Got a 404 Not Found? | Inside Oracle APEX by Patrick Wolf
    daust_de :: Oracle XE / APEX: Troubleshooting the 404-not found error on XE
    Regards,
    Jari

  • I keep getting this error message..The request for account "Yahoo" failed.  The server responded with "502" to operation CalDAVAccountRefreshQueueableOperation.  How do I fix it?

    what do I do when I get  this error message?

    NO,  I still have the error message/problem.   It started with my hotmail account.  So I deleted/removed it and started a new yahoo email.   I am now getting the error message on yahoo email.   It doesnt hapen on my gmail account nor my exchange UCSD email and this is only on my MAC...my ipad works fine.   All emails run fine on the ipad.  Its so frustrating. 

  • Does Alert.show put a message on the screen, or not?

                            var year:int;
                            var days:int;
                            days = 0;
                            year = 2010;
                            if (year > 2099)
                                  Alert.show("Unable to calculate day number for years beyond 2099.");  // Because, for example, 2100/2/29 will not exist
                            var T0:int;
                            T0 = days + ((year - 1964) / 4) * (3 * 365 + 366);  // This oomplex expression is evaluated incorrectly, so I have broken it down to help the compiler out
                            var T1:int;
                            var T2:int;
                            var T3:int;
                            var T4:int;
                            T1 = year - 1964;
                            T2 = T1 / 4;
                            T3 = 3 * 365 + 366;
                            T4 = T2 * T3;
                            days = days + T4;
                            if (T0 != days)
                                  Alert.show("Fault in evaluation because " + T0.toString() + " does not equal " + days.toString());

    Yes, and http://livedocs.adobe.com/flex/3/html/help.html?content=03_Language_and_Syntax_11.html reports that the int data type was added to Adobe Flex to improve performance when the programmer knows only integers shall be dealt with.   The livedocs page, to which you refer, was written before there even was an integer data type.  There is definitely something wrong with the way Adobe's software handles complicated integer expressions.    I did try changing all int data types to Number data types.   The complicated expression is handled properly in that case.
    The int data type is stored internally as a 32-bit integer and comprises the set of integers from
    -2,147,483,648 (-231) to 2,147,483,647 (231 - 1), inclusive. Previous versions of ActionScript offered only the Number data type, which was used for both integers and floating-point numbers. In ActionScript 3.0, you now have access to low-level machine types for 32-bit signed and unsigned integers. If your variable will not use floating-point numbers, using the int data type instead of the Number data type should be faster and more efficient.

  • HT2311 Every time I try to update iTunes, I get a message saying the request timed out.

    I cannot upgrade iTunes. The internet is fine - nothing else times out.

    Hey tonyincary
    If you having an issue with upgrade process for iTunes, try downloading directly from the following page to resolve the issue.
    iTunes Download
    http://www.apple.com/itunes/download/
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Why am I seeing this message: Error: The requested URL could not be retrieved

    Only when I try to log onto Netflix. Worked beautifully yesterday.

    Hello khihdartop, 
    Sorry to hear about your issue.
    Are you connected to a BlackBerry® Enterprise Server? If you are then your IT admin may have placed restrictions on your internet usage.  If you are not connected to a BlackBerry Enterprise Server then you will want to contact your wireless service provider to see if they have any restriction in place. 
    -SR
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • When using my LG android phone to download Firefox I get a message stating "The requested item could not be found". And when I try to find it in the android market on my phone it does not come up in the search results.

    This occurs every time.

    Please check here to see whether Firefox is available for your phone:
    https://wiki.mozilla.org/Mobile/Platforms/Android#System_Requirements

  • When i send a test message throw the RWB for Http receiver adapter it is giving the error "Error in processing caused by: com.sap.aii.adapter.http.api.HttpAdapterException: ERROR_SOCKET_TIMEOUT, Read timed out"

    when i send a test message throw the RWB for Http receiver adapter it is giving the error "Error in processing caused by: com.sap.aii.adapter.http.api.HttpAdapterException: ERROR_SOCKET_TIMEOUT, Read timed out"

    Hi, Michal
    I have read your Weblog. It makes sense to me. Thanks a lot for your help! However, I still have some questions and listed them as following. Could you please help to answer them?
    <b>Q1:</b> I am new to SAP-XI. So I have no idea about TCODE-SXMB_ADM. Could you introduce more details about it?
    <b>Q2:</b> The XI system I am using is running on SAP-ICC's machine. The tools I can use are:
    <b>1.</b>Builder for Integration Repository
    <b>2.</b>Builder for Integration Configuration
    <b>3.</b>System Landscape Directory
    <b>4.</b>Runtime Workbench
    <b>5.</b>Administration System (for Repository, Directory, Runtime)
    Please note that I do not have a complete control on this SAP-XI. Do you think whether or not I can set the timeout parameter by following the instructions provided in your Weblog?
    For more details about my SAP-XI, please access the following Web page:
    http://iccxi.sap.com:58000/rep/support/admin/index.html
    <b>Q3:</b> The following messages are extracted from the SAP-XI. Wish they are hepful to solving my problem.
    2006-06-19 05:12:16 Success The message was successfully received by the messaging system. Profile: XI URL: http://iccxi.sap.com:58000/MessagingSystem/receive/AFW/XI
    2006-06-19 05:12:16 Success Using connection AFW. Trying to put the message into the request queue.
    2006-06-19 05:12:16 Success Message successfully put into the queue.
    2006-06-19 05:12:16 Success The message was successfully retrieved from the request queue.
    2006-06-19 05:12:16 Success The message status set to DLNG.
    2006-06-19 05:12:16 Success Delivering to channel: ValidationRequestHandlerServiceChannel
    2006-06-19 05:12:16 Success SOAP: request message entering the adapter
    2006-06-19 05:12:37 Success SOAP: call failed
    2006-06-19 05:12:37 Error SOAP: error occured: java.net.ConnectException: Connection timed out: connect
    2006-06-19 05:12:37 Error Exception caught by adapter framework: Connection timed out: connect
    Thanks
    Menghua Li

  • [10.1.3] A new way to place Principals in the Request?

    Hi,
    since 10.1.3 the usage of custom UserManager-Implementation is not possible anymore. Is there another way to place an own Principal-Implementation into the request except using a Filter which wraps the request and places another Principal-Implementation into it? The how-to on http://www.oracle.com/technology/tech/java/oc4j/1013/how_to/howtocustomjaasprovider/doc/howtocustomjaasprovider.html does not cover this topic and I haven't found another way yet :(
    Thanks,
    Stefan
    Message was edited by:
    [email protected]

    So the problem is just being scheduled into the future but I'll still have to deal with it. I would prefer to get a solution asap so I don't need to think about it in a future release ;)
    I wonder if there's something like a specific group I have to put the principal into so the OC4J will take my principal from this group (like the CallerPrincipal-group in JBoss) and put this one into the request.
    Edit:
    I just noticed when I'm specifying our custom UserManager I get this on deployment:
    Caused by: java.lang.NullPointerException
            at com.evermind.security.IndirectUserManager.getGroup(IndirectUserManager.java:101)
            at com.evermind.security.IndirectUserManager.getGroup(IndirectUserManager.java:101)
            at com.evermind.server.deployment.EnterpriseArchive.initDefaultSettings(EnterpriseArchive.java:1296)
            at com.evermind.server.deployment.EnterpriseArchive.<init>(EnterpriseArchive.java:294)
            at oracle.oc4j.admin.internal.ApplicationDeployer.initArchive(ApplicationDeployer.java:412)
            at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:187)
            at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
            ... 9 moreMessage was edited by:
    [email protected]

  • Music - The requested URL was not found on this server

    Hi
    I have brought iphone 5 and most of all my songs are brought from itunes, I can not play my music application - everytime I click on a song to play I get an error message saying - "The requested URL was not found on this server" also all my music were not downloads into my iphone 5 from iphone 4. What can I do, please direct me. I have backed up my music and photos on my laptop, even my itune isn't showing all the music i purchased with apple.

    This previous discussion has a solution:
    https://discussions.apple.com/message/16527576#16527576

Maybe you are looking for

  • Issue with Crystal Report based on 2 different data sources

    Hi there, I am having a frustrating problem with a report I've designed and I'm hoping someone might be able to assist please. The report has 3 different prompts, each of which is based on a dynamic list of values retrieved via views within a SQL ser

  • Best hardware for capturing component, composite and S-video?

    What piece of hardware do you use or would you recommend to capture video for Premiere from a component, composite or S-video source (including audio)?

  • PDF Viewer in SharePoint 2013

    Hi everyone, I have a document library containing multiple PDF files. When user clicks a document, the file opens in a pdf viewer installed in the local machine. But in our case, we want to open pdf files online in a browser for view only. Is there a

  • How to reuse a response from a server in the next request?

    Hello all, I am invoking the doGet method to get authenticated by the clickatell's server... the server responds with a "Ok: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" (not exact values) message in a fresh html page. This is the status code and its session_i

  • HP 1610 All-in-one drivers not seen by Printer Setup Utility

    Just got this new for christmas. I downloaded the latest software and installed it. It was "successful". Everything with the software and the printer seems to be OK. When I go to add the printer to Printer Setup Utility I see the printer icon with a