I am using JDeveloper 11.1.2.3.0
I am having a big problem here. I create a simple page and insert a form, a createInsert button and a commit button for example. I run this page and everything is fine. I create a new record, fill the form fields and then commit. In this moment if I press F5 to reload the page, the browser asks me for confirmation "To display this page, Firefox must send information that will repeat any action (such as a search or order confirmation) that was performed earlier." I don't understand why it has to repeat any action, I checked for dirty transactions after the commit operation and transactions are clean. If I move from this page to another and back to first it works fine, F5 refreshes without problem.
If I have a table with multiple rows and I update first row for example, and then click the third row and then perform a refresh (Confirm on above message), the third row will obtain the obtain all the information of the first row...
Does anyone know how to deal with this problem?
Ok I found the real problem and solution to this. As I said reopening the page does not bring any problem, but only hitting F5 does. My 'submit' and 'commit' buttons had 'partialSubmit=false' which should perform a total page submit in this case. Apparently this is not "detected" by the browser when pressing F5 although submission is performed. Changing 'partialSubmit=true' to the buttons did the trick. Tung
Related
I have a question about Ultimate Special Offers plugin. Has anybody used it?
The problem is that this plugin sets the table with discounts in a special place where it wants. In my case, it shows up under the "add to cart" button. But I want it to appear above the button. How can I regulate the place where the table shows up?
You have two choices. One is to dig into your theme and move the table yourself. If you right-click the element displaying the table while having your browser console open, you will spot where it is in the HTML that makes up your page. Now click the Add to cart button, and see where it is. Memorize the name of the button, and now look for that in your product.liquid page. Chances are, the plugin itself has some liquid, so you can cut it out of the page, and move it the before the add to cart button in the liquid.
If all that seems like a mountain to climb, just ask the makers of the plugin to do it for you. It is a simple task for them, and should take them a minute to do. If they choose to ignore you, I would call them out as unreliable, and try a different plugin, from a company that will help you with your simple task.
Here's how the user form looks.
Most of the time when pressing the tab button, it goes to the next field, and of course, shift+tab makes it go to the previous field. Well about 50% of the time when I open the file, the tab key doesn't do anything and inserts an actual tab space until I close it and reopen it again; regardless, the fields all work. How do I fix this?
I do not have any code on it related to keys, except the escape key to close the window and that's it. Here's an image of the properties of the Store Number field. All of them have TabKeyBehavior to False, so it prevents tab spaces from being inserted.
Coming to this party very late I know, but I at least have something to try. I've found that a lot of people have had this issue, and nobody seems to know what the deal is. It appears to be some "glitch" in VBA.
I went back to the user form and changed TabKeyBehavior for all the text boxes to True, saved the document, went back in and changed them all back to False and saved again. This seems to clear up the problem, whatever it is. It's a good idea to save a backup copy of the document in case it happens again.
Basically a variation of "turn it off then back on." Hope this helps.
I selected the first (set focus) textbox, changed the TabKeyBehavior to True then False and then the form worked as it is supposed to. I didn't have to save the spreadsheet between True and False or go the "off" "on" for the rest of the textboxes in the form.
I have an Xpage with some filters and a button to generate an Excel spreadsheet. It works great.
However, I find that after I run a report, if I change the filter values and attempt to run a new report, the button is unresponsive. I have to click out of the Report tab and come back to the page in order for the button to work.
I seem to remember someone (perhaps, Paul Calhoun) posting a little client side script to solve this issue (sleep function?) but I can't find it.
Would appreciate any pointers.
Dan
Try adding XSP.allowSubmit() in onComplete of the eventHandler, or in SSJS on 8.5.3+ view.postScript("XSP.allowSubmit()")
I've an xpages in which i set some fields to filter documents, with an autocomplete in one of these.
At the end, a button make a pdf based on this query fields (onClick action), and the pdf is presented to be saved or open.
Ad this point, autocomplete doesn't work anymore, i need to reload the xpage to make autocomplete active again, but i loose all other field values set in previous search.
Is it possible to keep autocomplete alive?
My guess is that you serve up an PDF directly from the page and no in a separate window. This will make the XPage to stall and will wait for a timeout of some kind.
I usually on the pdf generation button add this on a js timeout.
XSP.allowSubmit()
That usually works in the cases I have encountered.
Problem solved!
Just set the type ahead mode to Partial instead of Full
Thanks everyone
I'm an ASP.NET developer, and I usually find myself leaving the webpage that I'm working on open in my browser (Chrome is my browser of choice, but this question is relevant for any browser). My workflow typically goes like this: I write code, I rebuild my project in Visual Studio, and then I flip back to my browser with Alt-Tab and hit F5 to refresh the page.
This is fine and dandy if a form hasn't been submitted since the page was opened. But if I've been clicking around on ASP.NET form controls, the page has posted form data a number of times, so hitting F5 causes the browser to (sensibly) pop up a confirmation message, e.g., "Confirm Form Resubmission: The page that you're looking for used information that you entered...".
Sometimes I do want to resubmit the form, but more often than not, I just want to start over with the page (rather than resubmit form data). The way I usually get around this is to simply add some query string data to the URL so that the browser sees it as a fresh page request, e.g.:
page.aspx
becomes
page.aspx?
(or vice-versa).
My question is: Is there a better way to quickly request a fresh version of a webpage (and not submit form data) in any of the major browsers? It seems like a no-brainer to me for web development, but maybe I'm missing something. What I'd love to see is something like the last item in this list:
F5: refresh page
Ctrl-F5: refresh page (and force cache refresh)
Alt-F5: request fresh copy of the page without resubmitting the form
Go to the address bar and press Enter to submit a fresh GET request. Quick keyboard shortcut is Alt+D, Enter.
Yes, just focus on address bar and press enter.
In Chrome, you can use Ctrl-L to focus on the address bar as well as the suggestions made above.