Popup validation ADF problem

Hi all

I have three text box and I validate with custom validation adf.
When the validation fails, an error window will appear and display the error message all over there.

I want to remove the popup window. what I can?

With respect,
Wai Phyo

Hi WP.

Unless you submit the request again once with values valid (fully or partially), the error message will not get disappeared. Check if you set partialSubmit to true on the element or autoSubmit.

Jean Lou

Tags: Java

Similar Questions

  • Popup ADF problems

    Hello!

    I have a popup adf containing some mandatory inputText and selectOneChoice.

    When you open the window contextual atrves click a CommandButton with partialSubmit = true all required fields are validated and how are empty, an error message appears indicating that the fields are filled.

    Of course, I don't want the fields to be validated to open the context menu, but only when I click a commandButton control the popup.

    I would like to understand why these fields are validated to open the context menu, and how to avoid without having to remove the mandatory fields.

    Any ideas?

    My code:

    <? XML version = "1.0" encoding = "UTF - 8"? >

    " < f: view = xmlns:f ' http://Java.Sun.com/JSF/core "xmlns:af =" " http://xmlns.Oracle.com/ADF/faces/rich "> "

    < af:popup autoCancel = "disabled" id = "popupInclusaoTrem" binding = "#{PlanejamentoMB.popupInclusaoTrem} '"

    contentDelivery = "lazyUncached" >

    < af:dialog title = "Planejamento - include Trem" type = "none" closeIconVisible = "false" id = "d1" >

    < af:panelGridLayout id = "pgl1" >

    < af:gridRow marginTop = '5px' height = 'auto' id = "gr1" >

    < af:gridCell marginStart = "5px" id = "gc2" >

    < af:inputText binding = "#{PlanejamentoMB.richInputSede} ' readOnly = 'true'"

    labelStyle = "position: absolute;" left: 34px; »

    contentStyle = "position: absolute;" left: 68px; "label =" "Sede:" id = "it2" / > "

    < / af:gridCell >

    < / af:gridRow >

    < af:gridRow marginTop = marginBottom "5px" = "5px" height = "auto" id = "gr2" >

    < af:gridCell marginStart = "5px" id = "GCQ4" >

    < af:inputText label = "" Prefixo: "maximumLength = '3' columns = '7'"

    labelStyle = "position: absolute;" left: 15px; "required ="true ".

    contentStyle = "position: absolute;" left: 68px; »

    Binding = "#{PlanejamentoMB.richInputTextTrem} '"

    requiredMessageDetail = "Campo de O Prefixo e required." id = "it3" >

    < af:validateRegExp pattern = "[A - Z] [0-9] {2}'"

    messageDetailNoMatch = "informed um trem valido prefixo (Exemplo: 99 X)". "/ >"

    < / af:inputText >

    < / af:gridCell >

    < / af:gridRow >

    < af:gridRow marginTop = marginBottom "5px" = "5px" height = "auto" id = "gr5" >

    < af:gridCell marginStart = "5px" id = "CG6" >

    < af:selectOneChoice label = "" event: "contentStyle =" position: absolute; ' " left: 68px; »

    labelStyle = "position: absolute;" left: 15px; »

    Binding = "#{PlanejamentoMB.richSelectEvento}" id = 'soc1' "

    requiredMessageDetail = "O campo Evento e required." >

    < f: selectItems value = "#{PlanejamentoMB.listagemEventos}" id = "si2" / > "

    < af:validateLength minimum = "3" / >

    < / af:selectOneChoice >

    < / af:gridCell >

    < / af:gridRow >

    < af:gridRow marginTop = marginBottom '5px' = '5px' height = 'auto' id = "gr3" >

    < af:gridCell marginStart = "5px" id = "gc1" >

    < af:selectOneChoice label = "" Origem: "contentStyle =" position: absolute; ' " left: 68px; »

    labelStyle = "position: absolute;" left: 12px; ' autoSubmit = 'true '.

    Binding = "#{PlanejamentoMB.richSelectOneOrigem}" id = "soc2" "

    valueChangeListener = "#{PlanejamentoMB.popularDestinoPorOrigem} '"

    requiredMessageDetail = "O campo Origem e required."

    >

    < f: selectItems value = "#{PlanejamentoMB.listagemOrigensPorSedeGradeFixa}" id = "si3" / > "

    < af:validateLength minimum = "3" / >

    < / af:selectOneChoice >

    < / af:gridCell >

    < / af:gridRow >

    < af:gridRow marginTop = marginBottom "5px" = "5px" height = "auto" id = "gr4" >

    < af:gridCell marginStart = "5px" id = "gc3" >

    < af:selectOneChoice label = "" Destino: "contentStyle =" position: absolute; ' " left: 68px; »

    labelStyle = "position: absolute;" left: 11px; »

    Binding = "#{PlanejamentoMB.richSelectOneDestino}" id = "soc3" "

    requiredMessageDetail = "O campo Destino e required."

    >

    < f: selectItems value = "#{PlanejamentoMB.listagemDestinoPorOrigem}" id = "si1" / > "

    < af:validateLength minimum = "3" / >

    < / af:selectOneChoice >

    < / af:gridCell >

    < / af:gridRow >

    < af:gridRow marginTop = marginBottom "5px" = "5px" height = "auto" id = "gr7" >

    < af:gridCell marginStart = "5px" id = "G.c.5" >

    "< af:inputDate binding =" #{PlanejamentoMB.richInputDateSaida} "id ="dt1hourSecond"label =" Saida:

    requiredMessageDetail = "Campo de O" Saida e required. inlineStyle = "width: 280px;" >

    < af:clientListener type = "focus" method = "onhourFocusSimple" / >

    < f: convertDateTime pattern = "Hh: mm" / >

    < / af:inputDate >

    < / af:gridCell >

    < / af:gridRow >

    < af:gridRow marginTop = marginBottom "5px" = "5px" height = "auto" id = "gr8" >

    < af:gridCell marginStart = "5px" id = "CG7" >

    < af:selectBooleanCheckbox label = "" distributed: "contentStyle =" position: absolute; ' " left: 68px; »

    Binding = "#{PlanejamentoMB.richBooleanDistribuido}" id = "sbc1" / > "

    < / af:gridCell >

    < / af:gridRow >

    < af:gridRow marginTop = marginBottom '10px' = '5px' height = 'auto' id = "gr6" >

    < af:gridCell marginStart = '5px' id = 'G.c.8' halign = 'end' >

    < af:commandButton text = "Salvar" partialSubmit = "true" inlineStyle = "width: 120px;" id = "cb1".

    actionListener = "#{PlanejamentoMB.salvarTremGrade}" / >

    < / af:gridCell >

    < af:gridCell marginStart = '5px' id = 'gc81' halign = 'end' >

    < af:commandButton text = "Cancel" partialSubmit = "true" inlineStyle = "width: 120px;"

    immediate = "true" id = "cb2".

    actionListener = "#{PlanejamentoMB.cancelarInclusaoTrem}" / >

    < / af:gridCell >

    < / af:gridRow >

    < / af:panelGridLayout >

    < / af:dialog >

    < / af:popup >

    < / f: view >

    Hello

    Some time ago I have the same problem, but my problem is that I put ppr as a property of refreshment in the links (on iterator).

    But result was the same, the mandatory fields have been posted after the popup is displayed.

    Your JSF I see that you have no links. Im not sure exactly where you store your data?

    labelStyle = "position: absolute;" left: 12px; ' autoSubmit = 'true '.

    Binding = "#{PlanejamentoMB.richSelectOneOrigem}" id = "soc2" "

    valueChangeListener = "#{PlanejamentoMB.popularDestinoPorOrigem} '"

    requiredMessageDetail = "O campo Origem e required."

    >

    You do not have the "value" attribute Maybe that's the problem? You work with data in your valueChangeListener but maybe if you do not set a value attribute adf you give validator msg?

    Best regards

    Rafal

  • Validation of the ADF problem

    Hi all

    I use the adf validation something like this < af:inputText id = "it1" required = "true" / >.

    As I think, validation should trigger when the user clicks on submit button.
    But this type of validation triggers on any click on the page. (eg. menu, Panel box collapse and expand)
    So, same user do not want to submit the entry, they want to go to other page they need to fill this text box.

    Is there any solution for this?

    With respect,
    WP

    Published by: user8729650 on October 26, 2009 20:50

    Hello

    I just tried with this

          
            
              
                
                  
                
              
              
            
          
    

    You get errors, when you go to the tab ShowDetailItem 2.

    Now try with this

          
            
                <=== Added immediate="true"
                
                  
                
              
              
            
          
    

    You won't get an error when you go to the shwoDetailItem tab 2. Please adjust your code accordingly.

    Arun-

  • Deployment Mobile ADF problem

    Hello-

    I'm so frustrated with the ADF Mobile deployment. I have already created several Android applications using the native language and never did face problems of this kind. I am very familiar with the ADF development as well.

    in any case, it's my problem.

    I downloaded the mobile application of adf sample from the following tutorial, but I have been unable to deploy on the Android emulator in Release mode. The debug mode takes forever.

    Oracle JDeveloper 11 g Release 2 tutorials - creating Mobile Applications with Oracle ADF Mobile

    This is the error messages I receive:

    [23: 02:51]-deployment began.  ----

    [23: 02:51] the target platform's (Android).

    [23: 02:51] early deployment of ADF Mobile 'Employees' to Android application using the profile "Android3."

    [23: 02:51] undeployment.

    [23: 02:51] - incomplete deployment.

    [23: 02:51] the following configuration of Android preference is invalid or missing. Set these options in the preferences of JDeveloper on the Panel of the ADF Mobile:

    Key to past

    (oracle.adfmf.framework.dt.deploy.android.deployers.ValidatePreferencesDeployer)

    I generated the keystore using keygen by the tutorial and it's not ' t help.

    That's how I validated the keystore.

    C:\Oracle\MiddlewareMob\jdk160_24\bin > emp.keystore keytool-list - keystore

    Enter keystore password:

    Keystore type: JKS

    Keystore provider: SUN

    Your keystore contains 1 entry

    EMPL, November 19, 2013, PrivateKeyEntry.

    Certificate fingerprint (MD5): 8A: 27:53:64:B3:AF:01:CA:9 C: 2F:47:2 A: 50:16:E4:40

    C:\Oracle\MiddlewareMob\jdk160_24\bin >

    I tried to recreate the file of keys twice, but it did not help. I know that the entered password is correct.

    Any suggestions will be appreciated. Also, I started learning JQuery Mobile at the same time.

    Thank you

    S

    I had the same problem and then I realized that the tools-> preferences window is too small so don't see «Key Password"field within the «Realase» tab Just resize the window.

  • I can't copy my files to windows movie maker. When I try to copy them, I GET a POPUP STATING THAT PROBLEM OCCURRED. Windows Media did the same thing and I have service pack 3 so-called.

    MOVIE MAKER DOES NOT ALLOW ME TO IMPORT FILES TO CREATE A MOVIE. WHEN I create files to create a cd or a slide show with windows media player I have a popup indicating that there is a problem with my cd player or the idon't have a and there a burner cd, used it all the time so far.

    Hi I'mafteru.

    1. don't you make changes before the show?

    Sometimes no Microsoft programs running on the computer may cause this problem. Try the following steps:
    Step 1: Check if a non-Microsoft program is causing this issue
    see How to configure Windows XP to start in a "clean boot" State .
    b. restart the computer and check if the problem persists. If the issue is not persistent, then from the article, follow the method 1 and method 2 to find out if any program is causing the problem.
    c. Once you have found the culprit which is the program that is causing the problem, then uninstall it or reinstall once more to solve the problem.

    Note: Article, remember to follow 'steps to configure Windows to use a Normal startup state. "

    Step 2: Remove the unwanted registry entry
    a. see the CD-R or CD-RW drive is not recognized as a recordable device
    b. follow the steps in the article, and then restart the computer.
    c. check to see if the problem persists.

    Important: Modifying the registry incorrectly or remove will cause serious damage to the computer. It is recommended to back up the registry before you edit it.
    See How to back up and restore the registry in Windows

    For your reference: Movie Maker frequently asked questions

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Changes in validation ADF dynamic region on swap of the region

    Hello

    I use JDeveloper 12.1.3

    In my application, we have a single page with a dynamic region. By clicking on the buttons of the region cools in a new page (a typical behavior of the dynamic region).

    However, I have a question asking the user to commit changes in a page before moving out of the region. Is there a standard way to solve this problem?

    To add to the question, if there are 5 (for example) regions with 5 buttons, each in the region is filled with a shared library.

    Help, please.

    Thank you

    Kamal

    See if this post helps you: Andrejus Baranovskis Blog: integration into Oracle ADF with ADF task flows and dynamic regions pending changes

  • Publish with the help of af: Message for date validations ADF

    Hi Experts,

    I get the following error message when you use adf date using af: message instead of a Note window. As you can see int right below the screenshot, what happens is invalid when date is entered once, while a single error message appears below the component, but when the user clicks on the date picker icon after that every time a message is added under each time as shown below.

    date validation using af_message.png

    I use Jdev 11.1.1.5. Please let me know if there is a solution for this using java script or a property in jsf.

    < af:inputDate label = 'test' id = 'dat' >

    < / af:inputDate >

    "< af:message id ="m1"for =": dat ">"

    The solution to the above problem is,

    function errorMessClear (evt) {}

    source var = evt.getSource ();

    AdfPage.PAGE.clearMessages (source.getClientId ());

    }

  • Refresh paging ADF problem

    Hi all

    I created a form of research that is filtering some registration and fill in af:table.

    In my table, I've implemented pagination using scrolling strategy in ADF 11.1.1.7.

    Forward and backward navigation works perfectly well. Suppose that I am on the 4th page and perform a search based on certain criteria.

    . Filtered check are shown in the table but my pagination control is on page 4.

    Ideally, it should reset and go on the 1st page.

    Please suggest any other solution to this problem.

    Thank you

    AK.

    This piece of code restores intial position (1) indicator of pagination.

    private void refreshTable() {}

    create a range for the table change event

    Event RangeChangeEvent = new RangeChangeEvent (array, 0, 0, 0, 0);

    table. Broadcast (Event);

    AdfFacesContext.getCurrentInstance () .addPartialTarget (table);

    }

  • ConvertColor ADF problem

    Hello

    I am trying to use the color of the adf and I am facing a problem. Basically, I just try to display the string of color as the color code and here is my code.
    <af:inputColor label="#color" id="ic2" compact="true" simple="true" readOnly="true"  value="#{row.DeptColorcode}">
    <af:convertColor patterns="#RRGGBBAA" transparentAllowed="true"/>
    The color code strings are as #ff0000ff so I guess the color model that I've specified is correct. But it does not work. Can someone help me check the code? Thank you.

    Kind regards

    K.Hein

    Published by: K eh on April 18, 2011 11:04

    Looks like you have to do a work around that the inputColor is unable to manage the channel (she waits a java.awt.Color).
    Take a look at this {: identifier of the thread = 578024}
    Steve Muench provided a solution at the end right.

    Timo

  • JQuery Date Picker Validation - format problem

    Hello

    I use 2 text elements with Jquery dateicker date of beginning and end of the date elements.

    I now have to write a JS validation to ensure that the start date < = end date.

    The dateformat of my articles are a-M-AA ' (March 2, 2010)...

    When I try to use the Date.parse () function, it gives me an error of invalid date...
    If I change the format of date mm/dd/yy (02/03/2010) then there is no problem, I can use Date.parse () and compare the two dates, I get no error. However I need to be the format of date: March 2, 2010

    Below is a simple version of the function JS Iam using compare dates and alert error
    function f_validate()
    {
    var a = $v('P1_START_DATE');
    var b = $v('P1_END_DATE');
    
    var startDate = new Date();
    var endDate = new Date();
    
    startDate = Date.parse(a);
    endDate = Date.parse(b);
    // if I alert() startDate or endDate it says invalid date
    if (startDate>endDate){
    alert('error');
    else
    {
    doSubmit();
    }
    }
    
    
    
    } 
    If someone did a similar validation with Jquery datepickers to the a-M-AA format '?
    Also, how can I use $. datepicker.parseDate in my Javascript function so that I can convert dates to default and then compare them...
    Appreciate ideas/pointers


    Thank you
    Dippy

    Published by: Fisher on March 2, 2010 12:42 AM

    I used the following without problems:

       var gasDay = $v('P0_GAS_DAY');
       var gasDayDate = new Date();
       gasDayDate = $.datepicker.parseDate('dd-M-yy', gasDay,
       {
          monthNamesShort : ['JAN', 'FEB', 'MAR', 'APR', 'MAY', 'JUN', 'JUL', 'AUG', 'SEP', 'OCT', 'NOV', 'DEC']
       }
       );
    
  • 10.1.3 to 11.1.1.2.0 ADF ADF: problem of Migration

    Hi all

    I have a 10.x application built on business ADF for the model layer (no DB, only webservices) component and ADF - JSF to view layer.
    I try now to migrating the application to JDeveloper 11 and have had few errors during migration (I used standart Wizard comes with JDeveloper 11).
    but, meaner I can't build model layer after migration - build process get these errors:
    "{class name} is already defined in this compilation unit.
    all classes to extend oracle.jbo.server.ViewRowImpl.
    I checked and the structure of the source model has not changed since the migration.

    What could be the problem?

    Thank you

    HM, never seen cela when I migrated a few projects.
    The reason is that11.1.1.2.0 use javac to compile the sources while 10.3.1 uses JOC the compiler to java to oracle which is less strict.

    Try to organize imports (I remember that this can be a problem).

    Timo

  • Function save/return ADF problem

    Hi all

    I use Jdeveloper 11 g. I have an Orders table in the database and two pages in the ADF. A page is a table of the ADF that contains a list of order records. There is a 'Create a new order' button at the bottom of the page. Another page is a detail of the form for editing a record of command ADF command or the creation of a new order record. There are two buttons at the bottom of the form. One is 'Save' for editing the reocrd existing or create a new record. Another is 'Back' for the page Table ADF proevious backup without doing anything.

    When I click on "Create new order" on the first page, I came to the second page that has a negative orderId displayed. At this point, if I decide to create a new reocrd by clicking on the 'Back' button, I got an error popup window that displays all the fields required in the page. If I find out the required fields and click the 'Back' button again, it does not take back me the previous page in the Table of the ADF. However, it adds an extra record in the table whose orderId is the negative value displayed in the detail of the previous page. I have found that it has not created a new record in the database.

    Then, if I want to contine create a new record and I want to just go back to the proevious page, how do I 1) is not to have the popup displayed error? (2) not to have a record added to the table of the ADF?

    Here is the code for 'Create a new command' in the Table of the ADF page.

    < af:commandButton actionListener = "#{bindings." Create1.execute}.
    Text = "create a new order.
    Disabled = "#{!}" bindings. Create1.enabled}"id ="cb2 ".
    partialTriggers = "t2" action = "goEditOrder" / >

    Here is the code for 'Save' and 'Back' in the form of the ADF page,

    < af:commandButton actionListener = "#{bindings.Commit.execute} '"
    Text = "Save."
    ID = "cb3" / >
    < af:commandButton text = "Return Order" id = "cb4" action = "goBackOrder" / >

    Any help is greatly appreciated.

    John

    Hi John,.

    You can link the cancellation to the command button to return as an actionListener and action to the existing one.

     
    

    Arun-

  • Link command ADF problem

    Hi all

    I use Jdeveloper 11 g. I have a master / detail relationship tables order and OrderItem. I have an edit page command that has modifiable order information and a table read-only ADF that contains a list of items associated with the current command. I have a link to ADF command on the LineItemId column in the table. When I click on the link, it will take me to the edit page of point. The problem is, whenever I select any element in the table, I've always had the first item to be loaded into the page of the item change. Someone have any ideas what I did wrong?

    Here is the part of the code connects to the command binding,

    < af:column sortProperty = "LineItemId" sortable = "false".
    headerText = "#{bindings." OrderItemsView2.hints.LineItemId.label}.
    ID = 'c4' >
    < af:commandLink actionListener = "#{bindings.setCurrentRowWithKeyValue.execute} '"
    Text = "#{rank." LineItemId}.
    Disabled = "#{!}" Bindings.setCurrentRowWithKeyValue.Enabled}.
    "ID ="cl1"partialTriggers =": t1.
    action = "goOrderItemDetail" / >
    < / af:column >

    Thanks in advance,

    John

    Published by: john wang on August 20, 2009 07:31

    Hello

    If the point editing page uses the same data control such as the one that is displayed on the edit page command you need not to use setCurrentRowWithKeyValue.
    He should be positioned on the line concerned.

    As a side note setCurrentRowWithKeyValue requires a value for the value of the key. This is possible by creating a data (e) in the definition of page links
    for the setCurrentRowWithKeyValue binding.

    HTH
    Paul

  • Cannot deploy the mapping which is validated fine-problem when debugging

    Hi all


    I have a complex with almost thirty tables involved mapping.
    I created a mapping with the step by step process of t1 Join t2, t2 join t3... t29 join t30
    Mapping looks very good and has been validated successfully.
    When I try to deploy the same he throws me the warnings below...



    How to solve this problem?
    How to locate the exact problem in pls code region generated during deployment.

    Thank you very much!
    SRID

    Here is the warning of deployment



    COPY_OF_MAP_PS_2OJAN
    Create
    Warning
    ORA-06550: line 11, column 3:
    PL/SQL: ORA-00923: KEYWORD not found where expected
    COPY_OF_MAP_PS_2OJAN
    Create
    Warning
    ORA-06550: line 11, column 3:
    PL/SQL: SQL statement ignored
    COPY_OF_MAP_PS_2OJAN
    Create
    Warning
    ORA-06550: line 2247, column 3
    PL/SQL: ORA-00923: KEYWORD not found where expected
    COPY_OF_MAP_PS_2OJAN
    Create
    Warning
    ORA-06550: line 2247, column 3:
    PL/SQL: SQL statement ignored
    COPY_OF_MAP_PS_2OJAN
    Create
    Warning
    ORA-06550: line 4738, column 7:
    PL/SQL: ORA-00923: KEYWORD not found where expected
    COPY_OF_MAP_PS_2OJAN
    Create
    Warning
    ORA-06550: line 4738, column 7:
    PL/SQL: SQL statement ignored


    Summary of the offer
    Update: 2009-01-21 07:38:57.0 job final status: completed WARNING processed job count: 1 number of job errors: 0 Job Alert Count: 6




    My mapping has only 18808 lines when I looked the .pls script generated during deployment (surprisingly... the Debug displays message error is on line 22776)

    When trying to debug the mapping below is the debug message
    Analysis of card to debug...
    Retrieving the connection of Control Center information...
    Connecting to the Control Center schematic...
    The character set of the Control Center schema checking...
    Configuration of the sources and targets...
    Card validation...
    Correlated Commit is DISABLED.
    Generate debug package...
    Deployment of debug temp tables...
    Deploying debug package...
    ***********************************************
    Messages of debug code deployment:
    LINE 22776, COLUMN 46:
    PLS-00103: encountered the symbol "B_BN_BNI_66_BN_ORIGI$ 2" when expecting one of the following values:

    . (* % & = - +; <>/ at mod is still not rem)
    < an exponent (*) > <>or! = or ~ = > = < = <>and or LIKE2_
    LIKE4_ LIKEC_ between | Member of multiset SUBMULTISET_
    The symbol "." was replaced by "B_BN_BNI_66_BN_ORIGI$ 2" to continue. "

    End of messages of debug code deployment
    ***********************************************
    Mapping debugger error:
    oracle.wh.service.sdk.mapping.debugger.WBMappingDebuggerException: DBG1012: Debug deployment errors, can't run debug code.

    Hello

    There is only one version of the software. Whether or not you must license depends on the features you use.

    Generates code in the mapping Editor by using the button "generate".
    In the build results window, select style generation = operating mode and middle = 'Set [PL/SQL] founded.
    Now you must select a group entry or exit of some operator in your mapping.

    The build results window then displays a SQL statement that represents the data that would go in the group you selected.
    Run the SQL directly in your target schema (using sql * plus, sql developer, etc.).
    If the SQL code cannot be run, the problem is in this particular part of the mapping.
    You can try to locate further.

    Good luck
    Carsten.

  • Regional settings please help ADF problem

    I use ADF to develop a multilingual application
    I have a problem with the locale in dialog boxes

    In the index page, I placed two buttons, one for English and one for Arabic, I used the following code
    FacesContext ctx = FacesContext.getCurrentInstance ();
    UIViewRoot uiRoot = ctx.getViewRoot ();
    Locale locale = new local ("ar");
    (local) uiRoot.setLocale;

    works quite well with normal JSF navigation with false redirection
    but when you use the dialog box (Ex: dialog: FAQ), it does not work.
    I tried to put the local tag property of view in the JSF dialog box to be an attribute of the managed bean, but it doesn't also

    Help, please

    I don't see this error, but you could do more defensive custom page lifecycle code by changing lines 37-47, of CustomFacesPageLifecycle.java of:

          for (ControlBinding cb : (List)lfContext.getBindingContainer().getControlBindings()) {
            if (cb instanceof JUCtrlListBinding) {
              JUCtrlListBinding lb = (JUCtrlListBinding)cb;
              // If the list has a translatable null value
              if (lb.hasNullValue()) {
                // Force the list of values for the list binding to be recalculated
                // so that the null value text will be in the new locale.
                ((JUCtrlListBinding)cb).setValueList(null);
              }
            }
          }
    

    to do this instead:

          if (lfContext.getBindingContainer() != null) {
          for (ControlBinding cb : (List)lfContext.getBindingContainer().getControlBindings()) {
            if (cb instanceof JUCtrlListBinding) {
              JUCtrlListBinding lb = (JUCtrlListBinding)cb;
              // If the list has a translatable null value
              if (lb.hasNullValue()) {
                // Force the list of values for the list binding to be recalculated
                // so that the null value text will be in the new locale.
                ((JUCtrlListBinding)cb).setValueList(null);
              }
            }
          }
        }
    

    I'm not used to work in a locale from right to left, myself, not sure if who will present other problems.

    I just wanted you to see an example of a solution of two local which you can change if all goes well then if necessary to ensure that it works for specific local both, you need to press.

Maybe you are looking for