Internationalization of Error Message

Hi, All
I am using Weblogic 6.1 SP1 and Portal Sever 4.0.
The requirement is all the site has to be internationalization.
Right now I am able to have both English and French for all
the static lable in my JSP by using <i18n:getMessage
messageName="main_lbl_service"/> and bundle property.
For all the data in the Oracle Database, I have created an filter
in JSP to get user specify language item, each item associated with
a language ID in Catalog.
My question is about the error message, like the message I want to
send to user after validation, those message has to be international.
Let say, in my Validator, I want to send different language message
to different user who is using French or Chinese. Can I use message
catalog that is provied by BEA, or I have to use bundle to get the
message in my validator? If yes, how can I access the BUNDLES
within my validator?
Thanks in advance!
J2EE

i am puting across the complete scenario of this problem.
I have created a simple widget to directly enter in the se38 transaction in SAP-ABAP.I have created 2 files.
My tra.sap file contains---System
Name="AD4"
Client="100"
User
Name="in016508"
Password="mandar"
Language=EN
Function
Command=SE38
Title=ABAP Editor
Type=Transaction.
And my se38.kon file contains --
<?xml version="1.0" encoding="UTF-8"?>
<widget version="4.5" minimumVersion="2.1">
<debug>off</debug>
<window title="Shortcut Widget">
<name>ShortCut</name>
<width>128</width>
<height>128</height>
<visible>1</visible>
</window>
<image src="winter.png">
<name>IconImage</name>
<onMultiClick>
filesystem.open("tra.sap");
</onMultiClick>
</image>
</widget>
After executing with the help of yahoo widget engine,the widget is not able to login in SAP sysytem and giving error message as--
Input field contains prohibited characters(already deleated).
If the user is already loged on the system then widget is running fine.
widget foundation is also installed on the system.
So what is the appropriate solution to this problem?

