SkillBuilders modal and Page point question of value

Hello

I created a version simplified a problem, I am trying to understand on http://apex.oracle.com (it happens on the two Apex 4.1 and 4.2).

Workspace: EDIAZJORGE

User name: TEST

Password: test123

Application: 2188

Page: 1

I have a field of date and a button that opens a modal page; When the date is changed, a dynamic action is triggered to assign a URL on an element hidden with the new date, for example f? p = 2188:2:105346728385780:P2_DISPLAY:21 - Aug-14

Whenever the button is pressed, it will open the modal page and display the value of P2_DISPLAY.

The dynamic action that opens the modal page has a defined static URL like & P1_URL.

My confusion is that when I change the date, I can see on Session State and HTML P1_URL organizes the correct URL with the new date; However, when I click on the button to open the modal, it displays the value of the page when was initially loaded. For example:

  • If the page load with 21/08/2014, no matter how many times I change the date, it will always show 21/08/2014.
  • If I change the value at 31/07/2014 and refresh the page, then it will show the 31/07/2014 no matter how many times I change the date.

Two questions:

  1. When the plug-in receives the value of (the Session State and the input HTML to P1_URL element have the correct date)?
  2. How can I fix without having to submit the page?

Thank you


Erick

I am happy that it worked Erick. I didn't know if I explained.

As for the suggestion of 2...

If you run the page, as it is now (at least in a recent version I watched) you will see that when you changed the Date you can see that P1_DATE is defined in the session.

It's b/c you have a dynamic action that works PL/SQL and declares the value of P1_DATE. So, instead of setting the value P2_DISPLAY of the session in the URL, you can use this P1_DATE session state that is set when this is handled via Ajax.

If you were to change the action that affects your url "f?" p = & APP_ID.: 2: & APP_SESSION. "(or just use it as a static URL in the plugin) then changed P2_DISPLAY to have a value based on the value of P1_DATE it should work.

Greg

Tags: Database

