Hide the close icon of taskflow inline popups / window closing process

Hi, OTN,.
I would like to know of there is an opportunity to hide the 'X' close pop-up icon when I run a taskflow in a popup like an inlineDocument?
Or what is a better way to treat the closing user to restore changes window?

In my application a user always has the Cancel button which sets taskflow return parameter as 'Cancel', which is then read by the listener back to the dialogue.
The listener would call Rollback If there is "Cancel" returned.
But 'X' does not close any setting.
Perhaps I could value 'Cancel' as a default value returns the value of the parameter? Or the right way is to use the finalizer?

Please, advice me.
Thank you.

Fusion ADF Web application
11.1.1.3 JDev

If you want a few af:dialogs to have visible close icons, then you could apply the skin selector suggested by Frank and override it to af:dialogs who have a specific styleClass set (for example, styleClass = "MyDialogStyle") by adding a selector more specific styleClass skin:

af|dialog::close-icon-style {display:none;}
af|dialog.MyDialogStyle::close-icon-style {display:block;}

In this way you'll flip the logic, i.e. af:dialogs will not close icons in general, but will be more specific (symbolized by you using a specific styleClass).

Dimitar

Tags: Java

Similar Questions

  • 910614. how to hide the desktop icon of Alt + Tab in Windows 7?

    Since I use Windows key + D whenever I need office, I'd rather not appear as a list of the windows to move when I press Alt + Tab or Windows key + Tab.

    is this possible? If so, how?

    Hello

    There are third-party programs search in your favorite search engine for software there are nothing with an on/off switch in Windows.


    Note
    : using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

  • How to hide the menu icons of context via userChrome.css (FF nightly)?

    Is there a tweak for Firefox to completely hide the menu icons (right menu) context?
    userChrome.css solutions are walcome.

    Replace the original style I posted with the updated version. He get rid of the other unwanted icons?

  • on Windows XP, how to hide the desktop icons

    I am running Windows XP and hide the desktop icons, please advise.

    Right click on the desktop | Rearrange icons by | Show the desktop icons. Uncheck the box.

  • How to hide the 'Network' icon in the dialog box "save in".

    Hello

    I use the service of Windows 2008 server TS, I would appreciate if you can let me know how I can hide the 'Network' icon under "save in" option in the dialog box "save under" in various applications please, e, g, Notepad or MS Office 2003. Thank you

    Best regards
    William

    Hi William golfer.

    Your question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the TechNet forums.

    http://social.technet.Microsoft.com/forums/en-us/winserverGP/threads

  • How to hide the WLAN icon, which is untouchable?

    * Original title: Ghost WLAN icon

    Hello

    I have a question. I use bluetooth and other wireless connections.

    How to hide the WLAN icon, which is untouchable?

    Hello

    Thanks for posting your query in Microsoft Community.

    Let me ask you;

    • Remember to make any particular changes in the computer before you see this icon?

    Now, I ask you to refer to the information provided in the link below thread by JCarp responded on 29 June 2011 and follow the suggestions.

    Desktop icon question - great, WLAN icon on the desktop

    Hope this information is useful. Please feel free to answer in the case where you are facing in the future other problems with Windows.

  • Invoke a listener to the closure of the Collection of panels of the close icon?

    Hello

    I use JDeveloper 11.2.4

    I have a popup that contains a window Panel and Panel window contains a collection of panels.

    This popup is called when the button is clicked.

    I want that when I close the popup using the icon 'close' collection of panels, I get the control and a function in my managed bean is executed.Capture.PNG

    Thank you

    Not sure how the MAF sample allows in this use case.

    Check this post http://adfbugs.blogspot.de/2009/11/new-feature-closing-popup-can-now-be.html which shows how to handle the close of a popop through the popupCancelListener event.

    Timo

  • hide the desktop icons

    I am running Yosemite 10.10.5... When I share my screen with others, I want to hide my desktop icons. I used to have an option called "Show items on desktop" I unchecked when I right click on my desktop... How to re - activate this option/icon... or how do we do now? Thank you in advance.

    I guess that you don't want an AppleScript object parked on your desktop or Dock that someone could run to display the icons on your desktop. This is a Bash script that displays an AppleScript dialog box to allow you a choice of a normal life (crowded) or share (naked) desktop. Tested on OS X 10.11.4.

    USER INTERFACE

    Screen sharing will clear your desk of all. Normal will bring back the clutter.

    Code:

    #! / bin/bash

    #

    # presenter.sh - compact desktop Hide/restore for presentations or

    # screen sharing.

    #

    function GetDialog()

    {

    UserInput = $(osascript <<-AppleScript)

    Tell application "SystemUIServer".

    activate

    Set userCanceled false

    myReturn the value «»

    Try

    Set dialogResult to ¬

    Display dialog "OS X the appearance of the desktop" ¬

    ¬ buttons {'Cancel", 'screen sharing', 'Normal'}

    default button 2 with the score of the icon

    the error number - 128

    userCanceled set to true

    try to end

    If userCanceled then

    Set myReturn "Cancel".

    otherwise if the dialogResult back button is 'Normal' then

    Set myReturn "True".

    otherwise if the dialogResult back button is 'Screen sharing' then

    Set myReturn "False".

    end if

    return myReturn

    tell the end

    AppleScript)

    }

    GetDialog

    case "${UserInput}.

    True)

    write QLEnableXRayFolders CreateDesktop - bool true & & killall Finder

    ;;

    False)

    write QLEnableXRayFolders CreateDesktop - bool false & & killall Finder

    ;;

    Cancel | *)

    ;;

    ESAC

    Exit 0

  • Can I hide the desktop icons without removing them from my office to the toolbar?

    When I tried to delete the shortcuts on the desktop it has also removed those in my office in the toolbar

    Hi phillipsides,

    ·         You try to hide or delete the desktop icon?

    ·         The taskbar icons are you referring?

    It is impossible to remove the desktop icons without removing them from the taskbar.

    Hope the helps of information.

  • Install an application and hide the sound icon

    Hello!

    I need your help for this:

    I have a group of applications and other application functions as a kind of pitcher.

    When I install one of these applications, I need to hide its icon in the list, and this request can only be opened by the Launcher.

    I hope that I explained to you!

    Can someone help me?

    For the application for which you want to hide the icon. Open the blackberry application descriptor and check the box 'not displayed icon on the home screen blackberry.

  • Dynamic action - hide the Date icon

    Salvation;
    I have a date field that I turn on and off via the readonly HTML based on the value of another article, now the problem is the Date Picker icon is not performed, how to hide the icon based on a condition?
    I use APEX 4.0.2
    Thank you.

    Check {message identifier: = 9394199}

  • The desktop icons and taskbar disappear when windows has finished starting - any of the usual things help

    I have a Windows XP Home Edition with a breath main card computer.  Replaced the Board, PS and other items.  Then re-activated windows and everything was fine.  Until the last moment, I rebooted after activating it.  I have the problem that I have seen posted in a bit.  When Windows has finished initializing all the desktop icons and task bar etc. disappear.  Nothing works.

    I can bring up the Task Manager and manually run programs, etc.

    Believe me when I say I spent reviewing EACH reference to this problem... Yes 5 days and counting... Tried them all.

    I also tried a repair of windows in place which ends without any problem (twice)... but still no icons or taskbar.  I also ran several controls of virus, including one for the virus, which is usually the cause of this problem.  (fsnimda3.exe), I tried all the ideas in another thread (page 9) and many other institutions.  Before I did the reconstruction of the material I've cloned the original hard drive and have used the disc cloned juggling his original for the back.  Even tried to reinstall the old disk and do a comparison of sector by sector, in the case where my cloning process missed something.  In the 30 years I've been in the computer business I have never had a re - format a hard drive to solve a problem.  BUT I think it will break my record.

    I'm doing this as a favor for a friend.  But at this point our friendship is really put to the test

    Hello

    This thread has been created in wrong forum; Microsoft moderation team has moved this thread to the system repair and recovery forum.

  • When I pick a color for the foreground color, I have a popup saying "cannot process your request due to a bug"

    I have the CC legal of Photoshop, working with Windows 8.1, 8 GB...

    When I pick a color for the foreground color, I have a popup saying something like "Cannot process your request due to a bug" (I have the Dutch version, so it is translated). When I click 'OK', popup goes you and I can use the color that I took. When I pick a color for the background color, there is no problem. When I switch the front - and the background color, I get the popup again.

    I use Illustrator, InDesign, and Premiere Pro also, I have no problem with these programs.

    -Restarting my laptop does not work

    -Restart Photoshop and the Adobe app does not work

    -I can't update to Photoshop

    -I want to try to remove Photoshop and install it again, but I'm afraid I have to re - install all my brushes and my actions again

    Could someone help me? It's really annoying :/

    What did you do for troubleshooting so far?

    Restoration of preferences after checking all the presets custom like stocks, models, brushes etc. have been saved can be a good starting point:

    t http://blogs.Adobe.com/Crawlspace/2012/07/Photoshop-basic-troubleshooting-steps-to-fix-MOS - issues.html

  • How to enter the text message written in a popup window?

    Hello
    I tried the functional test of web application using OATS? I have to use the SMS (for comparison with text) written in a Popup. So can someone tell me how to enter and the message of written text in a popup window?

    String test_1 = web.element (35, ' / web: window [@index = '1' or @title = 'SOME TEXT']/web:document[@index='1' and @name = 'frame_OAT1'] / web: div [@texte = "domain errors exist." ") ') .getAttribute ("text");

    The problem with the above line is that Openscript will look for a div with text 'errors in domain exist.' element and if it locates it then she returns the value attribute of text which is "domain errors exist." This exercise don't purge not any purpose.

    If you want to know any text that comes in this div, you must get the index and print this text in this index.

    In case you just want to check, you can use exists() which gives a Boolean result directly. Like this

    Boolean IsExists = web.exists ("/ web: window [@index = '1' or @title = 'SOME TEXT']/web:document[@index='1' and @name = 'frame_OAT1'] / web: div [@texte = 'errors in domain exist.']", 1);

    The official guide are in the downloads page.
    http://www.Oracle.com/technetwork/OEM/downloads/index-084446.html
    Download the item named "Oracle Application Testing Suite 9.2.1 - Documentation" on this page.

    In addition, you said just by writing @index you were unable to retrieve the value. Make sure that the index of the div does not change each time. If it evolves so it is more difficult and it is a whole new discussion.

    Just index values get incremented. For example, if your window generates a pop-up window, your main window has an index of 0, your popup has an index of 1.

    Tell me how it goes.

    Kind regards
    Narayan

  • Show / hide the dynamic Actions does not work in Windows 7 IE10 and APEX 4.2.1

    Hello

    I have a page in the APEX 4.2.1 reactive Blue theme, where show or hide page elements based on changes to other page elements and their values, in terms of JavaScript expression.

    It's that everything works well in Chrome 31.0.1650.63 m and 25.0.1, Firefox but not Internet Explorer 10. I thought it might be linked to this solution to the problem of Ajax IE10 | Code of Jason and tried their recommendation, but appears not to have contributed.

    Help please!

    Thank you

    Alex.

    I found the problem and it was my fault. One of my dynamic actions using JavaScript expression conditions was missing quotes in $v ("P1_ITEM1"), breaking the rest of the related JavaScript code. Chrome and Firefox did not care, but IE seems to be less tolerant of mistakes like that.

    Scott, thanks anyway. It is useful to know that I have that option as well.

Maybe you are looking for