A challenge: combining dirty tab Interface User Shell + self-closing-BTF

I find it difficult to use the facilities of the shell of the interface user ADF of the conduct of the stubborn self-closing-standalone task.

What the Shell of the user ADF interface does well: in the Shell of the user interface, you can open a standalone BTF as an activity, and if the BTF closes itself (that is to say... given the user selects ok or cancel/close button, the BTF stand-alone navigates to a special return flow option), the BTF closes and the ADF UI Shell correctly closes the tab around the activity.

My challenge is that I want to add installation tab 'dirty' shell ADF of the user interface for the task force, such as if the user inside the BTF selects a custom cancel/close button (not the Shell UI button close tabs) that accesses the task-flow-back option in the Working Group, they had the chance to confirm or cancel the closing via the ADF UI Shell dirty tab popup. (Note that task-flow-return options are crucial to BTF to self-latch because they not only allow the BTF of commit / rollback, as well as make them re-entering or playing with the functions of backup point).

If the ADF UI Shell shellLauncher Bon we call method makeCurrentTabDirty on the opening of the BTF, activity of the BTF tab is italicized properly. Even if the user selects the BTF Cancel button, the BTF farm (she disappears in fact from the Shell of the user of ADF interface) but the Shell of the user activity tab interface is still visible, then watch the dialogue dirty tab, which is too late, the Working Group has already closed.

So my solution is when the button close down BTF, before he navigates to the BTF task-flow-back option, I can get the ActionListener to the button close BTF to trigger an event that is contextual to the shell of the user ADF to capture interface "shut up" occurrence. The Shell of the user interface then has a chance to show the dirty tab dialog box by capturing the contextual event.

Then, my sticking point is the class TabContext provided in the Shell of the user interface has no way to call the dirty tab dialog box without calling the removeTab method. It is not desirable for the Shell UI close the BTF as task-flow-return of the BTF activities must always be called... remember that they have an additional feature that is required for the BTF.

Even if the TabContext method is a solution to display the dialog box dirty tab without closing the tab (TabContext is pretty easy to extend yourself if you have the source code), the problem to which I can't think a solution is, how to get the tab dialog box dirty to communicate with the BTF stand-alone version (yes/no) result such that it can take a decision on the abandonment of action close and let the user on the current page fragment, or accessing the task-flow-return node?

We could suggest that I could expose the dirty to the BTF stand-alone tab dialog such that she could show the dialog box confirm himself. However the point being is the BTF is autonomous and should have no knowledge where it is used, in the Shell of the user interface or some other supershell application. Publish plans to close the BTF via a contextual event seems fine, but alternatively of loading in the components of the interface layer user seems to break the independent principle I-don't-know-or-care-about-what-my-parent-caller-is-doing BTF appears on the border of evil.

Anyone pointers, suggestions or comments like you're-an-idiot-Chris,-do-it-this-way? Your help is appreciated.

Kind regards

CM.

PS. JDev v11.1.1.2.0 with interface User Shell v1.02

How to get the dirty tab dialog box to connect the result (yes/no) with the BTF stand-alone version, as it can take a decision on the abandonment of action close and leaving the user on the current page fragment or accessing the task-flow-return node?

I hope that everyone interested in this challenge is useful the application at this link: http://soadev.blogspot.com/2010/08/loosely-coupled-bounded-task-flows.html

Kind regards

Rommel Pino
http://soadev.blogspot.com

Tags: Java

