Skillbuilders - Super LOV plugin

Hi,
I am using Oracle APEX 4.2, I recently installed Skillbuilders - Super LOV plugin into my APEX instance. Everything worked fine.
But later, I used jQuery grid plugin to show the result. and somehow the Super LOV plugin doens't work.
The "Open Dialog" and "Clear Content" button disappeared.
What i have done is inclued the following files at the page edit page
Javascript
File URLs
http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js
/i/javascript/grid/pqgrid.min.js
CSS
File URLs
http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/themes/base/jquery-ui.css
/i/javascript/grid/pqgrid.min.css
Can someone help me with this? I think maybe there is a confliction between SuperLOV plugin and the jQuery grid plugin?

Max,
I took a quick look and confirmed your findings. There is a solution, but it's a little complex. I've modified your application to do the first part, which is to "safely" add a new version of jQuery and jQuery UI to APEX:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js"></script>
<script>
   var jQ_1_8_3 = jQuery.noConflict(true);
   (function($) {
      $(document).ready(function() {
         alert ('Look at me, new version with the old $ reference: ' + $.fn.jquery);
   })(jQ_1_8_3);
</script>The first 2 lines here bring in the new version of jQuery and then jQuery UI into the new jQuery object. The second part does two things. First, it uses noConflict to put the new version of jQuery in a custom variable named jQ_1_8_3 (while returning the previous value of jQuery and $ as they were). Second, I use "self-executing anonymous function/expression" to show you how you can still use the $ to refer to the new variable.
Now, the next thing you would need to learn to do is to safely bring in the newer CSS file - that is if bringing it in now breaks something which may happen. That involves CSS scoping, which is an option you see when downloading jQuery UI (at the bottom): http://jqueryui.com/download/
However, to do this, you would need to move to the file system and away from the hosted CDN files. I hope some of this makes sense...
Regards,
Dan
blog: http://DanielMcghan.us/
work: http://SkillBuilders.com/APEX/

Similar Messages

  • Skillbuilders Super LOV - map values on page load?

    Hi,
    I'm passing an ID from one page into a SuperLOV item on another.
    Is there any way to make it perform the defined column mappings immediately to populate the other page items as if the ID had been selected manually?
    Regards
    Mark

    Execute javascript on load:
    $('#P53_COMPROD_ID').apex_super_lov('setValuesByReturn', $('#P53_COMPROD_ID_HIDDENVALUE').val());Is what i usually do. Second parameter is the return item value.
    >
    The getValuesByReturn and setValuesByReturn methods can be used to programmatically fetch return values and set the item using the return values. getValuesByReturn will return a JSON object with the results from the fetch. setValuesByReturn goes a step further using the return values to set the display and return values for the item. Example(s):
    $('#P1_ITEM_NAME').apex_super_lov('getValuesByReturn', '101');
    $('#P1_ITEM_NAME').apex_super_lov('setValuesByReturn', '999');

  • Issue using Super LOV within Skillbuilders Modal page

    Hi,
    I have an app that has an Interactive Report which opens a form using the Skillbuilders Modal page when you click Create button. Within the Modal Page I have a few items that are using the Skillbuilders Super LOV. It all initially works great but when my validations fire and there are any errors displayed, the Super LOVs stop working. So it won't allow user to search using the LOV.
    I have an example here: http://apex.oracle.com/pls/apex/f?p=70422
    Any help would be appreciated.
    Apex 4.2.0, 11g
    thanks,
    Spaa124

    I am using Firefox 17.0.6.
    It works fine in Chrome

  • Super LOV - Sort columns

    Dan - Quick question about the latest version of the Super LOV plugin.
    1. Can the columns on the popup LOV be sorted by clicking on the column header?
    2. Can the APX$ROWNUM column be hidden?
    Thanks

    Hi VANJ,
    We would like to add support for sorting in a future release. However, we built the plug-in using the APEX_PLUGIN_UTIL package and I'd like to stay on it if possible so this may take some time.
    As for the APX$ROWNUM column, just take the number of columns in your LOV query and add 1. Whatever that number is, add it to the hidden columns setting.
    Regards,
    Dan
    blog: http://DanielMcghan.us/
    work: http://SkillBuilders.com/APEX/

  • Skillbuilders modal page plugin problems in Apex 4.1

    Hi,
    I have applied the Skillbuilders modal page plugin in my application. Everything works fine except that when I close the popup window - my parent window is not getting refreshed.
    I have put the dynamic action - Auto Close modal and action as - Refresh report on parent page.
    Settings:
    Event : Auto Close [Skill Builders Modal Page]
    Selection Type : DOM Object
    DOM Object: document
    No condition
    Any help much appreciated.
    Thanks,
    Jas

    Dear Dan,
    I have the same problem, the main report is not refreshing after adding or editing values and the success message is not showing after the DA taking place and closing the modal.
    another problem i am facing with oracle cloud which is when is when the modal loads, it gives me the following error :
    Sample Database Application
    [email protected]
    An unexpected internal application error has occurred. Please get in contact with your system administrator and provide reference# for further investigation.
    Technical Info (only visible for developers)
    is_internal_error: true
    apex_error_code: APEX.SESSION_STATE.SSP_CHECKSUM_MISSING
    error_backtrace:
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    0x32c6b06c8 548 package body APEX_040200.WWV_FLOW_ERROR
    0x32c6b06c8 599 package body APEX_040200.WWV_FLOW_ERROR
    0x32c6b06c8 903 package body APEX_040200.WWV_FLOW_ERROR
    0x32ca89608 5985 package body APEX_040200.WWV_FLOW
    0x32df51ac8 249 procedure APEX_040200.F
    0x29cd0a0d0 2 anonymous block
    Set Screen Reader Mode On 4.2.1
    and after googling , i saw your solution for the super lov having the same problem
    problem located in customers page.
    the credentials are:
    http://apex.oracle.com/pls/apex/f?p=4000:1:9039832809236::NO:RP:FB_FLOW_ID,F4000_P1_FLOW,P0_FLOWPAGE,RECENT_PAGES:37403,37403,37403;|,
    workspace: ahk
    username : dan
    password : dan
    Best Regards:
    Yousef Alraway
    Edited by: user12279113 on Mar 12, 2013 3:25 PM

  • Display image in SkillBuilder Super Lov

    Hi,
    does anyone know if it is possible to display a blob image with skillbuilder super lov?

    Hi Temm,
    Great question.
    I'd never tested it before but it seems to work with the following query:
    SELECT customer_id,
       '<img src="#IMAGE_PREFIX#e2.gif" alt="">' AS "Street 1"
    FROM demo_customers
    ORDER BY 1You can see it action by opening the following demo page, scrolling to the bottom, and opening the Single Column Test: http://apex.oracle.com/pls/apex/f?p=46685:110
    There seems to be an issue with the height of the modal on the first open due to the fact that the image hasn't loaded prior to the measurements being loaded, but that can be fixed with some CSS.
    Also, make sure you set the Escape special characters attribute (under security) to No. Unfortunately this means that all columns will be unescaped (unlike reports which do this at the column level).
    I may consider ways to do this better in the future.
    Regards,
    Dan
    blog: http://DanielMcghan.us/
    work: http://SkillBuilders.com/APEX/
    Edited by: Dan McGhan on Apr 11, 2012 10:07 PM

  • Skillbuilders modal page plugin

    Hi!
    Is it possible to implement modal inside another modal? I am using Skillbuilders modal page plugin 2.0, APEX 4.0.2. version.
    If it is, can someone explain how in short notes...
    I have a form in modal, which would have a create button to open another form in modal, pass values there and submit, and then go back to parent modal. I tried to implement it and it not works
    By the way, I use APEX 4.2 at home and plugin is working great on all themes that I tried. But now, on other computer I am using 4.0.2 APEX and with theme 16 I have some problems with size. E.g. the form width is big. I tried everything... Also tried fixed modal size. Looks good, but the problem is when error message appears then it is not resized automatically and you cannot see whole content. Maybe someone have solution for this... I will put it online when I get.
    Thanks!

    Hi Spooky,
    This is not currently possible, but it's on the list of enhancements. Hopefully it will not be too difficult.
    Regarding older versions of APEX, I've had those issues too. There's an older version of the plug-in, use jQuery Dialog over Colorbox, that works better. If you email me directly I'll send you a copy of the older version.
    Regards,
    Dan
    blog: http://DanielMcghan.us/
    work: http://SkillBuilders.com/APEX/

  • Skillbuilders modal page plugin query

    Hi Guys,
    I have downloaded the Skillbuilders modal page plugin and it works very well for 99% of the scenarios that we have encountered.
    We have one page which needs a slight modification from the standard functionality with regards the modal plug in..
    We have a tabular form which has a field into which we have created our own button (which is used as a link to page 6) with the following syntax:
    *<input id="modal" type="button" value="comps" onclick="javascript:redirect('f?p=&APP_ID.:6:&SESSION.::NO::P6_JOB_RESP_ID,P6_RESPONSIBILITY_ID:#Comps#,#Responsibility#')" />*
    which calls another page within the application and passes in the #Comps# and #Responsibility# values from the current row in the tabular form.
    What I am trying to do is to use the modal page plugin within this tabular form functionality so that the new page (page 6) appears as a modal page.
    The part that is confusing me is how to pass the #Comps# and #Responsibility# values in the tabular form into the plug in as parameters so that the new page appears modal.
    If anyone else has experience using this plugin, any advice would be great.
    Chris
    Edited by: Cashy on 23-Feb-2012 01:22

    Hi Jieri,
    The problem is how you are generating the link. You're using substitution string syntax in the link to refer to an item's value. This will work only on page load. You need something more dynamic.
    For some reason I was able to log in yesterday but I was short on time. Today I tried and the login failed. Try to do this on your own...
    1. Create a hidden item on the page (not protected).
    2. Reconfigure the dynamic action to respond to the click event on that hidden item.
    3. Reconfigure the plug-in to grab the link using an attribute of the triggering element. The attribute can be something like "data-href".
    4. Reconfigure the button to so that clicking the button executes some JavaScript that does two things:
    a) Sets the data-href attribute of the hidden element to the correct value for the link
    b) Triggers the click event on the hidden element
    If you need more help from me on this please unlock that account. Also, I don't know when I'll be able to get to this so please be patient. You can always email me the password if you want to keep it private.
    Regards,
    Dan
    blog: http://DanielMcghan.us/
    work: http://SkillBuilders.com/APEX/
    twitter: https://twitter.com/dmcghan

  • Skillbuilders Modal Page Plugin - Help in setting Modal window height/width

    Hello Apex Experts,
    I have downloaded the Skillbuilders Modal Page Plugin. I have tried to implement the same but my modal window is not showing correctly. I can see all the fields and scroll bar. I also tried to set the initial height/width settings but no luck.
    Can anyone help me?
    Your help would be appreciated.
    FYI: I'm using Apex v4.2 on Google Chrome.
    Many Thanks,
    Bhavin

    Bhavin,
    Go into the setting in the Shared Components for the plug-in and change the theme from custom to a number (1-5). Also, make sure to read this:
    http://www.danielmcghan.us/2011/08/new-browser-security-attributes-in-apex.html
    Regards,
    Dan
    blog: http://DanielMcghan.us/
    work: http://SkillBuilders.com/APEX/

  • Problems with Apex4.2, SkillBuilders Modal Page plugin, IE9 and HTML5 theme

    Hello everyone.
    Please Help.
    Again problems with Apex4.2, SkillBuilders Modal Page plugin, IE9 and HTML5 theme (Blue Respensive).
    1. The problem is that all the popup windows display 100% of the width
    2. After opens a popup window change the width of the parent window forms.
    This happens only in IE9 browser.
    In other browsers, the popup window only much larger than the form that is opened.
    I can not change the size of the window.
    Thanks.

    Milk,
    I changed the component level settings to use a fixed height and width (I adjusted edit, you still need to adjust create). You can try adjusting this some because the modal page should adjust a bit.
    Then I added this CSS to the Inline CSS of the modal page:
    section.uMessageRegion{position: static; !important;}
    Let me know how this works for you.
    Regards,
    Dan
    blog: http://DanielMcghan.us/
    work: http://SkillBuilders.com/APEX/

  • APEX 4.2. - SkillBuilders Modal Page plugin not sizing fields or labels

    I recently migrated from 4.1 to 4.2, bringing over the Skillbuilders plugin 2.0.0. My page has a Popup template. When I open the page as a Skillbuilders Modal Page, all of the fields have the same width, ignoring the width I've given it with the label above the field, even though I said the label should be aligned left horizontally. If I run the page as itself (not called as a Skillbuilders popup), it properly spaces the fields and the labels are aligned to the left. Can someone help me fix this issue?
    Thank you!

    Johnny98,
    Yes, the plug-in has been known to have issues with the responsive theme. I recommend either changing your theme or avoiding the plug-in for now.
    I may be able to address this in the future, but I wouldn't bank on it.
    Regards,
    Dan
    blog: http://DanielMcghan.us/
    work: http://SkillBuilders.com/APEX/

  • More help with Skillbuilders' Modal Page Plugin

    I have an employee page with a series of smaller report regions showing things like contact addresses, job roles, etc. All are form-on-a-table+report type of setup I would like to convert to modal pages. The popup is now working (thanks to a security setting pointed out by Dan), but on all of these forms, I would like to populate the P(X)_EMP_ID item from the parent to save the users an obvious step. I've tried putting it in the URL called by the Dynamic Action and I've tried setting the item value in the modal dialog to be the parent's correlated item, but neither seems to work like it would in a standard form page call where I just list the items to pass and their values. I must be doing something wrong here, but I can't quite place it. Can someone point me at what I'm missing?
    Here's the URL I'm trying to use:
    f?p=&APP_ID.:287:&APP_SESSION.:::287::P287_EMP_ID:&P281_EMP_ID.
    where 281 is the parent page and 287 is the modal page.
    I also tried setting up an additional TRUE action associated with the Dynamic Action to assign the page item value - that didn't seem to work either. BTW - I'm strictly dealing with the CREATE button ATM. I'll get to the edit links after I get this working.

    Does your page 281 have an employee id item?
    Yes. The respective items are P281_EMP_ID and P287_EMP_ID. There is also P282_EMP_ID, P283_EMP_ID, etc.
    Even if it did it wouldn't make sense to transfer it's value to your form page if you wanted to arrive at the form page in a create mode.
    In this case it does, however. I start out on a general listing (Interactive Report) of all the employees where each has an edit link to the "master" record for the employee containing employee ID, name, etc. There are several (5+) child tables to the master, however, which contain things like addresses, contacts, etc. Each has a one-to-many relationship with the employee master record. I am attempting to display these each in their own regions and this was working fine as standard form+report on a table with the report showing along with the master employee record.
    As such, though the Employee ID acts as the foreign key to the master record, that value is predetermined by virtue of the currently displayed employee master record - thus the desire to have this value propagate down to the modal window/form page. The users also want it because they get distracted and frequently forget who they are working on. They want the name of the employee listed here, and this is difficult to display without the ID to reference.
    To arrive at page 287 in a create mode you need to clear out the value of the primary key item on that page. See the following to learn more about URL syntax:
    http://docs.oracle.com/cd/E2390301/doc/doc.41/e21674/concept_url.htm#BEIFCDGF_
    Thanks. I looked that over and tried to make sure things were in the right place, but I'm pretty sure the issue is the automatic fetch. Once I wrote my own form population process to replace the existing one, it seemed to work fine and the URL syntax passed the value as desired.

  • Dynamic LOV's - can we display more than one field in the Select list.

    I have the following query.
    SELECT DISTINCT NAME d, legal_entity_id r
    FROM xle_entity_profiles
    ORDER BY NAME
    So the drop down would contain the Organizational  Name - say in the case   China mobilex
    The legal entity  id is - 100
    Issue, there's also a legal entity id of 110 that is mapped to the same Organizational name - China mobilex
    so in the select list display it would look like
                                   China mobile
                                   China mobile
    QUESTION - is there a way to display BOTH
                                   China mobile 100 
                                   China mobile 110

    Hi Mikez,
    Perhaps the super LOV plugin of Skillbuilders would suit your needs more. It lets you create a modal dialog LOV with multiple columns, so you can display your selectable entries like:
    "Organizational Name" | "Country" | "Address" | "Phone Number"
    From a users point of view that would make more sense than an id column.
    - Item Plugin - SkillBuilders Super LOV
    Regards,
    Vincent Deelen

  • Copy an application with plugins into a new application and change theme...

    I copied an application (theme 23) with plugins into a new application and then changed the theme to theme 26. After that, all plugins (skillbuilders super lov, skillbuilders modal, and notification plugin) didn't work at all. However, when I changed the theme back to the original theme, things worked.
    I have applications that use theme 26 with plugins and they all work fine. I think the problem is related to copying one application, containing plugins, into a new application. Does anyone have any idea of it?
    Thanks.

    Hi,
    Most plugins have css,images or js files which can be placed on the server.
    It might be that you have placed those files on the server in the theme directory.
    If you change the theme then the plugin can not find those files any more.
    Regards,
    Kees Vlek
    <tt>Company: http://www.orcado.nl
    Blog: http://www.orcado.nl/blog/blogger/listings/69-kvlek
    Twitter: http://www.twitter.com/skier66</tt>
    If the question is answered please change it to answered.

  • Skillbuilders modal page item references

    I have built an application that uses the Skillbuilders modal page - in this page there are two items that have Skillbuilders super lov (2.0.2) plug-in. The Sql statement for the second item, Task, includes a reference to the first item (Project), as :P35_PROJECT. However the lookup doesn't synchronise unless I close the modal page after the project field has been populated, then re-open it; then the synchronisation of the Task field works. Without close/open the Task lov does not synchronise on the Project and returns all values.
    Lov sql:
    select pt.task_number "Task Number", pt.task_name "Task Name"
    FROM PA_TASKS pt, PA_PROJECTS_ALL pja
    where pja.project_id=pt.project_id
    and pja.segment1=:P35_PROJECT
    order by 1
    I tried a dynamic action which fired when the value of item 35_PROJECT was changed but this does not work.
    Thanks for any assistance, Dave Barber
    Edited by: user13515136 on 06-Aug-2012 01:24

    Dave,
    Go to edit the child item. In the List of Values region, enter the name of the parent item in the Cascading LOV Parent Items field.
    Let me know if this works.
    Regards,
    Dan
    blog: http://DanielMcghan.us/
    work: http://SkillBuilders.com/APEX/
    twitter: https://twitter.com/dmcghan

Maybe you are looking for