I know when Oracle APEX page items are submitted to server (for example with ajax or saving data to database) it's possible to transfer them to another page, but I need to pass items between pages without submitting to the server. Is there any way?
You can use application item instead of page item. It is visible to all pages
Related
I'm trying to create and iframe in Oracle Apex 5, it leads to an external website my company is doing business with.
The URL requires account, username and password to be passed in the URL, but that information is different for every user.
I plan on storing the login info in a custom login table and have it populate hidden fields on the iframe page with each user's information.
I'm unsure if I can, and how to, pass those variables from the page items into the URL.
the link's format is:
https://staging.companysite.com/match/login.do?account="account name"&username="username"&password="password"
Any help would be appreciated.
I actually had it correct during testing, but Apex was doing Apex things and not updating the changes.
if anyone ever runs into this issue again, here's the answer.
Make sure that the hidden fields are in the same region as the iframe you're working with and then the page item variable will be &P100_PAGE_ITEM..
That resolved the issue.
Facebook Feed Dialog 2.9 has deprecated the custom fields (name, caption, picture, description) - https://developers.facebook.com/docs/sharing/reference/feed-dialog.
I'm working on an AJAX site where all content and metadata is loaded dynamically. If I just use the link property, the metadata isn't set on initial retrieval of the page so the post doesn't contain the right content.
How can I share an AJAX page on Facebook without having to go down the route of prerendering static pages server side? Thanks
If you can program your page to populate the appropriate metatags on the page load based off of a variable http:/yoursite.com/yourpage.php?thisversion=1 then when you want to share version 1 of the page, you just share the URL with the appropriate variable to populate it. You can still remain on your current version of the page but when you share the URL that would prompt that specific version, facebook makes a call to that respective URL and pulls the appropriate metatags that would be populated by your variable without having to reload the page your are currently displaying. Sorry I don't have time at the moment but will try and comeback and add some sample code for clarity.
Currently i have been using an iframe component to display a php page that i have written. the reason i used iframe rather than writing a joomla component in the first place was for 2 reasons, the information that is displayed in that page is from a remote mssql sever and the second was that i didnt really understand how to write one.
Now i have completed the creation of the php page that i display within the iframe, but now i need to be able to have it inherent within the joomla site, for both display reasons and security.
basically its a single page that displays information in a bunch of drop down boxes and then a submit button is clicked and it posts that information to another php page that again queries the mssql server and displays the results based on the post from the previous page.
query.php, posts some variables to results.php and is displayed in a table.
i have the functionality perfect, but i dont understand the documentation i have read so far. is there any simple component i can see the code of so that i can try and work out whats going on?
You might want to look at http://docs.joomla.org/J3.1:Developing_a_MVC_Component/Introduction and follow the process outlined.
I have an MVC3 application and we are using Telerik Reporting. The Telerik report viewer must be hosted in an ASPX page named ReportPage.aspx. In its PageLoad method is logic to determine which report to display based on the querystring. I want to originate a request for a report from an MVC view and I would like the view to remain present, so I either need a popup or a new browser window for the display of the report. Once the user closes the report window, the original window should display intact.
I believe I can meet the above requirements, but here is the complication. I need to pass an large array of integers to ReportPage.aspx as an argument, so querystring won't work for me. As far as I know, I need to use a JSON object and a WebMethod to pass the array. But I don't see how the WebMethod (even if it is a method of ReportPage.aspx) can open ReportPage.aspx.
Does anyone see a way to make this work?
If your asp.net web site and your MVC web site have access to a shared database then:
Store dynamically the large array in the shared database and assign a unique report ID
Pass in the query string the report ID only.
In the aspx page load the report using the report ID
Run a sql job every night that deletes the previous day report IDs. No need to store them forever
is it possible to cache form contents on client side? Like maintaining state even if the form is un-saved and the user moves to a new page then returns back to the form?
The best way to do this would be by using Javascript/AJAX to talk to the server, saving each form field as the user went off it. Then, when you load the page, you'd see if there was any content for each form already saved.