Similar Messages

  • New to Java and need help with error message!

    I have just installed the oracle jdbc driver and am now getting the following error message when trying to use the jbdc driver instead of the jdbc:odbc wrap driver...
    See com.borland.dx.dataset.DataSetException error code: BASE+47
    com.borland.dx.dataset.DataSetException: Chain of 2 or more Exceptions occurred
         at com.borland.dx.dataset.DataSetException.a(Unknown Source)
         at com.borland.dx.dataset.DataSetException.throwExceptionChain(Unknown Source)
         at com.borland.dx.sql.dataset.q.a(Unknown Source)
         at com.borland.dx.sql.dataset.Database.openConnection(Unknown Source)
         at com.borland.dx.sql.dataset.Database.createPreparedStatement(Unknown Source)
         at com.borland.dx.sql.dataset.o.a(Unknown Source)
         at com.borland.dx.sql.dataset.o.d(Unknown Source)
         at com.borland.dx.sql.dataset.o.f(Unknown Source)
         at com.borland.dx.sql.dataset.QueryProvider.e(Unknown Source)
         at com.borland.dx.sql.dataset.JdbcProvider.provideData(Unknown Source)
         at com.borland.dx.dataset.StorageDataSet.a(Unknown Source)
         at com.borland.dx.dataset.DataSet.a(Unknown Source)
         at com.borland.dx.dataset.DataSet.open(Unknown Source)
         at com.borland.dbswing.JdbTable.bindDataSet(JdbTable.java:2749)
         at com.borland.dbswing.JdbTable.setDataSet(JdbTable.java:819)
         at myframes.ClaimView.btnSQL_actionPerformed(ClaimView.java:279)
         at myframes.ClaimView_btnSQL_actionAdapter.actionPerformed(ClaimView.java:440)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
         at java.awt.Component.processMouseEvent(Component.java:5100)
         at java.awt.Component.processEvent(Component.java:4897)
         at java.awt.Container.processEvent(Container.java:1569)
         at java.awt.Component.dispatchEventImpl(Component.java:3615)
         at java.awt.Container.dispatchEventImpl(Container.java:1627)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
         at java.awt.Container.dispatchEventImpl(Container.java:1613)
         at java.awt.Window.dispatchEventImpl(Window.java:1606)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    Chained exception:
    javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:640)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
         at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:280)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at com.borland.dx.sql.dataset.q.a(Unknown Source)
         at com.borland.dx.sql.dataset.Database.openConnection(Unknown Source)
         at com.borland.dx.sql.dataset.Database.createPreparedStatement(Unknown Source)
         at com.borland.dx.sql.dataset.o.a(Unknown Source)
         at com.borland.dx.sql.dataset.o.d(Unknown Source)
         at com.borland.dx.sql.dataset.o.f(Unknown Source)
         at com.borland.dx.sql.dataset.QueryProvider.e(Unknown Source)
         at com.borland.dx.sql.dataset.JdbcProvider.provideData(Unknown Source)
         at com.borland.dx.dataset.StorageDataSet.a(Unknown Source)
         at com.borland.dx.dataset.DataSet.a(Unknown Source)
         at com.borland.dx.dataset.DataSet.open(Unknown Source)
         at com.borland.dbswing.JdbTable.bindDataSet(JdbTable.java:2749)
         at com.borland.dbswing.JdbTable.setDataSet(JdbTable.java:819)
         at myframes.ClaimView.btnSQL_actionPerformed(ClaimView.java:279)
         at myframes.ClaimView_btnSQL_actionAdapter.actionPerformed(ClaimView.java:440)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
         at java.awt.Component.processMouseEvent(Component.java:5100)
         at java.awt.Component.processEvent(Component.java:4897)
         at java.awt.Container.processEvent(Container.java:1569)
         at java.awt.Component.dispatchEventImpl(Component.java:3615)
         at java.awt.Container.dispatchEventImpl(Container.java:1627)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
         at java.awt.Container.dispatchEventImpl(Container.java:1613)
         at java.awt.Window.dispatchEventImpl(Window.java:1606)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    Here is the code causeing the error;
    void btnSQL_actionPerformed(ActionEvent e)
    try
    String GET_DATASET = txtSQL.getText().trim();
    Display("Executing...");
    try
    MyDisplayTable.setDataSet(null);
    catch (DataSetException ex)
    Display("ERROR 1: " + ex.toString());
    try
    queryDataSet1.close();
    catch (DataSetException ex)
    Display("ERROR 2: " + ex.toString());
    try
    queryDataSet1.setQuery(new com.borland.dx.sql.dataset.QueryDescriptor(
    database1, GET_DATASET, null, true, Load.ALL));
    catch (DataSetException ex)
    Display("ERROR 3: " + ex.toString());
    try
    if (!queryDataSet1.isOpen()) {
    queryDataSet1.open();
    catch (DataSetException ex) {
    Display("ERROR 5: " + ex.toString());
    try {
    queryDataSet1.refresh();
    catch (Exception ex) {
    Display("ERROR 5.5: " + ex.toString());
    try {
    Display("setDataSet");
    MyDisplayTable.setDataSet(queryDataSet1);
    Display("DONE setDataSet");
    catch (DataSetException ex) {
    Display("ERROR 6: " + ex.toString());
    Display("Query: ' " + GET_DATASET.trim() + " ' was executed successfully");
    catch (Exception ex)
    Display(ex.toString());
    Please let me know if more information is required. I am completely at a loss as to what more I need to do to get this to work using the new driver.
    Thank you all in advance,
    Malcolm Diaz
    Application Developer
    [email protected]
    PlanVista Solutions Inc.
    419 E.Main St.
    Middletown NY 10940
    845-346-2692

    this is more of a jdbc question rather than an internationalization. You might be able to get more help if you post it in java programming section.

  • Customising Error Messages in JHeadstart

    Hi All,
    I would like to customise some ADF JSF error message. I've got the error - JBO-25013: Too many objects match the primary key oracle.jbo.Key[ASGARD CBD ]. but would like to replace it with "Row already exists with same Cmp Id,Cmp Tran Type".
    I've followed the steps outlined in http://download-west.oracle.com/docs/html/B25947_01/bcadvgen008.htm#sm0462 and after recompilation and reganeration, the old error message still appears. Can you guys please help me with it? Thank you and have a nice day.
    Kind Regards,
    John

    Hi,
    Thank you for your reply but I'm a bit confused here.
    First, when you say 'open your JHS-Application definition generator' do you actually mean JHS Application Definition Editor (JADE)?
    Under the service node? I cannot see any 'service node' anywhere inside JADE. But I can see 'NLS Resource Bundle *' with the value of 'PAM0840_From_Designer.view.ApplicationResources'.
    Go to the above path? What above path do you mean?
    Uncheck OVERRIDE NLS entries? Do you mean uncheck the 'Override NLS Resource Bundle Entries?*' inside JADE under the 'Internationalization' section?
    Thank you for your advice.
    Kind Regards,
    John

  • JBO Error messages translation

    Hi,
    how can internationalize the JBO error messages?
    thanks

    In the online Help, go to the Developing Business Components book, click on Reference, and then click on BC4J Error Messages (it may be titled JBO Error Messages depending on which release you have).
    -Mario

  • Localizing Error Messages in OIM

    I was wondering if someone can tell me how to localize error messages in OIM. Is it as simple as adding the error codes to the property file, similar to UDFs?
    thanks

    There are out of the box error messages in OIM that i see in the Design Console.Example:
    Key - 395
    Code - DOBJ.USR_INVALID_EMAIL_FORMAT
    Description - Specified Email Format is Invalid.
    I'm assuming this is what is shown to the user when they do not enter in a valid email value. Is it possible to localize/internationalize that to another language like Spanish or French?

  • Standart error messages translations

    Is it possible (how) to translate error messages after incorect data input?
    The date specified is invalid (format or value range is wrong). The following formats are possible: 11/25/2008

    Hi,
    The messages which are stored in Message Pool can be translated to any language by creating a copy of the original .xlf file and renaming with the desired language key. To achieve this follow the steps below:
    1. Add a message in the message pool of your WD project (eg: please enter the name)
    2. switch to the navigator perspective and navigate to the src folder under which u will see .xlf files generated for views, message pools and simple types
    3. The .xlf file for the message pool will be the same name as the component name (eg: <componentname>MessagePool.xlf)
    4. copy the .xlf file and paste, which will prompt you to change the name.
    5. rename the file with the code of the language which u want to translate
    eg: if you want to translate to 2 languages, German and French, then the file name will be
    <componentname>MessagePool_de.xlf for German and <componentname>MessagePool_fr.xlf for French
    6. Reload your project, Create archive and run the application.
    7. In the Internet Explorer, change the language by navigating to tools>internet options>languages
    8. One the new language is added, close the browser and re-launch the application again.
    for further reference, check the link below:
    http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/wdjava%20archive/internationalization%20of%20web%20dynpro%20applications.pdf
    Regards,
    Poojith MV

  • Validator error message works with ResourceManager

    Hi,
    I'm implementing the internationalization feature. But i
    found a problem as following:
    If I set the error message from .mxml like this:
    <mx:StringValidator id="streetValidator" required="true"
    source="{streetAddress1}" property="text"
    requiredFieldError="{resourceManager.getString('messages',
    'addressForm.country')}"/>
    it works correctly when i change locale. But if i set the
    error message from action script like this:
    view.streetValidator.requiredFieldError =
    resourceManager.getString("messages",
    "validation.validator.requiredFieldError");
    it cannot update error message content along with the new
    selected locale.
    Could someone tell me why or i do something wrong?
    Thank in advance
    Ringo

    those symptoms are both consistent with a problem with your QuickTime (itunes uses QuickTime for audio and video playback) ... although a few other things can occasionally cause them.
    let's first try the following document with that:
    iTunes 7 for Windows: iTunes had detected an audio configuration problem

  • Windows Vista: Ipod Error Message, no longer read by PCs

    Hello,
    I have a 5th generation black ipod video with 30GB of memory.
    The other day I hooked it up to my laptop (Toshiba, 4 months old) that it's been functioning on with no problems whatsoever. This weird error message flashed twice about it not being able to sync because of some software problem.
    Eversince then, the only thing I can charge my ipod on is the family treadmill in the basement (~_~) as no other computer in the house recognizes it. I can't even charge it through the wall sockets, either.
    I have changed the ipod cord, still no luck. I've also reset the device about 3 or 4 times and uninstalled, restarted the laptop then reinstalled itunes. I would like to reset it back to factory settings but that's impossible as computers/laptops don't pick it up. I live very far from a Mac store...
    What's a girl to do? I can't live without my Busta Rhymes and Wu-Tang Clan!
    Any advice would be greatly appreciated! Thanks!

    you have to update Vista go to this site and up-date http://windowsupdate.microsoft.com

  • Error message into a Variable.

    Dear users,
    I have a rather usual (unusual from the weekend beers for me though!!) query which I can't figure out a proper way to implement.
    My requirement is like this:
    I have a message class in which I want to define a text 'Employee number & not found'.
    I want to use this in the program, but not to raise this error. Instead, I want to move this error message with the Employee number into a Character(200) variable.
    So instead of using MESSAGE e0xx(messageclass) USING employee number, I would like to move the error text into a variable which looks like:
    lv_text = e0xx(messageclass) USING '1234'   which stores the text 'Employee number 1234 not found' in lv_text.
    How would I acheive it??
    Thanks, V!

    Try tis way
    message e999(00) with i_emp-empno into lv_text.
    press f1 in message will provide you more details

  • IPod seen by windows, not by iTunes+ weird error message

    I have a first generation 2GB iPod nano and i use windows xp. I can't load any music because iTunes doesn't see my iPod and an error message pops up that reads like this: "iTunes: iTunes.exe corrupt file. The file or directory \iPod_Control\iTunes is corrupt and unredable. Please run the checkdisk utility." I've tried everything, reinstalling iTunes, different versions, reinstalling OS, resetting iPod, even on another computer, same problem. Other than that, the iPod works normally, it's just lacking music..
    and why is there no email adress from apple for service qustions? 10x

    I still don't get it, how can I put it in disk mode if I CANNOT see the iPod in iTunes..?
    Did you read the document i linked you to? here's another link to it:
    Putting iPod into Disk Mode
    whereabouts in that procedure in that document (that you get to by clicking that link) does it say that you have to connect it to iTunes to put it into disk mode?
    ... never mind ... i guess you've fixed it anyway ...

  • Error message iPod cannot update b/c all of the playlists no longer exist

    Hello. I have been getting this error message. "Songs on the iPod "MAR(the name of my iPod)" cannot update because all of the playlists selecting for updating no longer exist." And my playlists are still on the left side in my iTunes. They do exist. I have a feeling ths might have to do with the fact that on vacation the person I was visiting gave me a gift of putting all of his music that would fit into the external hard drive part of my iPod, and for the past week or so I have been putting that music onto my 40 GB portable hard drive at home. I suspect I took a vital folder out of my iPod by accident. Right now I have the folder iPod_control if I open my iPod up in My Computer. Am I missing something? Right now my iPod is empty because iTunes made a composite playlist last week and I deleted it thinking I could get my real playlists back. Can you help me, or reccomend a site/someone who can? Thank you.
    PC   Windows XP  

    hiya!
    And my playlists are still on the left side in my iTunes. They do exist.
    let's just doublecheck this. folks get this message if they have "automatically update selected playlists only" selected in their itunes "ipod" preferences tab. so bring up that tab ("edit > preferences", click "ipod" while the ipod is showing up in the source list), and do a playlist by playlist crosscheck of the playlists selected in that tab, and the playlists showing up in the itunes sourcelist.
    is there any playlist selected in the preferences tab that isn't showing up in the sourcelist?
    love, b

  • Windows Blue Screen Error Message Appears As Soon As IPod Connected

    Everytime I connect my IPod to my computer, I get the Windows Blue Screen error message. Thought it was the cable, so plugged cable in by itself. No problem. Uninstalled IPod and ITunes software and then plugged in IPod, still got the Blue Screen. The Blue Screen says something about "recent plugged in device problem". It is not the cable, it must be the IPod. Did not have this problem when I bought it. Tried it on labtop and get the same error message. I can't do updater or anything that requires me to plug the IPod into a computer because the Blue Screen appears immediately. When I unplug, the Blue Screen remains and locks up the computer so I have to restart each time. I have tried everything I can think of. Please help.

    Hi Mike thank you for replying,
    I am not able to start the computer in safe mode, safe mode with networking, last good known configuration etc, Each time it quickly blue screens and restarts about two secs into the process.
    I was unable to try a clean OS install from the disk as it gave the blue screen error shown in the original post. The same thing happened when I tried to use the repair option on the XP home disc. So i can't get into the computer at all to start diagnosing the fault, the only clue I have is the error message, and after searching the internet I haven't found much enlightenment from that yet.
    If you can help me out or suggest where to search it would be much appreciated.
    Thx

  • IPod Error Message: "The disk could not be read from or written to."

    Hello!
    I was syncing my sister's video iPod (30GB) and this error message pops up "Attempting to copy to the disk. "SARAH'S IPO" failed. The disk could not be read from or written to."
    I have restored it three times already, but once it starts putting the music and files back onto the iPod it pops up with that error message. I have updated to the latest version of iTunes and iPod software available. My OS is Windows XP.
    Is this something serious? Will I be able to fix it myself or will I need to send it in to be fixed by Apple? Will that be expensive? We didn’t get the Apple replacement plan. D=
    Any help would be greatly appreciated. Thank you in advance. ^_^
    PowerBook G4   Mac OS X (10.4.3)   15" PowerBook 1.5 GHz PowerPC G4, 1.5GB RAM - Windows XP with iPod 5 Generation

    Okay I went thru that entire list and here's what I got...
    (1) My OS is XP and is running fine.
    (2) I've updated my windows
    (3) I don't know of any software that might be interfering.
    (4) There are no damaged files.
    (5) My Windows hard-drive is not damaged and I've tried restoring my iPod's disk thru iTunes but it still doesn't work.
    (6) I don't have an iPod photo and I can't find the folder to delete the cache if if I did.
    (7) The USB cord is firmly connected into my USB port and my iPod
    (8) My music is on my external hard-drive so I need to keep 3rd-party hardware connected
    (9) I will try another USB cord to see if that works.
    Is there anything else that I can do? Can Apple fix this?
    Please let me know.

  • IPod Touch will no longer sync...error message.

    For some reason my older iPod Touch without a camera on it will not sync any more and I am getting an error message saying this iPod cannot be synced. Now I had it set up to sync over Wi-Fi and I would occasionally hook up to the computer with the cable and got error messages on both. Now I read something about removing the SC Info Folder. If I do that will that mess things up with syncing my iPhone? 

    What is the exact wording of the error message?

  • Error Message: Need to purge Cache in Adobe Bridge CC (on PC)

    I tried purging using Adobe Bridge by going to Edit/Preferences/Cache then purging, but it becomes non responsive.  The error message said the problem files were at Users/(my user name)/AppData/Roaming/Adobe/BridgeCC/Cache.   There are 4 files in there that are taking up 124 GB!  Can I simply delete these files or will it corrupt my regular files?  I tried doing as some other forums suggested and hold the ALT key down when opening Bridge before purging, but no luck.

    Yes, you can delete the cache files manually,  Just be advised that Bridge will become very, very slow until it finishes rebuilding its caches.  Depending on your files, that can take a few minutes or several hours.
    A good way of doing it is at night, so you can do it before going to bed and let Bridge rebuild caches overnight.
    If you can, save the cache files before deleting them to an external drive, so that you'll have them as backup if something goes wrong.

Maybe you are looking for

  • Sorry for that 'BLANK' in the beginning of last mail..

    Blankguys,           am getting a strange problem           I tried configuring a simple servlet which has a few XML manipulations using           xerces           I got it installed in TOMCAT without probs           and now I am tryig to get it done

  • Dot Scrubber

    HP Officejet Pro L7590  Windows XP We are having a problem with dot scrubber that appears each friday morning. It backs up something. We are not sure what. It slows down the computer for at least 20 minutes. Is this necessary to have on the computer?

  • Instant Client with SQL Server - HELP!!

    G'day all... My goal is to connect to a server using Oracle Database version 8.1.7.4, from a server which does not have either Oracle Database or the full Oracle Client, preferrably using SQL Server DTS packages. With that said, I have installed inst

  • Quotation VA21 - VA22 - Cannot change items or quantities

    Dear Gurus, I have created a quotation in VA21 and selected a Sold to Party as well as a Material, and saved the quotation. When I then went to VA22 to change both the quantities in the material and add another material to confirm the quotation, the

  • The determined activity date 03/24/2009 must be later than the system date

    Hello everyone! I am creating a contract but this error message appears when I put a validity date: "The determined activity date 03/24/2009 must be later than the system date". Where in IMG can I adjust this? Thank you.