Hide close icon from taskflow inline popups / process window closure

Hi OTN,
I would like to know of there is an opportunity to hide "X" close icon from popup window when I run a taskflow in a popup as an inlineDocument?
Or what is a preferred way to process user window closure to rollback changes?
In my current application a user always has Cancel button which sets taskflow return parameter as "Cancel" which is then read by dialog return listener.
The listener would call Rollback if there is "Cancel" returned.
But "X" close doesn't set any parameter.
Maybe I sould set "Cancel" as a default return parameter value? Or the right way is to use finalizer?
Please, advice me.
Thanks.
ADF Fusion Web Application
JDev 11.1.1.3

You have to define and apply a custom skin. It is easy, read the documentation here:
http://download.oracle.com/docs/cd/E14571_01/web.1111/b31973/af_skin.htm#BAJFEFCJ
You can get detailed description of all the supported skin selectors here:
http://download.oracle.com/docs/cd/E14571_01/apirefs.1111/e15862/toc.htm#ComponentLevelSelectors
Note, that <tt>af|dialog::close-icon-style {display:none;}</tt> will affect all the popup dialogs, but not only the taskflow popup windows. If you need to apply it only to taskflow popup windows, then use <tt>af|panelWindow::close-icon-style{ display:none; }</tt>. Have a look at Frank's blog post http://blogs.oracle.com/jdevotnharvest/2010/12/how-to_hide_the_close_icon_for_task_flows_opened_in_dialogs.html.
Dimitar