Similar Questions

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

  • Open Skillbuilders modal report pages

    I want to open the modal page Skillbuilders in a report. The first column in a report represents the primary key of the table, the report shows. What is the best way to do it?

    The idea is the following: in the report area, there is a button which opens the modal dialog box by Skillbuilders CREATE. A user can enter data, clicks submit, modal dialog box closes and the report is refreshed. That works now. Now I want to add a link to the first column in the report, which opens the modal dialog, passing the value of the primary key of the row, the user clicks.

    I'm not that experienced with Javascript, I think I'll create a dynamic action with a jquery selector and as an real action, a call from javascript to open the dialog box. Can someone give me a start?

    Thanks in advance!

    You actually do not need as much javascript in this case. Simply design your column as you normally would to create a column of link.


    • The column link: provide a link text

    • Link attributes:

      onclick="return false;" class="show_modal"
      


    • Set the page target and provide all the items you want filled.


    onclick = "return false;" is to prevent the default behavior of the anchor tag: Navigate to the location specified in the href attribute. We want to open the modal page instead.

    Now to open the modal dialog box, create a dynamic action.


    • Event: click on

    • Selection type: jQuery Selector

    • jQuery Selector:

      .show_modal
      


    • Advanced > scope of the event: live (so the links will work after paging)

    The real action, select the SkillBuilders Page modal plugin and make sure these are specified as follows. This will take the location in the columns generated link and open a modal page for this place.
    This would then open your editing page with the correct id (that you define in the link of the column).

  • Location of the URL: attribute of the triggering element

  • Attribute name: href

  • If you have configured like this, you have the convenience of definition link standard column, no need of any javascript onclick = false and no need to fill the page elements will not save and to deal with the submission to the session state.

  • In and Out point question of priority

    Does anyone know how to do the In and points marked on the chronology to supersede those of the source?

    Hi Neil,

    You are right. I have expressed incorrectly. What I meant was how can I do first ignore the out point in the source and prioritize my inputs/outputs on the timeline. When I've been editing for some time and source clips have old marks on them I don't want to remove the points.

    I found the solution. In preferences, you click on the dialog and Fit Clip... "Works a treat.

    As a note, you have actually no I/O points in the source, you can change in where you parked as long as you have marks on the timeline.

    Keith

  • simple question and Multi point question

    Hello

    We have a publication which is published every 3 weeks. (17 times per year)  If anyone knows what kind of version of the app, we should use?

    Multi-Folio

    Integrated unique Edition App

    Multi-Folio with itunes subscription

    any help would be greatly appreciated.

    Thank you!

    Ryan.

    You definitely want one of the variants of the multi-folio. As you publish all the 3 weeks is probably a good idea to offer an iTunes subscription, it's a great way for customers to purchase access to your questions. We see the vast majority of magazine revenue came from subscription in iTunes purchases, not single issue purchases.

    Neil

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

  • Close a modal modal Plugin page of the Skillbuilders

    So I have everything works except closing the modal page. I think it's a matter of topic, but I'm not sure where to look for the right tag/solution. Modal page works, supports the values (to write to load/create/save custom process), but it does what it should. I have the direction of the page from 99 (my page close modal Page) and that works. What does not work is the dynamic Action close modal Page. In the tutorial, you had to find the section in the page with the success message and enter the label of the division. I use the Blue Classic theme (13) and it seems to be the same div #success - message that should work. Modal page after you save the new value, I don't see a message. As I had to create processes customized to load/save the values in the table, is there somewhere that I also customized record a success message?

    Hi Blarman74,

    Your success message is identified by a class rather than an ID hash Tags are used to select by ID. For classes, you use a point. The correct selector would be div.t13SuccessMessage

    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

  • Problem with Skillbuilders Modal Page after Pagination

    Apex 4.2

    Theme 21

    Firefox

    I installed the plugin page modal skillbuilders.

    I use it in a column of the report (html button).

    When you click the button, the modal opens, edit the data and save.

    Now the modal closes. All right.

    The problem is that if I page to the next page of the report, then click on the

    the modal button, nothing happens.

    If I press F5 and refresh the page, then the button works and the modal opens

    Any ideas appreciated

    Gus

    I have change the scope of the event on the DA who opens the modal and auto close the dynamics and now it seems to work

    Gus

  • Skillbuilders modal Page - Open End event

    Hello

    I use Skillbuilders Modal Page 2.0.0. Apex 4.2 plugin and I can't seem to get the end event open to work.
    I came across this thread Skillbuilder Modal Page - dynamic title , but the solution suggested that Tom did not help; nothing happens even if I put an alert on the open end.

    I will be grateful for any advice that you can send my way.

    It's ok, good you have fixed!

  • Skillbuilders modal page - message of success without close in Internet Explorer

    Hello

    I use Skillbuilders modal plugin on Apex 4.1 page.
    The plugin works fine in all browsers except in IE, where I am unable to close the success message by clicking on the 'x' in the upper right.
    I'll explain later.

    I have a report on, say, page 10, and I am to edit each line in a modal page (page 11). When saving the changes, closes the modal page and a success message appears on page 10. I see the message in Firefox and IE, however, I am unable to close it in Internet Explorer.

    When I inspect the success message using Firebug in Firefox, I see that I have:
    <div id="messages" style="display: block;">
    <div id="success-message" class="success">
    <img class="remove-message" onclick="$x_Remove('success-message');" alt="" style="float:right;" src="/i/delete.gif">
    Action processed.
    </div>
    </div>
    However, when I inspect the message of success in IE, I see:
    <div id="messages">
    </div>
    The success message is displayed on the page, but it does not appear in the source code of the page and clicking on the 'x' is not shut it down.


    I have tried with several themes, the problem persists.

    Does anyone have an idea what could be the problem here?
    Someone had a similar problem?

    Thank you!

    I've been watching, kind of empty that indeed the semicolon does not say. Didn't know who he was and then took the trouble to test it in the model more as he ate so much time already. Who should teach me...
    Anyway, I was puzzled, too. Apparently, this has to do with IE8 and jQuery, adding code to the document, whether .append or before. The element is just there and everything, but the onclick does nothing. Why it worked after editing it? Probably because that IE was able/willing to pick up the attribute.
    I've tinkered with it again and again, trying to find something, Googling, but couldn't really find a cause or difficulty. Put the anchor? Nope. OnClick reacting only to the second click? Nope. Just do an alert? Nope. Just nothing works at all. I just dropped. IE8 is a headache to try to 'fix' in his manners, you're worse off.

    Ultimately I fixed it another way. My model is different from yours, but the technique is the same.
    I removed the onclick attribute of the region of success message, about the two templates. If it doesn't work I'm not there (good riddance too). I changed the href attribute too by putting just "#", which is probably just me being pedantic. This is my result success message template:

    #SUCCESS_MESSAGE#

    To be able to close it, I added some javascript in the page header:

      
    

    This is much like a dynamic action with a scope "on-line". I didn't want the trouble of having to put an action dynamic on every page and is the reason why I made this way. It works fine in every browser too, then Bravo.

    Your solution works equally well on, that's all. I wouldn't call it a 'solution', because he did not initially anyway. I wouldn't look further and stick to what works best for you. :)

  • SkillBuilders modal Page does not work in Apex 4.2

    Hi all

    I'm trying to set up an example in apex.oracle.com of an application developed in Apex 4.1 and Page modal SkillBuilders plugin does not work.

    To view this situation, I have created a version simplified the application, with only two pages, apex.oracle.com.

    Workspace: EDIAZJORGE
    User name: TEST
    Password: test123
    Application: 66464 - Modal Page sample

    When the loading of the Page 3, dynamic Action is performed to open the Page 2 (interactive report) the page modally, but it does not work (the modal page does not open).

    Please note that this works at the Apex 4.1 and the property incorporated into frames in my application is set to allow.

    I appreciate all help.

    Thank you

    Erick

    Published by: ediazjorge on January 30, 2013 15:20

    Bump!

    Erick,

    This is due to a change being made in the context of dynamic Actions in 4.2. Workaround for now is to change your load event of the resource on the DOM window object.

    It's working now. In the next version of the plug-in, you will be able to return to the (ready) Page Load event.

    Kind regards
    Dan

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

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

Maybe you are looking for

  • Starting from the sd card?

    Hello! Just purchased a m200 second hand and are now trying to install linux for a dual boot of installation. However, in case I have to restore XP or start it fails - can I start XP using a SD card? There is a utility for creating boot SD card, as I

  • Why does not update my Mac/Itunes

    Dear all, New to this forum thing but I have no were else to turn. I recently bought a new mini Ipad 4 running the latest OS 9.2, however when I have the cable link to my Mac, it is not recognized due to my Mac running an old Itunes. So, as any who w

  • Is there a datasheet for the W700?

    Is there a datasheet for the W700?

  • Cannot add music to Windows DVD Maker

    I don't know how to format the music in a different file... This is what itunes says I do... I have to add 2 songs for Windows DVD maker software... home dvd with family photos.Help

  • Blocking of a field in a table after validation

    Hello! "m using jDev 11.1.2.4.0My project to get a table and I built a few postings by program for when the user insert or modify table data.Everything works except if the field that is not block, that is, when the user inserts incorrect data, an err