[Jdev11gR1]: Insert taskflow run as dialog and window (X) Close button
Hi
i have taskflow to insert some data into database and i have (commit and rollback) buttons
it is run as external dialog using (dialog:nav)
when i press commit and rollback every thing good
but
if i press X button to close dialog , i find row added to the page
please any body help me how to prevent the added row to viewobject or how to rollbacking when press X button to close windwo
thanks
Edited by: JDeveloper on Nov 29, 2008 11:38 AM
Edited by: JDeveloper on Nov 29, 2008 11:40 AM
Hi,
can you add a return listener to the launching command to check if it is called in this case? If it is called then this is where you can rollback changes
Frank
Similar Messages
-
Does anyone have any help for installing Creative Cloud on a MacBook Pro running Parallels Desktop and Windows 8.1? I downloaded the app, double-clicked it, said yes to allowing it to change my system, and received a notice of installation failure with Error code 1000. Any help much appreciated.
RogueResearcher please see Error "Failed to Install" Creative Cloud Desktop application - http://helpx.adobe.com/creative-cloud/kb/failed-install-creative-cloud-desktop.html for information on how to install the Creative Cloud Desktop application. If you continue to experience Error Code 1000 can you please post a screen shot of the error? Please see FAQ: How do I capture and post a screen shot or video? for information on how to post an image.
-
Updated iTunes yesterday to 11.0 (something) and th program will not start. Check compatibility, and made sure quick times was up to date. Deleted the program, reinstalled, and rebooted, nothing I'm running IE9 and Windows 7. What else do I look for?
In the course of your troubleshooting to date, have you worked through the following document?
iTunes for Windows Vista or Windows 7: Troubleshooting unexpected quits, freezes, or launch issues -
Multiple TaskFlow run as Dialog issue
Hi,
I am openning multiple taskflow as a dialog box or popup .On Click of button, I am getting one taskflow with pages as a dialog successfully but in that taskflow , one more button is there. On click of that button ,I am openning second taskflow with pages as a Dialog box is successfully. but problem is that on this time, second taskflow is openning inside First taskflow (like parent-child ). I want to open second taskflow seperately . Please help ASAP......Hi,
giving that task flow calls a sequential you don't get two task flows open in parallel dialogs
Frank -
I have iPad 2, iPhone 5s, both with iOS 7.1.2. I use PC with Windows 7 and hard wire internet service and iTunes to update apple products; no wi-fi. I updated iTunes to v11.4 on 09/11/14. I ran Windows update on 09/10/14. I did not try to open iTunes on my PC until yesterday 09/16/14. I got the message: "iTunes has stopped working. A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available." I got the same message today. Does anyone know if this is a Windows problem and if a solution is coming or an iTunes problem? I can get iTunes on iPad and iPhone. All other programs PC are working correctly. I use Norton Internet Service on PC. I ran virus scans and repair/reinstall iTunes yesterday on PC.
Hello notime4,
The article linked below details some useful troubleshooting steps that can help stabilize iTunes on your computer.
iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues
http://support.apple.com/kb/TS1717
Cheers,
Allen -
How to suppress Save As dialog when using the Close button on an editable pdf
Environment: Windows 7, SDK 9, Adobe Acrobat Pro X, Visual Studio 2010 Professional
Summary: when a document is opened for editing using automation, edited, then closed using the "Close" button, the confirmation dialog appears, "yes" is selected and then the "Save As" dialog appears. It should save without the "Save As" dialog in the same way it does were the document opened from Adobe Acrobat directly. My question is, is there any flag to set which governs whether the "Save As" dialog appears as part of the close document process. It is behaving as if the document is read-only upon close. (it isn't)
This is how the document is opened from C++:
if(SUCCEEDED(hr = ::CoCreateInstance(__uuidof(Adobe9::Acrobat::CAcroAVDoc), 0, CLSCTX_ALL, IID_IUnknown, (void**)&pUnk))){
hr = OleRun(pUnk);
if (SUCCEEDED(hr)){
if (SUCCEEDED(hr = pUnk->QueryInterface(&pAVDoc))){
hr = pAVDoc->Open((BSTR)CComBSTR(strPath), strDocName, &bRet);
Even when the plugin is removed from the plug_ins\AcrobatSDK directory, the behaviour is the same.
Another reproduction is running the BasicIacVC sample, commenting out all lines from gAcroPdDoc->Close(); in InitInstance() and returning TRUE. If an editable document is opened using the sample, edited then closed using the "X" button, the confirmation dialog is followed by a "Save As" dialog as if it were a read-only document which it is not.
Any suggestions would be appreciated.
Regards,
EvanYes, it does. (as long as the pdf has been opened via a COM interface)
-
How to create is Dialog or JDialog without close button
I want to add a dialog report the current step of work in the GUI and I don't want it to be closed manually. How can I get rid of the close button on the top right side of the dialog?
Thanx for any help or clue given.chack this
http://java.sun.com/docs/books/tutorialJWS/uiswing/components/example-1dot4/DialogDemo.jnlp
second tab 3rd option (Non-auto closing dialog) -
Photoshop cs6 crashes when moving dialogs and windows
So recently, Photoshop has started randomly crashing when moving dialogs around or onto 2nd monitor. The files I have open are not large, so I am looking to understand why this is happening. has anyone else experienced this with their application?
ThanksIt might be helpful if you'd go into your Windows Event Logs (specifically, the Application log) and look for the Error event indicating a Photoshop crash. It may identify a module that will help narrow down the problem - though I suspect it will show a crash in the printer driver. Copy the text and list it here.
-Noel -
Exception while exiting taskflow running as dialog with inline-popup
Is this a bug? I am getting inconsistent behavior , button on the jspx is calling the taskflow-return activity , first time it does not do anything, second time it throws NullpointerException
java.lang.NullPointerException
at oracle.adfinternal.controller.state.ControllerState.expireStackSnapshots(ControllerState.java:812)
at oracle.adfinternal.controller.application.SyncNavigationStateListener.afterPhase(SyncNavigationStateListener.java:67)
at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.afterPhase(ADFLifecycleImpl.java:531)
at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchAfterEvent(LifecycleImpl.java:120)
at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchAfterPagePhaseEvent(LifecycleImpl.java:168)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.dispatchAfterPagePhaseEvent(ADFPhaseListener.java:124)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:70)
at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:364)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:205)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:421)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:421)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:160)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)Studio Edition Version 11.1.1.2.0
Build JDEVADF_11.1.1.2.0_GENERIC_091029.2229.5536
When exiting taskflow (pressing Cancel command button on the popup that points to taskflow return activity) first time nothing happens , second time NPE as show below
It works sometimes and does not work other times and
RootViewPortContextImpl rootViewPort = getCurrentRootViewPort();
rootViewPort.getPageFlowStack().expireSnapshots(this, max.intValue());
//rootViewPort is null and throws NPEthird time
oracle.adf.controller.internal.AdfcIllegalStateException: oracle.adf.controller.ControllerException: ADFC-12000: State ID in request is invalid for the current session.
It acting up so weirdly and there is no consistency in the behavior, something is going on with Session since Clearing the Browser History and trying the same thing works, but it happens so random and really hard to know what's going on
It looses the RootViewPortContext, can anyone explain me what's going on here, it seems like , its impossible to use this thing -
Can you partition an external hard drive to run both mac and windows files
I have an external hard drive fomated for windows NTFS. I am unable to Write mac files to this drive. I need to be able to share the files
between both platforms. Any suggestions? ThanksFormat it as MS-DOS from a Mac or exFAT from a PC, or install Mac OS X software which allows it to write to NTFS drives, or hook it up to a PC and make it available as a network share.
(78564) -
How to run solaris 10 and windows, dual booting.
I installed solaris 10 first and then windows 2000 on my celeron pc. Nopw every time i start pc, it starts windows, coz of windows mbr.
how to set at startup before booting the option which ask for solaris or windows? suggest me a easy way as i am a new user of solaris.The procedure to reinstall the Solaris boot sector
(along with lots of info on dual booting) can be
found here: http://multiboot.solaris-x86.org
Another approach is to use the Windows 2000/XP boot
menu. Assuming your S10 DVD is on D:\, type at a
command prompt:
copy
d:\Solaris_10\Tools\Boot\usr\lib\fs\ufs\mboot
c:\bootsect.solThen add the following line at the end of the
C:\boot.ini file:
C:\bootsect.sol="Solaris"(google "boot.ini" for more info on the above)
Now Windows will display a boot menu where you can
choose between Win2K and Solaris.
BlaiseThe menu appears as you mentioned but there is another problem it tells me that there is no active partitions.
i have to hards in my system, and it seems i screwed the booting thing during installation since this is the first time i install solaris.
regards
firas nemer -
How to run a dialog's method from a button's event handler?
I've created my first dialog from the samples, but I am having trouble figuring out how to run a method in my dialog from an button's event handler. Can anyone please point me in the right direction?
function CreateDialog()
this.windowRef = null;
CreateDialog.prototype.run = function()
//...declare a bunch of vars
// Create a window of type palette.
var win = new Window("dialog", "Element Spray Generator",[iTop,iLeft,iTop + iWidth,iLeft + iHeight] ); // bounds = [left, top, right, bottom]
this.windowRef = win;
// Add a frame for the contents.
win.btnPanel = win.add("panel", [iPadding,iPadding,iWidth-iPadding,iHeight-iPadding], "");
.... add a bunch of other stuff ...
win.btnAdd = win.btnPanel.add("button", [win.btnRemove.bounds.left - iPadding - iButtonWidth,win.lstImages.bounds.bottom + iSmPadding,win.btnRemove.bounds.left - iPadding,win.lstImages.bounds.bottom + iSmPadding +iTextHeight], "Add");
win.btnAdd.onClick = function() {
//todo implement this
var f = File.openDialog("Open File") ;
win.lstImages.add("item", f.displayName );
this.EnableControls(); //<--- problem is on this line here!!
this.EnableControls(); //<--- this works
// Display the window
win.show();
return true;
CreateDialog.prototype.EnableControls = function (){
var result = true;
result = result && (this.windowRef.ddlPaths.selection != "");
result = result && (this.windowRef.lstImages.items.length > 0);
this.windowRef.btnOK.enabled = result;This may not be the reason, but when using the way I create dialogs 'this' inside of an onClick points to the control.
win.btnAdd.onClick = function() {
//todo implement this
var f = File.openDialog("Open File") ;
win.lstImages.add("item", f.displayName );
this.EnableControls(); //<--- I would expect it to call another function of btnAdd
// this.parent.EnableControls() might be what you want if the control is not in some other container -
[FIXED] x61t and windows 8 tablet buttons now working
[UPDATE]
ahahahahhaha
I just found the solution xD It's so **bleep** stupid that it makes me feel stupid!
All you need to do is to open the driver folder (default directory "C:\DRIVERS\WIN\UNAVUTIL") then right click on "wstbtnib.inf" and press Install and restart.
That's it!
It looks like the setup can't do it by it self under windows 8.
I can't believe nobody never tried it! I saw guides on guides about remapping and stuff. They just work now! (I restarted multiple times and played with it a little, all works).
I tried with 2 different installations and it worked for both. Can someone confirm this on another thinkpad?
My model is the one with no touch and hi res ips screen!
Thx for all (witch is not much xD)
[OLD]Hi guys!
I need help, I'm getting crazy here. I just got an ssd and decided to upgrade my x61t to windows 8 for several reasons.
I discovered that if I upgrade from win 7 everything works but the tablet buttons don't. The funny thing is that when I tried to install win8 on the old hhd win7 installation they worked! But when I tried again win7->win8 they didn't. So it might be something that the new installation missed.
Is there a way to make the driver work properly? And most of all, is it a driver issue or is the utility program that translate the buttons? The thing is that they can work with no issue on win8, so what are the dependencies? It's not .net or visual c++. Any idea? Any suggestion to make my thinkpad work at 100%? I really want them working!
Thanks for your time and help!
[/OLD]
Solved!
Go to Solution.Nofe92 wrote:
I was able to fix it.
Go in device manager, search the wifi device, right click on it and choose properties, move to power management:
untick "Allow the computer to turn off this device to save power"
That will fix this issue. The other problem is that the current driver gives random bsod. I still have to find a solution for that.
I should have thought of that, as I always switch it off. It must be switched on as part of the upgrade.
I haven't yet had any bsod's, but I only let it upate from 8.0 a couple of days ago. -
please help me with the above problem
See:
* https://support.mozilla.com/kb/Firefox+is+already+running+but+is+not+responding -
The download and install processes seemed to work OK
The first Firefox window opened suggesting I update Adobe Flash Player. Clicking on download (with AV s/w either on or off made no diference) produced the Windows message that Firefox had stopped working.
By-passing the Adobe download suggestion and attempting to open up my home page (Google) produced the same result.
In fact any attempt to do anything, i.e. hitting the Enter key or left-clicking the mouse, produced the same result. Firefox freezes and WIndows then closes it.Try to update Windows Vista Service Pack 2 using Windows Update, then select all high-priority or important updates, install them and restart the computer. Run Firefox. If it works fine then OK or if it crashes then there was no problem with the operating system.
The second method is restart your PC, after the manufacturer logo appears and before "Microsoft Corporation(C)" progress bar appears press F8 key. you will be presented with a menu with options-
Safe Mode
Safe Mode with Networking
Safe Mode with Command Prompt
etc. select "Safe Mode with Networking , and then login to your user account. Run Firefox again. If it works normally, then that probably means that your PC was infected prior to installing Firefox. Update your existing antivirus and run a full scan or acquire free Antivirus like Avast Free Antivirus etc.
If it still crashes, then try re-installing NOT Repairing Firefox AFTER INSTALLING AN UPDATED ANTIVIRUS .
OK the last way, better uninstall Firefox 3.6 and install Firefox 4 Beta 7. Firefox 4 Beta 7 runs 3 times faster than Firefox 3.6, with an overall improved interface.
Maybe you are looking for
-
Final Cut Studio 2 6.0.4 and the Canon ZR65
I can't get my new spiffy do it all and cut everyone else to the quick computer to even recognize my Canon ZR65 miniDV camera. This is a really useless situation. I have a piece that needs to be to Sundance by the 15th of Sept. and I can't do a thing
-
Cannot use sqlplus variable in create sequence statement
Hello! I would like to create a sequence object starting with a number retrieved from a select statement: var max_resp_no number; begin select max(substr(resp_no,2)) into :max_resp_no from brc_mast where substr(resp_no,1,1)='Z'; end; print max_resp_n
-
Error file generation using BDC
Hi .. friends . This is Sudhir . I have a scenario of loading 50 materials using BDC concept (generate session method) with tcode mm01. During loading if we have any faulty materials then they have to be written in a separate flat file (in the locat
-
I am switching to Firefox today from Windows Explorer. On my computer I have programs such as itunes, Picasa, Adobe, Java. Do I need to download plugins of these programs specifically for Firefox? Also, I have been using Windows Security Essentials f
-
My ipod is about 3 yrs. old. I have 2 new docking stations. When I put it on either DS it plays for awhile(anywhere from 15 minutes to an hour & a half) then it goes dark, won't respond. I have taken it off the DS & let it sit for a day. I have used