Refresh control hints lables after change the locale

Hello,
I'm building a web application using ADF ( JSP/BC4J/STRUTS ).
I want to give the user the facility to change the display language, so i made an event on a Data Action that change both HTTP session locale and Application Module session locale
the code is :
public void onChangeLang(DataActionContext ctx)
Locale userLocale = getLocale(ctx.getHttpServletRequest());
String newLang = "en";
if ("en".equals(userLocale.getLanguage()))
newLang = "ar";
Locale newUserLocale = new Locale(newLang,"") ;
setLocale(ctx.getHttpServletRequest(),newUserLocale);
ctx.getBindingContainer().getDataControl().setLocaleContext(new DefLocaleContext(newUserLocale));
ctx.getBindingContainer().refreshControl();
The locale change correctly after executing this action , but the control hint labels remain as it is !!
So how i can refresh these labels, or how i correctly change the user language based on his event ?

Hi,
anybody can help in this problem !!

Similar Messages

  • How can i refresh view on query after changing the query?

    Hi,
    i built few view's on 1 query in BI7. after i made a change in the query i haven't seen it in the view, why?
    it's not refreshing automaticly from the query? and if it's not, how can i refresh the view?
    thanks
    Meirav
    Edited by: Meirava on Apr 2, 2009 11:43 AM

    Hi,
        You need to refresh that view and once again save the view with changed settings. Then it will brings according to the query changes.Once check the variables also.
    Regards
    Pcrao.

  • Wrt1900ac (I changed the local ip of the router after a power outage)

    I changed the local ip of the router after a power outage,which brings me a lot of trouble because I have everything set up based on a class C network (192.168.1.x) and I changed it to a ip Type A (10.xxx), someone happens the same there any solution ?

    Hi juanmanuelvazquez. Have you tried to do a hard reset to the unit and reinstall it from scratch?  I suggest that you do so as power interruption normally brings the router back to default settings thereby messing up the network. To do the proper reset, please press down the reset button at the back of the router for 30 seconds while the device is powered on. Release the button and unplug the device. Reinstall everything from scratch.
    Hope that helps.

  • After changing the context path, felix console, I can not checkout content via vlt.

    Hi everyone,
    I have the following issue. After changing the context path, via felix console, I can not checkout the content via vlt. Before that, I could checkout without any problems.
    I am using CQ5.5, CRX2.3, context path: /Test
    That is what I am trying:
    vlt -v --credentials admin:admin co http://localhost:23310/Test/server/crx.default
    Connecting via JCR remoting to http://localhost:23310/Test/server
    [WARN ] Authentication required to access repository descriptors
    [ERROR] checkout: com.day.jcr.vault.vlt.VltException: Unable to mount filesystem
    caused by: javax.jcr.ItemNotFoundException: Not Found
    caused by: org.apache.jackrabbit.webdav.DavException: Not Found
    Other versions I tried:
    vlt -v --credentials admin:admin co http://localhost:23310/crx
    vlt --credentials admin:admin co http://localhost:23310/Test/server
    vlt --credentials admin:admin co http://localhost:23310/Test
    vlt --credentials admin:admin co http://localhost:23310/Test/crx
    To verify if I could connect to the instance properly I started CRXDE
    and try to connect to "http://localhost:23310/Test"
    After click the ok button I got that error:
    No file system is defined for scheme: jcr
    Part of the .log file (.crxde):
    eclipse.buildId=unknown
    java.version=1.6.0_37
    java.vendor=Apple Inc.
    BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=de_DE
    Framework arguments:  -keyring /Users/peterwimsey/.eclipse_keyring -showlocation
    Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -keyring /Users/peterwimsey/.eclipse_keyr
    ing -showlocation
    !ENTRY org.eclipse.core.resources 2 10035 2012-11-25 19:01:19.268
    !MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to
    recover changes.
    !ENTRY org.eclipse.osgi 4 0 2012-11-25 19:04:14.363
    !MESSAGE Application error
    !STACK 1
    java.lang.reflect.InvocationTargetException
            at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:121)
            at com.day.cq.ide.CQDEApplication.start(CQDEApplication.java:62)
            at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
            at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau
    ncher.java:110)
            at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav
    a:79)
            at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
            at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
            at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
            at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
    Caused by: org.eclipse.core.runtime.CoreException: No file system is defined for scheme: jcr
            at org.eclipse.core.internal.filesystem.Policy.error(Policy.java:55)
            at org.eclipse.core.internal.filesystem.Policy.error(Policy.java:50)
            at org.eclipse.core.internal.filesystem.InternalFileSystemCore.getFileSystem(InternalFileSys temCore.java:65)
            at org.eclipse.core.internal.filesystem.InternalFileSystemCore.getStore(InternalFileSystemCo re.java:107)
            at org.eclipse.core.filesystem.EFS.getStore(EFS.java:350)
            at com.day.cq.ide.fs.JCRFileSystemPlugin.registerExtensions(JCRFileSystemPlugin.java:100)
            at com.day.cq.ide.init.SetupWorkspaceOperation.initWorkspace(SetupWorkspaceOperation.java:16 6)
    Any tips or hints are welcome.
    In the case you need more information, just leave a note.
    Thanks in advance for your help.
    Best regards,
    Peter

    The VLT works fine with the above URL change but How to fix "CRXDE" Initialization error if a context path is defined?
    I have a context path defined /Test and when I am trying to login to CRXDE with URL as http://localhost:4502/Test, I am getting below Initialization Error.
    Any workaround as Which URL should work while logging to repository (with context path) using CRXDE 1.0.1
    eclipse.buildId=unknown java.version=1.6.0_06 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Command-line arguments:  -os win32 -ws win32 -arch x86 !ENTRY org.eclipse.osgi 4 0 2013-04-25 17:50:23.802 !MESSAGE Application error !STACK 1 java.lang.reflect.InvocationTargetException at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:121) at com.day.cq.ide.CQDEApplication.start(CQDEApplication.java:62) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514) at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
    Caused by: org.eclipse.core.runtime.CoreException: No file system is defined for scheme: jcr
    at org.eclipse.core.internal.filesystem.Policy.error(Policy.java:55) at org.eclipse.core.internal.filesystem.Policy.error(Policy.java:50) at org.eclipse.core.internal.filesystem.InternalFileSystemCore.getFileSystem(InternalFileSys temCore.java:65) at org.eclipse.core.internal.filesystem.InternalFileSystemCore.getStore(InternalFileSystemCo re.java:107) at org.eclipse.core.filesystem.EFS.getStore(EFS.java:350) at com.day.cq.ide.fs.JCRFileSystemPlugin.registerExtensions(JCRFileSystemPlugin.java:100) at com.day.cq.ide.init.SetupWorkspaceOperation.initWorkspace(SetupWorkspaceOperation.java:16 6) at com.day.cq.ide.init.SetupWorkspaceOperation.execute(SetupWorkspaceOperation.java:119) at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800) at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118) ... 13 more Root exception:
    Thanks.

  • No effect after changing the message mapping

    Hi everybody,
    i'm using PI 7.1. After changing the attributes in my message mapping i can no see any effect in my result.
    Should it be a cache problem? Where can i delete the caches?
    regards,
    Sid

    Hi,
    I guess there can be two things.
    before going to the tcode sxi_cache...
    Please go to the IR, Click Environment, Cache Notification and then select author as your id.
    Now see if any are in red status. if so click on the change and click Repeat Cache Notification.
    Now press refresh.
    I guess this will resolve your problem

  • Interface getting failed after changing the Business system to that service

    Hello All,
    Our Env... is XI 3.0 and this is related to produciton env.
    Based on our client requirment to change the business system from client 871 to 100 for  one of the R3 system which is reciever type(rfc).
    After doing all the necessary changes , that particular service is getting failed and in the CC monitoring for that service I can see the log as "RFC_ERROR_LOGIN_FAILURE" mandate 871 (earlier client) does not exist in  the system.
    The steps which I have followed to change the Business system.
    1>I loged into the SLD of PRD system and clicked on businsess landscape .then i have clicked on the specified system to be changed (RY1 ) and then clicked on change mode and selected the required client (100) and saved the settings.
    2>I have logged into ID(Integration Directory) and selected the service (RY1) which need to be changed .Under service -->Adaper specific -->compare sld configurations and then clicked on apply changes.
    3>Now selected that communication channel of service (RY1) RFCRecieverR3 and changed the client 871 to 100 and the password of user XIRFCUSER ...
    Then i saved the changes and after that i have activated that interface.
    After that when i logged into CC monitoring and viewed that service channels and see the following errors:
    Receiver channel 'RFCReceiverR3' for party '', service 'RY1'
    Error can not instantiate RfcPool caused by:
    com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.af.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: Mandante 871 não existente no sistema (selecionar mandante existente)
    Can any one help me out of this situation , and i need to fix this ASAP as this is production system.
    Awaiting for your reply.
    Best Regards
    Rakesh Reddy

    Hello Nisar
    Thanks for the update,
    Let me say few points  about this particular problem:
    1>The interface "XX" from XI sends data to two systems( R3 -->RP1 & RY1), some thing like branched (same data is passed to both the reciever systems).
    And the second RY1 is copy of First system RP1 (Production sys) which is used for data loading purpose and every week there will be a refresh from First sys (RP1) to Second(RY1).
    2>Now the first sys(RP1) is recieving the data successfully from XI , and the second one (RY1) is getting failed .And this started after changing the Business system 871 to 100 .
    3>As mentioned by you , I have checked all the points mentioned
        i)In SM59 for XI (ABAP part) two rfc's are maintained (LCRSAPRFC & SAPSLDAPI) and the test connection is also fine...But I did not find these two connections in reciever systems(RP1 & RY1 too).
       ii)In reciever system RY1 ,when i went to RZ70 , i did not noticed any special settings and SLD Bridge :Gateway Information is not maitained over there .and the same thing in other reciever system(RP1) , with this can we confirm that there is nothing wrong in RZ70 settings.
       iii)In SLDAPICUST at recievers end for both systems nothing is mantained , where as in XI system all the details are maintained(Host name,port, user & password).
    I have translated the error log into english from the CC monitoring for this interface which is in portuguese language .
    It says that:
    RFC_ERROR_LOGON_FAILURE: 871 Mandante not in the system (select principal existing)
    Kindly advise me what to do ..for fixing this problem(this is pretty urgent and it is production env...)..
    If any information required , I can provide that.
    Best Regards
    Rakesh Reddy

  • Refreshing ADF Query Component after changing some property of a criteria

    Hi All
    Use Case : Refreshing ADF Query Component after changing some property of a criteria attribute.
    I have a query panel with 2 query criteria i.e. FirstName and DepartmentId where in DepartmentId is a drop down. The scenario is like when change the value of DepartmentId to 'Finance' with code value of '100' then my criteria attribute 'Firstaname' should be invisibe(queriable=false).
    Approach: Have overriden the queryOperationListener of adfquery as " queryOperationListener ="#{backingBeanScope.backing_queryLstener.processQueryOperation}" "
    My backing bean method goes as below :
    public void processQueryOperation(QueryOperationEvent queryOperationEvent) {
    // Add event code here...
    if( queryOperationEvent.getOperation().equals(queryOperationEvent.getOperation().CRITERION_UPDATE) ){
    DCBindingContainer bindings = (DCBindingContainer)this.getBindings();
    DCIteratorBinding iter =bindings.findIteratorBinding("EmployeeView1Iterator");
    ViewObjectImpl voimpl = (ViewObjectImpl)iter.getViewObject();
    ViewCriteria vc = voimpl.getViewCriteriaManager().getViewCriteria("EmployeeViewCriteriaDemo");
    Row currRow = vc.first();
    System.out.println("Department :"+currRow.getAttribute("DepartmentId"));
    if( (Integer)currRow.getAttribute("DepartmentId") ==100 ){
    AttributeDef[] attrs = voimpl.getAttributeDefs();
    int attrIndex = voimpl.getAttributeIndexOf("FirstName");
    ViewAttributeDefImpl attrDef = (ViewAttributeDefImpl) attrs[attrIndex];
    attrDef.setQueriable(false);
    // AdfFacesContext.getCurrentInstance().addPartialTarget(getQryId1()); //here i need to refresh the query component which is not happening
    // refreshQueryComponent(getQryId1());
    Everything is happening as expected but the query panel s not get refreshed.When i refresh the whole link/page then i can see the change.
    Please suggest.
    Thanks in adv.
    -Sanjeeb

    Hi,
    can's say anything about the first part of the question as more insight to the implementation would be required. However, have a look at http://www.oracle.com/technetwork/developer-tools/adf/learnmore/83-bidi-synchronization-tree-form-401841.pdf, which may be what you are looking for
    To the second part: You can programmaticallly refresh the tree component from a managed bean. So instead of using the declarative PPR option (or ChangeEventPolicy set to PPR on the iterator binding) you can wire the submit button to the managed bean, perform your validation and if it fails don't refresh teh tree
    The call is
    AdfFacesContext.getCurrentInstance().addPartialTarget(the_tree_instance)
    Frank

  • HT5858 In the control center I can change the mute or the rotation but not both.  How do I fix this.  In settings I can not uncheck both the mute and rotation lock.

    In the control center I can change the mute or the rotation but not both.  In the settings area therefore I can't uncheck the mute and rotation settings at the same time.

    Check your settings. The iPads have a small switch on the right edge. It can be used as a rotation lock to keep the screen from automatically reorienting itself as you move around, but you need to have the tablet’s settings configured properly. That same switch, right above the volume buttons, can also be set to function instead as a mute button to silence certain types of audio.
    If the switch is set to work as a mute button, you can change its purpose to “screen-rotation lock” by tapping the Settings icon on the home screen. On the Settings screen, tap General on the left side, and on the right side of the screen flick down to “Use Side Switch to.” Tap to select Lock Rotation or Mute to set the button’s function. Even if you set the side switch for your preferred use, you can still mute the Mini or lock the screen. Just double-click the Home button, and when the panel of apps appears along the bottom edge of the screen, flick the row from left to right with your finger. Tap the icon on the far left side of the row to either lock the iPad’s screen or mute the iPad’s alerts, notifications and sound effects. Music, podcasts and video are not muted unless you turn the volume all the way down.
     Cheers, Tom

  • PDF in Word after changing the old PC

    How can I use the Adobe ExportPDF after changing the crashed and old PC

    Hi Zis,
    I'm sorry to hear that your computer crashed. That's never any fun. But, you shouldn't have any trouble accessing ExportPDF on your new system. Simply log in directly to cloud.acrobat.com/exportpdf. And, you if typically access the service from within Reader, you can download the free Adobe Reader from www.adobe.com/products/reader.html.
    Please let us know if you need additional assistance.
    Best,
    Sara

  • ORA-12545 error after changing the host name as IP address in Tnsnames.ora

    HI,
    I tried to connect PHP and oracle in Red Hat linux. I got error ORA-12545 after changing the host name as IPAddress in Tnsnames.ora file. In sqlnet.ora file also i have entry for tnsnames in Directory_Path. I struggled so much but i couldnt solve that. Please give me ur valuable suggestions....

    12545, 00000, "Connect failed because target host or object does not exist"
    // *Cause: The address specified is not valid, or the program being
    // connected to does not exist.
    // *Action: Ensure the ADDRESS parameters have been entered correctly; the
    // most likely incorrect parameter is the node name. Ensure that the
    // executable for the server exists (perhaps "oracle" is missing.)
    // If the protocol is TCP/IP, edit the TNSNAMES.ORA file to change the
    // host name to a numeric IP address and try again.
    Seems you specified wrong IP address.

  • Poor Printing quality after changing the catridges

    After changing the complete set of catridge print quality is very bad and only prining in Magenta & Grey color.
    regards,

    Please read this post then provide some details.  What printer model? What operating system?  Are there any error messages on the printer or computer screen?
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Concerning Epson Printer 4880: after changing the Ink from Photo Black to Matte Black I'm not getting the Epson Software in Photoshop and Lightroom. I can not select the paper medium, I don't see my profiles. What is wrong?

    Concerning Epson Printer 4880: after changing the Ink from Photo Black to Matte Black I'm not getting the Epson Software in Photoshop and Lightroom. I can not select the paper medium, I don't see my profiles. What is wrong?

    That is priceless!!!  Thanks!  I sure needed a good laugh after spending/wasting hours & days trying to either get my c6280 to give up on its Ink System Failure fixation, or find a decent replacement.  Unfortunately I need the Smart Web Printing feature that I guess only HP has, or I'd try a different brand. And now even HP has very few models with that available.
     My error msg is a little different from those previously stated, but close:  0xc18a0201.  Even tho there were frustrations with my c6280, I did like several of its unique features which are hard to find now under $100.  I hate how HP (& I suppose other brands also) are CONSTANTLY changing models & then of course ink cartridges.
    Oh heavens, I've had the c6280 a whopping 2 1/2 years!   I'm sure they want us poor slobs to have to buy a new one every year & a day!  To say nothing of the exorbitant prices for ink.  And now if this one is really dead in the water, I have SIX unused #02 ink cartridges which I cannot return---I got them in a combo pack, & for some reason have wound up with THREE lite pink & THREE lite blue cartridges, while having to buy extras of the other colors, that ran out before the others!!!   Yeah, & what's with that not being able to print in BLACK if a color runs out????
    Anyway I really loved your essay!   It's a classic!  And says it all!  I hate that we have to be 'slaves' to the electronic 'wonders'!!!

  • I have enabled pop ups through safari preferences but a website is still saying that they must be enabled. I have tried this on other browers after quiting and restarting after changing the preferences

    I have enabled pop ups through safari preferences but a website is still saying that they must be enabled. I have tried this on other browsers after quitting and restarting after changing the preferences

    How about extensions? Perhaps you have an adblock extension installed.
    Check Safari > Preferences > Extensions

  • DMP-4400G How can I change the local time

    Hi,
    Recently I installed DMS 5.0.2 and DMP-4400G for Digital Signage. Now I am running a Flash application that is embedded into a HTML page, but sometimes the DMP does not show the content of the flash, the LCD shows a temporary error; this error never occurs when I use a standard PC with any Internet browser to display the same content. The webmaster says that DMP does not have an updated time and date. Do you know how to change the local time and date of the DMP-4400G.
    Thanks for your help.

    Jhon,
    There are couple of things...
    1. The DMP 4400G has a internal clock but at this time there is no way to change the date & time on the DMP 4400G.
    What does the date & time have to do with the Flash Content anyway?
    2. What version & type of Flash is being used for this embedded Flash content? Is the correct version selected & configured on the DMP?
    Cheers!
    T.

  • EXIT after changing the document status to Parked and complete

    Hi,
    I have an urgent requirement to findout a exit which will trigger after changing the document status to PARKED and COMPLETE. I need this for invoice and FI document.
    I will really appreciate your help.
    Kuntal

    Yes the Workflow Background process completed successfully with no errors. I see the error when I query up the Sales Order go to menu --> Workflow Status -->
    Activity History.
    The Activity History shows error in the Wait Function and the error message is 3001: Invalid command argument.?
    This error message does not explain much. I followed all the steps in document# 397364.1
    Don't know why it should end in error and how it can be fixed?
    Any more ideas?
    Thanks

Maybe you are looking for

  • There is no video when I import a wmv file.

    I'm trying to edit a video. When I bring in the wmv file, I can see the picture in teh organizer, but when I bring it into the project, I can "see" the audio in the timeline, but can't view the video in either the timeline or the sceneline. 

  • Vertical line appearing on my screen

    today I started having a vertical line appear on my screen. It flickered on and off for a while and then came on for good. I can't seem to get this to go away. By doing a simple search I've found that this is a cable defect in the product and that Ap

  • Motion wont open some projects

    I am wondering if anyone can help me out with this problem I'm having. I have been working on a project in motion now for the past two weeks. I am putting together two commercials. One 1 minute and one 15 second. The last couple of days the 1 minute

  • PO  Acknowledgment error

    Hi Experts, We are using EDI system to send the PO to vendor system and create sales order and after creation  Acknowledgment will post to our PO. here in some cases Ack idoc is failing with error 'Acknowledgment for PO item xxxxxxxx xxxx  contains q

  • Can't drag effects to viewer

    I am messing with some different effects, but can't seem to drag them from the browser to the viewer window. Any ideas why? I can click the viewer and go to the tool bar to add effects, just can't drag like I should be able to.