Dynamic Error Message from a Bundle Showed in a rich:fileUpload

Hello.
There is a way to show a dynamic error message from a bundle (i.e, There is a problem in the word {0} in line {1}.) in a rich:fileUpload after the Managed Bean method in fileUploadListener="#{MyManagedBean.myMethod}" attribute was performed? That's because the error message parameters are discovered only after the MyManagedBean.myMethod execution.
As far I know, I'm able only to show a static message with transferErrorLabel="#{myBundle.myErrorMessage}" attribute.
Here is my rich:fileUpload component code:
  <rich:fileUpload id="upload"   
     fileUploadListener="#{PlanilhaManagedBean.importar}"  
     maxFilesQuantity="100" 
     immediateUpload="true" listHeight="130" acceptedTypes="xls"  
     addControlLabel="#{bundle.geralProcurarArquivo}" 
     ontyperejected="alert('#{bundle.geralExtensaoInvalida}')"    
     cancelEntryControlLabel="#{bundle.geralCancelar}" 
     clearAllControlLabel="#{bundle.geralLimparTudo}"     
     clearControlLabel="#{bundle.geralLimpar}" 
     doneLabel="#{bundle.geralArquivoTransferidoComSucesso}"  
     progressLabel="#{bundle.geralTransferindoArquivo}" 
     stopControlLabel="#{bundle.geralParar}"  
     stopEntryControlLabel="#{bundle.geralParar}" 
     transferErrorLabel="#{bundle.geralErroNaTransferenciaDoArquivo}" /> Any idea?
Thanks in advance.

Hi, BalusC. Thanks for your reply.
I already tried that. I put a navigation-rule in faces-config.xml to the same page of the rich:fileUpload, but the rich:fileUpload component doesn't starts a get or a post request. So the navigation-rule is ignored and the page wasn't rendered again.
I also tried to put the <a4j:support ...> in the rich:fileUpload to re-render the <h:messages ...> component, but didn't work too. The <h:messages ...> wasn't re-render.
Thanks in advance.
Edited by: reolca on May 10, 2009 5:40 AM