Similar Messages

  • How to hide close icon in Dialog framework

    JDev 10g.
    Any idea how to hide/disable close icon in a dialog launched by using:
    <af:commandButton     action="dialog:editEmpAngDetails"
                                       partialSubmit="true"
                                       useWindow="true"
                                       windowHeight="..."
                                       windowWidth="..."/>
    Dialog appears as a new browser window, and I want to force user to use one of the Save/Cancel button, in order to perform Commit/Rollback.
    So, I need a way to hide browser close 'X' icon.
    Any idea ?

    Hi...
    I got a further lead in this problem... In the class ADMDialog.h, in the comments described for Create & Modal functions for creating ADM Dialogs, there are some options described for the last parameter of these functions:
    ADMInt32 ADMAPI (*Modal)(SPPluginRef inPluginRef, const char* inName,
                                            ADMInt32 inDialogID, ADMDialogStyle inDialogStyle,
                                            ADMDialogInitProc inInitProc, ADMUserData inUserData, ADMInt32 inOptions);
    Now, there are some values that can be given in that last parameter which define our creation options for the dialog. One of them is  kADMModalDialogHasPaletteSystemControlsOption, which too is defined in the same class (ADMDialog.h) & which, as the comments say, shows a close box at the top right corner of modal dialogs.
    So, I implemented this as,
    sADMDialog->Modal(fPluginRef, "My Dialog", kMyDialog, kADMModalDialogStyle, NULL, NULL, kADMModalDialogHasPaletteSystemControlsOption);
    This compiled just fine, but the dialog appeared without any close icon. Now, what to do?
    Please guide me on this...
    Thanks!

  • Hide settings icon from home screen in an enterprise environment

    Hi,
    This question may have already been answered but I was wondering if there was anyway apart from jailbreaking the iPad, the settings icon can be hidden. I have seen it done before on other iPads that have not been jailbroken. Is there an xml file that perhaps can be written and deployed as a profile to the iPad. A quick response would be appreciated
    Thanks

    I don't know if you can completely get rid of the Settings app, but there a great deal that you can do with the iPhone Conficuration Utility and the Profile Manager is OS X Lion Server.
    http://support.apple.com/kb/DL1465
    http://www.apple.com/macosx/server/
    Matt

  • Hide bundle icon from selected workstaions

    I have two bundles A and B. A has a relationship to all users and B has has a relationship to a group of workstations called X. When a user logs in on a workstation in the group X they see both icons for bundle A and B. I only want them to see the icon B.
    I by blocking bundle A for an individual device in group X then removing the "Application Window" from the "Shortcut Location" option in the assignment details this works perfectly. My problem is that there is no way to block a group or a dynamic group. There is no way for me to perform this on every individual device in the group as it is dynamic.
    Any ideas?

    The "Block" Option should work as well.
    You can "Block" a bundle on specific devices.
    On 3/20/2014 7:39 PM, DE wrote:
    > Anders Gustafsson wrote:
    >> Bentinker,
    >>> There is no way for me to
    >>> perform this on every individual device in the group as it is dynamic.
    >>
    >> IS it possible to work around it by defining a system requirement? Say
    >> a registry key that is set by another bundle?
    >>
    > I am working in an environment that currently does this either by
    > setting a registry key on the system, or with an actual text "flag" file
    > on the system. But I just demonstrated one like this by setting the
    > requirements on the bundle to include "specified devices" and then
    > setting that to an AD group that contains the systems that should get
    > the bundle.
    >
    > So in the case in point, I'd assign bundle A to all users, and then set
    > the requirements to "no" for specified devices in the group of
    > workstations X.
    >
    > I don't understand the comment "My problem is that there is no way to
    > block a group or a dynamic group. " You can block a group of devices by
    > setting the requirements to <whatever> as "No", and by unchecking the
    > box for "Show application icon if system requirements fail".
    Craig Wilson - MCNE, MCSE, CCNA
    Novell Technical Support Engineer
    Novell does not officially monitor these forums.
    Suggestions/Opinions/Statements made by me are solely my own.
    These thoughts may not be shared by either Novell or any rational human.

  • Hide Flag Icon from Character Map

    I recently displayed the Character Map in Tiger. It created an American Flag icon in the top right near the clock display. Unfortunately, I can't figure out a way to hide the flag icon, even after closing the Character Map window. Help please!

    Try going to system prefs/international/input menu and unchecking the box for "show input menu in Finder."

  • How to hide autoplay icon from html5 published from captivate 8

    I have a html5 course created in captivate 8. Course is scorm packaged. Course works fine on ios devices but in android device autoplay from the beginning doesnot go away. Any idea how to resolve this?

    Hi,
    Welcome to Adobe Forums
    Could you please check the version of Google Chrome ?
    Please try following the steps given in the link below to fix your issue .
    Update on Captivate HTML 5 content playback issue in Google Chrome Browser. « Rapid eLearning | Adobe Captivate Blog
    Thanks
    Himanshu

  • Hide NFC icon from status bar

    How do I get rid of the NFC icon without actually turning NFC off?  I can turn just about everything off using Personalization->Status bar icons, but I don't see an option for NFC there.

    Settings then More and untick NFC
    For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled.   Richard P. Feynman

  • How to fix bookmark icons from reappearing in new browser windows despite having bookmark deiconizer enabled (Mac Snow Leopard/Firefox 20.0).

    Ever since Firefox upgraded to 20.0, my enabled deiconizer doesn't work when I open a new browser window. Using Mac/Snow Leopard.
    I want those bookmark toolbar icons to disappear permanently! They are nothing but clutter.

    Thanks for the suggestions. I think my next move is to contact Mozilla/FireFox to complain about this change and see if it can be fixed. If not, then I'll probably just switch to Safari. I lose patience with companies/programmers who do things like this. When I had programmers reporting to me (before I retired a few years ago), I would never let them get away with this sort of nonsense. User flexibility was a requirement.

  • Unable to remove/hide help icon in Discussion Service OOTB

    Hi,
    Is there any way to remove/hide help icon from Discussion Service OOTB toolbar ?
    I am not able to find help icon tag in ListTopics.jsff and ListMessages.jsff fragment file.
    Regards,
    Fyaz

    Hi.
    I´m not sure but I think this Taskflow is a "black box" and is not possible customize it

  • Inline popup restriction

    Hi,
    I am using JDev 11.1.1.4 and for re usability issues I have constructed a task flow in which I have some sort functionality in a jspx page (for this task flow, behavior is set to start a new transaction and 2 task flow returns are used: one for cancel(rollback), the other for save(commit) ), and this task flow is launched as an inline popup when pressing a button. This works ok when I am launching it from the main jspx page, but we decided that we need to use it also in other places, like from within another inline popup(which is constructed in the same way).
    The problem is that when trying to launch the inline popup from another inline popup by pressing the button, an error will appear saying that a transaction is already open, so it cannot start another one. I have tried to make some adjustments and change the behavior of my reusable popup to use the existing transaction. In this case I am able to open my nested popup, I can work on it, but when pressing the Save button it won't actually commit anything into the database because it actually uses the existing opened transaction(the one that belongs to the inline popup that launched my reusable inline popup), which will end only when the parent popup is closed.
    Do you have any idea if it's possible to launch an inline popup constructed the way I described above from within another inline popup constructed in the same way and what behavior both of the task flows should have?
    Thanks,
    Georgiana

    Hi,
    How can apply multiple skin with oracle adf ? that was I asked..
    JDeveloper : 11.1.1.6
    pls help me...
    Edited by: 960539 on Sep 23, 2012 10:11 PM

  • Removing icons from menu bar in webi

    Hi Bo gurus,
    I have a user , user donot want to see  track,filter,drill,scenario icons  in right side top of the webi report,Is there any way to achive this.
    Any suggestions would be appreiciated.
    Regards,
    Mahesh

    hi,
    I am not sure whether we can completely hide these icons from the user.
    But there is a workaround to disable these icons.
    CMC > Applications > Web Intelligence > Your Group > Assign Security > Advanced > Add/Remove Rights > Application > Web Intelligence
    Deny the following
    - Data Tracking: Enable for users
    - Data Tracking: Enable format display changes by users
    - Enable drill mode
    Regards,
    Vamsee

  • How do I remove the Box icon from the menu bar?

    I have an account on Box, which is a sync program.
    Before the last Box updated, I could hide its icon from the menu bar, but now it is not possible and I really don't want it there.
    I have tried to drag it out of there, by pressing CMD and dragging, but nothing happens.
    Is there any other way to remove it?
    Thanks in advance for any help, and sorry for the bad English.

    The problem is that I don't have the option to remove it anymore. And I don't want to uninstall it wither.
    Anyway... Thanks for trying to help me. I'll have to get used to it.
    Thank you again.

  • X (Close) icon doesn't work

    hi,
    I have one problem now. I tried to make 'X' (Close) icon work (i.e. the dialog window should be closed whenever clicking 'X' icon). I use:
    setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
    but it does not work. Anybody could help me solve this problem? Thanks a lot.
    Jrabi

    Well, it is a part of a large project.
    import javax.swing.*;
    import com.borland.jbcl.layout.*;
    import java.awt.*;
    import com.klg.jclass.field.*;
    import com.borland.dbswing.*;
    import java.awt.event.*;
    import java.util.*;
    public class CitrixAgent_Wiz extends WizardDialog implements SupportService {
    JPanel basePanel = new JPanel();
    WizardTopPanel topPanel = new WizardTopPanel();
    JPanel contentPanel = new JPanel();
    GridBagLayout gridBagLayout1 = new GridBagLayout();
    CardLayout cardLayout = new CardLayout();
    WizardButtonBar buttonBar = new WizardButtonBar(cardLayout, contentPanel, topPanel);
    JScrollPane jScrollPane3 = new JScrollPane();
    GridBagLayout gridBagLayout7 = new GridBagLayout();
    JTextArea finishLabel = new JTextArea();
    JTextArea finishList = new JTextArea();
    JPanel lastPanel = new JPanel();
    TerminalServicesEnvironmentPanel terminalServicesEnvironmentPanel1 = new TerminalServicesEnvironmentPanel();
    TerminalServicesRemoteControlPanel terminalServicesRemoteControlPanel1 = new TerminalServicesRemoteControlPanel();
    TerminalServicesSessionPanel terminalServicesSessionPanel1 = new TerminalServicesSessionPanel();
    private String[] availableDriveLetters = {"D:", "E:", "F:", "G:", "H:", "I:", "J:", "K:", "L:", "M:", "N:", "O:"};
    private String warning;
    private String warningMessage;
    private String advanced;
    private String defaultUserHomePath;
    private String defaultUserProfilePath;
    public CitrixAgent_Wiz() {
    try {
    jbInit();
    catch(Exception e) {
    e.printStackTrace();
    try{
    topPanel.setImage((ImageIcon)Global.imageResources.getDialogIcons().get("CitrixCompany"));
    advanced = Global.getString("WIZARD.TERMINAL.1.ADVANCED");
    warning = Global.getString("WIZARD.TERMINAL.1.WARNING");
    warningMessage = Global.getString("WIZARD.TERMINAL.1.WARNINGMESSAGE");
    catch(Exception e){
    System.out.println("Could not get icon " + e.toString());
    setSize(475, 450);
    String provision = Global.getString("WIZARD.COMMON.PROVISIONFOR");
    topPanel.setCreateLabel(provision);
    private void jbInit() throws Exception {
    this.addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) {
    System.exit(0); }
    this.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
    basePanel.setLayout(gridBagLayout1);
    contentPanel.setLayout(cardLayout);
    jScrollPane3.setBorder(BorderFactory.createLoweredBevelBorder());
    jScrollPane3.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
    finishLabel.setLineWrap(true);
    finishLabel.setWrapStyleWord(true);
    finishLabel.setBackground(new Color(212,208,200));
    finishLabel.setEditable(false);
    finishLabel.setText(Global.getString("WIZARD.TERMINAL.4.FINISH"));
    finishList.setDoubleBuffered(true);
    finishList.setBackground(Color.lightGray);
    finishList.setEditable(false);
    terminalServicesRemoteControlPanel1.requireCheckBox.setSelected(true);
    lastPanel.setLayout(gridBagLayout7);
    this.getContentPane().add(basePanel, new PaneConstraints("jPanel1", "jPanel1", PaneConstraints.ROOT, 1.0f));
    basePanel.add(topPanel, new GridBagConstraints(0, 0, 1, 1, 100.0, 5.0
    ,GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));
    basePanel.add(contentPanel, new GridBagConstraints(0, 1, 1, 1, 100.0, 90.0
    ,GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
    contentPanel.add(terminalServicesEnvironmentPanel1, "terminalServicesEnvironmentPanel1");
    contentPanel.add(terminalServicesRemoteControlPanel1, "terminalServicesRemoteControlPanel1");
    contentPanel.add(terminalServicesSessionPanel1, "terminalServicesSessionPanel1");
    contentPanel.add(lastPanel, "lastPanel");
    lastPanel.add(finishLabel, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0
    ,GridBagConstraints.NORTHWEST, GridBagConstraints.BOTH, new Insets(0, 10, 2, 10), 0, 0));
    lastPanel.add(jScrollPane3, new GridBagConstraints(0, 1, 1, 1, 100.0, 105.0
    ,GridBagConstraints.NORTH, GridBagConstraints.HORIZONTAL, new Insets(0, 10, 0, 10), 0, 255));
    jScrollPane3.getViewport().add(finishList, null);
    basePanel.add(buttonBar, new GridBagConstraints(0, 2, 1, 1, 100.0, 5.0
    ,GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
    buttonBar.addToActionListener();
    buttonBar.reset();
    public boolean validatePage(){
    int page = buttonBar.getCurrentPanel();
    switch(page){
    case 1: return true;
    return true;
    public void prepareNextPage(){
    int nextPage = buttonBar.getCurrentPanel() + 1;
    if (nextPage == buttonBar.getNumberOfPanels()){
    String environmentResult = terminalServicesEnvironmentPanel1.getReport();
    String remoteResult = terminalServicesRemoteControlPanel1.getReport();
    String sessionResult = terminalServicesSessionPanel1.getReport();
    finishList.setText("" + environmentResult + "\n\n" + remoteResult + "\n" + sessionResult);
    finishList.select(1, 1);
    void jButton2_actionPerformed(ActionEvent e) {
    DirectoryChooser chooser = new DirectoryChooser();
    chooser.show();
    if (chooser.isSuccessfulSelect()){
    String text = chooser.getDirectorySelected();
    void jButton3_actionPerformed(ActionEvent e) {
    DirectoryChooser chooser = new DirectoryChooser();
    chooser.show();
    if (chooser.isSuccessfulSelect()){
    String text = chooser.getDirectorySelected();
    * @return the drive letters available to be mapped
    public String[] getAvailableDriveLetters(){
    return availableDriveLetters;
    * Set the drive letters available to be mapped
    * @param letters an array of drive letters in the format [Character]':'
    public void show(){
    String message = Global.getString("WIZARD.TERMINAL.PROVISION.MESSAGE3");
    PTreeNode node = Global.getCurrentNode();
    super.show();
    public boolean provisionApplication(LicConfig app){
    * @todo provision application contained in LicConfig
    return true;
    public boolean deprovisionApplication(LicConfig app){
    * @todo provision application contained in LicConfig
    return true;
    private String getValue(Hashtable h, String key) {
    if (h.containsKey(key))
    return (String)h.get(key);
    return null;
    public void initPanel(Hashtable properties)
    public JComponent getFirstComponent(){
    int page = buttonBar.getCurrentPanel();
    switch(page){
    case 1:
    return terminalServicesEnvironmentPanel1.logonCheckbox;
    case 2:
         return terminalServicesRemoteControlPanel1.enableRemoteCheckBox;
    case 3:
         return terminalServicesSessionPanel1.endComboBox;
    case 4:
         return null;
    return null;
    public JComponent getLastComponent(){
    int page = buttonBar.getCurrentPanel();
    switch(page){
    case 1:
    return buttonBar;
    case 2:
         return buttonBar;
    case 3:
         return buttonBar;
    case 4:
         return null;
    return null;

  • Inline popup - close icon null pointer issue

    Hi all,
    I have a taskflow which is opened as inline popup dialog. Taskflow is in pageFlowScope.
    The popup has OK, Cancel. On click of OK and Cancel of dialog it returns a value.
    However when I click on Close icon "x" of dialog and return to the calling parent window and try to get the any iterator from the binding container, the iterators are all null.
    I am missing something in my configuration.
    Thanks
    Ajay

    Hi,
    actually clicking teh 'x' does nothing than closing the dialog.
    However when I click on Close icon "x" of dialog and return to the calling parent window and try to get the any iterator from the binding container, the iterators are all null.
    What is the code you use and where and when do you call this code ? And what JDeveloper version are you working with ?
    Frank

  • How to close PopUp (from taskflow region)???

    Can someone, please, explain how to solve this use-case:
    I have PopUp in which I put a region (in which is a small TaskFlow consiting of 2 JSFFs). I want to have Cancel and OK buttons in both JSFFs in TaskFlow. How to close PopUp from within TaskFlow ??? I saw the TaskFlow Return component in ADF TaskFlow diagram components (in palette) but haven't found any help/documentation on it. Or, should I use Return listener on command button used to rise popup (but, still, how to close popup from taskflow?)?
    Any help would be great!
    Thanks in advance,
    Marko

    mimarko,
    Regions/Taskflows are meant to be isolated reusable components. They are not meant to
    have knowledge of their parent or container. That said, code contained with in a region should not attempt to reach out an modify the parent. Regions can fire contextual events that can be handled by a listener declared in the parent pages pageDef. However, attempting to close a popup from a context listener would be bad practice. The easiest fixt is to put the popup in the taskflow for your region. That will create a reusable popup that you can use through out your application.
    --Ric                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for

  • Another non-functional Imac. (Sorry)

    I run OS9.0 on an Imac. This morning,I encountered an error type 41 when I turned it on, and the system specified that it was an error with the time synchronizer. I went through the standard troubleshooting procedures to try and fix the problem mysel

  • File to RFC to 3 IDocs

    Hi Experts, I am configuring a scenario where a File is sent to RFC if data is fine then its response is mapped to 3 IDocs else the error response needs to be mapped to a file and sent it back. Previously I have worked on File to RFC to File scenario

  • Best way to write Web API

    Hi, I want to write the Web API ( say a json )in CQ so that I can consume this API to get some information about the content. I am thinking of wiriting servlets ( OSGI components ) and expose the path with selector and extension. Is this a right appr

  • How do I move all my icons forward on the screen

    How do I move all my icons, on the screen forward?

  • PKI, HTTP, HTTPS, DP, MP Configuration

    So my company is finally ready to start using SCCM 2012 R2 for Mac device management and I'm ready to configure the pre-requisites. We have the PKI setup, also have proper security groups and certificate templates set as listed and detailed here. We