Error with DateField fields when locale is set to French

Hi Guys,
I have the locale/language switcher turned on in my app def. When I switch the language to French and use the calendar popup (DateField) the date returned is in an invalid format e.g. '19-oct.-2008' The problem with the format is that there's a full stop after the month, which causes an error to be thrown when I try to save the row. Heres the error:
La valeur "19-oct.-2008" n'est pas une date valide. Exemple de valeur valide : "29-Nov-2005".
Where is this format stored? Is there a date pattern that is being used, such as in a property file? If it is being formatted programmatically where is this done?
Any help is much appreciated
Barry
JHS: 10.1.3.2.51
JDev: 10.1.3.2.0.4066

Hello,
The format is stored in your locale properties file generated by JHeadstart, and has the key 'datepattern'. The file is typically called ApplicationResources_fr.properties.
I guess someone accidentally put a . somewhere in that pattern, because (at least in JHS 10.1.3.3.85) the default datepattern for french is simply "datepattern=dd-MMM-yy" and works fine.
Regards,
Evert-Jan de Bruin
JHeadstart Team

Similar Messages

  • Error with date field when inserting records into sql server from webdynpro

    Dear SDN's,
    I am trying to insert the records into sql server through my webDynpro program.
    I have created a date field in a dictionary with the datatype date.
    In my webdynpro program to insert the date i am following the below format.
    String dateString = "2006/12/10";
          java.util.Date d=new java.util.Date(dateString);
          java.sql.Date <b>date</b> = new java.sql.Date(d.getTime());
    int i=stmt.executeUpdate("INSERT INTO TRAVEL_HEADER(TRQID,PROJECTID,<b>REQDT</b>,ADVCE,ETADV,PURTR) values(21, '555-1212', '" + <b>date</b> + "', 5000, '20060501','hi')");
    when i try to execute it, it gives the following error.
    <b>com.sap.sql.log.OpenSQLException: The SQL statement "INSERT INTO "TRAVEL_HEADER" ("TRQID","PROJECTID","REQDT","ADVCE","ETADV","PURTR") VALUES (21,'555-1212','2006-12-10',5000,'20060501','hi')" contains the semantics error[s]: - type check error: new value (element number 3 (CHAR)) is not assignable to column  >>REQDT<< (DATE)</b>
    Please correct me.
    Your help will be appreciated.
    Regards,
    Sireesha.B

    Hi,
    int i=stmt.executeUpdate("INSERT INTO TRAVEL_HEADER(TRQID,PROJECTID,REQDT,ADVCE,ETADV,PURTR) values(21, '555-1212', 'date', 5000, '20060501','hi')");
    try like this.
    I Think in SQL the general format to take date as input like this.
    INSERT INTO X VALUES ('10/30/56')
    thaks,
    Lohi.

  • Communication error with the opmn server local port

    Working on 64-bit R12.0.6 on AIX 5L
    Application services are not being started properly. They are being started with status 2(sometimes with 4).
    Autocinfig is being successfully completed.
    Please help me how I can get rid of this error. Following are some of the environment setting details:
    ons.conf
    nodes=appaix02.us.oracle.com:15007
    opmn.xml
    <opmn xmlns="http://www.oracle.com/ias-instance">
    <notification-server>
    <port local="15006" remote="15007" request="15005"/>
    opmn.log
    OPMN worker process exited with status 4. Restarting
    OPMN worker process exited with status 4. Restarting
    OPMN worker process exited with status 4. Restarting
    OPMN worker process exited with status 4. Restarting
    OPMN worker process exited with status 4. Restarting
    OPMN worker process exited with status 4. Restarting
    ons.log
    07/01/11 13:12:02 [4] ONS server initiated
    07/01/11 13:12:52 [4] Logging disabled
    07/01/11 13:12:53 [4] ONS server initiated
    07/01/11 13:13:04 [4] Logging disabled
    07/01/11 13:13:04 [4] ONS server initiated
    07/01/11 13:13:17 [4] Logging disabled
    07/01/11 13:13:28 [4] ONS server initiated
    07/01/11 13:13:40 [4] Logging disabled
    07/01/11 13:13:41 [4] ONS server initiated
    07/01/11 13:14:20 [4] Logging disabled
    07/01/11 13:14:21 [4] ONS server initiated
    07/01/11 13:14:29 [4] Logging disabled
    07/01/11 13:14:29 [4] ONS server initiated
    07/01/11 13:14:34 [4] Logging disabled
    07/01/11 13:14:34 [4] ONS server initiated
    07/01/11 13:15:53 [4] Logging disabled
    adopmnctl.txt
    10/08/10-23:30:43 :: adopmnctl.sh version 120.4.12000000.3
    10/08/10-23:30:43 :: adopmnctl.sh: Stopping Oracle Process Manager (OPMN) and t
    he managed processes
    opmnctl: stopping opmn and all managed processes...
    10/09/10-11:13:41 :: adopmnctl.sh version 120.4.12000000.3
    10/09/10-11:13:41 :: adopmnctl.sh: Starting Oracle Process Manager (OPMN)
    opmnctl: opmn start failed.
    10/09/10-11:15:09 :: adopmnctl.sh: exiting with status 2
    adformsctl.txt
    opmnctl: stopping opmn managed processes...
    10/09/10-11:18:11 :: adformsctl.sh version 120.12.12000000.5
    10/09/10-11:18:11 :: adformsctl.sh: starting OPMN if it is not running
    Communication error with the OPMN server local port.
    Check the OPMN log files
    Communication error with the OPMN server local port.
    Check the OPMN log files
    Communication error with the OPMN server local port.
    Check the OPMN log files
    Communication error with the OPMN server local port.
    Check the OPMN log files
    Communication error with the OPMN server local port.
    Check the OPMN log files
    Communication error with the OPMN server local port.
    Check the OPMN log files
    Communication error with the OPMN server local port.
    Check the OPMN log files
    Communication error with the OPMN server local port.
    Check the OPMN log files
    Communication error with the OPMN server local port.
    Check the OPMN log files
    Communication error with the OPMN server local port.
    Check the OPMN log files
    Communication error with the OPMN server local port.
    Check the OPMN log files
    Communication error with the OPMN server local port.
    Check the OPMN log files
    opmnctl: opmn start failed.
    Please help.

    "A point to add"
    I just noticed that following message is being continously receiving in the database alert_log:
    Sat Oct 9 16:04:52 2010
    WARNING: inbound connection timed out (ORA-3136)
    Sat Oct 9 16:05:32 2010
    WARNING: inbound connection timed out (ORA-3136)
    Sat Oct 9 16:06:30 2010
    WARNING: inbound connection timed out (ORA-3136)
    Sat Oct 9 16:07:10 2010
    WARNING: inbound connection timed out (ORA-3136)
    Sat Oct 9 16:09:35 2010
    Incremental checkpoint up to RBA [0x1d.1f9928.0], current log tail at RBA [0x1d.1f9a79.0]
    Sat Oct 9 16:11:52 2010
    WARNING: inbound connection timed out (ORA-3136)
    Sat Oct 9 16:29:40 2010
    Incremental checkpoint up to RBA [0x1d.1f9b87.0], current log tail at RBA [0x1d.1f9bf4.0]
    ~
    Please help.

  • Is there a way to open a new window with one site when the home setting on Firefox has multiple websites?

    While working in Firefox is there a way to open a new window with one site when the home setting on Firefox has multiple websites?

    I guess I'm not explaining myself fully. I have a home page designation in firefox preferences that starts firefox up with 5 sites. that pretty fills up my screen with tabs.
    At some point I want to initiate another WINDOW in firefox (NOT a tab). I would like to be able to open up a window that ONLY has ONE tab, or as if there were only one site designated as the home page. This gives me a workspace that has my most useful sites available in tabs in one window, and also another WINDOW that I can move around in and even create more tabs without messing up my primary set of TABS (in my primary window). I see how this might not be doable without doing what I do now, which is open up a new window, and then close tabs until the new window just has one tab for me to work from.

  • HT5439 Has anyone had the Network time and date error with Apple TV when traveling?

    Has anyone had the Network time and date error with Apple TV when traveling?

    Jasion,
    Maybe a bit beside the question, but it is always recommended here to open/save from/to own hard disk, and to copy from/to networks and removable media. You may be lucky, at least for a while, but it is better to be safe than sorry.
    In addition to the (far greater) risk of file corruption, some issues are mentioned here:
    http://helpx.adobe.com/illustrator/kb/illustrator-support-networks-removable-media.html

  • Adobe Reader prints PDFs with magenta hue when printing is set to B&W

    Adobe Reader prints PDFs with magenta hue when printing is set to B&W

    BTW... Asking the SAME thing THREE TIMES WON'T change the answer.

  • Reader Adobe Reader prints PDFs with magenta hue when printing is set to B&W

    Adobe Reader prints PDFs with magenta hue when printing is set to B&W

    BTW... Asking the SAME thing THREE TIMES WON'T change the answer.

  • [svn:fx-trunk] 8277: Use blendMode="normal" to fix problems with disabled appearance when baseColor is set.

    Revision: 8277
    Author:   [email protected]
    Date:     2009-06-25 17:46:00 -0700 (Thu, 25 Jun 2009)
    Log Message:
    Use blendMode="normal" to fix problems with disabled appearance when baseColor is set.
    Bugs: SDK-19745, SDK-19762
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-19745
        http://bugs.adobe.com/jira/browse/SDK-19762
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/PanelSkin.mxml
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/TextAreaSkin.mxml
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/TextInputSkin.mxml

    This bug figures out also when creating a custom spark ComboBox, then trying to programatically update the userProposedSelectedIndex property. The proposed selected index is selected, but does not apply the same skin as when mouse is on rollover or item is selected due to up and down keys.
    The issue seems like updating the status of the item renderer to rollover or selected to get the same skin applied.
    Please could you attach DropDow nList.as that you edited ?
    Thank you so much.

  • Error message from labview when trying to set up the DAQ assistant

    I recieve a message from labview when I try to set up the DAQ assistant and select a channel to use. The error I get states "An exception occured within the external code called by a Call Library Node. This might have corrupted LabView's memory. Save any work to a new location and restart labview". Labview then freezes. I have reset the DAQ device in trying to slove this but I still get the same message. How do I solve this?? thanks - mars2006

    Hi Mars-
    It sounds like your NI-DAQ installation may have become corrupted. I would suggest uninstalling and reinstalling the DAQmx 7.4 driver to correct this problem and ensure that you're up to date. This download is available here: NI-DAQ 7.4
    If the problem persists you may want to uninstall and reinstall LabVIEW and then NI-DAQ in that order. The error message will usually give an indication as to which VI the error occurred in. Please let us know which VI is failing if you're unable to avoid the error with these suggestions.
    Have a good day-
    Tom W
    National Instruments

  • Error with quantity field:Datasource Creation Using Function Module method

    Problem with DATASOURCE Creation using Function Module method :
    I have created a datasource ZSTANDARD_COST_PRICE using Function Module method . The datasource creation is successfull when I remove the quantity field from the Z table . If I dont remove the quantity field from my Z table it gives an error as "Units Field WAERS for field STPRS of datasource ZSTANDARD_COST_PRICE is hidden". I am not able to remove this error . Please someone guide.
    Let me know if my explanation is not clear enough.
    Thanks in advance,
    Neha.
    Z table definition is as below :
    MATNR MATNR CHAR 18 0 Material Number
    BWKEY BWKEY CHAR 4 0 Valuation area
    LFGJA LFGJA NUMC 4 0 Fiscal Year of Current Period
    STPRS STPRS CURR 11 2 Standard Price   " Here the currency field is WAERS and table T001
    PEINH PEINH DEC 5 0 Price Unit
    VJSTP VJSTP CURR 11 2 Standard price in previous year
    VJPEI VJPEI DEC 5 0 Price unit of previous year.
    Edited by: Neha Rathi on Jan 30, 2009 3:03 PM

    Hi,
    You should add it as one of the main fields as you have added other fields and not as the currency fields...that is..it should be part of the data source and you should be able to see it in RSO2...
    Also if added as i said then it will come as new field in the data source...you can either let it be there...or hide it..
    also if you want to populate it then you will have to write the code for this fields as well.
    Thanks
    Ajeet

  • Issue loading ODS having single Data field when it is set to "No Updpate"

    Hi Gurus,
    I have a standard ODS object with 6 Keyfields & 1 Datafield.
    I am updating it from an Infosouce with help of Update Rules.
    In the Update rules:
    The 6 Keyfields are mapped from the Infosource fields which has relevant data.
    The one Data field needs to be set to "No Update" because there is no relevant field from the Infosource.
    Issue is surfacing with this Data field being set to "No Update"
    when I run the Infopackage even though there are relevant fields in Infosource for the 6 Keyfields none of them are getting updated.
    But when I set the Data field to "Overwrite" and for Update method give some constant or write some Routine and give the Result as 0, the rest 6 Keyfields are also getting updated from the Info source.
    My question is....
    If ODS is having only one Data field, is it mandatory that I have to update it with some value ?
    Can't I set it to "No Update" and load just the Key fields ?
    Thanks in advance,
    Venkat

    Thanks for the inputs.
    Even I had to agree if there is only one Data field in the ODS I have to set to some kind of Update...
    But.....I couldn't find it in writing (in  document) no where from the Web.
    Could anyone point out a document which confirms/explains this ?
    Thanks,

  • TS3694 1015 error with my iphone3 when i tried to restore it

    When i tried to restore my Iphone 3 it shows an error in iTunes, the error with code 1015
    Please help me with that

    1015 error is generally related to an attempt to downgrade iOS, which is not supported. http://support.apple.com/kb/TS3694

  • Problem with CITY field when downloading to excel

    Hi Gurus,
    I have CITY field which is of 30 char length.Now Iam downloading the record having other fields also along with city field....Now my requirement is that in the Excel the city field should be right justified and the remaining characters should be space....How can we do that...
    Generally I know that when We download to excel the fields adjust according to the data it has rather then with thier field size in SAP.
    Regards,
    Rohan.

    Hi,
    In case of standard objects, it would be better if you can share the details like report name, the way you tried downloading(From menu, tool bar etc). Also search if there is any OSS notes for that program.
    Thanks,
    Vinod.

  • Excel import error with NCHAR field on v1.2.1

    Hi, we've tried to import data from Excel to an Oracle table (10g) using SQL Developer 1.2.1. However it failed with the following error in Log Window:
    ORA-00917: missing comma
    Further checking revealed that one field in Oracle table was defined as NCHAR, while the generated DML value was without quote:-
    insert into test_table (field1,field2) VALUES(123,1B);
    When we replaced the '1B' value to numeric value 11, the import worked. As we're using an application package, we cannot simply modify the table/field's attribute from NCHAR to CHAR. Is there a way to configure SQL Developer that will have the quote placed like:-
    insert into test_table (field1,field2) VALUES(123,'1B');
    which works fine in SQL Developer Query mode.
    Please advise, thanks :)

    Note and thanks for handling and fixing this issue.
    Furthermore to the import function, we also noted that the default setting cannot fit to inserting data with Chinese (or Double Byte) characters, we will need to add a "N" as a prefix, e.g.:-
    insert into table_a (field_a, field_b) values(123, N'一二三')
    If "N" is missing, field_b will only contains garbage.
    As we notice that the import will generate insert statements, please see if you can include this problem as part of the "missing quote" fix, thanks.

  • Jython Error with Standalone Agent when execute by designer

    Hi guys,
    I have a problem when trying to execute scenario by designer via standalone agent
    here are some error that shown in the operator
    ODI-1217: Session TEST_JYTHON (40198001) fails with return code 7000.
    ODI-1226: Step TEST_JYTHON fails after 1 attempt(s).
    ODI-1232: Procedure TEST_JYTHON execution fails.
    Caused By: org.apache.bsf.BSFException: exception from Jython:
    Traceback (innermost last):
    File "<string>", line 1, in ?
    ImportError: no module named re
    If I generated this procedure to a scenario and execute by startscen.bat
    there is no error.
    And if run with no agent (local).It will not have a problem too.
    here is the startscen command that i used
    C:\oracle\product\11.1.1\Oracle_ODI_1\oracledi\agent\bin\startscen.bat TEST_JYTHON 001 GLOBAL "-NAME=P_Agent_S1"
    So . I digging to the library folder that contains re.py in the folder Lib
    and copy the whole folder "scripting" from
    C:\oracle\product\11.1.1\Oracle_ODI_1\oracledi\client\jdev\extensions\oracle.odi.navigator\
    then paste to folder
    C:\oracle\product\11.1.1\Oracle_ODI_1\oracledi\agent\lib
    Where should I look for more clue ?
    Thanks in advance.

    Refer
    http://msdn.microsoft.com/en-IN/library/hh231187.aspx
    you can pass parameter like this
    /SET \Package.Variables[$Package::ParameterName];<value> /SET \Package.Variables[$Project::ParameterName];<value>
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

