Help need on how to load lov accoding to the locale value select

Hi,
My scenario is , i'm having two button. One button for English locale(En) and another button for Dutch locale(Nl).
I'm having a database table which hold 2 columns, which are En and Nl.
I'm loading this columns value using an Lov
when i click the En button, Lov sholud load according to valus in En database column, and like that when i click Nl button it sholud load Lov according to values in Nl column.
I'm using a Session managed bean which used to set the locale.
i have implemented this scenario, but i got few bad problems.
1) my implemented method is not recommended as best practice
2) lov dosesn't change until i click a value on it.
In lov select query i used bind variable and put it value as adf.context.expressionEvaluator.evaluate('#{UserPreferences.language}')
this is not a best practice, so please help me to do this with in best practice.
Thanks.

Dear akash,
my scenario excatly same as this.
[http://biemond.blogspot.com/2009/02/change-language-locale-in-adf.html]
when user select dutch language i want to load the lov with dutch langage.
in this example lov values are hardcoded in the program, it didn't use any database columns.
in my scenario my lov is based on database table. that table contain two columns.
English | Dutch
One | een
Two | twee
Three | drie
in my view object i use a query like below.
Select English Mul
From User_Loacle
Where :plocale='en'
union all
Select Dutch Mul
From User_Loacle
Where :plocale='nl'
i assign a bind variable plocale.
i want to pass the above selected locale to this bind variable.

Similar Messages

  • How to Add/Concatenate to a text field, values selected in a combo box

    I have a combo box form field that allows the user to select a value from a list and click on an Add button. The Add button should add/concatenate the vaue selected to a text field in order to create a list of values selected. I'm not sure how to do this using Javascript in Acrobat? I know I need to add the javascript to the Add button's Mouse Up action. Any help would be greatly appreciated. Thanks!

    Thanks so much - it works!
    >>> "Gilad D (try67)" <[email protected]> 9/25/2013 9:16 AM >>>
    Re: How to Add/Concatenate to a text field, values selected in a combo box created by Gilad D (try67) ( http://forums.adobe.com/people/try67 ) in JavaScript - View the full discussion ( http://forums.adobe.com/message/5712118#5712118 )
    Let's say the text field's name is "Text1", and the combo is called "Combo1". You can then use this code as the MouseUp script of the Add button:
    var f1 = this.getField("Text1");
    var f2 = this.getField("Combo1");
    if (f1.value=="") f1.value = f2.value;
    else f1.value = f1.value + ", " + f2.value;
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5712118#5712118
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5712118#5712118
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5712118#5712118. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in JavaScript by email ( mailto:[email protected].com ) or at Adobe Community ( http://forums.adobe.com/choose-container!input.jspa?contentType=1&containerType=14&contain er=3286 )
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Help needed to STOP xml loading

    Hi there,
    I'm pretty new to the action script side of things, have had some help on here already and have also been pulled up for asking for too much help.
    Well I'm kind of getting the hang of it now, but am having one major problem with the site I'm making, basically I've been following a tutorial for an xml based website, just about got my head round it but I need one line of code to stop the xml movie clip playing when I load a new one (eg when you navigate to a new page.
    this is the current code, if anyone can help I'd be massively thankful, this project has been doing my head in for weeks now - fingers crossed folks D
    // onLoad XML function
    function loadXML(success) {
    if (success) {
    // If the XML loads successfully, count how many projects there are in the file.
    _root.projectCount = this.firstChild.childNodes.length; // PROJECT node in XML file
    // Then run a function that builds arrays out of the XML data.
    SS_Arrays();
    } else {
    // If the xml data did not load, show message on stage by populating the description field.
    _root.description = "Error: Could not load XML";
    function SS_Arrays() {
    for (var count = 0; count < _root.projectCount; count++) {
    var nodeObj = objXML.firstChild.childNodes[count];
    namesArray[count] = nodeObj.attributes.name;
    descriptionsArray[count] = nodeObj.attributes.description;
    linksArray[count] = nodeObj.attributes.link;
    filesArray[count] = nodeObj.attributes.file;
    // run the function to create the thumbnail and list view buttons
    SS_createButtons();
    function SS_createButtons() {
    // First of all we want to hide the master button on the stage (btn_projects_main)
    // because we'll be making duplicates of it in the next part of the function
    _root.btn_projects_main._visible = 0;
    // Work out the X and Y positions of the main button so our new buttons start in the same place
    // (Which means where ever you position the main button is where the navigation will start).
    btn_xPos = _root.btn_projects_main._x;
    btn_yPos = _root.btn_projects_main._y;
    // Set the distances between your buttons and the number of rows
    btn_xDistance = 140;
    btn_yDistance = 19;
    btn_numOfRows = 5;
    // This figure is used to work out when to start a new column of buttons
    btn_yMax = btn_yPos + ((btn_numOfRows - 1) * btn_yDistance);
    // Loop through the projects array and create a button for each one by duplicating the original.
    for (count = 0; count < _root.projectCount; count++) {
    duplicateMovieClip(_root.btn_projects_main, "btn_projects" + count, count);
    // As the button is created, set it's X, Y & text properties
    _root["btn_projects" + count]._x = btn_xPos;
    _root["btn_projects" + count]._y = btn_yPos;
    _root["btn_projects" + count].text = namesArray[count];
    // set the X position for the next button
    if(btn_yPos == btn_yMax){
    // if the last buttons was the last row in the column (based on it's Y position) then start a new column
    // by resetting the Y position and adding 140px (btn_xDistance) to the the X position.
    btn_xPos = btn_xPos + btn_xDistance;
    btn_yPos = _root.btn_projects_main._y;
    } else {
    // if it's not the last one in a row, simply move it along the Y axis.
    btn_yPos = btn_yPos + btn_yDistance;
    // Load the first project (number 0) to avoid an empty screen
    SS_load_project(0);
    // Make the first project button highlighted
    tellTarget(_root.btn_projects0){
    gotoAndPlay(3);
    // Set the current button variable so we know which button to switch off when another one is pressed
    _root.curButton = "0";
    function SS_load_project(arrayNumber){

    Hi,
    In DBMS_JOBS_RUNNING you can find the sid of the session.
    Use this sid to identify the session in v$session and kill the session with:
    'alter system kill session 'sid,serial#';'
    Don't forget to mark the job as broken or remove it from the job queue.
    OR
    Before 10g, if you want to stop all jobs, you can simply set JOB_QUEUE_PROCESSES to zero.
    In 10g, Oracle intrduced scheduler_job with many advanced features.
    In this post I do not want to deal with different features of scheduler_jobs.
    In 10g, it is possible to schedule job either in dba_jobs or dba_scheduler_jobs.
    Setting JOB_QUEUE_PROCESSES to zero stops only jobs in dba_jobs which means that jobs in scheduler are still running .
    In order to disable jobs in dba_scheduler_job, the following script should be run for each job in scheduler.
    BEGIN
    sys.dbms_scheduler.disable( '"schema?"."job name?"' );
    END;
    Regards,
    Tom
    http://asktom.cz

  • Urgent help needed! How do I use Time Machine to restore my System disc?

    I need urgent help. First I discovered that my Library folder was empty. When I tried to restore the library to an earlier version via Timemachine it would not let me because it said the system was in use. Trying to start-up from another system on another internal drive and using various disc repairs resulted in the whole volume to disappear.
    Question is how do I get the earlier system from my Timemachine backup drive? I have another Mac where I can attach the TIme machine HD to. Can I restore it from there and then copy the files over to my corrupted disc? All my programs are on there as well, which would take me days to re-install and then there are the other bits, emails, photos etc. Can anyone help?

    lightandmagic wrote:
    Thanks for your sympathy Pondini and the encouragement. You just reminded me that I will lose a whole working day restoring !!! Do you happen to know where the emails are kept on the system and the address book? I better nick those as well as my other life sustaining bits before its too late. I don't trust anything any more.
    I don't know what you mean by "nick those." Time Machine will put everything back the way it was at the time of the backup (unless you'd excluded things).
    Do you mean you want to restore things from the period after the backup you selected?
    For Address Book or Apple Mail, start the application, then +Enter Time Machine,+ navigate to your latest backup, and you'll have a prompt to restore. For Mail, you can restore an entire mailbox. When you exit from TM, you'll see a new folder in your Mail sidebar with the restored items, so you can sift through them and move, delete, or leave them as you wish.
    Other items, you'll have to locate and restore via the Finder > Time Machine.

  • Advice / Help needed on how to tackle this mountain...

    First, I've scoured the forums looking for an answer and some clarity, but have come up empty. Any advice or help you can offer will be greatly appreciated...
    So I'm trying to tackle the feat of sorting though thousands of MP3s in several different fodlers, and getting them all stored in one folder, with just the ones I want to keep (estimated to be about 3,000 when all said and done). Having iTunes just automatically copy them as I drag and drop is perfect, but I don't want the program to automatically sort them in hundreds of different folders. Is there a way to not completely turn this folder off, but have it just copy into the root folder?
    Assuming the answer is no, what's the best way for me to approach this? Right now I've turned off the copy feature, have been adding 100 or so songs into a new playlist, editing the tags in iTunes, and copying into my finish root folder. However, I obviously lose my rating when I move the files, and have to update my library by removing all previous files in library, and adding the root folder again.
    A way around this is for me to just not assign a rating to any files until I have my final root folder set for import into iTunes library, but this also raises a conceptual problem: I use other programs for uplaoding songs from CDs and DLing, and have them all sent to an "Unsorted MP3s" folder. I would like to be able to go back to this folder, edit the tags and clean them up, then copy them into the root folder and updating my library without having to remove all and reimport the whole folder, losing all my ratings and playcounts.
    So I guess there's really 2 questions I have;
    First, is there a way to have iTunes just copy the file into a root folder without automatically sorting and creating folders itself?
    If no, what's the best way for me to go about updating, importing, and copying songs into a singular root folder? I realize I could just stay on top of it, and only add a few files at a time individually, but that solution isn't very feasible when I'd like to update and add large numbers at a time.
    I gotta imagine there's something I'm missing here and it's possible. I did have the idea of merging ALL of my MP3s into my root folder first, then delete and edit from iTunes, eventually ending with a perfect library and all files in one folder. However, I'm still posed with the problem of how to add files at a later date without losing my whole library...
    Hopefully I haven't been too confusing, and I'll be sure to offer more clarity if need be. Thanks in advance for all the help!
    -Mike

    Im not a 100% sure on what your trying to do, i think and correct me if im wrong but you want to copy all your songs that are scattered all over the pc into one folder in the root but not have itunes consolidate the files into folders by name etc.
    Im not sure if this is of any help to you but i had songs scattered all over my pc and wanted to put them in a central folder and then share that folder accross multiple user accounts on the one pc (this could be the root if you wish i just chose shared music) if you follow the following link it explained what i did to put all my music in the one place. (I urge caution though as im not 100% certain if this is what you want to do, anyway hope it help)
    http://discussions.apple.com/thread.jspa?threadID=608497&tstart=0

  • Help needed in how to find out Web services in CRM

    Hi All,
    I have a requirement where in i am trying to check out what all CRM business objects are supported as web services as standard SAP functionality.
    Any pointers on this will be really helpful.
    Thanks,
    Udaya

    Hi Udaya,
    Did you check in the Enterprise Service Browser in NWDS?
    (Assuming CE7.1 infrastructure)
    I currently do not have access to confirm on CRM business object, but in the Services Browser some standard services were available.
    This information should also be available on SOAMANAGER or Service Repository (http://<server>:<port>/sr but I haven't checked it personally.
    Hope this is helpful.
    Regards,
    Vandana.

  • Help needed! How to send Email if user created in a specific organization

    Hello experts.
    I have edited the Create User workflow to include the Email notiifcation. I follow the example in the manual under Example workflow customization.
    What I have discovered is that it will send email no matter which Organization a user is created in. e.g. Top or Top:MyOrg or Top:Disabled
    I only want Email sent if user is created in Top:MyOrg
    What data is available during the workflow?
    Currently the transition to Email User in the Notify activity doesnt have a condition... it will always branch to Email User.
    What I want is a conditional branch only doing the Email User if the organization=Top:MyOrg
    What does this condition look like?
    I guess I also need to include a branch to end in the Notify if necessary.
    I am new to customizing workflow but this is urgent request.

    sorry.
    trial and error have shown me that
    <eq>
    <ref>user.waveset.organization</ref>
    <s>Top:MyOrg</s>
    </eq>
    is the condition for me to use.

  • Help needed in building a tree without duplicatin​g the nodes

    Iam trying to construct a tree, ID name as the parent node and channel name & channel values as its corresponding child nodes.
    I had constructed the tree, but the problem i have is with interfacing that with in my  main program. In the main program say suppose I have 5 Id's, each Id has some X number of channel's. And each channel has a value.
    Each Id is indexed and passed to the for loop. And since this for loop is inside the while loop each ID will be executed for every 5 iterations.
    Id, channel names will be constant each time it gets executed, but the channel value's will be updated during run time.
    If I directly feed the Id, channel names and values, replacing the constants in the vi, the tree is duplicating the messages, each time a ID is received inside the for loop, it is creating a new parent and child nodes.
    Please help me in fixing this issue, and constructing the tree, where the ID and channel names are not not duplicated.For better understanding Iam attaching a snapshot shot, which tells at what point the ID, channel name array and value is received.
    Attachments:
    channel_info.vi ‏31 KB
    channel.png ‏60 KB

    Caleb Harris, the arbitration ID is not the same each time. Cluster has several different id's, this can be seen in the attached screen shot. Attached sreen shot shows the cluster information,  a sample ID unbundled from the array and the list of channels in that Arbitration ID. I got an idea how to construct the tree but for that,
    1)Need to store all this arbitartion Id's,channel's , and values in 3- different arrays (Channel array and the values array must have the same size).
    2)Channel array must be in synchronus with the Value array say like the first index value of the value_array  should represent the value of the first element of the channel    
       array, similarly the second index value of the value_array  should represent the value of the second element of the channel array and so on.
    3) When ever the channel value gets updated, that particular element of the value array should be updated.
    If I can do this 3- steps I think I can succesfully build a tree. Can you please take a look at the snapshot and help me out in doing this.
    Attachments:
    Cluster Image.PNG ‏67 KB

  • How to load several documents at the same time (PWA 2013)

    Hi
    In 2010 there was an option for that:
    In the document library of a project site, I want to load several documents at the same time.
    How can we do that in PWA 2013 ?
    Thanks

    Robert,
    Here is a video taht might help. if the Dragging does not work, you could also use the regular Explorer method.
    https://www.youtube.com/watch?v=7n4fP3YWYI4
    Cheers,
    Prasanna Adavi, Project MVP
    Blog:
      Podcast:
       Twitter:   
    LinkedIn:
      

  • How can a LOV returns more than one value in ADF query?

    Hi,
    I'm using JDev 11g .I'm using a LOV attribute and I have declared a transient attribute to return the meaningful value of the LOV on it. Now it works fine in form , but I want to make it work on the view criteria(<af:query>). It does not return the transient content, and returns empty value.
    Thanks
    Edited by: farzaneh on Nov 13, 2009 10:56 AM

    It seems like Shay Schmeltzer just put out something on his blog on this very issue. You might go have a look to see if you get inspired, since you have given us very little information by which to help you otherwise.

  • How to load DataBlock based on the Multiple Condition from another block

    Hi
    How to load a Data Block based on the Multiple values from another block. For eg.EMP is the Master Data block and SAL is the child Datablock.When query JOS% in the Master Block(EMP) then display all the Sal details in the SAL block for all the employees starting with JOS , When clicking one buton or if it is possible in the loadin of the MasterBlock

    Hi,
    I presume you are using database block relations.
    Put automatic query = yes in relation properties.
    Do you have block level trigger ON-POPULATE-DETAILS?
    In that you can find the relation and query - Using built-ins
    Find_Relation and Query_Master_Details

  • How do I load a JPG from the local machine into BitmapData class?

    Hi All,
    I have some code below :
    I use the linkage id of jpg's which are present in my
    library. Is there any way i can use jpg's from the local machine's
    C drive? Like BitmapData.loadBitmap("C:/xxx.jpg")??
    I need to use the pixelDissolve effect and this is done by
    the BitMap class. And I can find only linkage id reference and no
    loading from path.
    Regards
    Roshan Kolar

    you can load jpg into a target movieclip, use that target
    movieclip and the draw() method of the bitmapdata class to create a
    bitmap of the image and apply the pixeldissolve() method to that
    bitmap.

  • Help needed!! Why do I keep losing the connection to my cRIO?

    Hi All,
    I've got a real time system with the following setup.
    I have got a cRIO out in the field running a real time application that accquires data from various thermocouples and sends the data to the my host computer over a wireless radio link. I am using a wireless ethernet modem with a data transfer rate of 100 kb/sec. The modem is being shared by 12 other radios also transmitting data to the host PC.
    So, basically, I've got the host PC on one end and 13 field computers (one of which is my cRIO running a real-time application) on the other end. The 13 field computers are sending data to the host PC over wireless radio links utilizing a single wireless ethernet modem. The data from the 13 radios is placed on a que and the modem cycles through the que enabling the data from each radio to pass through one at a time.
    My real time application is sampling the thermocouple data every 1 sec and sending it across to the host application via a shared variable
    The host PC is also running an application that acts as the user interface.
    My problem is this:
    My system runs OK for a couple of minutes and then suddenly I lose the conection to the cRIO. Once this happens, I have to manually reset the cRIO (i.e. cycle the power back on) to re-establish the connection. This is both tiresome and inconvenient as the system needs to be able to run continuously for several hrs.
    What could be the possible causes for this loss in connection? Is it possible that a clash between signals causes the modem to drop the connection to the cRIO? If so, is there a way to monitor the connection between the host and cRIO and automatically reset the cRIO in the event of a lost connection?
    Any help would be highly appreciated.
    Thanks,
    Taizoon

    Thanks for the suggestions. I think I was overflowing my FIFO so it may be a memory issue. However, it dies hard when I place a probe on my FIFO read data. Since this seems to be repeatable, NI may be able to look into it.
    Anyways, I'll try some of my own troubleshooting and your suggestions then if I'm still having problems I'll be sure to check back.
    CLA, LabVIEW Versions 2010-2013

  • How can I use comma in the return values of a static list of values

    Hi all,
    I want to create a select list (static LOV) like the following:
    Display Value / Return Value
    both are "Y" / 'YY'
    one is "Y" / 'YN','NY'
    I write the List of values definition is like this:
    STATIC:both are "Y"; 'YY',one is "Y";'YN', 'NY'
    However, it is explain by htmldb like this:
    Display Value / Return Value
    both are "Y" / 'YY'
    one is "Y" / 'YN'
    / 'NY'
    I tried using "\" before the ",", or using single or double quote, but all these do not work:(
    How can I use a comma in the return values?
    Thanks very much!

    "Better still, why not process the code of both Y with 2Y and one is Y with 1Y? "
    Could you please explain in detail? thanks! I am quite new to htmldb
    In fact I have a table which has too columns "a1" and "a2", both the values of these two columns are "Y" or "N". AndI want to choose the records that both a1 and a2 are "Y", or just one of a1, a2 is "Y".
    So I write the report sql like this:
    "select * from t1 where a1 || a2 in(:MYSELECTLIST) "
    Thus, I need to use "," in the LOV, since expression list in IN(,,,) using ",".
    Any other way to implement this?

  • How to display the current value selected in DDLB of another screen

    hi Experts
    I need some info regarding the dropdownlist in BSP.
    I have two screens . One screen contains the table view which contains a set of records.Each record has two columns.
    Second screen contains 2 drop down list.
    When i select one record and then press the submit button in the first screen .Then i want that the selected value of the selected record will display in the DDLB of the second screen. And then i can again select the value from the drop down list.
    For example:
    1st screen:
    record 1.
    col 1     col 2
    record 2
    col 1     col 2
    2nd screen
    ddlb1...........
    ddlb2...........
    So when i select the record1, then the current value of col1 and col2 should visible on the ddlbs of second screen first time. Then i choose other value from the ddlbs.....
    My Question is how to do the following
    "when i select the record1, then the current value of col1 and col2 should visible on the ddlbs of second screen".
    please provide some suggestions...
    Thanks.

    Hi,
    You can use form with post method
    like
    <htmlb:form method = "post"
                      action = "page2.htm"
                      target = "coding" >
    <htmlb:dropdownListBox id             = "labelAlignment"
                                               selection      = "<%= me->labelAlignment %>"
                                               onClientSelect = "document.forms[0].submit();" >
                          <htmlb:listBoxItem key   = "LEFT"
                                             value = "LEFT" />
                          <htmlb:listBoxItem key   = "RIGHT"
                                             value = "RIGHT" />
                        </htmlb:dropdownListBox>
    So once you select col1 and col2 in your case its value is in page attribute say hold, this attributes needs to be defined in page2.htm also with auto checked. You can get the val selected in page1.htm
    If helpful rewards point.
    Regards,
    Albert

Maybe you are looking for

  • Can no longer connect my MBP to a local file server

    I can no longer connect to a particular computer on my local network from my MBP(Mid 2010 running 10.6.6). I am trying to connect to a Mac G4 tower running 10.4.11. This has worked in the past but now does not. An older MBP(Mid 2007 running 10.6.6) h

  • Problem Transfering Photos from PC to iPhone 4 with version 5.1.1

    I can't transfer multiple Folders containing photos from my PC to my iPhone.  My digital photos on my PC are simply in Folders as JPEG files.  When I try to transfer the Folders in iTunes I can only select the "All Folders" option.  The "Selected Fol

  • Having a problem to open the Bridge contacts folder on BB playbook?

    Hi all, I hv a problem as follows: When I tap on the Brigde contact folder, I am notified a error "There are no active contact services set up on your blackberry smartphone". Can u help me this matter? Thanks so much

  • Lock Screen photo show's up under some kind of washout in front the image is not clear.

    When I go to the wallpaper section in settings I choose a photo for my lock screen, but when I turn off the screen of my phone and turn it back on the photo show's up behind some kind of washout or something,  a foggy screen is in front of my picture

  • CS5 Parse error

    So, I have a file I have been working on for days and I go to open it this morning and I get this error: "Flash can not parse this document." Any clues on this? Is it possible to recover? -gl