Right side of a shuttle -  Retunr id and not the display value of the LOV.

Hi all,
The matter is how to populate/persist right-side of Shuttle in apex 4.0.1 after submit. The only problem I have is that the values
on the right side of the shuttle are dispayed as (retun value of the LOV) and not as (dislay valueo of the LOV). What I'm missing.
There is a way to pre-load dynamically, so depending on a query, a set of values on the right of the Shuttle, and then allow end user to change the preselection adding or removing values.?.

On page load you need to set the page item value to a colon separated list. Basically just reverse what ever processing you are doing on submit.

Similar Messages

  • How do I programmatically populate the right side of a shuttle?

    Greetings,
    < on Application Express 4.0.2.00.07 >
    Background - I have an Image Map on a page and I need to put code in each cell hotspot href which will end up adding a value to the right side of a shuttle.
    I guess I will do it via a function call in the hotspot href? If so I will need to populate the shuttle using PL/SQL. Problem is, I don't know how to do that with PL/SQL.
    Or, maybe there is a way to populate the right side of a shuttle via JavaScript or some other way?
    Never really used Shuttles much. I know how to process the values on the right side via an array, but I don't know how to populate it programmatically.
    Also, I didn't find the answer after some forum searching, but if it is here and you know where it is you may just point me in the right direction.
    Any help is appreciated.
    Thanks in advance, Tony

    On page load you need to set the page item value to a colon separated list. Basically just reverse what ever processing you are doing on submit.

  • HT1212 i dont think i backed up my photos to my pc.the right side of my screen is broken and i dont have my passcode while my phone is in recovery mode. my pc says to restore so i can get into itunes. if i didn't backup my photos will i lose them all??

    i dont think i backed up my photos to my pc.the right side of my screen is broken and i dont have my passcode while my phone is in recovery mode. my pc says to restore so i can get into itunes. if i didn't backup my photos will i lose them all?? how do i back them up at this point???? please help

    If your phone is in recovery mode, then they are already gone.

  • I have a white vertical line down the right side of my internal brand new macbook pro 13" display

    I have a white vertical line down the right side of my internal brand new macbook pro 13" display. I've done the following:
    -Shutdown the computer, and restarted in Safe Mode by pressing the Shift key after the restart tone
    -Shutdown the computer, and restarted by pressing Command, Option, P & R after the restart tone
    -Checked display resolution, Best for Retina
    -Hooked it up to a Dell external monitor and via projection to screen. There are no lines on the external or secondary screens
    -Just curious, I ran a color utility which can not repair 4 items, maybe this is another issue.
    This is a brand new Macbook Pro, just out of the box. It was fine for two days without any issues, fine last night while in use, opened it up this morning with the line.
    Anyone now how I can fix this on my own?
    Details atta
    <Edited by Host>

    If you are within the first 14 days from the date of purchase, return the MBP for a refund or an exchange.  If you are after the first 14 days of the date of purchase, have the MBP repaired under the warranty provisions.
    Ciao.

  • The up down arrows on the side of my Hotmail email list do not function, nor does clicking the space above and below the slider bar. These functions work in all other cases. It began with Firefox 3.6 upgrade. Firefox version: 3.6 Operating system: Windows

    The up down arrows on the side of my Hotmail email list do not function, nor does clicking the space above and below the slider bar. These functions work in all other cases. It began with Firefox 3.6 upgrade.
    Firefox version: 3.6 Operating system: Windows XP
    == This happened ==
    Every time Firefox opened
    == After upgrade to Firefox 3.6

    See https://bugzilla.mozilla.org/show_bug.cgi?id=511075 - The arrows of the scrollbars don´t work in hotmail
    Should be fixed in the next release Firefox 3.6.4

  • How to display the "display values" in READ Only mode for a SHUTTLE

    Hi,
    I have a form item of type *'Shuttle'* and using the following LOV.
       select DEPTNAME d, DEPTNO r
        from  DEPTIn normal mode..it displays the department name and internally store the Deptno..
    Now I converted this item to Read Only mode using Read Only Condition Type
    the problem is as soon as it becomes read only...it displays the deptno....not the department name
                Department-   10:20:30How can I display the "display values" i.e the actual department name in read only mode..
                Department-   Department1:Department2:Department3Thanks,
    Deepak

    Hi,
    It seems feature. Shuttle is span tag when it is read only.
    Work around could be that
    you compute display as text item with LOV display value according shuttle session state and show shuttle and this item conditionally depend case
    Br, JAri

  • How do I send a group text and not have everyone else get the responses

    How do I send a group text and not have everyone else get the responses?   Thx

    Whether or not everyone gets the response depends solely on the person responding. i.e. you send a group text and i am one of the reciepients. From here i have two options, reply to the group text (everyone gets my reply) or i could text just you on the side (by opeining a new window in messages with just you as the reciepient) and replying to just you. Theres nothing you can do, its up to the person replying whether or not they reply to the entire group or just you seperately.

  • Multi-select lists, their return values and showing their display value

    I have a multi select list which is dynamic. The display and return values are pulled from a table where the return value is the Primary Key.
    When people select a few options, the value is stored in session state as 11:12:13 (etc...). From here, I run these numbers through a process which takes a report ID and the multi-select string, and saves individual rows as Report_id, individual multi select value until there are no more multi select values.
    This is great, they're tied in as a foreign key to the LOV lookup table, and they are easily search able.
    I have trouble where I want to list a report's entire multi-select list. I have a function combine the numbers with a : in between them and RTRIM the last one, so I have an identical string to what a multi-select table uses. 11:12:13 (etc..)
    When I assign it to display as an LOV in a report, it just shows the 11:12:13 instead of listing out the values.
    Single number entries, where someone only selected one option in a multi select, display fine.
    Am I doing this wrong?

    Scott - you're right on the money. I did this initially because I thought assigning an LOV display value to a report column would yield the results I wanted.
    I want to do this without referring to the original table... meaning I don't want a function to have to go out and get the names, I'd like my LOV assignment to do it. This saves headache of having to change something in 2 places if it ever changed.
    Am I not going to be able to do this?
    I created a test multi-LOV page, it doesn't work with original(not processed in my function) LOV assignments either, unless you only select one.

  • Need help Take out the null values from the ResultSet and Create a XML file

    hi,
    I wrote something which connects to Database and gets the ResultSet. From that ResultSet I am creating
    a XML file. IN my program these are the main two classes Frame1 and ResultSetToXML. ResultSetToXML which
    takes ResultSet & Boolean value in its constructor. I am passing the ResultSet and Boolean value
    from Frame1 class. I am passing the boolean value to get the null values from the ResultSet and then add those
    null values to XML File. When i run the program it works alright and adds the null and not null values to
    the file. But when i pass the boolean value to take out the null values it would not take it out and adds
    the null and not null values.
    Please look at the code i am posing. I am showing step by step where its not adding the null values.
    Any help is always appreciated.
    Thanks in advance.
    ============================================================================
    Frame1 Class
    ============
    public class Frame1 extends JFrame{
    private JPanel contentPane;
    private XQuery xQuery1 = new XQuery();
    private XYLayout xYLayout1 = new XYLayout();
    public Document doc;
    private JButton jButton2 = new JButton();
    private Connection con;
    private Statement stmt;
    private ResultSetToXML rstx;
    //Construct the frame
    public Frame1() {
    enableEvents(AWTEvent.WINDOW_EVENT_MASK);
    try {
    jbInit();
    catch(Exception e) {
    e.printStackTrace();
    //Component initialization
    private void jbInit() throws Exception {
    //setIconImage(Toolkit.getDefaultToolkit().createImage(Frame1.class.getResource("[Your Icon]")));
    contentPane = (JPanel) this.getContentPane();
    xQuery1.setSql("");
    xQuery1.setUrl("jdbc:odbc:SCANODBC");
    xQuery1.setUserName("SYSDBA");
    xQuery1.setPassword("masterkey");
    xQuery1.setDriver("sun.jdbc.odbc.JdbcOdbcDriver");
    contentPane.setLayout(xYLayout1);
    this.setSize(new Dimension(400, 300));
    this.setTitle("Frame Title");
    xQuery1.setSql("Select * from Pinfo where pid=2 or pid=4");
    jButton2.setText("Get XML from DB");
    try {
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    catch(java.lang.ClassNotFoundException ex) {
    System.err.print("ClassNotFoundException: ");
    System.err.println(ex.getMessage());
    try {
    con = DriverManager.getConnection("jdbc:odbc:SCANODBC","SYSDBA", "masterkey");
    stmt = con.createStatement();
    catch(SQLException ex) {
    System.err.println("SQLException: " + ex.getMessage());
    jButton2.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(ActionEvent e) {
    jButton2_actionPerformed(e);
    contentPane.add(jButton2, new XYConstraints(126, 113, -1, -1));
    //Overridden so we can exit when window is closed
    protected void processWindowEvent(WindowEvent e) {
    super.processWindowEvent(e);
    if (e.getID() == WindowEvent.WINDOW_CLOSING) {
    System.exit(0);
    void jButton2_actionPerformed(ActionEvent e) {
    try{
    OutputStream out;
    XMLOutputter outputter;
    Element root;
    org.jdom.Document doc;
    root = new Element("PINFO");
    String query = "SELECT * FROM PINFO WHERE PID=2 OR PID=4";
    ResultSet rs = stmt.executeQuery(query);
    /*===========This is where i am passing the ResultSet and boolean=======
    ===========value to either add the null or not null values in the file======*/
    rstx = new ResultSetToXML(rs,true);
    } //end of try
    catch(SQLException ex) {
    System.err.println("SQLException: " + ex.getMessage());
    ======================================================================================
    ResultSetToXML class
    ====================
    public class ResultSetToXML {
    private OutputStream out;
    private Element root;
    private XMLOutputter outputter;
    private Document doc;
    // Constructor
    public ResultSetToXML(ResultSet rs, boolean checkifnull){
    try{
    String tagname="";
    String tagvalue="";
    root = new Element("pinfo");
    while (rs.next()){
    Element users = new Element("Record");
    for(int i=1;i<=rs.getMetaData().getColumnCount(); ++i){
    tagname= rs.getMetaData().getColumnName(i);
    tagvalue=rs.getString(i);
    System.out.println(tagname);
    System.out.println(tagvalue);
    /*============if the boolean value is false it adds the null and not
    null value to the file =====================*/
    /*============else it checks if the value is null or the length is
    less than 0 and does the else clause in the if(checkifnull)===*/
    if(checkifnull){ 
    if((tagvalue == null) || tagvalue.length() < 0 ){
    users.addContent((new Element(tagname).setText(tagvalue)));
    else{
    users.addContent((new Element(tagname).setText(tagvalue)));
    else{
    users.addContent((new Element(tagname).setText(tagvalue)));
    root.addContent(users);
    out=new FileOutputStream("c:/XMLFile.xml");
    doc = new Document(root);
    outputter = new XMLOutputter();
    outputter.output(doc,out);
    catch(IOException ioe){
    System.out.println(ioe);
    catch(SQLException sqle){

    Can someone please help me with this problem
    Thanks.

  • I just statred Flash CC for the first time and it seems that the text within the pop-up window (dialog box) is mis-aligned and not allowing me access to the command buttons, nor all the text. (ie: the NEW Template Box, can't see but 2/3 of the content)

    I just statred Flash CC for the first time and it seems that the text within the pop-up window (dialog box) is mis-aligned and not allowing me access to the command buttons, nor all the text. (ie: the NEW Template Box, can't see but 2/3 of the content) is there a fix to this problem? using 8.1, Monitor is a high res.2560x1440.

    Another View.
    the GUI is so hard to read (so small) I enlarge my Ps UI by the instructions below...which helped a lot.

  • How do i keep only the name of a month in a cell in Numbers and not have it auto fill the date and time?

    how do i keep only the name of a month in a cell in Numbers and not have it auto fill the date and time?

    Hi JN and Barry,
    Barry wrote:
    The second case may not be included in the available D&T formats in Numbers 3
    For my region, the Date & Time data formats include month.
    The Date Pop-Up
    This may not be the case for all regions.
    Remember that the month is only the display, and the Full Date & Time is still there. If I change the format to reveal what is behind the curtain:
    Regards,
    Ian.

  • I cannot get the new mac mini to wake from sleep and trigger the displays - this is the second mac mini I have had and both have had the same issues. It worked before on my macbook extremely well...

    I cannot get the new mac mini to wake from sleep and trigger the displays - this is the second mac mini I have had and both have had the same issues. It worked before on my macbook extremely well...
    Using 2 displays, connected via HDMI and thunderbolt
    Been on to support a number of times now - is anyone experiencing the same issues?

    BUMP.
    I actually showed this to Apple geniuses when I took my computer to the apple store, and it's still here. In console it says:
    kernel[0]: Previous Shutdown Cause: -128
    I don't know if that's related or not, but maybe helps?

  • I have updated my ipad yestarday sicne then i am not able to open any application on my ipad2. some of the application able to open in the page and not able to open all the applications in the second page. Does any one got this type of issue? any sugg?

    i have updated my ipad yestarday sicne then i am not able to open any application on my ipad2. some of the application able to open in the page and not able to open all the applications in the second page. Does any one got this type of issue? any suggestions?

    This problem has been reported a few times. The solution is to install any new App say a free one. This seems to fix whatever has gone wrong.

  • I am going to buy a mac mini i7 with 3 thunderbolt displays for forex trading. the question is if i use bootcamp and run windows on the mac mini will the displays still run the same way as if i was running it on Lion?

    I am going to buy a mac mini i7 with 3 thunderbolt displays for forex trading. the question is if i use bootcamp and run windows on the mac mini will the displays still run the same way as if i was running it on Lion?

    No idea if Windows will do it, but you can run Windows without Bootcamp & have OSX available at the same time, which should give you all the Monitors that OSX uses.
    Parallels...
    http://www.parallels.com/
    VmWare Fusion...
    http://www.vmware.com/mac

  • Mountain lion has killed my mac book pro. After downloading and trying to install, I am stuck in a loop of "not enough room to install on this disk" and not being able to access the old disk's data to open up space.

    Mountain lion has killed my mac book pro. After downloading and trying to install, I am stuck in a loop of "not enough room to install on this disk" and not being able to access the old disk's data to open up space.

    Nope. It just opened the installer and stayed in the same loop.
    It tells me to choose a startup disk but the only option is the HD which it will not use because it says it cannot gather enough information.
    Eveything was working fine until the mountain lion failed install.

Maybe you are looking for

  • IPhoto won't open after new install and restore of back-up

    Hi guys My hard drive just died (for the second time in 6 months!) so I have just gotten the computer back with a new drive. I did a new install of Tiger from my original install CDs, did the download thing to get all the updates, and ran a "restore"

  • Reg : Using ABAP OO in Workflow

    Hi All, I have very simple question and this is the place where I am still lacking in workflow? 1. How do I identify when to use ABAP class and when to use BOR in workflow? 2. How do I identify which class to be used? Do we have any similar to BOR (S

  • Why does "unexpectedly quit"?

    I have a large HD project in CS4. In order to keep premiere from crashing I have to shut down my project every once in a while to keep it from crashing. I don't always shut it down fast enough and I get this all to familiar message: "Adobe has detect

  • Patch for ESSBASE 11.1.2.2

    Hi All, I had Applied patch for 1. Shared Servcies 11.1.2.2  (14020629) .300patch 2.EPM Workspace 11.1.2.2 (13936087).300patch 3.Planning 11.1.2.2             (13905088) .300patch 4.FDM & FOR ERPI 11.1.2.2 (14173894).300patch i want to apply patch fo

  • Mass Deleting Supporting Documents

    Hi, We have over 6000 WMF loaded as supporting documents. We had problem in displaying those WMFs and had to convert them to JPGs and loaded all those JPGs to PLM. Since we don't need all of those WMFs now, how can we delete them in mass.