Maybe you are looking for

  • [Solved] sqlite3: SQLite header and source version mismatch

    Is anyone else getting this error? $ sqlite3 SQLite header and source version mismatch 2009-09-11 14:05:07 b084828a771ec40be85f07c590ca99de4f6c24ee 2012-03-20 11:35:50 00bb9c9ce4f465e6ac321ced2a9d0062dc364669 I just performed a full system upgrade $

  • Apple TV Software 2.4 and "HDCP Off"

    My Apple TV worked fine until I upgraded the software to 2.4. Now, no HD material will play, citing an HDCP problem. I checked the settings, and under Settings>General>About, I can see that the TV Connection is set at HDM (HDCP off). And there's no w

  • Midi physical input - Port Order FYI

    An obscure tid-bit for those of you who have made custom environments or controller assignments, and then added a new midi device only to find that the port order is changed on the physical input object within Logic's environment, and you have to rea

  • Error: The largest virtual memory that can be allocated is 0 MB

    Hi ! When I try to create virtual machine in my VM Manager I get this error when I supply corresponding memory size. How can I soilve this? Thanks...

  • Transporting master data

    Hi All, I have heard the we should not transport master data.Can somebody pls tell me what are repurcassions if i do so?Can you give me the list of some SAP notes where SAP doesnt recommend to transport master data? Archit