h:messages  question

Hi,
I'm using JFS with RAD V6.0 and I have a form where I used the <h:messages component to display error messages. The problem that I'm having is if I do something on me bean and I display an error it display correct but if after the error displays I refresh the form it goes away is there a way to keep the error in there until I get suceess.
thaks

If you access the FacesContext you find a method called
getMessages()
Return an Iterator over the FacesMessages that have been queued, whether or not they are associated with any specific client identifier.

Similar Messages

  • SOAP-RPC-MESSAGE-question

    Hi all, i already posted this in "performance" group also. I have 3
    question.
    1. What will be the stability or what will happen if thousands of Client
    request hits the Soap-Servlet(that parses the client's soap xml message) at
    one point of time in both RPC(Remote Procedure call) and Message-style
    weblogic web-service structure? Is it going to create thousands of
    Soap-servlets(One soap-servlet per call)? If one soap-servlet handles
    everything, then what will be its scalability and performance?
    2. How will be the response or what will be the response send back to the
    client in Message-style webservices when the soap-servlet finds an error in
    the XML message comming from a client? Because Message-style is one-way. If
    we need response, then we have to create a seperate webservice call using
    seperate client, soap-servlet, jms queue. So, how come the response client
    waiting for the message get the response if any error happens on the
    soap_servlet of the client request?
    3. Should always the StatelessSessionBean be the entry point in RPC style?
    Why not an entitybean directly? Why statelessSessionbean only?
    4. Is there more details about this in the documentation other than this
    "http://e-docs.bea.com/wls/docs61/index.html" site?
    Thanks in Advance
    Elangovan

    Yes I think your app will perform better using remote objects, there's 
    a great app to test that named Census you can get it and do your own 
    tests or play with it on James Ward's blog.
    Sincerely,
    Michael
    El 22/04/2009, a las 12:24, ijmarrero <[email protected]> escribió:
    >
    We are developing a middle sized application using Flex and Axis 
    Webservices. On the client side we AS code generated using Flex 
    Builder 3.0 and the WSDL. On the server side we have Java  code 
    generated with Axis 1.3 using the same WSDL. The problems occurs 
    when the server sends a 290Kb response to the Client. Flex spends 10 
    seconds (obtained from mx.rpc.* log facility) in deserialing this 
    SOAP message. My question is:
    >
    ¿Could I improve the performance of the deserialization?
    >
    Due to the fact that this is an unaceptable delay and that we have a 
    code of 70.000 lines ¿what choices we have? ¿Should we use remote ob
    jects?
    >
    Thank you
    >

  • Nokia N80 move messages question

    I was toying with my message settings a bit, and I found the option to change the location where messages are stored. I changed it to my memory card, but as I was doing that, I decided it might be best not to do that in case I switch memory cards or whatever. At that very moment I was presented with the question 'Do you want to move your messages to the memory card?' or something like that. As I wanted to restore the settings, I selected 'no'. However, I remembered one thing: all bluetooth messages were stored in the phone memory (iirc), which means I cannot receive big files on my 2GB card. As I'd probably not change memorycards anyway, it suddenly seemed a good idea to have my messages stored on the memorycard. However, when I select my memorycard now, I am not presented with that question anymore :/ The only thing it does is set the message storing folder to my sd-card, but not only that, it also only reads from that location. I cannot read any messages from my phone memory, and after switching back to the phone memory, I figured out I could not manually move them either. Does anyone know a solution to this problem? I'm using the 3.0617.0.6 firmware.

    I think you'll only get this option once.
    One way is, change the mem to SD card then connect the phone to your PC and it *should* move everything over for you.
    Does for me when the phone crashes, forgets the mem card and I have messages in both locations!
    Orange Handsets : Nokia 51 > NK702 (6130) > 6210 > 6310i (silver)> 7210i > 6230 > 6230i (silver) > N80 (silver) > N95-1
    T-Mobile: N96

  • Wiped Drive Message Question

    Hi,
    this may seem like an odd question but I'm doing research for a Television series and need show what a basic error message would look like on a MacBook pro after the device drives and operating system had been wiped.
    The character starts up the laptop and it would show a command line error. I want to show this simply as a prompt and wanted the message to look correct.
    This is some Windows code as an example.
    C:\>mkdir con
    The directory name is invalid.
    C:\>
    Hoping someone can help.
    Thanks
    Jason

    Yes, there is a difference. Apple is being more picky as to what systems the Installation DVDs will install to. There are many reasons for this (some valid and some no so much) apart from wanting to annoy you.
    As mentioned your best bet is to get replacement DVD(s) for your MBP from AppleCare. They'll cost you around $US20-30 if you don't have them elsewhere. You could always find someone else with a Core Duo model and use their DVDs.

  • International Messaging Question

    I have a 5C that is going to Belize also with the More Everything plan.  What costs are associated with a text originating in the USA and received in Belize.....and also originating in Belize and received in USA?

        Hi defendthehill!
    I hope you have a safe trip! The More Everything plan allows you to send up to 200 messages internationally while you are in the United States. However, per message rates apply while traveling internationally. To view our international rates visit:http://vz.to/1nX2laJ. We are here if you have any additional questions or concerns.
    Thanks,
    Ayani_VZW

  • Access Server-SAP IDOC Message Question

    Hi.
          We have configured an access server to receive realtime IDOC messages from SAP. Required configuration has been done on the BODS side:
    On Web admin console for RFC client configuration and real-time service configuration
    On the SAP RFC Connection, logical system, and partner profile setup side.
    Issue is on the SAP side it shows message was sent successfully where as on the BODS side the message received count is 0.
    Any insights any one can share regarding how to troubleshoot this issue would be really appreciated
    Thanks
    Rajiv

    Thanks. It was an IDOC mismatch error.
    Now we do have correct IDOC mismatch but to me now it seems to be a data issue now.
    I have the real-time job and I am getting the following error when I view Access server logs.
    SP(PPROLL01, l1.no.com:3500)::flowThread() Flow became invalid during waiting for request (BODI-300137)
    Unknown: R3RfcClient(NewR3Rfc_1) ActaIDocFunc::Process() encountered processing error for Requeste(4) (Communication Error. See real time job log for details.) (IDOC 0000000000209266/RPD210    ). (BODI-300129)
    Real time job log does not show any thing in the error log other than the trace log which shows:
    DATAFLOW: Cache statistics determined that data flow <DF_ZFII034_PPAYROLL01_TEST_RT> uses <0> caches with a total size of <0> bytes. This is less than(or equal to) the virtual memory <3757047808> bytes available for caches. Statistics is switching the cache type to IN MEMORY.
    To check if the mapping is valid I created another batch job using the same IDOC as used in the real-time job above but BODS gives me a generic error. I had all tracing enabled even then it gave a generic error.
    458946     1     RUN-050505     08/09/2009 3:45:25 PM     |Dataflow DF_SAP_BATCH_V1|Transform Q1-Nest1
    458946     1     RUN-050505     08/09/2009 3:45:25 PM     Unknown error in transform <Q1-Nest1>.
    All the fields in the input are varchar or date type and the repository database and staging database is oracle 10G.
    Thanks for the help,
    Rajiv

  • Crash message question

    I imported a 34:33 video clip I ripped using Handbrake from a user made DVD.  The video seems to import correctly into Premiere CS5.  When I drag the clip into the source box Premiere crashes after giving this error message: [/Scully64/shared/adobe/MediaCore/ASL/Foundation/Make/Mac/../../Src/Timecode.cpp-1077]  Is this a settings issue?  Any ideas?

    The mp4 I am tryiing to import and use in Premiere plays fine on Quicktime.  It's a 35 minute video and evidently it's too big to fit on my dropbox account.
    Wouldn't an invalid timecode or framerate in the source video cause an error and not play in Quicktime?  Charles won't be looking into it until Tuesday so anyone else please feel free to help out.  Input is appreciated as I am on a deadline.
    I used handbrake to rip the DVD and save as an mp4.  There are some framerate settings I can change.  I used variable framerate (as opposed to constant framerate) and set it "same as source" (which I believe is 29.97 NTSC). I am now converting the video with "constant framerate" checked.

  • Selection screen error message question

    On a selection screen, I have a selection-options for kunnr. If the user enters other than 100001 or 100002 or 100003 for this field, I want to display a error message. How do you do that? Can you please provide a sample code for this?
    Thanks a lot.

    hi,
    Try this code
    tables : kna1.
    data: begin of it_kna1 occurs 0,
              kunnr like kna1-kunnr,
           end of it_kna1,
           v_fnd.
    select-options : s_kunnr for kna1-kunnr.
    at selection-screen on s_kunnr.
       select kunnr from kna1
                    into table it_kna1
                   where kunnr in s_kunnr.
       if sy-subrc = 0.
          read table it_kna1 with key kunnr = '0000100001'
                             binary search.
          if sy-subrc <> 0.
            read table it_kna1 with key kunnr = '0000100002'
                               binary search.
            if sy-subrc <> 0.
              read table it_kna1 with key kunnr = '0000100003'
                                 binary search.
              if sy-subrc = 0.
                v_fnd = 'X'.
              endif.
            else.
              v_fnd = 'X'.
            endif.
          else.
            v_fnd = 'X'.
          endif.
       endif.
      if v_fnd = ' '.
        message e000(zz) with 'Invalid customer'.
      endif.
    regards,
    Sailaja.
    Message was edited by: Sailaja N.L.

  • Javac message question

    Hi,
    I'm having trouble understanding why the compiler is refusing my code. I think the reason might be in how I've set up the classpath, but anyway there is a message I don't understand. Here is the message:
    [javac] C:\surveys\mbq3_03\misc\mb_javascript\src\UrlManager.java:85: inco
    mpatible types
        [javac] found   : java.sql.Connection
        [javac] required: Connection
        [javac]                     con   = DriverManager.getConnection(dbUrl);
        [javac]                                                            ^Why is it not accepting the java.sql.Connection? (The dbUrl above is String)
    Bellow is how my class starts and also the complete output from the compiler.
    Thank you.
    Dimitre
    =======================
    import java.util.*;
    import java.util.regex.*;
    import java.io.*;
    import java.sql.*;
    import org.apache.log4j.*;
    //A simple application to manage the trigger urls for the
    //mb survey. The urls come with some additional parameters.
    //No multythreading.
    public class UrlManager {
         private static Logger log;
         static{
              PropertyConfigurator.configure(System.getProperty("LOG4J_PROPS"));
              log = Logger.getLogger("debug");
         public static void main(String[] args){
              //args[0] should be the full name of a tab delimited file
              //with the new and updated urls
              //When split into String[] this is what each line should be like:
              //[0] - nothing
              //[1] - module id
              //[2] - module name
              //[3] - nothing
              //[4] - rate
              //[5] - nothing
              //[6] - expiration
              //[7] - url_address
              //[8] - isDynamic
              //[9] - isLive
              //args[1] if present should be un output file for a report
              int MODULE_ID_INDEX = 1;
              int MODULE_NAME_INDEX = 2;
              int RATE_INDEX = 4;
              int EXPIRES_INDEX = 6;
              int URL_ADDRESS_INDEX = 7;
              int IS_DYNAMIC_INDEX = 8;
              int IS_LIVE_INDEX = 9;
              if(args.length < 1){
                   System.out.println("args[0] must be a tab delimited file with the urls.");
                   System.out.println("Fix the 'argument01' in the build.properties file.");
                   return;
              PrintStream report = null;
              if(args.length < 2){
                   System.out.println("Using System.out for report output.");
                   report = System.out;
              }else{
                   try{
                        report = new PrintStream(
                                                 new BufferedOutputStream(
                                                      new FileOutputStream(args[1])));
                        System.out.println("See log information in: " + args[1]);
                   catch(IOException e){
                        System.out.println("Using System.out for report output. See log for info.");
                        log.info(e.toString());
                        report = System.out;
              log.info("Updating the mb urls with the data in: " + args[0]);
              System.out.println("Updating the mb urls with the data in: " + args[0]);
              try{
                   Class.forName("com.mysql.jdbc.Driver").newInstance();
              catch(ClassNotFoundException e){log.info(e.toString());}
              catch(InstantiationException e){log.info(e.toString());}
              catch(Exception e){log.info(e.toString());}
              //the 'mb_urls' is the name of teh database that holds the urls
              String dbUrl = "jdbc:mysql://localhost/mb_urls?user=mitirino";
              Connection con  = null;
              Statement stmnt = null;
              try{
                   con   = DriverManager.getConnection(dbUrl);
                   stmnt = con.createStatement();
    .......====================
    And here is what I get when I try to compile...
    ====================
    C:\surveys\mbq3_03\misc\mb_javascript>ant clean compile run
    Buildfile: build.xml
    init:
         [echo] ------- TriggerUrl -------
         [echo] JAVA_HOME: C:\j2sdk1.4.1_01
         [echo] CLASSPATH: .;C:\jakarta-log4j-1.2.7\dist\lib\log4j-1.2.7.jar;C:\jai-
    1_1_2-rc\lib\jai_codec.jar;C:\jai-1_1_2-rc\lib\jai_core.jar;C:\jai-1_1_2-rc\lib\
    mlibwrapper_jai.jar;C:\java\MachineVision\neatvision.jar;C:\java\MachineVision\d
    eveloper.jar;
    clean:
       [delete] Deleting directory C:\surveys\mbq3_03\misc\mb_javascript\classes
    init:
         [echo] ------- TriggerUrl -------
         [echo] JAVA_HOME: C:\j2sdk1.4.1_01
         [echo] CLASSPATH: .;C:\jakarta-log4j-1.2.7\dist\lib\log4j-1.2.7.jar;C:\jai-
    1_1_2-rc\lib\jai_codec.jar;C:\jai-1_1_2-rc\lib\jai_core.jar;C:\jai-1_1_2-rc\lib\
    mlibwrapper_jai.jar;C:\java\MachineVision\neatvision.jar;C:\java\MachineVision\d
    eveloper.jar;
    prepare:
        [mkdir] Created dir: C:\surveys\mbq3_03\misc\mb_javascript\classes
    compile:
        [javac] Compiling 1 source file to C:\surveys\mbq3_03\misc\mb_javascript\c
    lasses
        [javac] C:\surveys\mbq3_03\misc\mb_javascript\src\UrlManager.java:85: inco
    mpatible types
        [javac] found   : java.sql.Connection
        [javac] required: Connection
        [javac]                     con   = DriverManager.getConnection(dbUrl);
        [javac]                                                            ^
        [javac] C:\surveys\mbq3_03\misc\mb_javascript\src\UrlManager.java:86: cann
    ot resolve symbol
        [javac] symbol  : method createStatement ()
        [javac] location: interface Connection
        [javac]                     stmnt = con.createStatement();
        [javac]                                    ^
        [javac] C:\surveys\mbq3_03\misc\mb_javascript\src\UrlManager.java:115: can
    not resolve symbol
        [javac] symbol  : method close ()
        [javac] location: interface Connection
        [javac]                                     con.close();
        [javac]                                            ^
        [javac] C:\surveys\mbq3_03\misc\mb_javascript\src\UrlManager.java:159: can
    not resolve symbol
        [javac] symbol  : method prepareStatement (java.lang.String)
        [javac] location: interface Connection
        [javac]             PreparedStatement addUrl = con.prepareStatement("" +
        [javac]                                               ^
        [javac] C:\surveys\mbq3_03\misc\mb_javascript\src\UrlManager.java:164: can
    not resolve symbol
        [javac] symbol  : method prepareStatement (java.lang.String)
        [javac] location: interface Connection
        [javac]             PreparedStatement addModule = con.prepareStatement("" +
        [javac]                                                  ^
        [javac] C:\surveys\mbq3_03\misc\mb_javascript\src\UrlManager.java:230: can
    not resolve symbol
        [javac] symbol  : method prepareStatement (java.lang.String)
        [javac] location: interface Connection
        [javac]             PreparedStatement getUrls = con.prepareStatement("" +
        [javac]                                                ^
        [javac] 6 errors
    BUILD FAILED
    file:C:/surveys/mbq3_03/misc/mb_javascript/build.xml:29: Compile failed; see t
    he compiler error output for details.
    Total time: 9 seconds

    No (I think so). But it doesn't matter see...Yes, it does matter. The compiler is saying "Look, on the right-hand side of the = you have a java.sql.Connection reference, and on the left-hand side you have a Connection variable, and you can't do that assignment."
    That means the compiler has decided that Connection does not mean java.sql.Connection, it means something else in the classpath. If there was another Connection class in a named package, you would be getting messages about conflicts (like if you import java.util.* and java.sql.* and then try to use Date). So this other Connection class must be in an unnamed package.

  • IMAP backup / sent messages question

    I have 6050 messages in my sent Mail mailbox, but only 2905 messages in my Library>Mail>Mialboxes>Sent Messages.mbox>Messages folder. Why is this?
    Does this mean I have no back-up of these 3000 missing messages?
    Can I easily make a full backup of all my mail messages sent and received?
    On the .mac server I have 3100 sent messages - shouldn't this be the same number as my sent mailbox in mail? I'm only using half of my alloted server space.
    Any help or insight would be greatly appreciated

    Hi Recto.
    I believe it's me who "disappeared" from the other thread -- Not sure why. Sorry for that.
    The thing is, this could be a Mail IMAP issue that you can do little or nothing about (maybe that's why I didn't reply). Here are two threads where similar issues have also been discussed (they refer to each other in some of the posts):
    IMAP Deleted Messages AND Unread Messages
    IMAP deleted mail won't stay deleted...
    BTW, do you have any Mail plugins? In the Finder, go to each of the following folders (if they exist). What do you see there?
    /Library/Mail/Bundles/
    ~/Library/Mail/Bundles/
    Note: For those not familiarized with the ~/ notation, it refers to the user's home folder. You can easily locate any of the folders referred to in this post by copying the file path here, doing Go > Go to Folder in the Finder, and pasting the file path there.

  • Pop up message question

    Hi all,
    How do I generate a pop up message that will stay open until a digital boolean is received from DAQmx. Then it should be turn off.
    Thanks
    Dan

    You could use an action engine, see this example:
    Message Edited by jmcbee on 03-18-2009 10:44 AM
    CLA, CLED, CTD,CPI, LabVIEW Champion
    Platinum Alliance Partner
    Senior Engineer
    Using LV 2013, 2012
    Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
    Attachments:
    Display Busy Popup 85.zip ‏35 KB

  • Album Artwork message question

    I'm in the process of uploading many CDs to iTunes and I selected the "Do not show this message again" button on the Artwork for "Artist - Album" could not be found. I cannot see where to re-enable this. Is this possible?
    Thanks in Advance

    A number of these messages that can be turned off cannot be turned on again except by deleting your preference files, I assume this is one of them.
    Deleting the preference files takes ALL your preferences back to their default values, so watch out if you have set any special preferences.
    You don't say which operating system you are using, but assuming it is windows, the following articles about something else contain instructions for removing the preference files:
    XP version
    http://support.apple.com/kb/TS1421
    Vista version
    http://docs.info.apple.com/article.html?artnum=305491
    Look under the heading *Remove iTunes Preference files*

  • N95 Flashing message question

    The message symbol on N95 has just begun to flash. I have cleared all my data including the data in SIM message and it still is flashing and won't let me send or recieve messages. Any ideas....thanks

    do you have your data backed up and/or synced with outlook or something like that?
    when you pushed the red button,  be sure you pushed it for at least 3-5 seconds.
    do you have a copy of all the sis files for your applications and thier keys?
    if you cant get it working you may have to reflash your device.
    before you do,  try a *#7380# to reset your settings.
    if that doesnt work,  try reinstalling your entire OS with nokia software updater.   it would be easier to do a *#7370# but by using NSU it will actually download and install a fresh copy ensuring you get a good cophy on your device.

  • Text Messaging Question

    After the new download to my Motorola RAZR I noticed under my text messaging that when I responded to a text by another party that my picture didn't show up while texting. When I would touch the blank icon where my picture/face should be a small black tag would appear stating "The contact doesn't exist." Any help in resolving this issue would be greatly appreciated... Thanks in advance for your time and kind concern! Sincerely yours, One Happy Verizon Customer/Motorola RAZR user (BV1960)

    BV1960 wrote:
    After the new download to my Motorola RAZR I noticed under my text messaging that when I responded to a text by another party that my picture didn't show up while texting. When I would touch the blank icon where my picture/face should be a small black tag would appear stating "The contact doesn't exist." Any help in resolving this issue would be greatly appreciated... Thanks in advance for your time and kind concern! Sincerely yours, One Happy Verizon Customer/Motorola RAZR user (BV1960)
      If you look in the "People" app, there should be listed a "Me" at the top, with your info and picture there. Is that not there?

  • Mobile to mobile messaging question

    I was thinking of changing my messaging plan from unlimited to 500 plus unlimited M2M. But does the unlimited M2M include picture/video messaging?

    From the Verizon Plans area (Messaging)
    Text Bundles Includes Text, Picture, Video & Voice Messages
    250 text, picture, video, or voice messages¹
    $5/month/line
    500 texts¹ and Unlimited Mobile to Mobile Texting²
    $10/month/line
    5000 texts¹ and Unlimited Mobile to Mobile Texting²
    $20/month/line

Maybe you are looking for