When using APEX.jQuery() - Syntax...?

Hi,
I have migrated to Apex 4.02 and had an old jQuery Version running on 3.2.
Now I have learned that I can use the build in jQuery Libs which load not all UI functionality but additional UI components can be loaded from the APEX - Lib.
I have read that APEX renamed its jQuery implementation to APEX.jQuery().
I have thrown away my old jQuery Libs ( only the standard APEX jQuery Libs are loaded ), but my jQuery invokes are still working with $().
So when do I have to use the syntax APEX.jQuery() and why is $() still working...?
Thanks, Juergen

Hi,
I also want to add my 2 cents. See it as recommendation from the APEX development team. :-)
So the question is, when to use jQuery/$ and when to use apex.jQuery? Actually it depends where you use it!
That might at first hand be confusing, especially because as some of you already know, as long as you don't include your own version of jQuery, the JavaScript variables jQuery, $ and apex.jQuery are all the same. So it looks like that it doesn't matter that much, but actually it's very important if you upgrade your application/plug-in to a newer version of APEX.
We try to stay up-to-date with the included version of the jQuery library when we release a new version of APEX. So for APEX 4.1 it's very likely that we include jQuery 1.5. As you can see from the change log of the jQuery project they also sometimes make changes which breaks existing functionality. To minimise your risk when you upgrade to a newer version of APEX you should follow the following recommendations.
JavaScript code in your Application:
If you want to use jQuery in your own JavaScript code in an application we recommend to use jQuery or the shortcut $.
Why:
1) If you upgrade APEX there is the potential that the newer jQuery version breaks your existing code. To avoid intensive testing and rewriting your application to the new jQuery version you can just include the old jQuery library into your page template and you are done. The variables jQuery and $ will point to your own jQuery version and not the one shipped with APEX. No additional code changes necessary. That will help to minimize your risk of upgrading to a newer version of APEX.
2) You need a newer/older version of jQuery in your application because one of the jQuery plugins which you want to use just works with that version. In that case just include the newer/older jQuery library into your page template and the variables jQuery and $ will point to your own jQuery version. apex.jQuery will still point to the version shipped with APEX.
JavaScript code in an APEX Plug-In:
If you want to use jQuery in an APEX plug-in we recommend to use apex.jQuery. You should even go that far to modify the initialization code of an included jQuery plugin to use the apex.jQuery reference.
What do I mean with that? If you have a look at the JavaScript code of a jQuery plugin you will notice that almost all of them have the following code structure
(function($) {
... plugin code ...
})(jQuery);Looks wired, right? :-) What this actually does is to declare an anonymous JavaScript function with a parameter $ which is immediately called and as parameter value passes in the current jQuery variable. That will allow the function to use $ as jQuery short cut without having to rely on the fact that $ is still used by jQuery.
We recommend to copy the jQuery plugin file and prefix it with apex. (example: apex.jquery.maskedinput-1.2.2.js) to make everybody aware that the file has been modified for APEX. Change the jQuery to apex.jQuery in the initialization code.
(function($) {
... plugin code ...
})(apex.jQuery);Why are we doing all of that?
As a plug-in developer you want to minimize your testing effort and also want to have an environment where you have full control to give proper support. Let's assume you are not doing the above, what happens if a user of your plug-in is using it's own version of jQuery? He might report strange behavior of you plug-in which you are not able to reproduce because you don't know that your plug-in is actually using a different version of jQuery than in your own environment. Using the apex.jQuery namespace reduces your risk and also the risk of your users, you just have to test your plug-ins with the APEX versions you want to support.
Hope that has given some more insides when to use what.
Regards
Patrick
My Blog: http://www.inside-oracle-apex.com
APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf

