Shuttle Item problem in Apex 3.1.2

Hi
I created application based on shuttle items in apex earlier version.
The same is not working fine in Apex 3.1.2 version.
I'm not doing any process on shuttle items.
Just created a shuttle item contains a list of values.
whenever i refresh the page,(or say when i press Cancel button to go back to previous page)
shuttle item selects all the values in the list, (i.e values in shuttle items are rolling).
I somehow tried to replicate the same application in demo environment :
http://apex.oracle.com/pls/otn/f?p=12822:4
workspace: vsanthanam
userid: vijay
password: apex_demo
If you see above application, whenever we press button submit. it selects all the values in
Shuttle (actually rolling in my developement instance and not processing further).
Is there anything that we have to take care while using shuttle in newer version?
Thanks
Vijay
Edited by: Vijay Santhanam on Jan 26, 2009 9:39 PM

Hi Arie
Thanks for your valuable inputs.
While analyzing the issue on two versions: 3.1.2 & 3.0.x ,I noticed few things:
1) Limitation of 2000 values
Had raised SR with Oracle, They have treated this as bug some time back and have temporary resolution as per BUG ID 7326899.
This got temporarily resolved by setting higher value for PlsqlMaxParameters.
As per my understanding: Shuttles never used to refer to this variable value In earlier version. We are on earlier version on one of the instance, where the value for this parameter is still 2000, and despite having more number of values in shuttles on page it never throws error. That shows its a change in new version and behavior is not same.
2) Looping/ Going through all values in left box and then right box of shuttle when page submits.
I am pretty sure at-least about the visual part that it never happened in earlier version what I see on my application on earlier version. But I am not sure about the page rendering / functionality part as this would need regression testing.
So this is second change in shuttle behavior.
Since Business users need all values to be present in the shuttle even after submit for resubmission i.e. again creating the records, so I have not put yet the java script suggested by you to put restriction on length so that it doesn’t loops through values.
I went though the thread where Carl and You have discussed the issue:
Shuttle Item in 3.1
Thanks again Arie!
I am also following with Oracle to get some solution other than following you :-)
Regards
Ravijeet

