The blog for hints & tips about Oracle Application Development Framework and Mobile Application Framework

  • ADFc
    January 16, 2011

How-to remove the close icon from task flows opened in dialogs (

Frank Nimphius
Master Principal Product Manager

ADF bounded task flows can be opened in an external dialog
and return values to the calling application as documented in chapter 19 of Oracle Fusion Middleware Fusion Developer's
Guide for Oracle Application Development Framework11g
: http://download.oracle.com/docs/cd/E17904_01/web.1111/b31974/taskflows_dialogs.htm#BABBAFJB

Setting the task flow call activity property Run as Dialog to true and the Display Type property
to inline-popup opens the bounded
task flow in an inline popup. To launch the dialog, a command item is used that
references the control flow case to the task flow call activity

<af:commandButton text="Lookup"

windowEmbedStyle="inlineDocument" useWindow="true"



By default, the dialog opens with a close icon in its header
that does not raise a task flow return event when used for dismissing the
dialog. In previous releases, the close icon could only be hidden using CSS in
a custom skin definition, as explained in a previous OTN Harvest publishing


As a new feature, Oracle JDeveloper 11g ( provides
an option to globally remove the close icon from inline dialogs without using
CSS. For this, the following managed bean definition needs to be added to the
adfc-config.xml file.
















Note the setting of the managed bean scope to be application which applies this setting
to all sessions of an application.

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.