Shuttle point - example of packaged applications

Hi all

are there examples of a part of the shuttle in the packaged applications? I know there are blogposts how to use it and so on, I could just swear that I saw somewhere in packaged applications, and I'm not.

Thank you very much

Pavel

Hi Pavel,

You can try to query the view of Apex 'apex_application_page_items' to determine what applications packages you have installed use an element of the shuttle:

select application_id, application_name, page_id, page_name, item_name
from apex_application_page_items
where display_as = 'Shuttle';

Thank you

Erick

Tags: Database

Similar Questions

  • 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.

  • Availability of packaged Applications Oracle Apex

    Nobody knows when the packaged Applications Oracle Apex will be available again to the page dedicated to the
    http://www.Oracle.com/technetwork/developer-tools/Apex/application-express/packaged-apps-090453.html says simply:
    "Previous applications packaged and code examples have been removed and new applications are being developed."

    I could really do with a copy of the application to the time sheet to use as a base, still an old version of it and not really care too much about all the bugs reported in it.
    If anyone knows where I can get a copy, I'd appreciate it.

    Why was it necessary to remove the old packaged Applications, why not let them available until new ones have been developed.

    MILIN
    Send your email address in texas. Apex. Developer @ gmail. com and I can send along a copy of the application to the timesheet...

    Thank you

    Tony Miller
    Webster, TX

    Time passes fast like the wind, but the flies from fruits such as bananas.

    If you answer this question, please mark the thread as closed and give points where won...

  • 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;
    
  • Apex 4.2.2 lack a packaged application

    Hi all

    I've updated to 4.2.2 apex. and I was wondering if the previous announcement that asset manager packaged application would be included in this version has changed.  I have made a mistake in my upgrade,

    "Also I Googled it and I come back with several presentations on".
    What's new in 4.2.2"which include the Asset Manager.

    For example:

    www.Oracle.com/.../Developer.../apex/... /apex- 42-new-features-1867076...

    This blog shows including a plenthora of apps I do not see under the packaged applications
    Thanks for an overview
    Ministry of education

    Hi Moe,

    APEX 4.2.2 is not an application packed - the application of the "Asset Manager" package was not scheduled for yet.  Although this application name packed received game slides of Marc, he has not yet been available.  Please note the slide in the sphere of security, slide 3, in this slide deck, which essentially provides that the information contained in the slide deck are not a commitment to deliver.

    All the packaged applications that are available in your case are listed under the tab "packaged Applications. During an upgrade process, any new application packaged will be added to this list.  You don't need to do all the extra steps during an upgrade.  But "Asset Manager" is not yet available, you may find it useful to examine the applications available, where you can find one that meets your requirements.

    I hope this helps.

    Kind regards

    Hilary

  • error when installing a packaged application

    Hello

    I get the following error when trying to install the application "Sample Master Detail" in my account to oracle apex on the web. All other install without problem. What could be?

    Thank you
    Juan


    Execution of the statement was not successful. ORA-00001: unique constraint (APEX_040200.WWV_FLOW_MESSAGES_IDX1) violated

    declare
    h varchar2 (32767): = null;

    Start

    h : = h || "Help";

    () wwv_flow_api.create_message
    P_ID = > 2456294651379654494 + wwv_flow_api.g_id_offset,
    p_flow_id = > wwv_flow.g_flow_id,
    p_name = > 'HELP. "
    p_message_language = > 'fr ',.
    p_message_text = > h);
    null;

    end;

    ORA-00001: unique constraint (APEX_040200.WWV_FLOW_MESSAGES_IDX1) violated

    Hi Jozef,

    Just to let you know, the issue of the installation of packaged application on apex.oracle.com example dialog box has now been resolved.

    My apologies for any inconvenience that the issue may have caused.

    Kind regards
    Hilary

  • Can you please give some advice on the ToolTip used in the new packaged applications

    Hello
    I use apex 4.1 theme 23.
    I would use the ToolTip used in the new packaged app.
    Can you please give some advice or the "Details" on ToolTip, used in the new packaged applications. for example: go live checklist request.
    Once we fly over "Check list items" region. We get the tootip.

    1. how to find the class "detailedStatusList".
    2. how to find "detailedStatusListToolTip();" JavaScript function used in "execute when Page Loads.
    3. is there a tool to generate the source in the region to "check list items.

    I don't know if there are more, I need to know...

    * the tooltip plugin isn't solid...

    Kind regards
    Water

    Good morning, water,

    My goal is to use it in IR for the column notes. I can't show all the notes on the report. so I use RPAD to show only the first words. and the rest should be available by using the ToolTip.

    Fact :D

    You need to use SUBSTR to restrict the notes to a few words, not RPAD.

  • I changed the IR query as follows...

    select
    Deptno,
    Dname,
    Loc,
    substr(notes,1,25) || '<div class="long-notes" style="display:none;">'||notes||'