Similar Questions

  • Dynamic tab Interface User Shell - close the tab action & number of open tabs control

    Hello
    I browsed the forum, but could not get their hands on a concrete solution to the issue on how to capture the event action to close the tab and perform an action on this?
    The thread below about my question, but doesn't seem to have a good solution
    Re: Dynamic tab Interface User Shell: control icon close

    And another question, currently in the TabContext the number of open tabs is at the limit of 15. How can I replace only such that I do not allow more than 7 tabs open at the same time?

    Please help me with the two queries above. Thank you!

    Kind regards
    SS

    Sorry for the delay so much. Finally got some time to play with the model and by downloading the source code for dynamicTabTemplate and substituting the closeIcon worked like a charm.
    Let me summarize what I did to help someone who is looking for it :)
    (1) download the source code for dynamicTabTemplate
    (2) added and additional attribute to the model closeTab
    ++
    +closeTab+.
    +java.lang.String+.
    ++
    true
    +
    +
    +
    +
    (2) the dynamicTabShell.jspx edition, closeIcon commanlink actionListener to be linked to the "#{viewScope.tabContext.closeIcon}".
    (3) implemented the method of closeIcon in TabContext
    +@Override+
    + ' public void closeIcon (ActionEvent actionEvent) {+
    CloseIconInterface bean = getBean().
    bean.closeIcon (actionEvent);
    +}+
    (4) generated the jar.
    (5) delete the oracle supplied jar dynamicTabTemplate by default and instead added my custom pot generated on demand
    (6) implementing the new model
    (7) set all attributes with attribute closeTab. It would take the name of BackingBean... example:
    (8) xxxBean done to implement CloseTabInterface
    (9) implementation of the method closeIcon with custom code to confirm the page close prior to removal of the tab.

    However as you say, I will keep tab on the future updates of the default model tab updates fail bug fixes or improvements.

    Thanks to all those who have looked into this for me and I hope this helps someone else :)... Good luck!

  • Closed: Interface User Shell: Rename title of label or launch new tab for the scenario?

    Hello

    I use the dynamic model shell user interface. I run tab area containing TF for research of Navigation area. Based on the record we can do different actions including CRUD (assumed that this requirement would be very common).
    1. now based on how action can we change the title to label without refreshing the area inside.
    2 OR how to launch the new tab from within the region and then get back/back to the previous tab, we could do without contextual event or even not at all.

    Thank you

    Hi amseth,

    You can try this one: http://soadev.blogspot.com/2010/07/adf-ui-shell-updating-title-of-current.html

    Kind regards
    Pino

  • ADF Dynamic interface User Shell showing blank tab for the workflow

    Hello

    Jdev 11.1.2.0.0

    I tried application UI standard dynamic tab Shell in my application. Each tab in my application a taskflow.

    If I enable the ADF security, my tabs are displayed as empty. I did added Grant resource task flow.

    But if I disable the security of ADF, the tabs are correct content display.

    Checked under forums
    https://forums.Oracle.com/thread/2393963
    https://forums.Oracle.com/thread/1023619

    I also tried adding project sample Patterns (dynamic tabs) as the jar.
    And by assigning the role authenticated blank.xml. His does not work. Always to the Virgin poster.


    Grateful for the help on this issue.


    Thank you.
    Abhijit

    Issue slipped. After having authenticated the role to

    Blank.XML and dynamicTabShellDefinition

    Refer

    https://forums.Oracle.com/thread/2393963

  • The theme change of Shell tabbed interface (Shell UI) dynamic user model

    Readers,

    Is it possible to change the color of the tabbed interface User Shell (Shell UI) model dynamics in Jdev 11.1.1.5? Yes: how? : Pei

    thnks

    Hello

    You can use the count for that. There is no specific attribute on the template to set.

    Frank

  • What is the value of registry key "Default" in HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders

    What is the value of registry key "Default" in HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders

    Hello

    (Default)                            REG_SZ (value not set)
    {3D644C9B-1FB8-4f30-9B45-F670235F79C0} REG_EXPAND_SZ %PUBLIC%\Downloads
    Common AppData REG_EXPAND_SZ ProgramData %
    Common REG_EXPAND_SZ Office %PUBLIC%\Desktop
    Common REG_EXPAND_SZ %PUBLIC%\Documents Documents
    Common programs REG_EXPAND_SZ %ProgramData%\Microsoft\Windows\Start start\program
    Common Start Menu REG_EXPAND_SZ %ProgramData%\Microsoft\Windows\Start Menu
    Common Startup REG_EXPAND_SZ %ProgramData%\Microsoft\Windows\Start Menu\Programs\Startup
    Common models REG_EXPAND_SZ %ProgramData%\Microsoft\Windows\Templates
    REG_EXPAND_SZ CommonMusic %PUBLIC%\Music
    REG_EXPAND_SZ CommonPictures %PUBLIC%\Pictures
    REG_EXPAND_SZ CommonVideo %PUBLIC%\Videos

    You can do a Reg file copying between the lines and paste into Notepad and save as a. REG file as
    UserShellFolders.REG

    --------------------------------------------------------------------------------------------

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\User Shell Folders]
    "Common Desktop" = hex (2): 25, 00, 50, 00, 55, 42, 00, 00 4 c 00, 49, 00, 43, 00, 25, 00, 5 c, 00,------.
    44,00,65,00,73,00, 6B, 00, 74, 00, 6f, 00, 70, 00, 00, 00
    "Common document" = hex (2): 25, 00, 00, 50, 00, 55, 00, 42, 00, 4 c, 49, 00, 43, 00, 25, 00, 5 c,
    00,44,00, 6f, 00, 63, 00, 75, 00, 6 d, 00, 65, 00, 6F, 00, 74, 00, 73, 00, 00, 00
    "CommonPictures" = hex (2): 25, 00, 50, 00, 55, 42, 00, 00 4 c 00, 49, 00, 43, 00, 25, 00, 5 c, 00,------.
    50,00,69,00,63,00,74,00,75,00,72,00,65,00,73,00,00,00
    "CommonMusic" = hex (2): 25, 50, 00, 00, 55, 00, 42, 00, 4 c 00, 49, 00, 43, 00, 25, 00, 5 c, 00, 4 d,
    00,75,00,73,00,69,00,63,00,00,00
    "CommonVideo" = hex (2): 25, 00, 50, 00, 55, 42, 00, 00 4 c 00, 49, 00, 43, 00, 25, 00, 5 c, 00, 56,------.
    00,69,00,64,00,65,00, 6f, 00, 73, 00, 00, 00
    "{3D644C9B-1FB8-4f30-9B45-F670235F79C0}" = hex (2): 25, 50, 00, 00, 55, 00, 42, 00, 4 c, 00,------.
    49,00,43,00,25,00 5 c 00, 44, 00, 6f, 77, 00, 00, 6F, 00, 6 c, 00 6f 00 61 00, 64, 00, 73,------.
    00,00,00
    "Common Start Menu" = hex (2): 25, 00, 50, 72, 00, 00 6f 00, 67, 00, 72, 00, 61, 00, 6 d, 00, 44,------.
    00,61,00,74,00,61,00,25,00, 5 c, 00, 4 d, 00, 69, 00, 63, 00, 72, 00, 6f, 00, 73, 00, 6f, 00,------.
    66,00,74,00 5 c 00, 57, 00, 69, 00, 6F, 00, 64, 00, 6f, 77, 00, 00, 73, 00, 5 c, 00, 53, 00, 74,------.
    00,61,00,72,00,74,00,20,00, 4 D, 00, 65, 00, 6F, 00, 75, 00, 00, 00
    "Joint programmes" = hex (2): 25, 50, 00, 00, 6f 72, 00, 00, 67, 00, 72, 00, 61, 00, 6 d, 00, 44, 00,------.
    61,00,74,00,61,00,25,00, 5 c, 00, 4 d, 00, 69, 00, 63, 00, 72, 00, 6f, 00, 73, 00, 6f, 00, 66,------.
    00,74,00 5 c 00, 57, 00, 69, 00, 6F, 00, 64, 00, 6f, 77, 00, 00, 73, 00, 5 c, 00, 53, 00, 74, 00,------.
    61,00,72,00,74,00,20,00, 4 d, 00, 65, 00, 6F, 00, 75, 00, 5 c, 50, 00, 00, 72, 00, 6f, 00, 67,.
    00,72,00,61,00, 6 D, 00, 73, 00, 00, 00
    "Common Startup" = hex (2): 25, 00, 50, 72, 00, 00 6f 00, 67, 00, 72, 00, 61, 00, 6 d, 00, 44, 00,------.
    61,00,74,00,61,00,25,00, 5 c, 00, 4 d, 00, 69, 00, 63, 00, 72, 00, 6f, 00, 73, 00, 6f, 00, 66,------.
    00,74,00 5 c 00, 57, 00, 69, 00, 6F, 00, 64, 00, 6f, 77, 00, 00, 73, 00, 5 c, 00, 53, 00, 74, 00,------.
    61,00,72,00,74,00,20,00, 4 d, 00, 65, 00, 6F, 00, 75, 00, 5 c, 50, 00, 00, 72, 00, 6f, 00, 67,.
    00,72,00,61,00, 6 D, 00, 73, 00, 5 C, 00, 53, 00, 74, 00, 61, 00, 72, 00, 74, 00, 75, 00, 70, 00,------.
    00.00
    "Common AppData" = hex (2): 25, 00, 50, 72, 00, 00 6f 00, 67, 00, 72, 00, 61, 00, 6 d, 00, 44, 00,------.
    61,00,74,00,61,00,25,00,00,00
    "Models of communes" = hex (2): 25, 50, 00, 00, 6f 72, 00, 00, 67, 00, 72, 00, 61, 00, 6 d, 00, 44,------.
    00,61,00,74,00,61,00,25,00, 5 c, 00, 4 d, 00, 69, 00, 63, 00, 72, 00, 6f, 00, 73, 00, 6f, 00,------.
    66,00,74,00 5 c 00, 57, 00, 69, 00, 6F, 00, 64, 00, 6f, 77, 00, 00, 73, 00, 5 c, 00, 54, 00, 65,
    00, 6 D, 00, 70, 00, 6 C 00, 61, 00, 74, 00, 65, 00, 73, 00, 00, 00

    ------------------------------------------------------------------

    Hope these helps.

    Rob - bicycle - Mark Twain said it is good.

  • Content in the interface user of ADF

    Hello

    I use the WebCenter 11.1.1.9 content and use the user ADF interface, however

    the content component to create links between content items.

    Anyone know if it is possible to use the content related interface user ADF component?

    TKS.

    To my knowledge, it is not possible - in fact, not even in the current version of the 12 c.

    However, you will need to move to 12 c in the future to get this.

    See http://docs.oracle.com/middleware/1221/wcc/WCCAA/GUID-6CF263BB-58E9-4A12-A309-AE28C70BC578.htm#WCCAA2260 for more details.

  • Lack of Snipping tool in the interface user of Windows 8 (NOT THE DESKTOP), but in any Windows Apps Store

    Is there any tool to capture in the user of Windows 8 interface?
    The only way I figured out was to use the PRINT SCREEN

    If none of these tools, it is a very big lack not being able to take just one part of a screen in the user of Windows 8 interface

    Windows 8 Pro (MSDN)

    I know where it is that I use daily and very often.  It does everything not in the user of Windows 8 interface
    On the desktop, there is no problem with him, but as soon as you go into the user interface of Windows 8 it is a similar tool when we are in the interface user of Windows 8 (Windows Store apps) so there's no way to use it?

    Hello

    Workaround for this would be to create a screenshot in the App Store, load the screenshot in Paint and and crop the image of what you want.

    There is a new keyboard shortcut in Windows 8 to create screenshots.

    1. press Windows + PRTSCN key. This will create a screenshot and automatically put my Pictures\Screenshots in your folder.

    2. open the screenshot in Paint and use the Select + tools to harvest.

    Concerning

  • I don't see the tabs interface options after you install the 2015.006.30119 update. My installation is corrupt?

    I have Windows 7 Enterprise x 64 on my computer to work with Adobe Acrobat Standard DC (classic). I just had our IT Department install the update 2015.006.30119 to be able to use the announced features (tabbed interface). It shows that the currently installed version is 2015.006.30119 in the window 'about' and in programs and features in Control Panel, but the General Preferences tab shows no options on the new interface options to tabs. I inserted the images of the two opinions 'about' showing the version number and the General Preferences tab. While I am not too concerned about a feature that I've never had before, it would be useful in some located to try and it worries me that installation is corrupt if the new features added by this version supposedly aren't really there. I also tried re - apply the update and run the utility to repair facility. Any help would be appreciated.

    About.jpg

    General.jpg

    The classic yarn (bought) has no new features added, except every year or two for a paid upgrade. Only the subscription version has tabs.

  • Change the number of members in the tab 'Preview user PoV' by default

    Hello

    Does anyone know how you would change the number of default members that appear in the tab preview user PoV when you run a report of FRS of the workspace? When we click a dimension, the number of members displayed by default is 20, but when the exploration down, almost always change the number of displayed in 50 or 100 members to get to the base. Any help would be appreciated.

    We are on HFM 11.1.2.1

    Thank you!

    Hello

    The path name is incorrect in the FRConfig.cmd, preventing any change to be saved.

    For example, FRConfig.cmd indicates the path like: Oracle\Middleware\userprojects\Epmsystem1, but the actual path on the server is: Oracle\Middleware\userprojects\Epmsystem2.
    Solution

    1 save a backup copy of the file FRConfig.cmd.
    2. edit the FRConfig.cmd file to point to the correct one path.
    3. save changes.
    4 restart the JConsole and you should be able to change the values.

  • Change the language of the interface user InDesign CS6 (CC)?

    How can I change the language of the interface user InDesign CS6 (CC)? Currently, I have all the menus in Norwegian, but would like to have it in English. I remember all the options during installation to choose the language. I hope someone can help! Thank you very much!

    You have creative cloud then you can change the language of the application of the preferences of the MAO.

    Please find the link below for the article with the steps: -.

    http://helpx.Adobe.com/creative-cloud/KB/creative-cloud-trial-mode.html

    BTW no need to uninstall.

  • How to hide a page and its tab to users?

    Hello

    I have a created a user with the following information.
    Username: has
    Address e-mail: [email protected]
    Developer privileges
    Default Schema: S
    The user is a developer: No.
    The user is an administrator of the workspace: No.
    Control of accounts
    Consider the availability: unlocked
    Change password on first use: No.

    I set the permission scheme: 'administrator access - control' for the page and its tab.
    But the page and its tab appear not only for me (admin), but also to the user.
    How to hide the page and its tab to users?

    Thank you
    Guy
    -----
    H5. FYI, I am very new to SQL, PL/SQL, and APEX. Would appreciate much more explanation and full path (for example. Shared components > change the security attributes > VPD)

    Guy,

    The user is an administrator of the workspace: No.

    These authorisation schemes created by the access control wizard do not use status of developer/workspace user accounts. Must add user names in the apex_access_control table and assign the desired privilege to every user.

    Scott

  • R2PS3: Issue when adding Custom Encryted UDF in Create User, edit user and self-registration page

    Hi all

    I have a requirement to add a field encrypted to create a user, change the user and self-registration pages.

    Currently, I get no option to add the encrypted type in the form field, the only option I get is to add "ADF w/Label input text. However, when I add the field encrypted as a text field in these forms, I am able to see the text entered by the user. Although, as the field is encrypted, the value of the field is not visible in the user display.

    A time implementation of this scenario?

    Snapshots:

    CustomEncryptedField.PNG

    Question: Value of the attribute appears as a clear text.

    CustomEncryptedField1.PNG

    Thank you

    Swati Pandey

    I even tried with adf and the properties of the text of entry as the secret so that I am able to get the desired result.

  • Challenge of the interface user tries to access the FM blog

    New interface XML Authoring with FrameMaker 2015 - Central TechComm by Adobe

    "Note: you will need to click [SAVE] to get access to the record."

    Well, me Sun and UI-challenged colours... but even after Flash I scrolled up and down this page several times and not seen a link [REGISTER]. Tricks and tips welcome!

    You must click on the red link "NEW way to simplified XML authoring in FrameMaker 2015" right above the gray area note to reach the site of Webinar.

    It takes you right here: NEW way to XML simplified creation in 2015 of FrameMaker. You will see the [Save] button.

  • Failed to load the VI using the stand-alone executable interface user

    Hi all

    I am preparing for my deployment. I'm building an executable for my UI (based on the example of the Simple user interface), I get the following error when you try to run my test sequence using this as standalone executable.

    I do not get this message when I run the user interface vi (Note: the LabVIEW adapter is configured to use LVRTE).

    There are several code modules in test sequences, but this error occurs only for 3 of these code modules. These 3 code modules run from another sequence of "sub", located in the same file in sequence as in the main sequence. These sequences of void (the first is call Stop Valve monitor as shown in the error message) operate asynchronously and each of them calls the LabVIEW code module (first called StopValve.vi as shown in the error message). The rest of the code modules that are supported correctly are call of normal main sequence code modules.

    Can someone please help me figure out why these 3 code modules are not able to load in? Any way to solve this problem?

    I use 32 2014 LabVIEW and Teststand 2014 32 bits.

    Yours sincerely,

    chati

    If it's on the same machine, and the only difference is the development of vs runtime. Then it is likely that those with bad or outdated compiled code.

    For every VI in question:

    Check if the screws are marked. Open them, check the properties of the VI / general tab make sure the ' separate compiled code in the source file "is not checked.

    In addition, perform a massive compilation on the VI. CTRL - Shift and click on the run button. Controls RECOMPILE the VI, Maj RECOMPILE all the sub screw

    Save all the

    I hope this helps.

Maybe you are looking for

  • < closed > Moto G is Lillipop (5.0) India

    Lollipop (5.0) is now stocking motorcycle G XT1033 in India. Users began to receive the OTA. Those who have received the update please drop their experience.

  • Has no windows updates

    In recent weeks, I had several falures same updates do not update. Four updates are KB 2251419 - 2277947 Ko - 2279264 KB and KB 2092914. The error codes are _00000646 and _dt000. I have Windows 7. Does anyone else have this problem? If so, were you a

  • B1 Iconia Tablet - insufficient storage space

    Acer Iconia B1 Tablet 8 GB 32 GB internal external (Micro SD) Android Version 4.1.2. My Acer Tablet keeps telling me that I have a memory, even if I uninstalled multiple applications. Storage Android app provides the following information:INTERNAL ST

  • Send a page or link

    When I send a page or a link it becomes not active for the other person that I'm emailing. How to activate my e-mail program send living links etc. When send a web page, etc. Thank you.

  • Photo Gallery will not open picture

    After screwing around upgrading to windows 10 and then find that it did not some of the things that I assumed that it would report to Windows 7, I went back to Windows 7. I just now tried opening a photo gallery file (not open for a long time prior)