Plugin SkillBuilders modal 2.0 with a touch of page-item - pass parameters

Hi all.
I have an employee table, which relates to a relationship 1: n with two tables: Emp_Tech_Fields and Emp_Kids.
I created a form to update / insert data of the employee, and I want to add two modal pages: one for children and one for tech_fields. I think that this will be the way the more usable for this form.
I created two page-item on this form buttons that open the respective modal pages with success, but I can not dynamically share the EMP_ID to filter the data in them.

IV ' e downloaded to the http://apex.oracle.com/pls/apex/f?p=64921:1:6401028834215 example: comments / gu12est3
Types of document is a report with a column of link that opens a modal with data filtering page, as it should.
Employees (click on a link change) has two buttons: Kids, who open the modal form, but it does not filter and areas of technology, which is filtered hardcoded with EMP_ID = 1 (see the definition of dynamic action).

As far as I understand it, this must be something quite simple and everyday, so I don't know why I have not found a way to do this. What Miss me?

Any help will be greatly appreciated,
Dovi.

Hi Dovi,

I took a look at your application and can see the link of your help for children and tech modal fields is not passing the session ID, this is why it asks you to log in again.

Here is an example URL for your question, it is not tested however.

f?p=&APP_ID.:20:&APP_SESSION.:::19:P20_EMP_ID:&P19_EMP_ID.::

You need to change the page numbers of the pages and articles to match your page numbers. It's using the url defined statically in the plugin itself, I have also only done in an earlier version of the plugin, but I think the functionality is very similar.

I hope this helps.

Paul

Tags: Database