' as "Notes" from "DEPT"

  • Column attributes: Note > formatting of column > Expression HTML

    <div class="short-notes">#Notes#
  • Edit Page > JavaScript > function and global variables declaration

    function setNotesToolTip() {
         this.xOffset = 0; // x distance from mouse
         this.yOffset = 10; // y distance from mouse
    jQuery("div.short-notes").hover(
         function(e) {
              var insideText = jQuery("div.long-notes",this).html()
              this.top = (e.pageY + yOffset);
              this.left = (e.pageX + xOffset);
              $('body').append('
    ' + insideText + '
    ' ); $('div#notes-tooltip').css("top", this.top+"px").css("left", this.left+"px").delay(500).fadeIn("fast"); }, function() { jQuery("div#notes-tooltip").fadeOut("false").remove(); } ).mousemove( function(e) { this.top = (e.pageY + yOffset); this.left = (e.pageX + xOffset); jQuery("div#notes-tooltip").css("top", this.top+"px").css("left", this.left+"px"); } ) }

  • Edit Page > header and footer > footer text

    <style>
    div#notes-tooltip {
        background-color: #F8F8F8;
        border: 1px solid #AAAAAA;
        border-radius: 3px 3px 3px 3px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
        position: absolute;
        width: 420px;
        padding: 4px;
    }
    </style>
    

  • And finally called setNotesToolTip(); while the page is loading. (Run when the Page loads)

    Kind regards
    Hari

  • By default the username and password for examples of Packages

    Hello

    What is the default username and password for examples of packages mentioned in this article for all the packaged sample applications?
    http://www.Oracle.com/technology/products/database/application_express/packaged_apps/packaged_apps.html#packaged

    Concerning

    Edited by: user20090209 May 19, 2010 13:37

    Hello

    Try the same username and password that you connect to your workspace.
    Most of the applications use Application Express authentication

    BR, Jari

    Published by: jarola on May 19, 2010 09:06

    And when you have downloaded and installed the application on your workspace, you can always change authentication

  • APEX packaged applications, it is possible to edit the models on the universal theme of the APEX 5. How can I enable editing of model on my applications?

    ..

    716769 wrote:

    Please update your forum profile with a recognizable username instead of "716769": Video tutorial how to change username available

    APEX packaged applications, it is possible to edit the models on the universal theme of the APEX 5. How can I enable editing of model on my applications?

    APEX 5.0, application themes are announced to a default theme. As a result, the theme templates are locked and cannot be changed. To change the templates, unsubscribe the theme of the master.

  • APEX packaged Applications

    Hello ladies and gentlemen:

    Oracle Database 11g Express Edition Release 11.2.0.2.0 - Beta

    Request Express 4.0.2.00.08

    Using the version above the APEX, how can I have access to bundled applications that are available for users of Application Express 4.2.4.00.08?

    Is this possible?  I'm looking for a simple tracker issue or project.  Yes, I can build, but I was curious to see if I can download and install applications on my version of the APEX.

    Thank you for your time and help!

    AquaNX4 wrote:

    Oracle Database 11g Express Edition Release 11.2.0.2.0 - Beta

    Request Express 4.0.2.00.08

    Using the version above the APEX, how can I have access to bundled applications that are available for users of Application Express 4.2.4.00.08?

    Is this possible?  I'm looking for a simple tracker issue or project.  Yes, I can build, but I was curious to see if I can download and install applications on my version of the APEX.

    No, you can't. Cannot import APEX applications in a version of APEX older than what they have been exported from.

    To run 4.2 apps, you must:

    • Replace the database XE beta with the production version.
    • Upgrade the integrated version of the APEX to the last patch 4.2.

    If you want to try the latest packaged applications, get a workspace on the apex.oracle.com and install there.

  • How to package applications JavaFX based Nashorn

    Hello!

    As you know, we can write application JavaFX in JavaScript using the Nashorn engine, but you will need to run the application with the command line like: > app_all.js jjs - fx. So I don't know how can I deploy application that allow and click on request for lunch or make autonomous packaging application using package tools from JDK 7 Update 6 or later version.

    Thanks for the reply

    As you know when we run the js with the option file - fx we have elementary in the context and we can get it with the $STAGE global variable or explicitly implement the start function: function start (internship) {}. So I asked myself how can I put the primary stage in the context of the script? Fortunately, I found the solution for this light I can put something in the engine and use the key as a global variable in the script, that was the thing that I was missing.

    @Override
            public void start(Stage stage) {
               try {
                              InputStream SCRIPT=getClass().getResourceAsStream("app_all.js");
                              ScriptEngine engine = new ScriptEngineManager().getEngineByName("nashorn");
                              engine.put("$STAGE", stage);
                              engine.eval(new InputStreamReader(SCRIPT));
                    }catch( ScriptException ex){
                       Logger.getLogger(Appli1.class.getName()).log(Level.SEVERE, null, ex);
                    }
            }
    
  • Packaged application locked

    Hello

    I downloaded 2 apex.oraclecorp.com packaged applications, but both demand appears to be locked, there at - it a particular reason, why he is locked

    Any help will be appreciated.

    Thank you

    R

    Hello

    It's the internet public forum

    Most of us do not know anything about Oracle internal websites like apex.oraclecorp.com.

    Kind regards

    Jari

  • Conditions of licence for packaged applications

    Hello

    I think the packaged applications are great and could be useful to our customers (we are a software development company located in the Denmark).

    Could someone enlighten me about the details of the license to use, customization and sell these provided Oracle packaged applications to our customers?

    Best regards

    Martin Nielsen

    Hi Martin,

    I tried a few weeks to get a definitive answer to this question.  Unfortunately, the only answer I can give you is that we (Oracle) are not allowed to interpret the license.

    You can find the license agreement for APEX on the download page at http://www.oracle.com/technetwork/developer-tools/apex/downloads/index.html.  I'm sorry that I don't have a more meaningful answer for you.

    Joel

  • Apex 4.2 - packaged application setup error

    See http://screencast.com/t/2OPt7JrSjaMQ

    The upgade of 4.0 to 4.2 went well, existing applications work, Builder works very well. But any of the bundled applications install, each of them fail with this error. Is there some step post-upgrade to fill to make it work?

    In addition, it does not appear as we can select the id of the application during the installation of these applications! Our environment has a convention of sorts, application ID. Is there a way to bypass the app id?

    Thank you

    In my view, there is a patch 4.2 APEX that will help the problem: cannot install sample master retail (packaged Application) & Re: error while installing a packaged application

    Thank you

    Tony Miller
    Ruckersville, WILL

  • 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...

  • Maybe you are looking for