I noticed that after my login form is unloaded, when the application is closed and another user reenters their information, the text boxes will automatically populate the form with the last user's data.
I am unloading the form with Unload Me then open a new form, but again, with a new login, the last user's login information is reappearing. Is there a way to prevent this from happening?
Related
I have an oracle application express process, written in PL/SQL and it fires off a confirmation email, supposedly when you click on the related button, (It is an after submit attached to the button) however, it is firing every time you refresh the page. Is there a different way of doing this so it only fires when you click the save changes button?
Take note of the execution point attribute. It will won't apply to page refreshes if it's either 'Processing' or 'After Submit'.
You can also associate these after-submit processes with specific buttons, using the 'when button pressed' property.
You may also wish to consider the 'Enable duplicate page submissions' page property.
If you're still having issues, you can build a demo at apex.oracle.com, and updated your question.
How to navigate back to the previous page after I hit ok on the confirm message box on apex. I used a dynamic action on the delete button but it only deletes the record not navigate back to the previous page. Is my code below correct?
if(apex.confirm(htmldb_delete_message,'DELETE') == true)
{
apex.navigation.redirect(window.history.back());
}
If you are using the default delete button that is created by the form creation wizard, then on the button properties you'll see that the button's behavior target is defined by a javascript which prompts a confirmation window. After the user hits "OK" on that window, the page is submitted so your delete process can execute.
Trying to execute a javascript code before that to force the navigation may be a bad idea and you would have to restructure your delete process to be processed at the right point
Try to create a branch (https://docs.oracle.com/cd/E59726_01/doc.50/e39147/nav_branch_using.htm#HTMDB25149) instead of using a dynamic action to navigate back to previous page. You can configure it to occur "after processing" and either manually set the page that you to go back to or use a hidden item to always go back to the page which the user came from as described in here: How do add a button to go back to another page in oracle apex interactive grid
I am developing an NSIS package for one the products. I have a custom page for gathering SQL Server login credentials. On this page, clicking next must validate the given inputs (whether it connects to the server with given credentials). This works fine.
Problem:
If I press back button on this page, it is still validating the input; which I do not want. I could not find any way out to skip the validation on clicking back button.
Any suggestions in this regard is appreciated.
Found the answer!
We can specify two function names while calling the page custom command. One to show the page and one for validating which is called as leave page.
Page custom ShowDatabasePage LeaveDatabasePage
In the leave function, we can do all the validation. If the validation fails just call abort and the work is done. Leave function is called only when the next button is clicked.
I am working on a win32/MFC application; in this application I have embedded WebControl on dialog.
when application is launched then it will load web page, in that user will enter some fields and then press submit button.
Once user presses the submit, then server will process that data and displays some unique ID to user.
Now our requirement is, we don’t want to display that unique ID on the web page instead, that web page needs to send that data to our client application(Win32/MFC).
To do this I found a solution:
Calling C++ function from JavaScript script running in a web browser control
is this is the right way to do it or is there any other solution is there.
Please help me to solve this problem
Override OnGetExternal (or if you host in your own window, change your IDocHostUIHandler::GetExternal implementation) and return a pointer to a CComTarget that has an appsubmit method exposed via automation. Change the web page to add an onsubmit handler that calls your method with the value of a hidden field
return window.external.appsubmit(uniqueId);
I have a web application (Java, Websphere, JSP) which allows co-workers to register visitors to various company exhibitions. A user object is stored in the session which records the currently selected exhibition and this is used when entering the details of new visitors.
One user has decided to open a second browser window which seems to share the same session. The user browses to an other exhibition in the second window. This changes the state of the currently selected exhibition. Back in the first window a menu item is clicked: 'List visitors'. The resulting list is a list of visitors to the exhibition selected in the second window.
I know that I could add the exhibition id to every form on every page but my actual scenario is more complicated that the one I have described.
What is your stategy for dealing with this kind of problem?
My first guess would be you can avoid the problem by keeping (or perhaps only identifying) view state in the URL and not the session.