Similar Questions

  • Skillbuilders modal dialog box - condition for the parent page dialog box

    Hello

    When you use this great plugin, I have a dynamic action on my calling page that deals with the selection of the dialog box.
    It uses
    Select the type object: DOM
    DOM object: document
    Condition: expression javascript
    ($v ('P110_PROD_SEARCH') is 'BLAH')
    where the js expression is to ensure that I run the correct dynamic action, especially when I have a few buttons on the page referring to different variants of the modal dialog box.

    My first action is some javascript which questions the value of
    this.data.modalPageCloseValue
    It helps me to make decisions in subsequent actions on the opportunity to execute some pl/sql, for example

    In the light of a recent issue of my about a possible bug APEX (displayed with HTML item affected by the dynamic action and since we cannot put conditions on measures - I was wondering if I could incorporate something in my condition of dynamic action to stop all the dynamic enforcement action if modalPageCloseValue is null - but it seems to be out of reach?)

    Scott

    Scott,

    Ah, of course, use this:

    $v('P110_PROD_SEARCH') == 'BLAH' && this.data && this.data.modalPageCloseValue
    

    Kind regards
    Dan

    blog: http://DanielMcghan.us/
    work: http://SkillBuilders.com/APEX/
    Twitter: https://twitter.com/dmcghan

  • Faced with HTML5 - only may not even pass parameters to the script .jsx

    I am really struggling to get acquainted with HTML5 and the conversion of my existing extension.  A general request first - what are the best resources to help a general grounding in HTML5?

    Now a specific question.  In the default example functions in the .jsx are all processed in $._ext_.  What is the purpose of this?  How do you pass a parameter in a function that is defined like this.  Now, I'm trying just to pop up an alert with a parameter passed.  I tried many things, but here I am:

    In my index.html file, I have a button:

    < li > < button class = "default" id = "btn_LoadPresets3" onClick = "wizClickButton('10')" > myFunction < / button > < /li >

    In the ext.js script, I have a function which gets this:

    function wizClickButton (inParam) {}

    Alert ("press me" + inParam);

    var csInterface = new CSInterface();

    csInterface.evalScript ('myFunction2()');

    }

    In my script .jsx, I have the following function:

    function myFunction2()

    {

    Alert ("Yo");

    };

    Now - when I run this and press the button, the first alert box shows and shows me my parameter ("press me 10" in this case).  But that's all - so the function in my script .jsx never gets called.  I don't know why.  So - I look at the example functions and they are all preceded with the $._ext - I change the function in my script .jsx for:

    $._ext_myFunction2 =

    {run: function() {}}

    Alert ("Yo");

    }

    };

    and modify the ext.js call to call the same

    function wizClickButton (inParam) {}

    Alert ("press me" + inParam);

    var csInterface = new CSInterface();

    csInterface.evalScript (' $. _ext_myFunction2.run () ');

    }

    So now, when I run it I get the second alert box.  Everything is good.  Only how I pass my parameter down in the script .jsx?  Where the parameter is both the definition of the function and the call to the function?  That brings the ._ext_ $ to the party?  Why not my definition of the standard function without the ._ext_ $?

    Many thanks in advance,

    Richard

    Hi Richard,

    I first suggest you use reusable code David Deraedt (and not Extension Builder, which treats the $. useless _ tips): davidderaedt/CC-EXT-SDK · GitHub. I don't know why you get the error: I don't use $._ext_ me so it shouldn't be a requirement.

    You can find a few first aid signs in my HTML signs quick tips. You will also find the way to pass parameters of JS-> JSX (as simple or complex objects parameters) and vice versa, JSX-> JS

    HTML: personally I found useful tutorials on www.tutsplus.com (HTML, JS, etc) but I guess there are a lot of free resources out there (the one that comes to mind is a A Practical Guide to HTML & CSS - learn how to build Web sites, Apple made one too Safari Web content Guide: HTML Basics).

    Concerning

    Davide Barranca

    ---

    www.davidebarranca.com

    www.cs-extensions.com

  • APEX 4.2. -Plugin SkillBuilders Page modal. does not

    Hello
    I've migrated my APEX 4.2 application. and now the POPUP modal forms does not.
    I use the plugin "SkillBuilders modal Page.
    Does anyone have another solution for form MODAL POPUP APEX 4.2.
    It's very urgent for me

    Thank you.

    I'm glad it helped you. BTW, you can mark the reply as useful or appropriate and close the question.

  • Skillbuilders modal page at the Apex 4.1 plugin issues

    Hello

    I applied the Skillbuilders modal page plugin in my application. Everything works fine except that when I close the popup - window is not getting updated my parent window.
    I put the dynamic action - Auto Close modal and you - update on the parent page report.

    Parameters:
    Event: Auto Close [Skill Builders modal Page]
    Selection type: DOM object
    DOM object: document
    No condition

    Any help much appreciated.

    Thank you
    JAS

    JAS,

    You're all set. I put the link of the event for you DA from the album Live to Bind. This is necessary because the living places of event on the document element bindings, but seems to only listen to events fired on his descendants.

    I also fixed a bug in the JS that displays the success message. He now calls empty() to avoid adding duplicate success messages.

    Kind regards
    Dan

    blog: http://DanielMcghan.us/
    work: http://SkillBuilders.com/APEX/

  • Passing parameters in Director. Is this possible? Experience with Multipoint?

    I use Director for a series of educational applications. I have a single projector (start) where students can click on their name. When a name is selected, Startup Spotlight consults a database to determine which educational projector is expected to be launched. Based on the results in the database, I use the call of baRunProgram boyfriend to start the appropriate Director projector. Right now, I use a text file to record the student's progress in their work their way through the educational projector. All this works fine for a single user on a single computer.

    However, I am having a problem with a customer who uses Microsoft Multipoint. Using Multipoint, there are several students running the program to start in the same place. Therefore, the text file progress of all students instead of one student's progress. Startup Spotlight knows what student is active but the individual educational Spotlight do not currently have this information. I could identify a single student to the education projector passing a parameter. First of all, is it possible? If so, how could he do?

    Abstract of the passage of a parameter, is there another method that might work to accomplish the same thing?

    Everyone works in a Multipoint environment? I am interested in other experiences with Multipoint.

    You can pass parameters to a projector on the command line, but only at the launch of it. Check the documentation for "line of command" and also the function of baCommandArgs() of Buddy API

  • Help with the Skillbuilders modal Plugin

    I hope that someone who has used the Skillbuilders modal plugin Page can help me. I watched the tutorial by Dan McGhan, but it is built for 4.0 and 4.1, I use so I can't use exactly the same steps to bind a button to the dialog box modal page.

    I have used page that shows a recording "header" with the name of the employee, etc. Then, I have 5 + smaller reports for addresses and items from the history. They are currently building as a form on a Table with the report, but I would like to change the modal pages. I have re-assigned the "create button" to point to a dynamic action, and I created the dynamic action to point to the page of the form. The modal dialog box opens and becomes just blocked on the icon 'Loading' - never really loading the page.

    I don't know how to solve this. Can someone help me?

    Hi blarman74,

    Please see the following:
    http://www.danielmcghan.us/2011/08/new-browser-security-attributes-in-apex.html

    Kind regards
    Dan

    blog: http://DanielMcghan.us/
    work: http://SkillBuilders.com/APEX/

  • SkillBuilders Modal Plugin - bug after resizing Page

    Hello dear community of APEX.

    I found a bug using the SkillBuilders Modal Page PlugIn for APEX.

    I use the resize function located in the official documentation of the plugin.

    $(document) .apex_modal_page ('resize', {height: $(«_iframe.cboxIframe_»,_window.parent.document).height () + 140, width: $("iframe.cboxIframe",_window.parent.document).width () + 300});

    If scrolling is enabled in the settings of component the page shrinks after each send + validation error.

    Just check it out on the demo application:

    https://Apex.Oracle.com/pls/Apex/f?p=14623:1

    ID: comments

    PW: Gu_est7

    1. press the button of page 1

    2. the texfield and press ENTER

    3 again... and see how the modal page shrinks in width after each submitted with validation error.

    Please help me solve this problem...

    Best regards!

    Mehmet,

    Take the "apex_modal_page.min.js" of the fixed application javascript file and replace the file in your existing plugin. You can also export the plugin from the fixed application and import it in necessary instances.

    I modified lines 214 and 215

    /*213*/ jQuery.colorbox.resize({
    /*214*/    innerHeight: Math.max(c._elements.$iframe.height(),c._elements.$iframe.contents().height()),
    /*215*/    innerWidth: Math.max(c._elements.$iframe.width(),c._elements.$iframe.contents().width())
    /*216*/ })
    

    Please let me know if you need additional assistance.

    Thank you

    Tyson

  • Need help with refresh region Skillbuilders Modal report

    Oracle, Oracle 11g EE 11.2.0.4.0

    Oracle APEX 4.2.5.00.08

    I have a page (Page 1) that has a button to open a modal (Page 2) based on the Skillbuilders Modal plugin using dynamic measurements.  The guide below was a great help in getting my features you want partially working.  As for the guide, I have a region report (non-IR), which has a link icon column to open a modal for updates of Records.  Also in this part of the report, I have a button that appears only for when there is no record to update, and only a new record can be created (IE insert).  Both the report link column and open button the same modal page however as on updates is a value for P1_GRANT_ID passed on to Page 2.  For news, region 1 Page report will refresh to reflect the updated after closing the modal values.  However, when I create a new record in the modal, the new record does not appear on Page 1 after its closure.

    http://ruepprich.WordPress.com/2013/07/11/skillbuilders-modal-page-instructions/

    Region report:

    SELECT g.*,
           'Q'||TO_CHAR(g.begin_date,'Q') quarter
      FROM lti_grants g
    WHERE grant_id = :P1_GRANT_ID
    
    

    Page, article to submit:  P1_GRANT_ID

    Element on the page:

    Name: P1_GRANT_ID

    Display in the form:  Hidden

    Protected value: NO.

    Source:  Still, replacing value that exists in session state

    Type of source:  Database column

    Source of value or an expression:  GRANT_ID

    The session state protection: Without restriction

    Page 2 has automated line (DML) treatment to manage the insertion/updates already and will return the new record PK in P2_GRANT_ID.  After the process of DML (seq n ° 5), I have a process after submit (seq #10) in an attempt to set the State of session using P1_GRANT_ID.

    BEGIN
      APEX_UTIL.SET_SESSION_STATE('P1_GRANT_ID',:P2_GRANT_ID);
    END;
    
    

    Appears not to effect in obtaining registration appears when updating of Page 1 report region thus immediately Page 2 I have also created a branch (Page 2 stays)

    Set these points:  P1_GRANT_ID

    With these values: & P2_GRANT_ID.

    This did not help either.  My understanding is that P1_GRANT_ID should be sent as a result of partial page refresh.  I watched during the debugging session state and the use of Firebug, but I do not understand why P1_GRANT_ID takes a value with inserts Records in Page 2.  Any suggestions?


    Given that your report has defined "Submit element Page = P1_GRANT_ID', each update that examines the value of page on the P1_GRANT_ID and by submitting via Ajax for the update. Remove this attribute and I think you'll have a chance.

    If this does not work, I would check P2_GRNT_ID to make sure that it is. Straight out of the wizard process DML return the primary key in an element.

    Greg

    [email protected]

  • SkillBuilders modal plugin - reports will not regenerate

    Hi all

    I try to use the SkillBuilders Modal Page plugin 2.0.0 everything seems to work except the refreshing of reports. By clicking on the links on the modal page opens, I can make changes, and after clicking 'apply changes' of the modal box closes and I'm back to the original page, however the reports were not updated. If I manually refresh the page or reports - reports change as expected. I think that my problem is in the dynamic Auto Close action, but I can't seem to find it. It is not all the errors displayed in the console error either. Any suggestions? Thanks in advance

    SkilBuilders Page modal 2.0.0 plugin
    Version of the apex 4.2.1.00.08
    Theme 26 - Productivity Applications

    Page has 2 classic and 1 IR - 3 reports
    Each report has a link with the class link 'change '.
    Dynamic action (change clicked) is configured with:
    Event: click on
    Selection type: jQuery Selector
    jQuery Selector: a.edit - link
    Condition: No strings attached
    Scope of the event: static

    Real parameters of Actions are:
    Location of the URL: attribute of the triggering element
    Attribute name: href
    Auto-close the element selector: section #uSuccessMessage

    Dynamic action (Modal Page Auto Close) is configured with:
    Event: Auto Close [SkillBuilders Page modal (2.0.0)]
    Selection type: DOM object
    DOM object: document
    Condition: No strings attached
    Scope of the event: static

    3 settings of real Actions are:
    Action: update
    Selection type: region
    Region: "name of the region.


    Thank you
    Wayne

    Hi Wayne,

    You have a job trying to update a standard classical report by using the dynamic action, it is not as simple as that of simply by selecting the region.

    The fastest way to get there (unless you NEED refreshing AJAX of reports) is to change the action of the event Auto Close to Page submit.

    It's quick and dirty - but it works.

    Hope this helps, cheers, Pete

  • Skillbuilders modal plugin page

    Hello!

    It is possible to implement modal inside a modal? I use Skillbuilders modal plugin 2.0, APEX 4.0.2 page. Version.
    If it is, can someone explain how in short notes...
    I have a modal form, which would have a button set to open another form in modal, transmitting values y and submit, and then return to the modal parent. I tried to implement and it does not work

    Moreover, I use APEX 4.2 at home, and the plugin works fine on all of the themes I've tried. But now, on the other computer, I use 4.0.2 APEX and with Theme 16, I have some problems with the size. For example, the width of the shape is great. I tried everything... Also tried a fixed size of modal. Looks good, but the problem is when the error message so it is not resized automatically and you cannot see all the content. Maybe someone has the solution for this... I'll put it online when I get.

    Thank you!

    Dark salvation,

    It is not possible at present, but it is on the list of improvements. If all goes well, it won't be too difficult.

    About older versions of the APEX, I also had these issues. There is an older version of the plug-in, use jQuery dialog on Colorbox, that works better. If you email me directly I will send a copy of the old version.

    Kind regards
    Dan

    blog: http://DanielMcghan.us/
    work: http://SkillBuilders.com/APEX/

  • Plugin change Modal Skillbuilders theme

    I can't find a way to change the theme of the modal window.

    I looked in the custom attributes of the plugin. There is a theme called,

    but you can't change anything.

    Someone knows how to do this?

    Gus

    Hi GusC,

    If I'm not wrong, from Apex 4.2, go for the shared components > parameters of components, and then select the plug-ins SkillBuilders Modal Page in order to change the theme.

    I hope this helps.

    Thank you

    Erick

  • Skillbuilders modal plugin

    Hello!

    I'm trying to trigger the Notification plugin on autoclose Skillbuilders modal plugin. This works. But I it would only trigger when the success message is "successful Insertion!

    I made a dynamic action, event is Auto Close and action is Notification plugin. And here I would put in condition to shoot only when the success message is equal to something.

    Success message is waiting for
    <div id="MESSAGE" class="t16success">
    What should I put in condition?

    Thank you!

    -Very well, use

    this.data && this.data.$modalPageCloseObject.length!=0 && (this.data.$modalPageCloseObject.text()=="Action Processed.")
    

    "this.data. $modalPageCloseObject" is an array. It contains all items matching the given selector. This will probably always 1 element. I changed the test on the aswell of object to check its length, and not its existence.

    "(this.data. $modalPageCloseObject.text ()" does not have the "search for" because the object is already as a div. ")"

    ...

    and performing

    $("#messagge").find("div") 
    

    now he would return an empty array aswell.
    If. find() can be moved and just use the text object.

    If there is ever more objects in the table, you can restrict to, say, the first element using the. on the CloseObject eq().

  • Skillbuilders modal Page on IE8 with a theme of IE6 compatible Apex

    Hello

    We use 13 Theme for some time now - I am aware that this is not the best theme in the world to use, but with the number of pages app that we have now it will take much time to upgrade to a more recent topic.

    Recently, we have implemented the Skillbuilders modal page with more than a little help from Dan McGhan and it looks amazing, using any theme of Apex, when using IE9, Chrome, Firefox etc. For some reason if you use IE8, we know the strange behavior.

    The modal box is not displayed the close button and the right and bottom sides are concealed within a parent div It is a known problem with the jquery ui dialog box, but I was hoping that someone could have developed a work around to make it display correctly.

    If you visit [http://apex.oracle.com/pls/apex/f?p=62488:2:0 url:] this example with IE8 and click on names, it does not display properly.

    Can anyone help? We know the switching to a non - IE6 compatible themes we work, but I'd like to solve this problem without changing things in this regard.

    Any help would be greatly appreciated.

    Best regards, Pete

    Pete,

    The page for the home page templates and the modal page lack DTD to the browser is running in quirks mode. Try to add the HTML5 DTD as it is simple:

    
    

    Note that this can result in other parts of the model of 'break '. These can be fixed, but depending on the severity, it can cost a lot of time to fix.

    Kind regards
    Dan

    blog: http://DanielMcghan.us/
    work: http://SkillBuilders.com/APEX/

  • Skillbuilders Modal Popup

    I use the Skillbuilders Modal Popup (v 2.0.0) with Apex 4.2.5 plugin and it works great. I am really happy with the overall results and the attention to detail that went into the creation of this plugin. I followed with the video tutorials Skillbuilder and got everything that is a demo would be there to work, almost.

    Here are the details of my use case. I have an Apex form page and there is a small report of related action items on this page. Each proposed measure gives just enough information to let you know what you are looking for, and there is an edit for each link, so you can view/edit full details. The link Edit opens a pop-up form for an element of individual action. The popup form has a button "update", which saves it, closes the form and updates the list small/report on the original page (appellant). Based on the Skillbuilders tutorial, I did it with 2 different dynamic actions and the use of the narrow "modal" technical page they describe.

    As I said, this works very well, except for one small thing. After the modal pop-up window closes and the region of report is updated (via dynamic action) the edit links on each report only ranks no more working time. If I update the original dynamic action calling page that the links will work once again, this is until I click on one of the links Edition, open the popup form, save the changes and return to the calling page. I'm getting so close, but so far, it's a closed loop transaction.

    It is as if there is an error javascript somewhere and I just can't track down. I tried to do a little but debugging but guidance on where and how to fix this would be appreciated. Thank you.

    Earl

    Are the dynamic scope of links event the value static or dynamic?  If they have the static value that they should not work after the update of the report I think.

    Thank you

    Tony Miller
    Los Alamos, NM

Maybe you are looking for

  • Why am I charged 1 Euro more?

    I chose the 200 GB storage plan and the price is 2.99 euros per month. However, iTunes was charged 2.99 Euro and Euro 1.00 additional as soon as I activated the plan. Someone had this problem? And this additonal Euro will deduct every month or is it

  • How can I view the FULL url in the address bar?

    I want TO be able to see ALL the URLS and addresses in the address bar! You changed it so the address is hidden or obscured without any possibility to see clearly without highlighting it. Vision of the persons with disabilities blind to things such a

  • 2605dn will not print from a computer, but another computer on the same network print very well.

    The two machines running Win 7 64 bit, both on the same network (such as a printer) all with cable connection to the local network. A single machine prints fine, but since a few days, my PC will not be printed on the printer. PING and TRACERT it is c

  • Trouble with BIOS and secure boot

    Hello, I own a HP Pavilion 15-b040sl, born with Windows 8 Sleekbook and has been upgraded to 8.1. Now, I decided to downgrade to Windows 7 (I own a regular product key) and has done so successfully (I'm also using a Linux distribution in dual boot).

  • PlayStation 3 Sixaxies Controller does not work

    Hello I am looking for a fix for this problem, I have a perferctly good controller and a new computer windows 7 64 bit and I would like to know why the controller does not work please help thanks