Similar Messages

  • Shuttle Item Properties in Apex 3.0

    Hi,
    Hoping someone can assist with the new Shuttle item in Apex 3.0.
    Basically, can someone please let me know how I can perform the following:
    a) change the width of the shuttle as when I make a change to the width property, it doesn't seem to make any difference?
    b) Am I still able to place headings on each of the shuttle cells like I could when using Carl's example?
    c) Based on Carl's original Shuttle implementation, is there any undocumented information relating to the new Shuttle item?
    Thanks.
    Tony.

    Hi Tony,
    <p>
    a) under Elements>HTML Form Element Attributes, use style="width:200px" to set the width for the item<p>
    b) I have not found a way to do that, although others may have<p>
    c) Check out the Apex 3.0 documentation for the shuttle item--you basically treat it like a multi-select list, with the source of the item returning a colon-delimited string of values.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to validate a shuttle item in oracle apex

    Hello,
    I am having a shuttle item in the page . I want to validate the shuttle . am using oracle apex 3.2.1 on oracle 11g.
    I want to raise an alert if the user not selected value from shuttle else display the selected value in alert .
    please help me in resolving this issue.
    thanks
    Edited by: kumar73 on Apr 17, 2010 2:15 PM

    Hi,
    This might help
    http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/bldr_pgs.htm#sthref565
    Create item level validation Item Not Null
    Br,Jari

  • Shuttle Item  Problem

    Hello Everyone,
    In my database desing, i have two table : customer and order.
    CREATE TABLE CUSTOMER (
    id NUMBER PRIMARY KEY,
    customer_name VARCHAR2(50));
    INSERT INTO CUSTOMER VALUES (1, 'Micheal');
    INSERT INTO CUSTOMER VALUES (2, 'Jack');
    INSERT INTO CUSTOMER VALUES (3, 'Mary');
    INSERT INTO CUSTOMER VALUES (4, 'Marty');
    INSERT INTO CUSTOMER VALUES (5, 'Alice');
    CREATE TABLE ORDER (
    id NUMBER PRIMARY KEY,
    order_name VARCHAR2(50)
    order_price NUMBER);
    INSERT INTO ORDER(1,'MP3player', 50);
    INSERT INTO ORDER(2,'USB', 10);
    INSERT INTO ORDER(3,'laptop', 1000);
    INSERT INTO ORDER(4,'Phone',500);
    INSERT INTO ORDER(5,'Modem', 100);
    INSERT INTO ORDER(6,'LCD', 1500);
    INSERT INTO ORDER(7,'Mouse', 20);
    There is m to m relationship among these tables.
    CREATE TABLE CUS_ORD_ITEMS(
    id NUMBER PRIMARY KEY,
    order_id NUMBER NOT NULL,
    customer_id NUMBER NOT NULL
    I want to create shuttle item for this relationship. Shuttle item source are orders. In intreactive report, when i select a customer, customer's orders will be opened. And I wanna add and remove orders for this customer in shuttle item. But there are some problem when customer is deleted and order deleted, and order source. How can i solve this problem.
    Any suggestion?
    Thanks.

    Hi,
    When the page is loaded, the items shown in the list on the right are the values that exist on CUS_ORD_ITEMS for the customer. When you submit the page by clicking a button, these values are shown as "1:2:3:4:5" (where 1, 2, 3, 4 and 5 are the keys - usually the primary keys but can be any other unique key - for the items that have been selected). As you move an item from the right to the left its key is removed from this list - so if I removed item "2", the list would now be "1:3:4:5".
    So, what you need to do, is delete any record on CUS_ORD_ITEMS for the customer that is no longer in that list:
    DELETE FROM CUS_ORD_ITEMS
    WHERE CUSTOMER_ID = :P1_CUSTOMER_ID
    AND ':' || :P1_ORD_ITEMS || ':' NOT LIKE '%:' || ORDER_ID || ':%'- replace P1_CUSTOMER_ID with the page item name that holds the customer ID value and replace P1_ORD_ITEMS with the page item name for your shuttle.
    For any ORDER_ID value that is no longer in the list, the NOT LIKE condition would be true and the record would be deleted. For all other items, the condition would be false and the record would not be deleted.
    Andy

  • Disabled item problem on Apex 4.1.1.00.23

    Hello gentleman's
    I've got a problem. On my application i have a page with a text field with the options 'Disable' and 'Save Session State' setted to 'yes'. When i put some value on the text field using javascript and try to submit the page the following error message appears:
    'Session state protection violation: This may be caused by manual alteration of protected page item P1_TEXT. If you are unsure what caused this error, please contact the application administrator for assistance. Contact your application administrator.'
    I really need to save the session state of the text field, even when it is disabled, does anybody know anything about this issue?? I reproduced the error on apex.oracle.com:
    http://apex.oracle.com/pls/apex/f?p=1942:LOGIN:1277533900325401
    login: test
    password: test
    Best Regards
    Rogério

    What you're seeing is the intended and desired functionality of disabling an item and proof of APEX's built-in security robustness.
    To accomplish what you want:
    Turn off the 'Disable' option and set the 'HTML Form Element Attributes' to readonly="readonly"Keep in mind though, that now your "disabled" item can be modified by any user that knows how to access and manipulate DOM objects. If that is a concern you may need to come up with some way to validate the item values allowed.

  • How to create Shuttle Item in APEX

    Hi,
    could you please anyone let me know the steps of how to create shuttle item in APEX?
    Thanks for your help
    Thanks
    Sri

    Hi Jitendra,
    Thanks for replying.
    my query like this.
    select * from table1,table2
    where
    table1.value not in 'CABINET' ---- here i need to create shuttle
    and table2.name like 'B%' --- this is just text box
    table3. value is coming from LOV.
    could you please let me know how to create value as shuttle, in shuttle wht are the changes do i need to make changes?
    Thanks
    Sri

  • How does the new shuttle control work in Apex 3.1?

    Hi,
    I have tried creating a shuttle type control in Apex 3.1. I have based it on a list of Items from my Items table. I can move Items from the left side to the right, and from there I can move them up & down, but whatever I do only seems to affect the page display and has no effect on my tables.
    Can anyone explain how this control works and what it's meant to do? Could I, for example, use it to copy records from one table to another?
    Many thanks,
    Keith.

    Keith,
    The Shuttle is a type of multi-select. It produces a comma delimited string of your selected values. It is useful in wizards, where you need to select multiple items from a single list (like selecting columns from a table). You can also use it against a 'real' table if you have not normalized. Let's say you have a table that stores meetings and one column lists the people invited. You could use a shuttle to select invitees (using an lov from your people table).
    -- Sharon

  • How to keep sort order in Shuttle item's source and destination boxes?

    I have defined a shuttle item on a page and the list of values in the source box is populated by a SQL with sort order specified. In the Settings of the shuttle item, Show Controls value is set to Moving Only instead of All. When a user moves selected values from the source box to the destination box or vice versa, the list of values does not maintain the original sort order. For example, if I have 26 values A through Z, a user can put value Z before A in the destination box. And when a user move A from the destination box to the source box, A is the last item in the source box. The reset button clears everything in the destination box and resets the source box to the original sorted list. This is not the solution that I am looking for. I would like to see the items in the source and destination boxes to maintain their original sort order all the time.
    Is it possible?
    APEX v4.0.1.00.03
    Oracle 11g (v11.2.0.1.0)

    Hi,
    See if this post help
    Re: Sort Shuttle Right
    Regards,
    Jari

  • Set Session State with Shuttle items

    Is it possible to have session state set with each item selected in a shuttle? You have a shuttle with 4 possible options, you select item 2 from the left portion of shuttle and it is moved to the right.. Can you set the session state at that point?
    What I am trying to do is take the session state after change in the control and use it to populate a text field below. The returned values are used in a sql select to populate the text box with a looked up value...
    Thank you,
    Tony Miller
    Ruckersville, VA

    TexasApexDeveloper wrote:
    Won't this just push the last items value in, as apposed to appending the value?
    Tony,
    No. Because for shuttle items the return value is stored as colon delimited string.
    Means after each change you will have a colon delimited string in the session state with selected values(moved to right).
    See this http://apex.oracle.com/pls/apex/f?p=46417:47

  • Count Selected Shuttle Items

    Apex 3.2
    I have a shuttle item and a text box.
    As the user moves items from the left of the shuttle to the right, I would like to display a count (in the text box) of the number
    of items he has chosen.
    I know that his will probably have to be done with an onclick javascript function, but I have no idea how to do it.
    I cannot use dynamic actions, as this is an Apex 3.2 application.
    Please have a look at my workspace
    Workspace: GUSCRIGHTON
    Username: [email protected]
    Password: terminator
    App Id: 25851
    Page: 5
    Thanks
    Gus

    I was kind of hoping to capture the change event on the shuttle fieldset, but can't, for some reason. I'm too rusty in my js-fu. If that'd even work in 3.2, no clue.
    Binding to the controls like Jari suggested works though.
    function setShuttleSelectedAmount(pShuttleId, pAmount){
      var lAmount = document.getElementById(pShuttleId+"_RIGHT").children.length;
      document.getElementById("P5_DESCRIPTION").value = lAmount;
    function attachShuttleEvents(pShuttleId){
      document.getElementById(pShuttleId+"_RESET").addEventListener("click", function(){
        setShuttleSelectedAmount(pShuttleId);
      }, false);
      document.getElementById(pShuttleId+"_MOVE").addEventListener("click", function(){
        setShuttleSelectedAmount(pShuttleId);
      }, false);
      document.getElementById(pShuttleId+"_MOVE_ALL").addEventListener("click", function(){
        setShuttleSelectedAmount(pShuttleId);
      }, false);
      document.getElementById(pShuttleId+"_REMOVE").addEventListener("click", function(){
        setShuttleSelectedAmount(pShuttleId);
      }, false);
      document.getElementById(pShuttleId+"_REMOVE_ALL").addEventListener("click", function(){
        setShuttleSelectedAmount(pShuttleId);
      }, false);
      document.getElementById(pShuttleId+"_LEFT").addEventListener("dblclick", function(){
        setShuttleSelectedAmount(pShuttleId);
      }, false);
      document.getElementById(pShuttleId+"_RIGHT").addEventListener("dblclick", function(){
        setShuttleSelectedAmount(pShuttleId);
      }, false);
    attachShuttleEvents("P5_SHUTTLE");
    PS: I also want to mention that this may be browser dependant, especially for IE<9 where you would need to use attachEvent instead of addEventListener...
    Edit: maybe Paul knows more!

  • Shuttle Item in 3.1

    I noticed that since the last update I have problems with the shuttle item receiving an error
    Bad Request
    Your browser sent a request that this server could not understand.
    mod_plsql: /pls/otn/wwv_flow.accept HTTP-400 Too many arguments passed in. Got 4175 parameters. Upper limit is 2000
    Oracle-Application-Server-10g/10.1.3.0.0 Oracle-HTTP-Server Server at htmldb.oracle.com Port 80
    See this example and try to click the button "Save"
    http://htmldb.oracle.com/pls/otn/f?p=31517:166
    This example was set up under version 3.0.1 and every click was collecting the values
    shown in the table on the right side. However, since the last update this doesn't work
    any more. Is there really a limit of 2000 records per select list?
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

    Hi Carl,
    >> … it probably won't happen till next full version, since it does effect js css as well as the HTML source
    Yes, I figured as much, and next version will be fine. Thanks.
    >> Confusing is bad enough but is there an actual functional difference?
    As far as the IDs for the select list goes, If you are aware of the issue, it’s only confusing, but it will work without any changes. With the IMGs it’s a bit more complicated, and can impair functionality. In RTL mode, the ‘Move’ icon is actually pointing from the destination to the source. In the same manner, the ‘Remove’ icon is pointing from source to destination. The user, relaying on the arrow direction, can press the Remove icon, in order to select an option, and will not understand why nothing happen (or, if one of the selected options was highlighted, it will be removed). This can be worst for the user if you didn’t translate the img ‘title’ to a native language. The same effect, of course, is with the ‘Remove’ icon.
    You can check the behavior of a regular shuttle item in a RTL page in here - http://htmldb.oracle.com/pls/otn/f?p=22710:260 .
    >> just shows that listening to Scott is usually the best course of action
    I learned that a long time ago, so no argument here :-)
    Regards,
    Arie.

  • Shuttle Items Display and processing

    Dear all,
    I am using apex 4 with 11g,
    I have a list of devices(processors, RAMs, DVDs), i want to assign these devices to some rack, where i need to add multiple devices at one time, for this shuttle seems me a better solution, if anyone please can share his knowledge about creating shuttle items and their processing.
    Thanks and Regards
    Abbas

    Have you tried the documentation?

  • Tags Plugin Incompatible With Shuttle Item

    I installed the Learning Library (http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/apex/r41/inst_pkgapp/inst_pkgapp.htm) and found that the Tag plugin is incompatible with the Shuttle Item. Page 17 contains both and the shuttle item does not function. It will not shuttle any items. If I remove disable the Tags item (which is of Tags Plugin type) the shuttle works as expected. I looked around for information on this plugin but did not locate it on http://www.apex-plugin.com/search-plugin-directory. I'd like to keep if but I definitely need the shuttle item working so I may just go with a text item for the Tags field.
    Any ideas?
    Thanks,
    Jason

    This error should only appear when you use a list-item with the list-type set to combobox. A combobox in forms is a listitem where you can also enter your own text. If you nly need a dropdown list, set the liststyle to poplist. This works also without patching. if you really need the combobox, patch.

  • Shuttle Item field width

    Is there a way to change the width of the fields in a shuttle item? I have some rather long data items that I'm using in a shuttle. The field width is so narrow that the majority of the data is not displayed. I'm using APEX 4.1

    Oddly enough, I actually did search the forum before posting. Apparently I didn't submit the appropriate search terms to yield the answer I needed, but somehow I was able to put the correct terms into the title of the post. I'll have to pay a little closer attention next time. My apologies for transgressing forum etiquette, and thank you for gently pointing it out.

  • Shuttle item

    How to change the shuttle item width to fit the text width ?
    Yogesh

    I've installed the lastest 3.2.1 Apex version, and the tricks style="" and width="500" don't seem to have any effect.
    I'm using the default template "20" (blue-ish).
    Anyone else having this issue ?
    I need the shuttle to be quite a bit larger.....
    I tried creating a new application with a different template this morning, and used a shuttle as the only item on the page.
    The shuttle doesn't work with the above mentioned tricks. I tried every combo I could think of.
    Can someone from Oracle Please take a look. The shuttle is rather USELESS if it's only about 13 chararacters wide....
    Thanks.
    Edited by: Canucklehead on Feb 19, 2010 8:27 AM

Maybe you are looking for