Similar Messages

  • How to display Image as Error instead of Error Message from Resource Bundle

    hi,
    I want to display images as error instead of error message from Application Properties in struts1.1
    Ex:
    I want to prompt a user to type password length min. of 6 char. If failed, need to show simple image as error rather
    "Length should be min. 6".
    reagrds
    parthiban.

    BalusC wrote:
    RahulSharna wrote:
    in the respective resource bundle modify the value by something was below
    error.password.length=<img src="/images/password-Length.gif" alt="Password Length Issue" align="center"/>
    OK, it apparently allows HTML in error messages.Yes struts allows it :)

  • A way to display error messages from the program

    Dear all,
    I am looking forward to display a set of error messages(in a internal table) during the execution of the program to the user.
    I wanted to know the better way of displaying error messages from my program with more options.
    Well I tried out using displaying errors as ALV list/Grid or as simple list processing.
    But I found some  stanadard transactions (Like in MM and FI  where errors are shown in a better way, but failed to find out how they are done.
    Please guide me.
    Thanks in advance
    Aryan

    Try to use application logging it has a very good way to display a set of messages.
    [http://abap4.tripod.com/Using_Application_Logging.html|http://abap4.tripod.com/Using_Application_Logging.html]
    Run this report in se38 an example sap report to understand logging way to show a set of messages
    Report Name  :  SBAL_DEMO_01
    Edited by: Vighneswaran CE on Dec 19, 2010 3:01 PM
    Edited by: Vighneswaran CE on Dec 19, 2010 3:11 PM

  • On starting up firefox i am getting an error message from javascript application telling me that my username is an invalid username/password combination.If i continue to get this error message,try entering my email address as my username.

    Hi,on starting firefox which i have used solely as my browser for years i am now getting an error message from java script application that shows my username followed by a message saying; 'username'-Invalid username/password combination.If you keep getting this error,try entering your email address as your username'. I then press the OK button within that error message box and it dissapears and everything seems ok although hover my cursor over the mail(envelope) icon and it says not connected.
    I only started having this problem since downloading firefox 4.It also does not tell me where this problem is occuring so i do not know where to log on with this information.I would be most grateful for any help with this matter.Many thanks.

    Take a look in the Error Console for details about that.
    Tools > Error Console <br />
    Right-click the message and use '''Copy''' to get that complete message.

  • Cancel System Error Messages from RWB

    Hi All,
    I have nearly 3000 messages those were got System Error in Integration Engine process, but when i check messages in SXMB_MONI all are success and written to target folders also.There is no problem absolutely.
    Now i just want to cancel those System Error messages from RWB--Message Monitor to keep system green and do not want to see those system error messages again.
    Iam not able to cancel those messages from RWM, it is saying that User and pwd incorrect but iam providing correct one only.
    I went to details of that system error message from Message Monitor, i took message id and filtered with that in SXMB_MONI. i got the message with error state.Iam able to cancel that from MONI but not from RWB which is fine and disappearing from RWB list.
    the thing is i can't copy each and every message id by opening details button for every message
    How can i proceed for this. please advice me
    REgards

    Hi Ravi,
    For example iam able to see system error message in RWB--Message Monitor under Integration Engine at 9:30
    when i execute SXMB_MONI for the same time and see, there is no error message for that able to see success.
    When i took message id from RWB--message monitor and filter that in MONI means it is showing me the error message.
    I can able to cancel it from MONI which is fine. but this way i have 3000 messages in RWB--Message monitor under IE.
    How to copy and paste then filter those error messages in MONI???this is pain process to copy each and every one by one
    Iam not able to get those if i filter with the status group as System Error manual Restart Possible criteria
    Regards

  • When I use the shortcut to open a new window in safari (command N), I get a 404 error message from Google. How do I change where 'Command N' routes to?

    When I use the shortcut to open a new window in safari (command N) on my Macbook Pro, I get a 404 error message from Google. How do I change where 'Command N' routes to? 

    It's not necessary to change the Command N keystroke..
    From your Safari menu bar click Safari > Preferences then select the Privacy tab.
    Click:   Remove All Website Data
    Then delete the cache.
    Open a Finder window. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following
    ~/Library/Caches/com.apple.Safari/Cache.db
    Click Go then move the Cache.db file to the Trash.
    Quit and relaunch Safari to test.
    If that didn't help, troubleshoot Safari extensions.
    From the Safari menu bar click Safari > Preferences then select the Extensions tab. Turn that OFF, quit and relaunch Safari to test.
    If that helped, turn one extension on then quit and relaunch Safari to test until you find the incompatible extension then click uninstall.

  • How do I get received messages from others to show up on my different Apple devices, such as my iPhone

    How do I get received messages from others to show up on my different Apple devices, such as my iPhone or iPad or iPod Touch, etc. I can see their reply on the device I was using at that moment but not on the other devices even iMessaging is turned on. Is there a way to refresh to incoming messages when one picks up one of their other Apple devices?

    Hi there lkbluntzer,
    You may find the information in the article below helpful.
    Send and receive messages
    http://help.apple.com/iphone/7/#/iph01ac18d71
    See what time a message was sent or received. Drag any bubble to the left.
    -Griff W. 

  • I am unable to print PDF's using either Adobe Reader or Safari. In Adobe Reader, I get an error message from my Cannon printer that says, "/usr.libexec/cups/filter/pstocupsraster failed". In Safari, I can only print the first page of a PDF.

    To try to resolve this problem, I have done the following actions.
    1 - I have run Disk Warrior.
    2 - I have repaired permissions.
    3 - I have deleted all plist that are either Cannon or Adobe.
    4 - I have downloaded and installed the lastest versions of Adobe Reader and the Cannon printer drivers.
    I am still unable to print PDF's.
    In Safari, I can print only the first page. In a multipage PDF, Safari only seems to recognize the first page.
    In Adobe Reader, I get an error message from my printer: "/usr/libexec/cups/filter/pstocupsraster failed".
    Any help would be greatly appreicated!

    Quit Safari.
    Open the Library folder in your home folder as follows:
    ☞ If running OS X 10.7 or later, hold down the option key and select Go ▹ Library from the Finder menu bar.
    ☞ If running an older version of OS X, select Go ▹ Go to Folder… from the Finder menu bar and copy the line below into the text box that opens:
    ~/Library
    Delete the following items from the Library folder:
    Caches/com.apple.Safari/Cache.db
    Preferences/com.apple.quicktime.plugin.preferences.plist
    Preferences/QuickTime Preferences
    Relaunch Safari and test.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ If you’re running OS X 10.7 or later, open LaunchPad. Click Utilities, then Console in the page that opens.
    Select "/var/log/cups/error_log" from the file list. Post the messages from the time of the last printing attempt.
    Post the log text, please, not a screenshot. If there are runs of repeated messages, post only one example of each. Don’t post many repetitions of the same message.

  • Error message from the source system, Caller 09 contains an error message.

    Hi,
        Guru's, i got an error massage when my process chain is running(Daily) in BIW 7.0, the error got in Data Loading from source to PSA or data targets. The errors having the below details
    Error message from the source system
    Diagnosis
    An error occurred in the source system.
    System Response
    Caller 09 contains an error message.
    Further analysis:
    The error occurred in Extractor .
    Refer to the error message.
    Procedure
    How you remove the error depends on the error message.
    Note
    If the source system is a Client Workstation, then it is possible that the file that you wanted to load was being edited at the time of the data request. Make sure that the file is in the specified directory, that it is not being processed at the moment, and restart the request.   "
    Can any body help me out of this situation what to do and how to resolv ethe problem.
    Thanks and Regards,.
    Taps....

    Caller 09 is a very common issue - please search the forums before posting....
    Arun

  • Error message from source system

    Hi All,
    We have an infocube and ods which is being loaded from another ods. This is included in a process chain.
    In the process chain the Infopackage execution step has failed. When I right click and go for display messages, I found the following message in Messages tab:
    Error message from the source system
    Diagnosis
    An error occurred in the source system.
    System response
    Caller 09 contains an error message.
    Further analysis:
    The error occurred in Extractor .
    Refer to the error message.
    Procedure
    How you remove the error depends on the error message.
    Note
    If the source system is a Client Workstation, then it is possible that the file that you wanted to load was being edited at the time of the data request. Make sure that the file is in the specified directory, that it is not being processed at the
    And in Indiv Messages tab,
    Delta upload is only possible after successful initialization.
    Errors in source system.
    I tried to update the data targets from the initial ODS manualy but in vain.
    Any Help is awarded with points.
    Thanks
    AP

    Hi,
      Goto Info pack -> on menu bar select scheduler -> select init options for source system -> one request with green status -> select it and  click on delete symbol , it will delete the init. you can cross verify this in the base ODS where you dint find data mart status(after refresh). now  select init delta process under that select init without data transfer and schedule the load it will update one record and init flag to your source ODS.
    Note: if the last request is not updated from soruce ods to targets for that also you will find data mart status for this select the particular data mart -> click on delete symbol it will delete for the particular request (if it is updated to target it will not allow you to delete) then do delta load it will update the request which is not loaded from source ods to next targets.
    Regards
    Sankar

  • Error Message from  SAP GUI

    Hi,
    I have designed a Custom screen for one of my requirements. However when the screen is displayed, I am facing an error message from SAP Front End Server that  says " Erroneous data received from server. Application may not work correctly".
    What could be the reason ?
    Thanks & Regards,
    Venkatesh.

    Hi,
    Please check the belos SAP notes
    1453114    Maximum string length
    1161022    Dialog box "Erroneous data received from server"
    1524462 - Erroneous Data received from server. Application may not work correctly.
    Regards,
    Naveen.

  • Error message from Adobe Reader. cannot extract the embedded font 'LICCMC+MyriadPro-Light'. some characters may not display or print correctly. Print looks like gibberish

    Trying to view/print PDF documents from website. Print looks like gibberish and is unreadable. Problem is with the embedded fonts. Error message from Adobe says cannot extract the embedded font 'LICCMC+MyriadPro-Light'. some characters may not display or print correctly.

    Try Adobe support, that's not a Firefox support issue. <br />
    http://forums.adobe.com/index.jspa

  • Error message from Internet Explorer v8.0.6

    My Muse test site is currently on Business Catalyst. The url is http://wfax-test.businesscatalyst.com — my client says that they get an error message from Internet Explorer version 8.0.6 "MuseJSAssert: error calling selector function: error: a security problem occurred". The good news is that this only appears on the "Schedule" page of the site. Any idea what it could be? My client is afraid for me to put the site online because of this error message.

    Hi Artby,
    In your page, you have a link to "http://[email protected]//[email protected]" (Saturday Afternoon at 3:00). This link is technically a valid link, but I'm not sure it is what you intended. If you where looking to create an email there, you should remove the http:// in front of the link and Muse should properly create an email link. If you were trying to go to a website, I'd recommend you check the URL again to make sure you have it right.
    The link is throwing a security error because we have to do some extra processing for some of our links, so we check each of the urls and try to determine if there is extra logic we need. In this case, this link is telling the browser you'd like to "login" to the site qemi.org with the username "apostle". IE 8, by default, will block us from reading information from this type of link in case there is a password, or in case we shouldn't know the username. It is a security measure (thus the error) and should pose no risk.
    If you did intend to have that URL, then this won't quite work at the moment in Muse. To work around this, you could pull out this small snippet into a custom HTML element or something, which Muse won't try and process (though you'd need to remove the class "nonblock" from the link if you copy/pasted the Muse export code).
    Hope that helps,
    Andrew

  • Error message from ABAP to BW portal

    Hi
    I need to write error message from ABAP to BW portal.
    If I write as usual: message E001(ZBW).
    Then I get a dump in portal.
    Does anyone know how to post error message in this case?
    Thanks.

    Hi,
    You need to use the function module RRMS_MESSAGE_HANDLING to post any kind of messages in the report output/web template or portal.
    You can pass the values trough the below parameters:
                  I_CLASS  = 'ZBW'
                  I_TYPE   = 'W'
                  I_NUMBER = '006'
    Regards,
    Shilpa

  • Error message from ABAP to portal

    Hi
    I need to write error message from ABAP to BW portal.
    If I write as usual: message E001(ZBW).
    Then I get a dump in portal.
    Does anyone know how to post error message in this case?
    Thanks.

    Hi
    Good
    Check the below sdn link.
    portal runtime error in BW
    Thanks
    mrutyun^

Maybe you are looking for

  • Listening to Ipod library on other computer

    Is it possible to connect my ipod to another computer and listen to my library through it's itunes? without changing my library? Thanks

  • Bank statement giving error while processing

    hi gurus, while processing the manual bank statement the system gives me an error " g/l account  10 does not exist ". how can sort dis error out. help best regards sayeed

  • ORA-19507 when restoring pfile from autobackup

    Hey, We're testing our disaster recovery process and recently installed netbackup 5.1 on a AIX 5.3 server. Our database is 10.2.0.4. We've imported the tapes, seemingly successfully. Now we are trying to restore the pfile from an autobackup of the sp

  • SAP XI Step by Step Learning Documnets

    Hi Friends, I want to learn SAP XI so please suggest me good documents. So i could easily understand and gave me proper guidance to start step by step XI learning phase. Thanks Amit

  • How do you set up iTC for two Different versions of the same app?

    I have been reading the iTC Developer Guide searching for the answer to this question, but so far I have found nothing that would help.  I plan on having a Lite and a Pro version of my app, and I may also have an iPad version as well. I have seen som