AfContext.launchDialog not working with upgrade to 11.1.1.2.0

I recently upgraded my project to latest version and now some code stopped working correctly...here is the code which is suppose to show a new dialog via backing bean (there is code setting a bunch of parameters dynamically and why I'm using backing bean to launch the dialog):
ViewHandler viewHandler = context.getApplication().getViewHandler();
UIViewRoot dialog = viewHandler.createView(context, "/dialogs/userGroupPickerSelect.jsp");
HashMap properties = new HashMap();
properties.put("width", new Integer(300));
properties.put("height", new Integer(500));
HashMap parameters = new HashMap();
// data parameters
parameters.put("users", selUsers);
parameters.put("groups", getSelectedGroupsValue());
parameters.put("companies", getSelectedCompaniesValue());
// view parameters
UIXDeclarativeComponent _component = (UIXDeclarativeComponent ) getValueObject("#{component}",UIXDeclarativeComponent.class);
parameters.put("singleSelect", (Boolean)_component.getAttributes().get("singleSelect"));
parameters.put("displayGroups", (Boolean)_component.getAttributes().get("displayGroups"));
AdfFacesContext afContext = AdfFacesContext.getCurrentInstance();
afContext.launchDialog(dialog,
parameters, // parameters
(UIComponent)_browseSingle,
true, // show it in a dialog
properties); // properties for window
This is the JSPX code:
<af:commandButton immediate="true" partialSubmit="true"
text="A"
action="#{ugpickerbean.showPicker}"
shortDesc="#{ugpickerbean.displayImageDesc}"
returnListener="#{ugpickerbean.userPickCallback}"
id="ugpicker"/>
The old behavior was the window opened without any problems, the new behavior after upgrade is I get (on both IE 8 and FF 3) a form resubmission message (Resend / Cancel) prompt...clicking either of the buttons just refreshes the parent window and the dialog never appears.
Any ideas?
Thank you,
Kris

So more research shows that this has to do with using an "action" statement versus an actionListener. If I modify the code to use actionListener it works. I then tried to use dialog:"action" and set the parameters within a launchListener and had the same result (acts as if it's resubmitting a form).
<af:commandImageLink immediate="true" partialSubmit="true"
action="dialog:userpicker"
launchListener="#{ugpickerbean.setparameters}"
icon="#{ugpickerbean.displayImage}"
binding="#{ugpickerbean.browseSingle}"
shortDesc="#{ugpickerbean.displayImageDesc}"
returnListener="#{ugpickerbean.userPickCallback}"
id="dc_cil1"/>
Seems like switching to actionListener will resolve the problem for now but wonder if this is a larger issue (haven't looked at other areas where I'm using action after the upgrade). On a similar note, using actionListener and displaying the dialog also displays all of the toolbars I have installed (i.e. Google and the links). In the ADF online example dialog:action removes them...so I set in the properties for the window to turn toolbars, status, etc. to off and still have the issue.
Here is the code I'm using to launch the dialog in the actionListener:
HashMap properties = new HashMap();
properties.put("width", new Integer(300));
properties.put("height", new Integer(500));
properties.put("menubar", new Integer(0));
properties.put("toolbar", new Integer(0));
properties.put("status", new Integer(0));
properties.put("location", new Integer(0));
properties.put("directories", new Integer(0));
properties.put("personalbar", new Integer(0));
HashMap parameters = new HashMap();
List<Users> selUsers = new ArrayList();
if ( getSelectedUserValue() != null )
selUsers.add(getSelectedUserValue());
else if ( getSelectedUsersValue() != null )
selUsers.addAll(getSelectedUsersValue());
// data parameters
parameters.put("users", selUsers);
parameters.put("groups", getSelectedGroupsValue());
parameters.put("companies", getSelectedCompaniesValue());
// view parameters
UIXDeclarativeComponent _component = (UIXDeclarativeComponent ) getValueObject("#{component}",UIXDeclarativeComponent.class);
parameters.put("singleSelect", (Boolean)_component.getAttributes().get("singleSelect"));
parameters.put("displayGroups", (Boolean)_component.getAttributes().get("displayGroups"));
parameters.put("filterPermissions", (Boolean)_component.getAttributes().get("filterPermissions"));
parameters.put("filterEmail", (Boolean)_component.getAttributes().get("filterEmail"));
parameters.put("filterHiddenUsers", (Boolean)_component.getAttributes().get("filterHiddenUsers"));
parameters.put("selectedNode", (Node)_component.getAttributes().get("selectedNode"));
AdfFacesContext afContext = AdfFacesContext.getCurrentInstance();
afContext.launchDialog(dialog,
parameters, // parameters
(UIComponent)_browseSingle,
true, // show it in a dialog
properties); // properties for window

Similar Messages

  • Adobe and Microsoft Word not working with upgrade 10.10 Yosemite

    I upgraded from Mountain Lion to Yosemite 10.10.  Now my Mac Microsoft Word 2011 and Adobe keep closing and will not work properly.  I feel like my computer is slower.  It definitely takes way longer to start up.  Any suggestions?  My computer is still under warranty, but it is hard to find time to take it in.  I only upgraded my laptop and not my desktop yet.  This laptop is a Macbook Pro (15-Inch, Late 2011), Processor 2.2 GHz Intel Core i7, Memory: 16 BG 1067 MHz DDR3, HD: 119.99 GB free of 498.88 GB.  I know I need more HD space.  I emptied trash and took off apps I do not use.  I'm not sure what to buy for my Mac that is compatible to increase speed and HD space, but it is slower after the upgrade.  I use a Lacy External HD for time machine.
    Any help would be much appreciated.
    Thanks!

    Francine, thank you for answering the very simple question I had about whether or not Photoshop Elements 6 was compatible with 10.5.5. I spent hours on the phone today with Adobe, being transferred around and trying to get a straight answer. I never got one from Adobe. The same thing happened when I called Apple. I realize that Apple is not the manufacturer, but hoped they might have an answer because they sell the software and should know if it works with their current OS. Since the system requirements on Adobe's and Apple's websites still say it only works with systems up to 10.5.2, sales and technical support people just read that back. I can read the same specs too, but I realize that 10.5.5 is new and that it is possible that they just may not have updated the info on the web or in their scripts to reflect this. Apparently, actual users like you and several others are saying it works fine with no issues. It's really nice to know how easy it is to find answers here when you can't get the help or answers you need from the manufacturer. It seems like all they do is read a script, and even supervisors just don't want to be bothered. They should realize that 10.5.5 is the current OS since mid-September, and if they don't provide accurate info then people won't know whether or not to purchase the software. I was hesitant because I didn't want to waste the money to find out if it would or would not work. But now that I see others are using PSE 6 without a problem in 10.5.5, I have the answers I need and I feel more confident about buying the software.

  • Serial number not working with upgrade from production studio

    I have an old WinXP with the first Adobe CS Production Studio Premium that I've been using for more than six years.
    I recently had to reinstall my system and now I have an install error with serial number.  The Prod Studio Prem is an upgrade
    to the Video Collection Standard. It errors on the screen when it ask for the previous version of AfterEffect and Encore.
    I had this issue before. Adobe support provided me another number and it worked.
    The odd thing about it is the install asks for AE 3.0 or later and I have AE6.5. It also asks for Encore 1.0 or later and I have Encore 1.0 & 1.5. If I can remember back several year when I called ADOBE support they said even though I qualified for the upgrade the issue probably was with the previous AE standard serial number wasn't working in the install screen. I've lost the new serial numbers now and I'm unable to reinstall.
    I'm not upgrading until next year. How can I get this working until then?

    if you don't have the old version installed you'll be prompted for both the serial number of the old version and the upgrade.  you have to use the correct serials when prompted.

  • HPE h8-1240t does not work with upgrade graphic card

    Hi,
    I have a HP Pavilion HPE h8-1240t, the specs:
    Core i7-3770 (Ivy Bridge) (77W) 3.4 GHz
    16 GB (4 x 4 GB) DDR3 PC3-10600
    1 TB, 7200 rpm, SATA
    So  my pc came with the Radeon HD 7570 (1 GB). I just bought a GTX 750 Ti SC. I put the new graphic card on and the pc did not load, it stucks at the HP logo which blue screen.  So, that issue relate to update BIOS or something? What should i do to make my new card work?
    Thanks in Advance,

    Bjnzzzle, welcome to the forum.
    Which of these power supply units (PSU) is in your computer?
    Power supply
    Must select one of the following options:
    300W
    460W
    600W
    Also, what brand is the video card?
    Signature:
    HP TouchPad - 1.2 GHz; 1 GB memory; 32 GB storage; WebOS/CyanogenMod 11(Kit Kat)
    HP 10 Plus; Android-Kit Kat; 1.0 GHz Allwinner A31 ARM Cortex A7 Quad Core Processor ; 2GB RAM Memory Long: 2 GB DDR3L SDRAM (1600MHz); 16GB disable eMMC 16GB v4.51
    HP Omen; i7-4710QH; 8 GB memory; 256 GB San Disk SSD; Win 8.1
    HP Photosmart 7520 AIO
    ++++++++++++++++++
    **Click the Thumbs Up+ to say 'Thanks' and the 'Accept as Solution' if I have solved your problem.**
    Intelligence is God given; Wisdom is the sum of our mistakes!
    I am not an HP employee.

  • Iphoto not working with upgrade and updated after Yosemite update

    We updated to Yosemite last night and this morning I found I can not open my iPhoto.  We had a very old version that cost to update so I decided to wait, well when I saw there was a free update I did that, then it said To open your library with this version of iPhoto, it first needs to be prepared.  Now when I try to open it it keeps telling me to do the prepared upgrader and I already did, so it only gives me the option to quit or learn more which is where you down load it. 

    All fixed thanks to the apple support people.  It was very hard and many many different ways to get it resolved. 

  • I have recently upgraded my iMac Intel G5 iSight to OS 10.6.8 and now the internal mic does not work with skype or facebook. I can here static when playing back clips. Do I need to update firmware or reload old sys parts

    I have recently upgraded my iMac Intel G5 iSight (iMac5,1) to OS 10.6.8 and now the internal mic does not work with skype or facebook. I can here static when playing back clips. Do I need to update firmware or reload old system parts. I have zapped PRAM. The blue indicator in system audio panel will appear for a second as I slide the bar for internal mic but then it disappears. Is there a fix?

    The sound seems very faint but can here static on playback.

  • Dear sir I bought my iPhone 4 from Apple store in Charlotte N/C about 2years ago without contract. Now I tried to upgrade it to iOS 7.0.4.but after that my phone not work with last sim card. And invalid sim appeared.so I bought it without contract but it

    Dear sir
    I bought my iPhone 4 from Apple store in Charlotte N/C about 2years ago without contract.
    Now I tried to upgrade it to iOS 7.0.4.but after that my phone not work with last sim card.
    And invalid sim appeared.so I bought it without contract but it seems to be lock in my country
    Please tell me whats the matter?
    My phone serial no  86034HTCA4T
    Modem firmware  04.12.09
    Thanks

    Without contract is not the same as unlocked. The update to iOS 7 relocked
    the iPhone to the wireless carrier to which it was originally locked. You must
    contact that wireless carrier to see if they offer unlocking and if you qualify.
    If you used jailbreak or other hack to unlock the iPhone initially, the method
    used may prevent a legitimate unlock from succeeding and may render your
    iPhone unuseable.

  • My Apple TV is not working with my Macbook pro 13 inch mountain lion after Apple TV upgrade?

    My Apple TV is not working with my Macbook pro 13 inch mountain lion OS X 10.8.2 after Apple TV upgrade?
    I am getting an error message as soon as I try to connect my Apple TV
    An error occurred (-6722) while connecting to the AirPlay device “Apple TV”
    it was working fine however after the upgrde it is giving me the above error message

    same here macbok air 2012 appletv 3 bugs the **** out of me
    it just stops randomly after a "while"

  • After upgrading to Lion internal mic does not work with Facetime

    After upgrading to Lion internal mic does not work with Facetime.  The mic is picking up sound as noted in System Prefs.  This was working just fine before the updgrade.  Facetime works OK on my iPod. 

    you have in french a tutorial to recreate your partition here
    Rebuild partition with Recovery HD lion after upgrade to 10.7.2
    i tested, it's work !
    For your wifi problem:
    Try to change your setup of wifi, look this table given by apple:
    I changed my wifi setup wep to wpa and it's work !

  • I have upgraded firefox 4 to firefox 5 but it does not work with real player record plugin 14.0.3......so I want to revert the upgrade to 4....please give me solution or firefox 4

    Question
    I have upgraded firefox 4 to firefox 5 but it does not work with real player record plugin 14.0.3......so I want to revert the upgrade to 4....please give me solution or firefox 4

    Go to your actual realplayer (program), click the top right button (Realplayer with an downwards arrow) and update your software. Make sure Firefox is closed while you do this.
    ::Worked for me::

  • HT4972 2nd generation ipod touch is pretty much no good anymore?  It is not able to upgrade to iOS5.1 and so will not work with many of the Apps now available in the App store.  Is there any way to find out which apps will work with 2nd generat

    2nd generation ipod touch is pretty much no good anymore?  It is not able to upgrade to iOS5.1 and so will not work with many Apps in the iTunes store?  Is there a way to find out if the App will work before you download?

    Look to the app developer to provide that information when browsing the iTunes Store.
    The iPod Touch still works, so what's your problem with it? It still works with older apps, it still does what it's intended to do.
    If you aren't happy then sell it and buy a new one.

  • Fast dial (visual bookmarks) does not work with the new 5.0 upgrade. How do I correct this issue

    fast dial (visual bookmarks) does not work with the new 5.0 upgrade. How do I correct this issue Asked this question yesterday. I desperately need info, will I ever be able to use fast dial again?

    I tried it and it WORKED....I even tried the other version BEFORE this one and it didn't work so I tried yours and it worked like a charm so THANKS brother....

  • Norton Login is not working with the upgrade from firefox. Not too happy about this

    I upgraded to the new firefox. I have a lap top with vista windows.
    Norton Login does not work with this version. Can you please explain to me how to fix this problem. Much preferred the last version of firefox.

    You need an update from Norton, which Norton says will be ready in May.
    http://support.mozilla.com/en-US/kb/Installing+a+previous+version+of+Firefox
    You can get 3.6.16 from here: <br />
    http://www.mozilla.com/en-US/firefox/all-older.html

  • Is their a fix for photoshop elements 11 move tool? Not working with Yosemite OS upgrade.

    Is their a fix for photoshop elements 11 move tool? Not working with Yosemite OS upgrade.

    Hi,
    We sincerely apologize for the problem customers are facing while using a trackpad with Photoshop Elements 11 & 12 on Mac OSX 10.10 (Yosemite).
    We have been actively working with Apple to resolve this problem as quickly as possible. We're hopeful this will get completely resolved in an upcoming update of Yosemite(MAC 10.10).
    In the meanwhile, you have two options to work around this problem:
    1. Option1: Use a mouse instead of the trackpad
    2. Option2: Install a plug-in which should workaround the problem
    Plug-in installation instructions:
    1. Close Photoshop Elements
    2. Download this zip file to a location you can easily find (e.g. your desktop)
    3. Unzip the file, WhiteWindowWorkaround.plugin, and move it to the Plug-In folder:
    • For Elements 12 – //Applications/Adobe Photoshop Elements 12/Support Files/Plug-Ins/
    • For Elements 11 - //Applications/Adobe Photoshop Elements 11/Support Files/Plug-Ins/
    You can verify the plug-in is installed by launching the Photoshop Elements Editor and choosing Help > System Info... Scroll to the bottom of the text in the dialog and look for the plug-in name "WhiteWindowWorkaround.plugin".
    Note: This plugin is a temporary workaround and should be used until this issue is addressed in Mac OSX 10.10 (Yosemite). Please remove this plugin once the issue is officially resolved by Apple.
    If you are using a stylus in conjunction with a trackpad, you might see issues with your trackpad. Workaround in this particular case is to use mouse instead of the trackpad.
    Hope this helps!
    Regards,
    vaishali

  • I just upgraded to the maverick and, of course, the iPhoto does not work with it.  How do I upgrade to version 11?  I cannot find it anywhere

    Recently upgraded to Maverick and the version of iphoto does not work with it.  How do I get and download the version 11?    I can't find it anywhere

    Which iPhoto? 9.4.6  and 9.5.1 work here.
    FWIW, iLife '11 is available here: http://www.amazon.com/Apple-MC623Z-A-iLife-VERSION/dp/B003XKRZES

Maybe you are looking for

  • Navigatorbar-navigation

    after i get my viewobject and use getwhereclause to set the parameters my records are rendered normally but i can't navigate through my records because the navigation-bar isn't working properly

  • Non uniform intervals in the X-axis of LineChart

    Hi, I am using a Flex3 Line chart which takes data from an External XML file. But I dont get the DataTip points correctly if i give some numeric values in the X values and even then, the values in the X-axis starts from the "0"th position and the int

  • PCA/GL Queries using BI content

    Hi, I have a fresh new BI system. I want to create some PCA and GL queries in BEx Query Designer. What components from BI Contents can be used for this purpose if I want to avoid creating customised cubes? What could be the other short-cuts? Thanks,

  • Leopard  won't Install, hangs when almost done.

    I have a Powermac G5 1.8 ghz with 3.5gb of ram. I bought the retail Leopard DVD and a brand new 500GB Sata-HD. All my attempts have failed to install Leopard on my new empty Sata-HD. Every time I run the installation, it gets to installing ok, but al

  • Attach vhd access denied - but works in computer management

    I'm running windows server 2008 r2 sp1. When I attach a VHD as read only via Computer Management. It works fine. However when I do it via disk part, example: select vdisk "vdisk location" attach vdisk readonly I get an access denied error. Whats the