I am creating a prototype web app using Oracle Weblogic/ADF. I am using JDeveloper 11.1.1.6.0.
I have a basic application with one entity object and one view object. One of the requirements I is that once data is changed it must be digitally signed. I am using a applet/servlet based solution to get this done.
Once a user decides to edit an entry in the table they are taken to a page that shows a two-column form layout. On this page is a button that, when clicked, brings up an ADF dialog window. On this page there is a button called "Sign". Once the user clicks the "Sign" button some JavaScript executes that communicates with the embedded applet. This embedded applet in turn communicates with a servlet and returns a string representing a signature. This process is task-flow based.
The issue I am having is that for SOME users (IE 8, Win 7 Enterprise) once they click the "Sign" button on the popup they are shown the following popup:
If they click "OK", the page reloads and when they click "Sign" again the process repeats resulting in a loop. Initially I thought the alert was coming from IE, but upon further research it seems that the alert is coming from ADF. I have NO idea WHY they are getting this message as there are NO dependent dialogs. I have tried setting the "uncommitted data warning" to off for the document but I still get the same popup. Also the message ONLY appears for SOME users running IE 8 on top of Windows 7.
Does anyone have any ideas as to how to get this popup to stop and/or WHY it is happening?
ANY help would be greatly appreciated as I am stumped.
Thanks.
disable the uncommitted data warning property on af:document
http://docs.oracle.com/cd/E23943_01/apirefs.1111/e12419/tagdoc/af_document.html
Frank
Related
I have some old VB 6.0 code that I need to get running on Windows 10. We are not allowed to use Compatibility mode due to security and client refusal issues.
The only problem I am having is that whenever a button is clicked on the interface the menu items (across the top) become unresponsive. If you mouse over them the shading changes but clicking does not drop down the menu. Additionally, if I generate a message box pop up and click OK the menus come back to life.
I've tried setting focus to the main form in different situations, tried refreshing the parent and child forms. Also added a brand new button with no code behind it - not even an empty click event handler - and that button when clicked causes the same issue.
I should also add that the main form is an MDI form with three child forms. The buttons of course reside on the child forms.
I'm not sure how to proceed with this at this point. I certainly can't have a message box pop up after every button is clicked. Has anyone seen this before or have any ideas as to what causes it?
I'm developing a Firefox addon. I have already created a login dialog box using panels in firefox addon-sdk. As the next step i need to open up another windows to display some information queried from the internet at the click on a button in the panel after login in.
I have already tried creating another panel and calling it (panel2.show()) from the first panel(panel1) but the 2nd panel is destroyed immediately or it's not resident on the screen may be since I'm calling it from within the first panel and it's closing itself off after calling the 2nd panel to show.
So i need to know a way to create the 2nd panel from within the first panel yet keep it out the life scope of the first panel. Or to find a better alternative to load the content page 2 in a separate window.
Thank you.
I am new to windows phone 7.
I have a .xaml page, in that i have lot of TextBoxes and DatePickers to enter User data, If he Submit form i am inserting User data in to Database. But my problem is, in that form i have Country Button if he clicks on that button i am going to different page, in that page he can select Country then i am returning back to the previous form. While returning to Previous page data entered by user will be gone. But here i need to maintain the State(date entered by user should reappear on Form) in that page.
Ho can i do this in Windows Phone 7?
Consider using the ListPicker from Windows Phone Toolkit for choosing the Country. This will not delete your control states
You will want to store this data in the page state. This way you can reconstruct the page when it is navigated to and also after the application is suspended. Otherwise, after your app is tombstoned you will lose this data and after your app rehydrates the user will have to enter it again. If you save it to the page state, you can restore the page to make it appear as if tombstoning never occurred.
There is a lot of documentation on msdn to help you manage application state.
I ran into a strange issue concerning the usage of the WebBrowser control in windows phone applications. The thing is when you use WebBrowser control it "steals" the focus and prevents setting it to any other control until a user input occurs. The WebBrowser itself doesn't even have to be on the same page as the textbox.
Consider a scenario:
Create an empty application.
Put a WebBrowser and a TextBox on your main page (rootvisual).
Now in the page loaded event (or anywhere else) try to set the focus on the textbox tbx.Focus();
The textbox will theoretically have the focus, the SIP (software keyboard) will slide up ... but the textbox will lack a cursor and you won't be able to type anything.
The same thing happens if you put the textbox on a different page and navigate to it with the appbar without touching anything else after the app starts.
The FocusManager.GetFocusedElement() shows that our textbox indeed has the focus.
How to fix this issue? Very annoying :)
Btw. the problem exists on:
- devices running version 7.0.7004.0 (before NoDo, initial release?)
- devices running NoDo
The problem does NOT exist on:
- devices running Mango
- emulator (7.1 designed for Mango)
Thx for any help.
This is a known problem, and as far as I know there is no way around it, although I've tried (setting focus in a timer, etc).
For my Windows Phone 7 app, I have a main panorama page which opens up into a pivot control. The main panorama page correctly calls Activated/Deactivated, and restores correctly.
But after visiting the pivot page, pressing the Windows key doesn't call Deactivated.
When the app is relaunched with the back button, it goes right to how the page looked before tombstoning, but Activated is not called, and the page is not usable, and the back key doesn't work.
Has anyone else experienced this problem before?
If you just go to the Start screen then your application MAY not get tombstoned. This is expected behaviour.
If you open another application or open search from within your application you should experience tombstoning.