Similar Messages

  • Flow accept error when using ANSI join syntax

    Hi
    I had a region populated by a query joining two views (one in-line using connect by). When trying to create the region if the join was coded using ANSI syntax (INNER JOIN .... USING) I got a flow accept error when either trying to proceed using the wizard, or apply changes when editing the region.
    After changing to the old style Oracle join (using predicates), I was able to create the region and everything worked ok. I found the solution after reading this post Error 404 wwv_flow.accept was not found in which the OP says he would raise a bug. Did the bug get raised? I ask since his problem arose whilst he was selecting from a view using ANSI joins and using instead of triggers, and I was joining an in-line view to a view using ANSI joins and instead of triggers, but neither view has been changed, just the join syntax. The view defined in the database is used in other regions and works fine. This could indicate the OP's problem was fixed, but one still exists.
    Incidentally this is the only time I have used non-ANSI joins in the entire apex app - the rest work!. Unfortunately it is impossible for me to demo the app.
    Richard
    using ApEx 3.0.1.00.07 and 10g (10.2.0.1) EE on Wintel

    Tyler,
    Apologies, what I was trying to say was that I couldn't put the application on the Oracle APEX site.
    Yes, I do have a work-around, but that does not mean a bug may still exist. I count myself fortunate I saw that post and, therefore, experimented with the syntax of the join - there is no reason APEX should not accept ANSI join conditions, in fact , it does. The ANSI-joined SQL statement executed perfectly in TOAD and SQL*Plus, but I could not even save it in APEX.
    regards
    Richard

  • How can I control creation of empty tags when using ora:view syntax?

    I'm using XMLQuery and ora:view syntax to create xml resources in the database but I'd like to be able to prevent the creation of empty tags for null values in the table.
    CREATE OR REPLACE PROCEDURE proc_ctsi_build is
    XMLdoc XMLType;
    BEGIN
    DBMS_XDB.deleteResource('/public/CTSI/ctsi_phsall_rpt1.xml',1);
    SELECT XMLQuery(
    '<Progress_Report>
    <Personnel_Roster>
    {for $c in ora:view("CTSI_INVEST_SOURCE_V")
        let $username  := $c/ROW/COMMONS_USERNAME/text(),
    $expertise  := $c/ROW/AREA_OF_EXPERTISE/text()
         return
      <Investigator>
       <Commons_Username>{$username}</Commons_Username>
    <Area_of_Expertise>{$expertise}</Area_of_Expertise>
    </Investigator>}
    </Personnel_Roster>
    </Progress_Report>'
    RETURNING CONTENT) INTO XMLdoc FROM DUAL;
    IF(DBMS_XDB.CREATERESOURCE('/public/CTSI/ctsi_phsall_rpt1.xml', XMLdoc)) THEN
    DBMS_OUTPUT.PUT_LINE('Resource is created');
    ELSE
    DBMS_OUTPUT.PUT_LINE('Cannot create resource');
    END IF;
    COMMIT;
    END;
    In this example how can I prevent getting <Area_of_Expertise/> in my output when AREA_OF_EXPERTISE is null in the table?
    Thanks

    Hi,
    you can use if else conditions.
    {if ($expertise) then
    <Area_of_Expertise>{$expertise}</Area_of_Expertise>
    else ()}
    **not tested**
    Ants
    Message was edited by:
    Ants Hindpere

  • Powerpivot calculation consistently results in #ERROR when using the following syntax =RELATED(Supertab[Profit loss])

    Problem has arisen in Powerpivot and I have been religiously following the processes shown on numerous excel forum videos
    I cannot see any difference between the syntax I submit and that submitted in the examples, yet I get errors all the time. Have I missed a step somewhere in the set up of PowerPivot. Give me a hint as I am going quietly bananas here.

    Hi dfothers,
    Assuming that you've correctly defined a relationship between the two tables and that Supertab[Profit loss] is on the 'many' side of the one-to-many relationship (this is the most likely scenario that you'd get an error with the formula you provided) you'll
    need to apply an aggregation function to successfully pull the column into the table on the 'one' side of the relationship.
    You could do this with the RELATEDTABLE function...
    =SUMX(RELATEDTABLE(Supertab), Supertab[Profit loss])
    ...or with the CALCULATE function...
    =CALCULATE(SUM(Supertab[Profit loss]))
    If the relationship is in fact a one-to-one then one of the tables will still be on the 'many' side but you could use something similar to the following to return a non-aggregated value:
    =CALCULATE(FIRSTNONBLANK(Supertab[Profit loss],1 ))
    Regards,
    Michael
    Please remember to mark a post that answers your question as an answer...If a post doesn't answer your question but you've found it helpful, please remember to vote it as helpful :)
    Website: nimblelearn.com, Blog:
    nimblelearn.com/blog, Twitter:
    @nimblelearn

  • Apex.submit issue when using jQuery Overlay

    Dear All,
    This is my first post in this forum and I hope I can find a solution for my issue.
    Currently we are developing a new Time Attendance System by Apex.
    I am facing a problem when I use the jQuery Overlay in one of the pages.
    the page it self is working fine and all it button and tabs are also working fine until I click the link for the overlay content
    the content is another page getting loaded in a similer to a popup window (overlay effect) after I close this overlay window
    all the links in the original page that are using the apex.submit are not working and show an error in the browser "Object doesn't support this method or property"
    This only occur when I click the overlay link but if I load the page and I don't open the overlay link all links are working fine.
    And Thank you all inadvance.
    Regards

    It's always easier to debug an issue like this by recreating the problem on apex.oracle.com and providing credentials.
    How did you set up the overlay content? Did you create any additional HTML elements within one of the apex regions? If was just adding some DIV content then try moving that DIV content to after the #FORM_CLOSE# substitution string in the page template.

  • PDF: Unable to print a document as PDF from APEX when using the BI Publishe

    Hi,
    From an APEX application, I am unable to print a document in a PDF format when using the Oracle BI Publisher.\
    Here is the configuration:
    1) Server A is W2K3 and hosts the Oracle BI Publisher server, with IP address ip01.
    2) Server B is a OEL5.2 and hosts the database server of the APEX application, with IP address ip02.
    3) Machine C is a W7 desktop from which through an URL both the APEX applicationn and the BI server are accessed, with IP address ip03.
    4) The APEX application is configured with the following to use the Oracle BI Publisher:
    - Printer server: Advanced (requires Oracle BI Publisher)
    - Printer server protocol: HTTP
    - Printer server host address: ip01
    - Printer server port: 9704
    - Printer server script: /xmlpserver/convert
    - Network services are enabled (at least I did get any warning/error message)
    From C, I access the the APEX application through its URL, if I try to download a page by selecting PDF in the download section of the interative report section for that page, I am unable to open if and get the error:
    <file>. pdf file can not be opened because the file type is not supported or because it is damaged (because, for example as an e-mail attachment is not sent and correctly decoded)
    Yet, still from C, I am able to open any other PDF document.
    The same way, still from C, acessing the APEX application through its URL, I have a query report defined with a PDF output format. Then, when I test the report (Test Report in the Report query) for that query, I get the error:
    ORA-20001: The printing engine could not be reached because either the URL specified is incorrect or a proxy URL needs to be specified.
    At first sight this could be a wong entry in the priinter configuration for APEX. But with this address, through the URL I can log in to the Oracle BI Publisher server.
    Does someone has an idea what the problem could be?
    Thanks for any tips.

    How are you trying to print to pdf?
    Don't go via PostScript or Acrobat Distiller, which are old deprecated technology.
    You use:
    Menu > File > Print > PDF (button bottom left) > Save as PDF…
    Peter

  • Error when print report from apex using apex listener 2

    Hi
    Apex 4.2
    I want print report to pdf from apex using apex listener 2.
    The print server 'Oracle APEX listener' has been defined at the instance-level.
    ACL has been configured.
    I attempt to download a report in PDF mode, it appears that it downloads,
    but when I go to open it up I get an error that the file is of the wrong type or possibly corrupt.
    Upon opening the file in Text editor, there is an error as below
    %PDF-1.4
    1 瀛楄妭鐨?UTF-8 搴忓垪鐨勫瓧鑺?1 鏃犳晥銆?

    If you use Windows the user that runs the reports server is usually LocalSystem. Check this in the Windows Services panel.
    LocalSystem has no printer access. To be able to print, you have to use a real domain user that has access to the printer. So, change the Log on properties in the Services panel.

  • When to use APEX vs ADF?

    Experts:
    What are some example projects you've faced, where you've had to pick between ADF and APEX?
    I'm wondering if you can list some factors, business rules, or senarios of when to use APEX vs. when to scale up to ADF.
    Some factors that come to my mind:
    1. Insane business rules, with cleaner Java implementations vs PL/SQL.
    2. Many data sources, not all Oracle.
    3. Huge concurrent user base, where you need to really optimize caching strategies. Stuffing data in session variables isn't always practical.
    4. ?Others?
    I'm not especially good at PL/SQL or Java, but I do use both from time to time.
    Dan

    Thanks Chet,
    we do a lot of J2EE development, but increasingly we find that is overkill for certain clients and/or situations. And the costs of J2EE for, shall we say, smaller organisations isn't always sustainable for, shall we say, 2nd-tier business systems (i.e. fewer users, not mission-critical etc).
    So any technology that provides industrial strength with a browser front-end and speed of development is immediately attractive. we've built a number of small applications in APEX (for situations with 10-20 users only), but we haven't had time to benchmark scalability. I'm looking at moving APEX up the food chain as a solution for our clients, perhaps scaling to the several hundred users in an intranet context, and/or several thousands in an internet context.
    I may get our benchmarking team to do some performance and load testing to see how well it does, but I'm thinking that the scaling factors will relate to the database (which scales very well) and the HTTP server (which scales very well).
    Thanks for your help on this.
    Andrew

  • Is array-referencing syntax allowable when using javascript?

    Is the array-referencing syntax notation allowable when using javascript as the calculation language?  My hierachy looks like the following:<br /><br />    . form1<br />        . Area[0]<br />            . numHeight<br />            . numWidth<br />            . numDepth<br />        . Area[1]<br />            . numHeight<br />            . numWidth<br />            . numDepth<br />        . <etc><br /><br />Without getting into too many details, my need is for fields in the "Area[2]" container to access fields in the "Area[0]" container.  E.g. "this.rawValue = form1.Area[0].numHeight.rawValue;".  With this syntax, I received the following report:<br /><br />Generating PDF Document...<br />Script failed (language is javascript; context is xfa[0].form[0].form1[0].Area[2].numHeight[0])<br />script=this.rawValue = form1.Area[0].numHeight.rawValue;<br />   Error: Invalid property get operation; subform doesn't have property '0'<br />PDF generated successfully.<br /><br />1 warnings/errors reported.

    You can use resolveNode on basically anything, so yes you can access the record nodes within the xml data source. The function assist does not have anything when you do record but the nodes are created under record to match the nodes in your XML data source.
    I am not sure of what you are trying to do with your example - if you want to return a list of nodes match some expression, then there is another version of resolveNode method which does just that called resolveNodes()
    For example if you want to find all conditions_item nodes you would have:
    xfa.resolveNodes("xfa.record.conditions.conditions_item[*]")
    This returns a collection of Nodes and you can then use .length to see how many are returned. Make sure conditions is a child node of the root element. I am not sure, I think you do not specify the root node when accessing the record nodes.

  • Partial page load problem when using Muse in an existing non-Muse Masterpage; how to issue a jquery

    Partial page load problem when using Muse in an existing non-Muse Masterpage; how to issue a jquery args.get_isPartialLoad().
    My page is loaded into a palcehold within the Ajax update panel within the current Masterpage, so page loadload doesn't occur. But if my Muse page can capture  the partial pageload then I can tell jquery to run the Muse formating routine.

    Jackie,  I am having the same issue and agree that it obscures our site analytics.
    I only have the "WebMarketing" subscription - so I cannot see how often people visit my site (unless I just dont know how to view that).  Here is a screen shot of how many different locations I have and how much it affects my site visitor count based on the other locations which seem "legit" because they have more page views than visits.
    I hope there is a way to fix or block this.

  • APEX bug:9879227 (ORA-01403: no data found error when using validations)

    Hi,
    We are getting the
    ORA-01403: no data found error
    when the APEX page has validations AND a tabular form is also present on the page.
    I did see a couple of other forum links discussing the issue (bug id: 9879227 ?? ).
    But what i want to get a confirmation on is, in which release was this bug really fixed ?
    i see the release notes of 4.0.1.00.03 claiming that it is fixed
    in the release.
    we are on 4.0.1.00.03. is this bug really solved in release 4.0.1.00.03?
    are there any known work-arounds ? i tried re-creating the report multiple times, but that did not help.
    Any suggestions or work-arounds will greatly help us.
    Regards,
    Ramakrishnan

    Ramakrishnan,
    If you are talking about getting no data found when trying to save the report then take a look at the last message in this thread:
    {message:id=9971445}
    Cheers,
    Tyson Jouglet

  • Using apex item for list of number for 'IN' clause

    Greetings,
    I have a computation that looks like this:
    select count(mr.mr_id)
    from ds_moriver mr
    where mr.approved = 0 OR mr.approved IS NULL
    and mr.mr_id NOT IN (:P62_MRID)
    I am looking to enter numbers in the NOT IN clause like '123,234,...'
    I have a text field item (P62_MRID) where the user can enter IDs for the NOT IN clause.  So for example, 13578,182.  If the user enters one number it works fine.  If the user enters 2 numbers with a comma (13578,182) then I get this error when the computation is run:
    ORA-01722: invalid number
    So substituting 13578,182 for P62_MRID the SQL statement should compute as:
    select count(mr.mr_id)
    from ds_moriver mr
    where mr.approved = 0 OR mr.approved IS NULL
    and mr.mr_id NOT IN (13578,182)
    Why am I getting the error, 'ORA-01722: invalid number'?
    Thanks in advance!
    John

    Glad to help. Don't know how long you've been using APEX, but thought I'd caution you against "going wild" with the item substitution syntax. In general, if you can do it with bind variable syntax, that's better. The use of item substitution syntax can contribute to SQL injection attacks. But, if you have suitable control over the contents of the items being substituted, the risk is mitigated. Just don't create an APEX process like this:
    begin
       &P10_TEXT_DIRECTLY_FROM_USER.
    end;
    That'll get you into trouble.

  • How to upgrade apex.jquery

    We are upgrading for 3.2. One problem we already use the latest version from jquery, and as we don't want to set a step back, we would like to change the apex jquery to our version.
    Does anyone know how we could do this?
    Thanks

    <li>Load your version of jQuery and give it a different non-conflicting shortcut when loading (anything other than jQuery(, *$* and
    <li>Inorder to speed up file loading , store your jQuery file version in the server file-system so that it would be cached by the browser.
    apex.jQuery( ) , say J
    <li>Now export you application from the 3.2 environment, open the exported sql file in a text editor and search for *$(* replacing it with J( (jQuery shortcut defined in step 1).
    This would also version version mismatch issues with your version and apex's in addition to retaining any custom code written by the dev team in their jQuery version.
    Later when the dev team , upgrades their jQuery version to your version, you can remove all references to $J with $ as well as get away with that custom jQuery file

  • No Data retrieved with AJAX Call HTMLDB_GET when using Safari Browser

    In my apex (4.0) app i have certain page a which uses JS AJAX htmldb_get to pull some data from an on-demand process using xml structure
    var get = new htmldb_Get(null, $v('pFlowId'),
    'APPLICATION_PROCESS=get_markerdata', $v('pFlowStepId'));
    if (!MEBMarkerdataXML) {// Tabelle mit Kunden leer? Dann aus DB abfragen
    MEBMarkerdataXML = get.get('XML');
    l_Count = MEBMarkerdataXML.getElementsByTagName("Kunde").length;
    I ran into a strange behavior when using Safari Browser (Mac and Windows) when opening the page.
    As long as the process retrieves less than 50 rows everything works fine. The data is pulled from the OnDemand Process and delivered to the browser; the XML Data can be selected in JS for further processing
    <<<<<<<<<<<<<< HTTP Traffic taken from Safari <<<<<<<<<<<<<<<
    Anfrage-URL:http://80.149.218.10:8080/apex/wwv_flow.show
    Anfragemethode:POST
    Status-Code:200 OK
    Anfrage
    Content-Type:application/x-www-form-urlencoded
    Origin:http://80.149.218.10:8080
    Referer:http://80.149.218.10:8080/apex/f?p=41107101:43:1599514482232751::
    User-Agent:Mozilla/5.0 (Windows NT 5.1) AppleWebKit/534.55.3 (KHTML, like Gecko) Version/5.1.5 Safari/534.55.3
    Formulardaten
    p_request:APPLICATION_PROCESS=get_markerdata
    p_instance:1599514482232751
    p_flow_id:41107101
    p_flow_step_id:43
    Antwort
    Cache-Control:no-cache
    Content-Type:text/xml;charset=UTF-8
    Date:Thu, 03 May 2012 10:19:35 GMT
    Pragma:no-cache
    Server:Apache-Coyote/1.1
    Transfer-Encoding:Identity
    X-DB-Content-length:53329
    X-ORACLE-IGNORE:IGNORE, IGNORE, IGNORE, IGNORE
    <<<<<<<<<<<<<<<<
    When calling for more then 50 rows Safaris shows a POST Error -1001 and no Data is delivered.
    This occurs only on some Mac's and my Dev WIN-XP PC using SF Browser; never on iPad/iPhone . Never when using FF on Mac or PC.
    I googled a lot of different Sources, it seems to be a Timeout Problem when making a long runing AJAX Call. But i did not find any useful hint.
    Any Ideas from the APEX & HTTP Gurus?
    Regards
    Peter

    It's just that in my experience htmldb_Get.get() is troublesome for browsers, due to the fact it performs a synchronous request. The browser can do nothing else while it waits for the response. I've seen Firefox really struggle with it in the past couple years. Also, I've seen no good reason to use synchronous XMLHttpRequest calls. As you can see, it's simple to refactor a call to htmldb_Get.get() into a call to htmldb_Get.GetAsync().
    For your case in particular, I was just guessing Safari have implemented a timeout to ensure that they don't end up waiting indefinitely for a request that never returns as this would be fatal. You're probably hitting that timeout.
    I don't think htmldb_Get is officially documented anywhere, but you can find the source here... http://apex.oracle.com/i/javascript/uncompressed/apex_4_0.js
    There is also a pure jQuery way to perform AJAX request, I recommend using this because at least it's documented. Here's a snippet of a typical APEX AJAX request done the jQuery way:
    apex.jQuery.ajax({
      dataType: "xml", //supports text, xml, json, jsonp, script, or html
      type: "post",
      url: "wwv_flow.show",
      traditional: true,
      data: {
        p_request: "APPLICATION_PROCESS=get_markerdata",
        p_flow_id: $("#pFlowId").val(),
        p_flow_step_id: $("#pFlowStepId").val(),
        p_instance: $("#pInstance").val()
      success: function (data, textStatus, jqXHR) {
        // Do your thing in here
      error: function (xhr, ajaxOptions, thrownError) {
        // Handle error in here
    });Then you can refer to great documentation here... http://api.jquery.com/jQuery.ajax/

  • Problem using apex lib

    Hi all,
    I have installed apex 3.1, on 11.2.0.2 db.
    but am not able to use apex libraries,
    STEPS FOLLOWED :
    DOWNLOAD:
    •     GO TO THIS LINK
    http://apexlib.oracleapex.info/
    •     Click  download .
    Install into its own APEXLIB schema
    This installation option works with all Oracle APEX versions.
    Just one copy of the views and packages are installed, they will be accessable for all APEX applications.
    •     Open a command box.
    Eg on Windows Start/Execute => cmd
    •     Change into the directory "Scripts"
    cd Scripts
    •     Connect with SYS to create the APEXLIB schema. See ApexLib_create_apexlib_schema.sql why SYS and not an user with DBA privileges is required.
    sqlplus "sys/password@database as sysdba"
       (note if u have a exixting tablespace then use that else make
        a new tablespace using
    Create tablespace <tablespace_name> data file ‘path/<schema_name.dbf>’ size 1024m;)
    •     Execute the following script to create the schema APEXLIB and all the necessary privileges
    @ApexLib_create_apexlib_schema.sql
    Create new schema :
    Give a password:
    Give a existing tablespace name:
    ========================================================================
    . Enter the schema name for the ApexLib Framework.
    . eg: APEXLIB or APEXLIB_0101 (ApexLib v1.01)
    Enter value for apexlib_schema_name: APEXLIB
    . Enter the password for APEXLIB schema.
    Enter value for apexlib_schema_password: APEXLIB
    . Enter tablespace for APEXLIB schema.
    . eg: USERS or any other existing tablespace.
    Enter value for apexlib_tablespace: APEXLIB
    . Enter temporary tablespace for APEXLIB schema.
    . eg: TEMP or any other existing temporary tablespace.
    Enter value for apexlib_temp_tablespace: TEMP
    ========================================================================
         5.Run  all script in datamodel folder
          connect to the database using APEXLIB/APEXLIB
    6.Execute the following installation scripts: (connected as APEXLIB schema)
    1.     @ApexLib_install_into_apexlib_schema.sql
    2.     @ApexLib_grant_create_synonyms.sql
    When asked enter PUBLIC
    ==================================================================
    SQL> @ApexLib_grant_create_synonyms.sql
    Start granting and creating synonyms for the ApexLib Framework to
    . other APEX application schemas.
    . Note: The script executed successfully if you see the prompt
    .       "Script finished."
    . Enter the application schema or PUBLIC to grant and
    . create synonyms for. Eg SCOTT
    Enter value for schema_name: PUBLIC
    =====================================================================
    7. connect as application schema name
          connect to the database using your Application Schema
    @ApexLib_integrate_into_application.sql
    =====================================================================
    . Enter the ID of the application: (eg. 104)
    Enter value for add_to_application_id: 102
    ... add application process ApexLib_getGenericResult
    ... add application process ApexLib-Before Computation/Validation
    ... add application item APEXLIB_REFERENCE_ID
    ... add application item APEXLIB_REFERENCE_TYPE
    ... add application item APEXLIB_ROUTINE_TYPE
    ... add Page 0
    ... add Page0 region: Page 0 - ApexLib - Javascript/CSS
    ... add Page0 region: Page 0 - ApexLib - Before Footer
    ... add Page0 region: Page 0 - ApexLib - Handle Error Page
    ... add Error-Page-Template
    ... add include of ApexLib_Lov.js at Popup LOV Template
    ========================================================================
    ==========================================================================================================================================
    if any errors then follow the follwing steps
    (down from the step 5)
    For faster execution, ApexLib can directly access (select only) the APEX repository tables in the FLOWS_xxx schema
    or it can use the APEX repository views if there are security concerns to grant read access to the FLOWS_xxx tables.
    Note: From APEX 3.2 on tables reside in Schema APEX_xxx
        Fast direct table access (works for all APEX versions)
            Execute the following script:
            @ApexLib_grant_apex_tables.sql
            Connect with the APEXLIB schema.
            connect apexlib/password@database
            Execute the following script:
            @../DataModel/ApexLib_views_for_apex_tables.sql
        Access through the slower APEX repository views (only works with APEX version > 2.2.x)
            Connect with the APEXLIB schema.
            connect apexlib/password@database
            Execute the following script:
            For 3.x and 4.x:
            @../DataModel/ApexLib_views_for_apex_views_30.sql
            For 2.2.x:
            @../DataModel/ApexLib_views_for_apex_views_22.sql
    then step 7everything went fine, even page 0 is available, but not able to use cascade lov.
    i have done the same thing few months ago, it went fine with no errors/problems(complete installation from scratch).
    Any suggestions...,
    Regards,
    Littlefoot

    Hi,
    can you tell a little more about how "doesn't work" looks like?
    Are there any error messages in the Javascript Console?
    What does the Debug-Output tell you?
    brgds,
    Peter
    get Syntax Highlighting for the Application Builder: http://apex.oracle.com/pls/apex/f?p=APEX_DEVELOPER_ADDON:ABOUT:0:::::
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at and http://www.wirsindapex.at

Maybe you are looking for