Application Express :: JQuery Mobile - Popup Only Opens After F5 / But Not On First Page-load
Feb 12, 2013
how to combine APEX 4.2 with jquery mobile componentsOn one page with a hole bunch of components there is also a popup-div<div id="myPopup" data-role="popup">
<!-- close button, safe button, input field and short list... -->
</div>It gets opened with js: $( "#myPopup" ).popup( "open" );
This all works fine, besides the face that it only works after refreshing the page! The page gets loaded via js: $.mobile.changePage('f?p='+ $v('pFlowId') +':20:' + $v('pInstance') { transition:"slide", reloadPage:true });...
which also works fine so far. That same problem I had before when I was using a dialog instead of the popup. - only showing after refreshing the page.
This certainly must have something to do with how JQM loads and renders the page (besides the APEX-job) - a rather basic issue. I have also tried different ways of calling the page, with no difference to that problem.
I'm running a mobile application on a hosted Apex environment which uses lots of jQuery mobile. The environment has been updated to 4.2 recently, and since that happened pages that I had setup to use the content grid, to show content in 3 columns no longer works, there only appears to be 1 column now.
1.) So I have a page, call it Page1. I do some 'not very important' things on this page, and then I use a dynamic action to open a new page, call it Page2.
2.) I do some other things on Page2, and then close it.
3.) It just so happens that when some things are changed on Page2, some things are changed on Page1.
4.) When I close Page2 I do not see those changes, because it needs to be refreshed or reloaded. So, I would like to be able to--from any page--reference this page and refresh it. I come from an object oriented language background.
In my app, I am using theme 25 for desktop and theme 50 for jquery smartphone (iPhone in my testing). I am using APEX 4.2.2.00.11. I thought that I could copy a few of the pages using theme 25 and as part of the copy process select theme 50 to create a page suitable for a smartphone.
I tried this for a few pages. The problem is when I attempt to bring up the new pages that are using theme 50 on the iphone, they just show a spinning circle. I've tried with a page that uses a calendar region, another that uses a report region (not IR), and one that uses a form region.
Ive created a tree structure and i want it to popup the called page.select case when connect_by_isleaf = 1 then 0
when level = 1 then 1 else -1 end as status, level, '<SPAN style="color:red;">' || "ENAME" || '</SPAN>' as title, (case when level = 1 then '#IMAGE_PREFIX#Fndtre11.gif' [code]....
i m using apex 4.1, and want to submit page when page load. i tried dynamic action but it continuously refreshing page. is there any other javascript or anything else from which i submit page on load
dynamic action used, event on load and action submit page but it continuously submitting page.
I want to show progress bar every time when page loads.
Progress bar is coming on the page. but it is not going off after page is loaded.Below is the code which i added for the Progress bar.
//written on Header Text of Page <script type="text/javascript"> <!-- function html_Submit_Progress(pThis){ $x_Show('AjaxLoading'); window.setTimeout('$s("AjaxLoading",$x("AjaxLoading").innerHTML)', 100); }
I have a page which, upon page load, some regions should be hidden. I've created a dynamic action which hides a couple regions (on page load), however I can see the regions for a moment as the page is loading, then disappear. Is there a way to ensure the regions are hidden when the page is rendered?
I've also tried using javascript, but I have the same issue (the regions are visible for a moment, then disappear).
Should the page load D.A. fire not until the dom is ready? Or is this not necessarily the case.I'm running a page over a slow connection, so the event (true action: execute JS) is being executed before the page is ready to handle the code. I would think this event should not run until the DOM is ready.
I have confirmed this by wrapping the code in document.ready, and it behaves as expected.
Basically I have a report that as part of it's source sql takes in an element from a select list.
E.G. SELECT * FROM table_name WHERE table_column = : P1_SELECTLIST
This works fine when the user selects an option from the select list however the first time the page runs it always returns data not found. The options correctly appear in the select list as they should without any nulls although it seems the select list is still initializing as null. I have been told to try and add a computation before the header on the select list item, although I'm not sure if this would work/how to do this.?
My collection is not working as expected, what could be the issue here. This is what i did,
1. I created a collection in a process to fire on page load
if apex_collection.collection_exists(p_collection_name=>'MMMM') then apex_collection.delete_collection(p_collection_name=>'MMMM'); end if; APEX_COLLECTION.CREATE_OR_TRUNCATE_COLLECTION(p_collection_name => 'MMMM');
2. On my page i have a text field P1_text1 when i enter value into text field like ="sample data" i want this data loaded into my collection, so i created a button and added a process(on submit - before computations...) so it should insert into the collection when i click the button but no data is loaded, process:
I am on APEX 4.1.1, db 11g and I have a report which is quite slow to retrieve results from its query. The page has some filter fields (e.g. store code, dept code) in addition to the generic search field.
When the user lands on this page (from a menu page), the query runs before the page displays and this typically takes 1-2 mins without any filters yet set. The usual browser loading indicators are not obvious to the user and they might not be aware that it is working on the request.
I want it so that it will only run the query AFTER allowing the user to get to the page, let the user fill in some filter criteria and then click on the GO button. Therefore the query will run after the page is submitted. When you hit the GO button on the interactive report, a nice rotating apex_loader.gif appears, making it obvious to the user that it is working on the request.
I would prefer NOT to create 2 pages, one for user filter, and a second for the actual report as I have many reports/inquiries which fit this category and I would prefer NOT to have to create pairs of pages for each.
I have a requirement wherein onclick of button I want to open/close list/popup (which is displayed below button, just like in select list) and can select any item from list to do some action.
I have created TABS using jquery tabs library 1.8 and works right now the problem i want to add multiple-select autocomplete item but this only comes with jquery 1.9.2 and UI 1.10.1 so if i add this reference to the page header the multiple autocomplete works but the entire tab-set is broken due to conflicting versions of jquery libraries.... apex 4.1.
I use APEX 4.2.2 and in my page I call a Modal Region to insert a new customer using AIAX and OnDemand PL/SQL process, then I need to set the inserted value into the Popup LOV from javascript. I used the code
where P20_CUSTOMER is the Popup LOV, ajaxResult is the PK returning from the OnDemand PL/SQL process and P20_DESCRIPTION is an APEX Item of the Modal Region. The new customer is inserted successfully into the table and the PK value returned to javascript code, but the new value is not displayed into the LOV.
running a jquery code after submit button has successfully completed, how do i integrate these 2 events ? clicking the submit button and if submits successfully execute the small jquery code based on the same submit button
I have developed a form which has webutil objects in it, and it is working fine on my local machine. When I deploy my form to my application server it opens up a blank page. I have configured the webutils in the app server as per the document and made entries into formsweb.cfg regarding frmwebutil.jar,jacob.jar. Does the dev suite need to be installed in the server for the webutils to run properly?
Also I watched my java console as I opened my form and I am pasting the contents below: ----------------- Loading frmwebutil.jar from JAR cache Loading jacob.jar from JAR cache proxyHost=null proxyPort=0 connectMode=HTTP, native. Forms Applet version is : 10.1.2.3 [code]...
I have an IR report and want to add another column such as complete_date. I want to add as a link so when user click it then should display the popup window or javascript popup for date selection. i don't want to use apex_item.date_popup or apex_item.date_popup2. On date selection popup user can choose only two dates such as yesterday or today all other date should be disabled?
i am display popup list of value item with out refresh when i select some value from Radio button. But Pop up item lable and element is Hide but in last image of popup list of value does not Hide .
How can i hide this image of popup list of values
i am using <script> function Show_On_Radio_Value_2(pThis, pThat, pValue, pLabel){ var rv = html_RadioValue(pThis); var elm = document.getElementById(pThat);
this modal popup, it works correctly but not passing values from page page1 to my page3. How do i pass these paramater values to page3,
function modalWin() { if (window.showModalDialog) { window.showModalDialog("f?p=&APP_ID.:3:&SESSION.:POP:NO::P3_EMPNO:#P1_CUSTOMER_ID#::","name","dialogWidth:600px;dialogHeight:400px");
I have button which opens up a pop-up showing a report passing some parameter in URL. The button calls the javascript function defined below:
<script language="JavaScript" type="text/javascript"> function newReport() { url = 'f? [Code]...
It all works well but for security I would like to add checksum to arguments in URL. I had a look at the Javascrpt API for Apex and couldn't find any for creating a checksum I can append to the URL.
Is there one that I missed or is it possible to do it by other means?.
today I stepped upon an issue regarding popup windows.I have created an application with popup windows for editing and inserting new records.I left the item label templates to "Optional with Help".When I now click upon an item label the help - popup window appears but it is hidden behind the popup window I am working in.
Is there a workaround for that.Is there a possibility to modify the z-order either of the help popup or of the modal window ?
I have a RAC cluster with several databases on it. One of my DB's, when starting the OEM in Internet Explorer, will never open the HOME page. I get the login page, and enter sys/password > SYSDBA. The progress bar on the bottom of browser will slowly move for a period of time, then I get the infamous 404 screen. dbconsole IS started...even stopped and restarted....
Thinking I need to drop and recreate the OEM repository using emca....have the commands to use oin a standalone world, but need some pointers for RAC world.
I am having a problem with a popup lov. When I click on the "popup icon" I can select a supplier and it is stored in the field. But when I leave the form and return later, it shows the return value instead of the display value. For example: you select "supplier A" from the popup list with ID 12. "Supplier A" is shown in the text field, when you save the form, it stores ID 12 in it. But when you return to the form, it fetches ID 12 and shows "12" in the text field instead of "Supplier A".
I tried setting the "source" of the popup lov field as an SQL query, but that didn't work for me.
APEX 4.1.1.00.23 on 11gR2 - browser independent issue.
We are converting all of our applications to use a standard centralised theme (23). This is fine and seems to work for all templates except for Popup LOV. When you choose the master template it shows as subscribed from within the template detail page, but in the apex_application_templates view and in Shared Components/Templates it is the only item showing as not subscribed.
My guess is simply that the apex_application_templates view does not cover popup LOVs perfectly for some reason but it
Trying to learn about Oracle Database Mobile Server.Installed the server, installed the client on WIN 32, created a publication and successfully synchronized.Now need to write a client application for mobile users.
Qs 1) Can I write a simple JSP that reads a table from device SQLITE database?or, the JSP needs to read off a subscrption?If it needs a subscription as the source, then how do I mention it in the JSP?