Translated item labels swap to original language after validation error

Hello,
I've the weird behaviour in my application that translated item labels change to the original label name in case a validation error on that item occurs. I am displaying inline+notification errors. Only the labels of the "error-items" show the behaviour. What is this and how can I fix it.
Many thanks in advance!
Jacob

Hi Arie,
It might be I'm not using translated applications in the right way then. What I do is I always leave the language of the application: application primary language
In order to switch from language I change the primary language from dutch to french or vice versa. In this way, the application language changes accordingly from dutch (original) to french (translated). f this is not the proper way, what do you suggest?
In case a validation error occurs on an item with label "NAAM". The error is displayed inline with that item and in the notification area, and the item label is now "NOM"
Apex version is 3.1.0
Hope this makes things clearer.
Jacob

Similar Messages

  • Page rendering process doesn't run after validation error

    I have a page rendering process (On Load - After Regions) that needs to be run for my page to be rendered properly; however, it doesn't run when the page is rendered after a validation error. In debug mode, I see the following line:
    "0.05: ......do not perform process because inline validation condition found."
    Is this a bug? Validations are meant to prevent execution of On Submit processes, but is there a reason to also not run rendering processes?
    I need to dynamically construct some javascript and insert it somewhere after a certain item on the page. Is there a workaround?
    Thanks.
    Rodney

    Rodney,
    Let me see if I understand your question:
    1. A page is rendered
    2. The page is submitted
    3. A validation fires and fails
    4. The page is re-rendered displaying the validation error message
    5. Your on-load after regions process did not fire
    You want to run a process in all cases; in the standard page load case (1) and in the re-load case (4).
    You can do this by creating a region of type PL/SQL. You can give the region a null template so that it will not display any values. The region can be the last one displayed on the page; so that it will be run last.
    You also asked if it is a bug that the on-load after regions process did not fire; as the debug message indicates this is proper. Here is an example that illustrates why you typically don't want to perform processes when rendering a page after it was posted causing a validation to fire.
    Lets take the following example:
    1. create a form on the emp table; assume a salary column called "SAL"
    2. create a validation that says the salary must be numeric
    3. edit a row of the EMP table
    4. change the employee job from clerk to manager; and enter a "X" in the salary item
    5. submit the page
    6. the validation will fire; page processing will stop; and the page will be re-displayed
    7. the process which fetches the rows will not fire; and the page will be re-displayed; the job item will display the change from "clerk" to "manager" and salary will still contain the invalid "X" value. If the process had fired it would have replaced the values in the form.
    My recommendation is that you use regions for any processing that is UI releated. I hope this helps.
    Mike

  • XML Forms Combobox entries are disappearing after validation error

    In my XMLForm I have a combobox which is filled with items from a property. After submitting the form (when saving) with a validation error (e.g. date invalid) the entires in the combobox disappear and the entry can be saved without an entry (can this be permitted?).
    Also, when opening the saved entry, the combobox is also empty. I think this is a (unpatched?) KM/XMLForms bug, but maybe there a patch or an other solution for this?
    Is it possible the fill the combobox with fixed entries (without using the property)

    ok, fixed it with the following :
    <ice:selectOneMenu id="chosenSystem" value="#{userRoles.selectedSystem}"
                       valueChangeListener="#{userRoles.systemValueChanged}"
                       immediate="true" partialSubmit="true" required="true"
                       requiredMessage="#{fv_msg.ursysmandatory}" >
        <f:selectItem itemLabel="Choisissez un truc" itemValue=""/>
        <f:selectItems value="#{userRoles.remoteSystemItems}"/>                    
    </ice:selectOneMenu>
    <ice:selectOneMenu id="chosenAbstraction" value="#{userRoles.userRole.abstraction}"
                       converter="remoteAbstractionConverter" >
        <f:selectItem itemLabel="Choisissez un truc" itemValue=""/>
        <f:selectItems binding="#{userRoles.remoteAbstractionsHtml}"/>
    </ice:selectOneMenu>The valuechangelistener simply updates the binded component in chosenabstraction.
    Any idea on how to do that with ajax?
    Edited by: hereps on Aug 21, 2010 2:16 AM

  • Apex reload jquery after validation error

    After a validation error has ocured my jquery does not laod.  What must i do in order to reload the whole page again after the validation error?

    jquery always loads fine. I'm not going into a big what-if-then-what discussion about what might or might not be causing this. You're simply not giving us any information about both your setup and what is happening.
    This validation on your text fields, what is it? I suspect it is not the standard apex validation. Are these plain standard text fields? When does the error occur? When you submit the page? Have you tried to debug? Did you take a look at the browser's developer tools console and see if there is any javascript error? Anything special you are not mentioning because you think it might not be relevant? Considered recreating your issue on apex.oracle.com?

  • Adobe Forms:"No layout exists in original language"

    Hi All,
    when I try to activate the adobe form after designing the form in layout, getting an error "No layout exists in original  language EN", so please help out to resolve this issue.
    Thank you
    Lalitkumar.

    Check the language, translate the form, change the original language. Otto

  • Updating InputText after a validation error

    Hi everyone,
    I am having problems updating InputText after a validation error.
    Im using jdeveloper 11.1.1.1.0
    Steps without error validation works correctly
    1.-I put 3 in the component "value" (second InputText)
    2 .- validation begins, and rightly
    3 .- I put the value 1 component "optional" (first imputtext)
    4 .- Click the button "move"
    5 .- The componte "value" modify its contents appearing 1
    Steps with error validation not working properly
    1.-I put 4 in the component "value" (second InputText)
    2 .- validation begins, and it is wrong. Errror message appears
    3 .- I put the value 1 component "optional" (first imputtext)
    4 .- Click the button "move"
    5 .- The componte "value" does not alter its contents.
    Why not change its value after validation error?
    I included an example with two and a button InputText
    <af:inputText label="Optional" id="it1" autoSubmit="true" />
    <af:commandButton text="commandButton 1" id="cb1" immediate="true" actionListener="#{inputExample.move}"/>
    <af:inputText label="Value" id="it2" immediate="true" autoSubmit="true" validator="#{inputExample.validatorExample}" value="#{inputExample.targetValue}"/>
    public void validatorExample(FacesContext facesContext, UIComponent uIComponent, Object object) {
    Number number = null;
    try {
    number = new Number(object);
    } catch (SQLException e) {
    if ((number.longValue() % 2) == 0) {
    FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_ERROR, "ES PAR", "ES PAR");
    ((RichInputText)uIComponent).setValid(false);
    throw new ValidatorException(message);
    public void move(ActionEvent actionEvent) {
    FacesContext facesContext = FacesContext.getCurrentInstance();
    UIComponent x = facesContext.getViewRoot().findComponent("it1");
    RichInputText input1 = (RichInputText)x;
    String value = (String)input1.getValue();
    UIComponent x2 = facesContext.getViewRoot().findComponent("it2");
    RichInputText input2 = (RichInputText)x2;
    input2.setValue(value);
    RequestContext.getCurrentInstance().addPartialTarget(input2);
    }

    Yes but the action will be executed with invalid data.
    After validation fails the new (invalid) value is not set so when you get the value you get the previous (valid) one.
    If you want the validation just to warn the user but allow him to continue with executing actions with the new values then you should not use a validator.
    You could instead use a valueChangeListener were you can display a message to the user allowing the value to be set normaly.
    Gabriel.

  • How to fire a clear item process on validation error

    Hi
    this is probably a simple one but eludeing me at the mo...
    I have 2 password fields > password and verify password respectively.
    I want to be able to clear both fields in the event the password verification validation fails.
    I have created a clear cache process with the condition set to 'When inline validation errors displayed' but i don't think the flow of logic goes as far as the processes after validation errors occur??
    anybody got a work around?

    You can use a function returning boolean validation and when it fails set the items to null before returning false, e.g.,
      if :OLD_PW <> :NEW_PW then
        :OLD_PW := null;
        :NEW_PW := null;
        return false;
      end if;Scott

  • I downloaded google translate and another app that allows you to speak into the microphone and it translates what you said into another language. The microphone on both programs says "speak now" and after I speak it doent do anything. How do I get the mic

    I downloaded google translate and another app that allows you to speak in the microphone and it translates what you said into another language. Both apps say "speak now" into the microphone but when I speak it doesnt do anything. How do I get the microphone to work on these applications?

    What mic/iPod are you using?
    Does the mic work for other apps?

  • Change original language.

    Hi,
    we have a problem that  in one of our FM the short text is displayed in german even though the language is maintained is english. One of the collegue suggested that we should somehow change the original language to DE and then undergo translation to get it rectified.
    Now my question is that can we somehow change the original language of a Function module after it has been created?
    Thanks for suggestions.

    Yes,
    if you are logged with a language different, when you try to modify the text, the system ask you if you want to change the language. There you can change it.
    regards,
    Roberto.

  • Update date of translated Item

    my content Area is Multi language: french and English. When I translated an item the updated date is update to date of day even on my original item. So New icon is display because I translate an item.
    Is it Possible to update only the date of the Translated Item ?

    ExtendScript doesn't currently allow direct access to that item property on the project side unfortunately. What you may be able to do is create a .txt document via script that lists all your project assets with the current modified date in a array style layout with item id's used as variable names.
    var projItem1 = ["Mon", "Jan", "31", "12:57:20"];
    var projItem20 = ["Sun", "Mar", "5", "3:10:00"];
    var projItem9 = ["Wed", "Jun", "10", "1:24:11"];
    ...and so on.
    To do that you would need to loop through all items checking for the item types you want (stills, audio, video, etc...). Then saving their id. Then take the .modified values of each file and split the value into an array using the .split(" ") method. So "Mon Jan 30 2012 10:43:30 GMT-0800" would basically get broken down into separate array items like so...
    var myItem = app.project.item(1).file.modified;
    var miSplit = myItem.split(" ");
    //You can  now access each section of the modified date by the array index number.
    alert(miSplit[0] + " " + miSplit[1] + " " + miSplit[2] + " " + miSplit[4]);
    You would then have to combine all the info into a single string that would get written to your document. Something like...
    "var projItem" + myItemID + " = [\"" + miSplit[0] + "\", \"" + miSplit[1] + "\", \"" +miSplit[2] + "\", \"" + miSplit[4] + "\"];";
    You would then run a script to check this database up against the current modified values of the items and if they differ, you can tell if they are newer or not. I'm generalizing this whole description of course, in reality it would be a chore to script out, but not impossible though.

  • Translating graph labels to different locale

    Hello to all you Gurus.
    We are in the process of localizing rtf BIP reports using different xlf files. After being successful translating everything (text, table headings etc), we've noticed that we were unable to translate graph labels. Those labels have been entered in the graph label dialog of the MS Word plug-in.
    Any ideas how to resolve the above mentioned issue will be appreciated.
    Thank you in advance.

    Hi,
    Struggled with this my self a few weeks ago. Unfortunatly chart labels and titles aren't exported within the XLF file.
    You may solve this issue by adding the titles and labels within you XML dataset. In other words: create a view or table which contains these values and results in something like this:
    <CHART_LABELS>
    <CHART1_TITLE>Grafiek 1</TITLE>
    <CHART1_ROWLABEL>Eerste rijlabel</CHART1_ROWLABEL>
    <CHART2_TITLE>Grafiek 2</CHART2_TITLE>
    <CHART2_ROWLABEL1>Eerste rijlabel</CHART2_ROWLABEL1>
    <CHART2_ROWLABEL2>Tweede rijlabel</CHART2_ROWLABEL2>
    </CHART_LABELS>
    Within you graph xml select titles like this:
    <Title text="{//CHART_LABELS/CHART1_TITLE}" visible="true" horizontalAlignment="LEFT" />
    Row labels like this:
    <Label><xsl:value-of select="//CHART_LABELS/CHART1_ROWLABEL"/></Label>
    Don't forget to add a language code or something like that. This should do the trick :).
    Kind regards,
    Machiel

  • Apex Page Input Item Label Conditional Style at run time

    Hi,
    Apex version 4.2.1.00.08
    We have an issue after migrating to apex 4.2.1. We have a select list and use another couple of dummy items to be used as its label instead of giving the text value to the LABEL control. Only one of the dummy items is shown as a label for the select list conditionally based on another value. It was working fine with the earlier versions upto 4.1, but with the introduction of grid in 4.2, its now displaying the select list on a new row (ie the lable in one row and the select list on the next row).
    However, we really would like to solve this by having a way to display the label of the select list either in "required format style" or as an "optional style". The display style should be determined only at runtime.
    Example. Say P100_MY_SELECT_LIST is the select list
    The label for this item is "My Select List Label"
    I have another dummy item P100_DUMMY
    if P100_dummy = 1 then the label "My Select List Label" should be displayed in red and with an * *My Select List LabelOtherwise it should be in black and without * My Select List LabelPlease help how to do this.
    Thanks in advance.
    Regards,
    Natarajan

    Well, I deviated with the various other things, and finally needed to get it fixed now. I find my own solution by having a Label Template which creates an ID for every label of the input item and calling a couple of javascript functions thro dynamic action.
    1) Create a label template "FormFieldDynamic" as follows
    In the template definition "Before Label"
    <img src="#IMAGE_PREFIX#requiredicon_status2.gif" alt="Required Field Icon" /><label for="#CURRENT_ITEM_NAME#" id="#CURRENT_ITEM_NAME#_LABEL" tabindex="999" class="itemLabel">in the "after label"
    </label>Note, I am having the image for the * always with the laebl and creating an ID for the label with id="#CURRENT_ITEM_NAME#_LABEL" .
    I have created a couple of javascript function to show the label dynamically as required or optional.
    function setLabelRqd(item) {
         var v = item+'_LABEL';
         var pid = document.getElementById(v);
         if (!((pid===null)||(pid===undefined))){
              pid.style.color = "red";
              $('#'+v).prev().show();
    function setLabelOpt(item) {
         var v = item+'_LABEL';
         var pid = document.getElementById(v);
         if (!((pid===null)||(pid===undefined))){
              pid.style.color = "black";
              $('#'+v).prev().hide();
    }Use the template if the input item (label) is dynamically set as Required or Optional at runtime based on a value of another item.
    How to:
    1.     Select the template FormFieldDynamic for the input item.
    2.    Create a dynamic action triggering on the change event of the page item which holds the conditional value to set the input item label as required or as optional.
    Under the When Section
    a.     Event => Change
    b.    Selection Type => Item(s)
    c.     Item(s) => PXXX_ITEM_NAME (The item that holds the conditional value to set the label for the input item
    d.    Condition => equal to
    e.     Value => Enter the value  for which the label needs to be displayed in Required format.
    f.     Set True Action
                                                              i.    Action => Execute Javascript Code  (Identification)
                                                             ii.    Fire on Page Load => checked (Execution Option)
                                                           iii.    Code => setLabelRqd(‘PXXX_ITEM_NAME’);  (Settings)  /*Call the javascript function to set the label as required*/
                                                            iv.    Selection Type => Item(s) (Affected Elements)
                                                             v.    Item(s) => PXXX_INPUT_ITEM1[,PXXX_INPUT_ITEM2]…
    g.     Set False Action
                                                              i.    Action => Execute Javascript Code  (Identification)
                                                             ii.    Fire on Page Load => checked (Execution Option)
                                                           iii.    Code => setLabelOpt(‘PXXX_ITEM_NAME’);  (Settings) /*Call the javascript function to set the label as optional*/
                                                            iv.    Selection Type => Item(s) (Affected Elements)
                                                             v.    Item(s) => PXXX_INPUT_ITEM1[,PXXX_INPUT_ITEM2]…It finally works for me :) and hope this will be helpful to others too. I will greatly appreciate anyone to mention it here if this helps for him.
    Thanks,
    Natarajan

  • Setting colors for item labels in JFreeChart (WaferMapRenderer)

    Hi,
    first of all, sorry for posting a JFreeChart related posting on this forum, but I didn't get a solution right now (I even didn't find anything useful on the JFreeChart website/forum). Here's my question...
    I'm trying to set the color for item labels in the legend but with no success.
    Here's a code example:
    final JFreeChart chart = ChartFactory.createWaferMapChart(
        "Wafer Map Demo",         // title
        dataset,                  // wafermapdataset
        PlotOrientation.VERTICAL, // vertical = notchdown
        true,                     // legend          
        true,                    // tooltips
        false
    WaferMapPlot plot = (WaferMapPlot) chart.getPlot();
    WaferMapRenderer renderer = new WaferMapRenderer();
    renderer.setSeriesItemLabelPaint(0, Color.red);
    renderer.setSeriesItemLabelPaint(1, Color.blue);
    plot.setRenderer(renderer);The default behavior of the WaferMapRenderer is also strange because the item label as well as the item marker is painted black so you cannot distinguish different fields of the wafer map. Is this a bug or am I doing something wrong (or missing somehting)?
    Any help would be greatly appreciated.
    Thanks and best regards,
    - Stephan

    Your folder action script doesn't work because of one simple error:
    set label index of every item of entire contents of processFolder to 7
    Nowhere in your script is 'processFolder' defined, so AppleScript has no idea what you're trying to do.
    Given that you (correctly) iterate through added_items, the correct format would be:
    on adding folder items to this_folder after receiving added_items
      repeat with item_ in added_items
        tell application "Finder"
          set label index of item_ to 7
        end tell
      end repeat
    end adding folder items to
    In other words, this changes the label index of each item just added.
    That should work provided you're dropping files into this folder. If you're dropping folders then this would set the label index of the folder itself, but not necessarily the items within that folder. For that you'd need to add a check to see if item_ was a folder and add code to handle folders.
    Also note that this kind of folder action will only work on the folder itself - that is, if you have folder A that contains subfolder B, then dropping a file into subfolder B won't trigger the script and won't change that item's label. To do that you'd have to attach your folder action to subfolder B.

  • Problem with Item Labels in ORacle 10g

    Hi,
    We have unchecked the item labels in oracle discoverer 10g. when we create the portlet(after moved server from 10.1.0.2 to 10.1.2), it showing item labels for the discoverer report.
    we dont want item labels to be displayed in portlets.
    Can one any tell us why this occurs?
    Thanks in advance.

    Hello,
    We have unchecked Item Labels (not to display the column names in the cross tab) in Discoverer plus (Tools ----> Options -----> Sheet -----> Show Item Labels).
    And created the discoverer worksheet portlet in Oracle Portal with Options to display the cross tab.
    The Item Labels are displaying in this discoverer worksheet portlet.
    We donot want to display the Item Labels.
    How can i achieve this?
    Thanks,

  • App. Express -- Change font size in the item label.

    I would like to size the item label so I did this and it did not work
    in the label I put <span style="font-size:12px;">ITEM 1</span> and
    <span style="font-weight:bold;">ITEM 1</span>
    What wrong?

    Hello,
    The basic “trick” here is to duplicate the proper label template (you can of course change the original label template, but that’s less advisable) in order to add an ID to the text/link part.
    In my example, the template is base on the “Optional Label with Help” template, and the “Before Label” field contains the following:
    <label for="#CURRENT_ITEM_NAME#" tabindex="999"><a class="t2OptionalwithHelp" id="L_#CURRENT_ITEM_NAME#" href="javascript:popupFieldHelp('#CURRENT_ITEM_ID#','&SESSION.')" tabindex="999">In order to maintain ID uniqueness, the new ID just adds “L_” to the item name.
    Now I have direct access to the text/link, and I can manipulate it using JavaScript. In the example, I added the following to the region footer:
    <script type="text/javascript">
    $x('L_P160_ITEM2').style.fontSize = '20px';
    $x('L_P160_ITEM3').style.fontSize = '30px';
    $x('L_P160_ITEM3').style.color = 'green';
    </script>Regards,
    Arie.
    Hi Carl,
    As usual I was busy typing and didn’t see your reply. I agree that a specific example would be the best and easiest way to help.
    Message was edited by:
    ageller1

Maybe you are looking for

  • Vendor details along with amount settled to an asset in an investment project.

    Hi Guys, Here we are following std process i.e. PR/PO with WBS as account assigned, then GR-GI/SES and then settle it to AUC and then in the end to FXA. Now the requirement is to capture all the line item details (including vendor with the amount) se

  • Setting up a Proxy

    Hi, I've done some looking around recently and I'd like to make a proxy for myself. All of the Mac-Oriented websites I've looked at are confusing at best. I would like to know if it's possible to set up my own proxy server. If browser type has anythi

  • Pushing more than 1 .me email account??

    I have 3 .me accounts on my phone. The main account is our family account which includes calenders, bookmarks, contacts. This is set to push. The 2nd and 3rd accounts are my personal accounts that I forward outside email addresses to. I am doing OK p

  • HT201363 I know the answers to my security questions but...

    I know the answers to my security questions but it keeps telling me they are wrong.  I am absolutely positive I am putting in the correct information.  How the heck can I fix this so that I can make purchases from my new iPhone?

  • Windows mail address import

    can't import contacts from windows mail...only choice is outlook express...thanks!