selectManyShuttle: the user shuttles points to the right or the left?

Hello. I use jDev 11.1.2.1.0

I put a valueChangeListener in a selectManyShuttle component.
Is it possible to understand if the user shuttles points to the right (and so it adds or selections) or to the left (removes selected items)?
There may be something obvious that I am not...

Thank you.

You tell me - you must have linked the value of the selectManyShuttle parameter to a list or something...

Tags: Java

Similar Questions

  • Sliders are right-handed (pointing to the left) after I affecting the computer I want options for lefties.

    Original title: cursors

    As a left-handed user, I am frustrated with the sliders that are just given (pointing to the left) after that I asked the computer I want to left-handed options.

    As a non-tech user, I find it frustrating that the cursor does not change from right to left, or automatically at my request.

    Is it not possible to add this as a feature of the dialog box when you select handedness for the mouse buttons and other Visual AIDS?

    Thank you

    Sonia

    PS: I'd rather Win 3.1 :)

    Boyfriend sorry there is no such feature to change the cursor. It could be a design limitation.

  • Save the shuttle point

    Hello

    I am trying to record the content of an element of the shuttle. I m using a "Save"-button that triggers a process (PL/SQL anonymous block). "."

    The content of the element of the shuttle should be stored in a table.

    The point of shuttle from filling with a calculation of work. Store new items that have been enjoy on the left side to the right side works just as well.

    Unfortunately I m not able to delete an existing element on the right side.

    If I remove an item from the right to the left and click on the button "Save", I get the error "ORA-01722: invalid number". "."

    I m using the following PL/SQL block:

    DECLARE
      v_count        NUMBER  := 0;
      v_shuttle_ids  VARCHAR2(1000);
      v_shuttle      APEX_APPLICATION_GLOBAL.VC_ARR2;
    BEGIN
      v_shuttle := APEX_UTIL.STRING_TO_TABLE(:P47_PFLANZLICHE_HERKUNFT);
    
      FOR i in 1 .. v_shuttle.count LOOP
        SELECT COUNT(*) INTO v_count FROM rjm.material_objekte WHERE objekte_id = :P47_OBJEKTE_ID AND material_id = v_shuttle(i);
    
        IF v_count = 0 THEN
          INSERT INTO rjm.material_objekte (objekte_id, material_id) VALUES (:P47_OBJEKTE_ID, v_shuttle(i));
        END IF;
    
        v_shuttle_ids := v_shuttle_ids || v_shuttle(i) || ',';
      END LOOP;
       
      v_shuttle_ids := SUBSTR(v_shuttle_ids, 0, LENGTH(v_shuttle_ids) - 1);
    
      DELETE FROM rjm.material_objekte WHERE objekte_id = :P47_OBJEKTE_ID AND material_id NOT IN (v_shuttle_ids);
    END;
    

    The Delete statement fails because the data types are not compatible. The variable v_shuttle_ids is the VARCHAR2 data type and the database column material_id has the NUMBER data type.

    Anyone has a solution to the problem (for example, casting data types) or has a better way to remove existing items from the shuttle point?

    Thank you in advance,

    Patrick

    If I understand the problem, your code should look like this:

    DECLARE
      v_count        NUMBER  := 0;
      v_shuttle_ids  NUMBER_TT;
      v_shuttle      APEX_APPLICATION_GLOBAL.VC_ARR2;
    BEGIN
      v_shuttle_ids := NUMBER_TT();
      v_shuttle := APEX_UTIL.STRING_TO_TABLE(:P47_PFLANZLICHE_HERKUNFT);
      FOR i IN 1 .. v_shuttle.count LOOP
        SELECT COUNT(*) INTO v_count FROM rjm.material_objekte WHERE objekte_id = :P47_OBJEKTE_ID AND material_id = v_shuttle(i);
        IF v_count = 0 THEN
          INSERT INTO rjm.material_objekte (objekte_id, material_id) VALUES (:P47_OBJEKTE_ID, v_shuttle(i));
        END IF;
        v_shuttle_ids.extend();
        v_shuttle_ids(v_shuttle_ids.last) := v_shuttle(i);
      END LOOP;
      DELETE FROM rjm.material_objekte WHERE objekte_id = :P47_OBJEKTE_ID AND material_id NOT IN (SELECT column_value FROM TABLE(v_shuttle_ids));
    END;
    
  • Refresh only the left side of the cascade point shuttle LOV

    Hello

    I want to fill the shuttle point dynamically using selection LOV cascading list. but when I change to another value left and right gets refreshed.

    but I want to refresh only the left side, right must be the same.

    I want to achieve something like that

    http://Apex.Oracle.com/pls/Apex/f?p=579:56

    I want to achieve this by using Refresh before and after updating dynamic action.
    Is this possible?

    pls help me with this. Its very urgent.

    879090 wrote:

    If you are on 4.x just used the cascade LOV Parent article (s) in the element of the shuttle

    Yes use v 4.X .and uses the parent LOV cascading item. My problem is that I want to change the elements of lov parent and cascading using different values.

    Let's say my lov elements parent has deptno 10,20,30.

    Wen I select dept 10 it should display all the emp to 10 dept. and I wil select some employees from that. then I will select dept 20 then it will show all employees of dept 20 and I will select a few PMCs from that.

    But now the prob is wen I don't change the dept No 20 of 10, the right side of the shuttle point with details emp dept 10 has disappeared. but I want that values must be ter, and should be updated by the left side.

    check out the link that I have attached in the first post. I want to achieve the same thing like that.

    Well, I looked at link above and even recreated in my demo application and added the section how it, just follow the steps

    http://Apex.Oracle.com/pls/Apex/f?p=46417:22

    Test/test connection

  • Shuttle point - save the changes

    The shuttle point integrated is a good way to view and edit data to multiple values. If the data comes from a single line and column (delimited), using the internal order process line Fetch and automatic DML to read/write, it work well.

    But what happens if the data from multiple lines in a source table? Say 10 lines are selected (right hand of shuttle) off a 50 LOV. The Source of the element of the shuttle has just the query to retrieve the 10 lines and the APEX engine automatically converts multiple values into 1 delimited value required by the shuttle.

    But when it comes to saving the changes in the shuttle, there is no easy way to identify what has changed. Say I deselect the option 1 and select 2 new items in the left side of the shuttle. Value of the element in the session state is delimited by colon 1 string containing the currently selected values. How this translates into the ELIMINATION of 1 and 2 INSERTs necessary against the base table?

    I can think of to save the front-subimit value in a hidden element, comparing it to the value of after-submit and stuff like that, but that seems a lot of work. What this kind of thing done effectively?

    Thank you

    HELEN wrote:

    But when it comes to saving the changes in the shuttle, there is no easy way to identify what has changed. Say I deselect the option 1 and select 2 new items in the left side of the shuttle. Value of the element in the session state is delimited by colon 1 string containing the currently selected values. How this translates into the ELIMINATION of 1 and 2 INSERTs necessary against the base table?

    I can think of to save the front-subimit value in a hidden element, comparing it to the value of after-submit and stuff like that, but that seems a lot of work. What this kind of thing done effectively?

    As the table changed with the values of the shuttle contains one column other than the PK and the shuttle update column, this can all be handled with reusable one DML MERGE statement and a utility function:

    begin
    
      merge into shuttled_states ss
      using (
      /*
        The merge source requires a set of matched pairs: the selected shuttle values
        against the corresponding values in relevant DB rows, for example:
    
        shuttle_st  db_st
        ----------  -----
        X           X       -- X is in both shuttle selection and DB rowset
                    Y       -- Y is not in the shuttle selection but is in DB rowset
        Z                   -- Z is in the shuttle selection but not DB rowset
    
        We therefore need to leave the X row in the DB unchanged, delete the Y row,
        and insert the Z row.
    
        This query should also contain other columns and values required in matching
        rows in the merge, or in inserted rows.
      */
        select
            shuttle.column_value shuttle_st
          , db.st db_st
        from
            table(string_to_coll(:p37_states)) shuttle
              full outer join shuttled_states db
                on shuttle.column_value = db.st) t
      /*
        Match conditions normally include matching PK and/or other values to get the
        relevant DB rowset, but the main requirement here is a predicate that matches
        using the DB value column from the shuttle/DB rowset pair.
      */
      on (ss.st = t.db_st)
      when matched
      then
      /*
        This is where the restriction applies. Although we don't actually want to
        update any matched rows as they are unaffected by the shuttle selection, the
        MERGE can only delete rows that have been updated. However we can't update
        any of the columns used in the match, so there needs to be at least one
        column available that can be set to the same value to mark the row as
        updated...
      */
        update
        set
            ss.state_name = ss.state_name
      /*
        ...which makes it possible to delete rows that are not selected in the shuttle.
      */
        delete
        where
            t.shuttle_st is null
      /*
        Where there's no match the value is newly selected in the shuttle and is
        inserted as a new row.
    
        (Other values required should be included in the query, or handled in a
        trigger.)
      */
      when not matched
      then
        insert
          (st)
        values
          (t.shuttle_st);
    
    end;
    

    This method uses to transform the selected values shuttle of a string delimited by two points in a set of SQL. The function provided by Oracle apex_util.string_to_table returns a PL/SQL associative array that is not appropriate for this. If it is possible to convert a string into lines purely using SQL, these methods are rather obscure and only can be reused by cutting-and-pasting. A simple function that returns a collection of standard SQL type can be used as a set of rows in a query through the SQL TABLE operator and is highly reusable:

    create or replace function string_to_coll (p_string in VARCHAR2) return sys.ODCIVarchar2List
    is
    
      l_table apex_application_global.vc_arr2;
      l_list  sys.ODCIVarchar2List := new sys.ODCIVarchar2List();
    
    begin
    
      l_table := apex_util.string_to_table(p_string);
    
      l_list.extend(l_table.count());
    
      for i in 1..l_table.count()
      loop
        l_list(i) := l_table(i);
      end loop;
    
      return l_list;
    
    end;
    

    For purposes of demonstration, this one uses the predefined sys . ODCIVarchar2List collection type. In real life, you would create your own, and of course the function would be in a package, not stand-alone.

  • Need to change the com port number, but users do not have administrator rights

    Our users don't have administrator rights, however, there are a few pieces of software that communicates with the hardware using COM ports.  Since they don't have administrator rights, you may not click on advanced in the communications port to set the port to the necessary com com.

    I found reg hacks online that say will open the advanced screen to allow the com to be changed, but none that I've found work successfully.

    Can someone tell me the correct registry setting that I need to grant permission to in order to open the advanced under properties tro communications button and have the available com port number to change.

    Thanks in advance.

    Hello

    You have the computer connected to a network or domain?

    It is not possible to access advanced screen or advanced without administrator rights. I suggest you to contact the administrator of the system to help about it.

  • Creation of Validation for the multiple selection list or shuttle point

    Hello
    I'm new to APEX and have questions about the best way to validate the selected shuttle items to verify that they exist in the sys.dba_roles table before submitting. The shuttle point uses a static LOV. I would like to than the error message to display when there is no such thing as a role selected in the element of the shuttle in the sys.dba_roles table.

    Using version 3.2 of APEX
    DB version 9.2.0.8.0
    Internet Explorer version 6

    I tried to create a validation step level about to shuttle P3_ROLE using SQL EXISTS when you press the button SUBMIT. I know that when argued that the shuttle point returns the selected values in a single string delimited by a colon. I use the APEX_UTIL. STRING_TO_TABLE to convert values selected in a table.

    CODE HERE
    declare
    l_selected APEX_APPLICATION_GLOBAL. VC_ARR2;
    number of l_num;
    Start
    l_selected: = APEX_UTIL. STRING_TO_TABLE(:P3_ROLE);
    BECAUSE me IN 1.l_selected. COUNTY
    LOOP
    Select 1 from l_num of sys.dba_roles where role = l_selected (i);
    END LOOP;
    end;

    This is the error ORA-00928: lack of SELECT keyword
    1006 - ERR error in the validation routine.

    Any advice? Thoughts? Thank you.

    Published by: Violet on Oct 14, 2010 14:50

    Hello

    Your code is PL/SQL block. You cannot use this type of validation with your code.

    Try to change the body type of the function that returns the error text and
    code for this one

    DECLARE
      l_selected APEX_APPLICATION_GLOBAL.VC_ARR2;
      l_num NUMBER;
    BEGIN
      l_selected := APEX_UTIL.STRING_TO_TABLE(:P3_ROLE);
      FOR iIN 1..l_selected.COUNT
      LOOP
        SELECT count(1) INTO l_num FROM sys.dba_roles WHERE role = l_selected(i);
        IF l_num = 0 THEN
          RETURN 'Role not exists';
        END IF;
      END LOOP;
      RETURN NULL;
    END;
    

    Kind regards
    Jari

  • Problem putting highlight and make things right with the left button of the mouse on Sat A100

    Hello

    My problem started after a reinstall, I wanted to point out something on a web page, then copy and paste, but could not.
    Then I wanted to move the bar on an excel worksheet, but could not, the cursor changes shape nut etc. it won't let me highlight or move things?

    (I downloaded the latest drivers etc.)

    It's a bit as the right and left click actions are a little mixed?

    Any ideas?

    Thank you

    Grant

    Mouse button configuration can be set for right-handed and left-handed users.
    Have you checked this option in the properties of the mouse?

  • OfficeJet 6500 e709: prints w / scale on the left margin and does not print right side of the page

    Prints with a wide margin and does not print the last 2 "or 3" on the right side of the page. This occurs even when the value of the left margin to little or none.

    HP trouble shoot said there is nothing wrong and test page prints fine.  Then back to the problem so try to print.

    HI @philg2,

    I see your thoughts produce a wide margin left and right of the page is cut off. What program are you printing from, and this occurs when you print from all programs or just a particular program?

    I see your post that this is not happening when you print a test page, so I think the problem is somehow related to the driver or program that you use. Let's start with the HP print and Scan Doctor is a free utility (tool) that allows to quickly resolve problems printing, scanning and connectivity, including but not limited to:

    • Connectivity:

      USB: Check that the USB connection from your computer to the HP product works properly.

      Network: Verifies that the network connection between your computer and your network is working properly.

    • Device Status Test: checks the errors of the device, such as paper, paper jams, stands transport and paper issues and provides instructions to resolve the error.

    • Driver: checks the driver missing or corrupt files.

    • Device Manager: check the problems in Device Manager that could prevent printing.

    • Device online: check if the product has been suspended or put in offline and then sets the State back in line if necessary.

    • Print queue: checks and clears pending print jobs in the print queue (a newspaper for printing waiting to print).

    • Port Match: check the port settings for the HP product.

    • Device conflicts: check the conflicts with other drivers, such as the other brands of printers.

    • Ink issues: check the cartridges and the ink levels for issues that affect the print quality.

    • Print settings: check and adjust the print quality settings.

    • Test print: print a test page for the assessment of the print quality and provides options for cleaning and if necessary print head alignment.

    • Scan tests: check the scanning mechanism, drivers, and registry entries.

    Source:try the HP Print and Scan Doctor for Windows

    Click here to download and run the print and Scan Doctor > > www.hp.com/go/tools

    If this does not resolve the problem, after back and let me know if there are all the symbols except the Green checkmarks and what they are next of course. The key is not always easy to identify the key and check mart are in the green circle.

    • If you see only the Green checkmarks (), the tool did not find any problem.

    • If you see green sides (), the utility identified a problem and fix it automatically.

    • If you see yellow exclamation points (), the test failed and requires monitoring of the user, but the step was ignored.

    • If you see a red X (), follow the onscreen instructions to fix the problem.

    Thanks, I look forward to hearing back on your part.

  • Windows Explorer - right column to automatically display the left folder?

    Simple question for Windows Explorer: is it possible for Win7 64 bit to display in the column on the right immediately which is highlighted in the left column?  (Like most of the any Manager files on the planet!)  I guess they try to minimize the work that the program does stuff that shows only the user didn't need.  When the user arrives at its destination they press enter or space to display the content.  I understand your point and minimize the workload for the program.  Stupid of course in real life, is not an option.  As usual, Microsoft, like most software companies think people want to think for them.  Not the case.  Unless of course I missed the 'show content immediately' option somewhere.  Its got to a point where you cannot assume a sense of almost any software company.  They all try to think for you, you Lasso in their way of doing things.  Guess it helps in the Department of bugs, but makes for very unhappy and frustrated users.  Or if you are a fool, do you think that the system is perfect, because it assumes that all your decisions for you.  Society is reflected in many ways in the design of software.  Doesn't look like good people.  People seem to become lazier and lazier or they become busier and busier and can not do even the simplest decisions.

    He agreed with the request of the customer.  Visitors don't like the record, in that they were to change until they had highlighted that they really wanted to enter.  It was particularly embarrassing when put customers highlight a network location that takes several minutes to connect or charge (heaven help you if this was a corporate backup tape location).    It was also a common complaint that it was incompatible (derivative of something is not supposed to cause an action occurs in a part any system: only by clicking or by selecting with button enter should).

    Changes based on direct feedback from customers on Windows 7, this is what makes Windows 7 "designed by the people."  If you don't like the decisions, please provide your feedback so that your thoughts can be heard in the development of future versions.
  • How arrow to the left or the right?

    I am new user Palm Pre and trying to figure out how arrow left and right when you type text messages?

    BACKSPACE key moves to the left and clear characters, but I try just arrow left and right to get to a specific point in the txt without using the touch screen.

    You must use the screen and type wherever you want, you cursor to the Earth. You can usually hit very close, if not in the exact place or move your cursor slightly ahead of place then you use backspace to get to the exact location, and then type the correction.

  • How to get rid of the fields to the left and to the right of the URL field?

    In the left field, I read for example Firefox or Mozilla Foundation (United States). I already know that
    In the field of law, I read useless Google box!

    Please see my attached screenshot:

    Details secuity/Page button

    This cannot be removed because it is supplied with the address bar.

    This provides users of important security options and permissions.

    Search bar

    This can be removed because the address bar now allows users to search the Web.

    To remove objects from the toolbar, follow these steps:

    1. Right-click on an empty space in the tab bar
    2. Select Customize on the menu drop-down
    3. Drag and drop the items and the unwanted
  • How can I move the favorite from the right to the left icon, in Firefox 17,0?

    I went under the screen of options of customization and moved to where I want, but whenever I did the change, the icon is always on the right side of my screen. However I want it on the left so that I opened the files in my favorites all have beautifully. Not every box on top of the other like he is doing. I'm stuck with it on the right, or should I reinstall Firefox?

    You are a new user of Firefox?

    Firefox did that with tabs on the top of the selected page, (for me on Windows XP), since Firefox 4.0 is out. To help customize and move the Bookmarks button works only when the bookmarks toolbar is deselected to appear; displaying the BTB, this button has special properties to force him to appear on the BTB.

    This action only has not bothered me because I have always used the bookmarks bar to view and use my favorites.

  • How can move the indicated address browser on the left and to the right of the footer of mozilla in the add-on bar where is jused to be in previous versions as icon of Personas?

    How can I move the address indicated when I point to a link on the page of the browser on the left and to the right of the footer of mozilla in the add-on bar where is jused to be in previous versions as icon or the weather icons of Personas?

    You can install the following add-on to return some of the old features of the status bar. The module Bar must be turned on. The add-on will also stop the screening of the "tooltip" text of loading type State, and instead of it, show it in the bar of the add-on:

    • Evar-4-status: https://addons.mozilla.org/en-US/firefox/addon/status-4-evar/
    • After installation and reboot:
      • Open the Customze window (Firefox button > Options > toolbars OR view > toolbars > customize OR ALT + V + T + C OR right click in the empty space at the end of the tab bar and select Customize)
      • While customize window is open, drag 'Text State' (the URL for loading, as you mentioned), "Progress meter" and "Download Status" in the window customize to the bar of the add-on in order and the position that you want to display. Then click on the button "Done" at the bottom right on the window customize.

    If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.

  • Finder - right scrolling automatically snaps back to the left

    Hello

    I use Yosemite on a Mac Book pro. Recently, I noticed a problem with my finder. I have 'column view' enabled. When I scroll to the right to see the items more far in my tree, rather than stay where I scroll finder window cling all the way back to the left, showing the folders at the root of the drive. So, I actually don't see not all folders deeper in my directory structure.  I can't understand why this is happening. I hope someone can help out me!

    UPDATE: I discovered another problem which could be related. If I go to any program - safari, word, etc. and scroll all the way to the right, if I move the mouse over the program it will automatically scroll to the left. If I point the program, scrolling stops.

    Thank you!

    Ben

    SOLVED!

    It turns out that I needed to do something stupid - was enough to unplug and plug in my wireless mouse. Haha I've tried everything, * but * that. Go figure.

    Ben

Maybe you are looking for

  • Damaged cddvd burner

    I tried to burn a cd, but he kept saying connect a burner and restart the player when I burned before CD,. so I got here and followed the other directions, but it did not help, in the message area tht it says "Windows cannot start this hardware devic

  • HP Envy 4507: Problems with printing wirelessly to my iMac

    The printer worked fine without thread when implemented since January 2015. But this week (early May) I can't print wireless. The printer is on my network. I can access it from the iMac using the ip address in the browser, and it seems OK. I uninstal

  • InDesign window 'Application Quick' (Bug)

    Hello my 'Quick Application' window remains empty after BUG.How can the window stay?Thank youHello my 'Application fast' rest empty window on to the BUG.How can we stayed the window?Thank you

  • When you install an update, it gets to 2% and then gets stuck "trying to connect to the server.

    I have a connection to the internet, otherwise I wouldn't be here today... so, what's the problem with the connection to the server?  I even tried to restart my computer.

  • Closer to 11 sites on Google Map

    To be able to find the location of Los Angeles close to you a user, I want the user to enter their zip code that could pull up a map with their nearest locations. Information about a particular location is displayed when the user clicks on a spit. Or