Popup in JSFF not showing
I have some code that I was testing in a separate application until I got it working. Essentially, I have a horizontally scrollable image list. When clicking on the image, a dynamically constructed popup menu shows up and when selecting a menu item, data is inserted based on the menu item clicked on. This worked when I had all my code in a JSPX. The popup was in a form.
However, in our real application, we use fragments. So I put the popup in the JSFF where the image list is just under the jsp:root. I got this warning that says: "Fragment with more than one root component may not display correctly in a region."
When I click on my image, the action listener fires and everything seems to be fine except that the popup does not show up. This is the method I call to show the popup:
* Opens the RichPopup based on the key.
* @param popupId - component ID of popup
* @param alignId - component ID of component to align to
public static void showPopup(String popupId, String alignId) {
FacesContext context = FacesContext.getCurrentInstance();
StringBuilder script = new StringBuilder();
script.append("var popup = AdfPage.PAGE.findComponent('").append(popupId).append("'); ").append("if (!popup.isPopupVisible()) { ")
.append("var hints = {}; ").append("hints[AdfRichPopup.HINT_ALIGN_ID] = '").append(alignId).append("'; ")
.append("hints[AdfRichPopup.HINT_ALIGN] = AdfRichPopup.ALIGN_AFTER_END; ").append("popup.show(hints);}");
ExtendedRenderKitService erks = Service.getService(context.getRenderKit(), ExtendedRenderKitService.class);
erks.addScript(context, script.toString());
}This worked fine in the JSPX version. So I'm wondering if there's something I need to do to get this to work. I should be able to have an inline popup in a JSFF, right? Is there a specific place where I'm supposed to put it?
Here's JSFF:
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html">
<af:panelTabbed id="pt2">
</af:panelTabbed>
<af:popup id="vmenu" clientComponent="true">
<af:menu text="menu 1" id="m2" binding="#{pageFlowScope.mainPageFlowBean.serviceMenu}"></af:menu>
</af:popup>
</jsp:root>I can put more detailed code if need be.
Thanks.
Eric,
the problem seems to be that you don't find the popup using AdfPage.PAGE.findComponent(...) with your ID. Have you checked that you indeed get the popup using this function?
Read [http://download.oracle.com/docs/cd/E12839_01/web.1111/b31973/af_arch.htm#insertedID5|http://download.oracle.com/docs/cd/E12839_01/web.1111/b31973/af_arch.htm#insertedID5] this, if you find out that you don't get the popup.
Timo
Similar Messages
-
Popup menu does not show in JTextField
I have a JPanel with a popup menu that works perfectly, as long as the right mouse button is clicked on the JPanel. However the popup menu does not show if the right mouse button is clicked on a JTextField that is within the JPanel.
What has to be done that the popup menu shows always?
this.addMouseListener(new java.awt.event.MouseAdapter()
public void mouseReleased(MouseEvent e)
this_mouseReleased(e);
protected void this_mouseReleased(MouseEvent e)
if (e.isPopupTrigger())
popPopup.show(this, e.getX(), e.getY());There are up to 20 JTextFields in the JPanels an the application has a lot of JPanels of course. Adding the listener to each and every JTextField means a lot of extra code. Is there really no generic solution to this problem???
-
Popup message is not showing from vbs file - SCCM 2012 Package
Hi,
I am deploying a package that needs the outlook should be closed prior to install. For that, we have included popup message in the vbs script(setup.vbs) file. When deploying the package via SCCM(using package deployment method), the popup message is not appearing
but it is working when we run the script file manually. i have modified SCCM program setting but no luck.
Could you advise what setting needs to be changed in SCCM Program & deployment?Running it with user rights might cause an issue with installing it, as the user might not have the appropriate permissions. You should be able to run it with administrative rights and select
Allow users to interact with this program. That way the user should still be able to interact with the program messages.
My Blog: http://www.petervanderwoude.nl/
Follow me on twitter: pvanderwoude -
ADF popup is not showing - Intermittent issue
Guys,
Once in a while popups inside the adf application are not showing up. have anybody faced this issue?
Though its rare, i would like to know the reasons behind this intermittent issue.
Any pointers/thoughts will be appreciated... ThanksPopup if very problematic item in ADF.
There are 2 ways to invoke the popup correctly
1. Make sure that you don't have a combination of viewScope and backingbean scope in everything related to your popup
2. Or (and this is the best one) - don't use popup. Create a bounded task flow and call it from your task flow. You have an option to call it as inline popup. -
Firefox does not shows on top when it blocks popup
Earlier when Firefox used to block any popup it showed notification at the top that Firefox has blocked popup and i can select to open the popup from option.But now it does not show any notification at top when it block's popup.How can i enable the notification again?
Hi anil02,
The notification may have checked "Never show this again. Some more information on this can be found:
*[[Pop-up blocker settings, exceptions and troubleshooting]] "
It is also possible to check the exception list from the Firefox Menu > Options > Content > Exceptions to manage the pop up list. -
I am running Firefox on Windows XP. After Firefox was updated to version 30.0, the attachment popup in Gmail and Yahoo mail are not showing up. Clicking on the attach icon does not show any response. Its working fine perfectly in Chrome. I removed extensions and tried again, but the issue persists.
Start Firefox in [https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Safe Mode to Troubleshoot the issue] and to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
* https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes -
Show a Popup on JSFF page load
Hi Experts ,
JDEV 11.1.2
Is it possible to show popup on JSFF page loading in a dynamic Region ? if yes , how?
PMSHi Frank,
thankz for ur reply..........
1. I wish to show a popup on particular JSFF(individual) page loading...
2. It just toolbar for this particular form
3. Specific to one single JSFF form only
Help me Please.......................
PMS
Edited by: pms on May 7, 2012 9:29 AM -
Cross system object locking -Object editor popup does not show in dev sys
Hi ,
we want to use the cross system locking for r/3 system .
we have done all the configuration required for cross system object locking in central solution manager system and also in development r/3 system .
also we observed that object lock information is avaible in central lock monitor transcation but when ever there is object lcok it does not show us the the popup for object editing.
appreciate your valuable inputs.
Regards,
Amar KamatWe found the problem.
The structure was being locked by a user in the QA system and overnight the M version finally activated after another transport attempt.
The second structure with this problem was only referenced as a local object (even though it had a proper tech name and package assignment) preventing its activation in the QA system. We needed to hack the query tables to make it look like a proper global structure, then re-transported and it activated. -
Tones checkbox not showing up in preferences popup.
Tones checkbox not showing up in preferences popup along with the other checkboxes in itunes 12.0.1, please help me i am terrified.!!!
I am now attempting to "repair" my Adobe Acrobat installation to see if this might fix the issue.... I did this by opening Adobe Acrobat X1 Pro > Help >Repair ....Installation... I will let you know how it goes..
-
All of sudden now the 'join the conversation' pop up in usatoday.com does not show content.
The box will pop up but is blank.
Will not allow me to post.
Any fixes for this?
ThanksDoes this issue occur on another browser? (Not Google Chrome)
If it does, this is most likely just a website programming error. Simply report the issue to the website development team. There is nothing we can do on this end.
If it only occurs in Firefox, please try removing your Firefox cache and cookies. <sup>[https://support.mozilla.org/en-US/kb/clear-cache-history-and-personal-information (More Details)]</sup>
Please report back soon with the results. -
Region Popup Dialog doesn't show up in Detach mode
issue description:
1. There is a task-flow: filter-task-flow.xml, there is method call as default activity and always route to next one view activity filter , refer to below filter.jsf code
<af:panelGroupLayout id="pgl1" layout="vertical">
<af:popup childCreation="deferred" autoCancel="disabled" id="filterpopup" binding="#{backingBeanScope.filterBean.p1}" contentDelivery="lazy">
<af:dialog id="d2" ……/>
</af:popup>
</af:panelGroupLayout>
2. In my report.jsff page, there is a command button and a region with filter-task-flow.xml , refer to below
<fnd:applicationsTreeTable featuresOff="wrap " actionsMenuRendered="false" primaryToolbarRendered="true" secondaryToolbarRendered="true" >
<f:facet name="treeTable">
<af:treeTable …..>
</af:treeTable>
</f:facet>
<f:facet name="appsTreeTableSecondaryToolbar">
<af:toolbar id="t1">
<af:commandToolbarButton id="filter2" text="Filter" rendered="true" >
<af:showPopupBehavior triggerType="click" popupId=":::fr1:filterpopup"/>
</af:commandToolbarButton>
</af:toolbar>
</ fnd:applicationsTreeTable>
<af:region value="#{bindings.filtertaskflow1.regionModel}" id="fr1"/>
3. In page definition reportPageDef.xml for report.jsff page, there is below definition.
<taskFlow id="filtertaskflow1"
taskFlowId="/WEB-INF/…../filter/flow/filter-task-flow.xml#filter-task-flow"
xmlns="http://xmlns.oracle.com/adf/controller/binding"
activation="deferred">
<parameters>
<parameter id="selectedSubTab" value="#{backingBeanScope.apprAppraisalPMOCRBean.selectedSubTabKey}"/>
<parameter id="planId" value="#{backingBeanScope.apprAppraisalPMOCRBean.planId}"/>
<parameter id="mgrEventId" value="#{backingBeanScope.apprAppraisalPMOCRBean.mgrEventId}"/>
</parameters>
</taskFlow>
4. Now if I go to this page(report.jsff) and click command tool bar button Filter , popup dialog works. And enter Detach mode, click Filter again, popup dialog works.
5. But if I go the this page(report.jsff) and enter Detach mode before clicking Filter button, then try to click Filter button, popup dialog doesn’t show up without any issue/error in UI & console. Then I exit Detach mode, and click Filter button again, It will still not popup any more until you reopen the page and click Filter button firstly.
Appreciate for any suggestion. Thanks a lot.resolved. just need move dialog from region to report.jsff page and keep table content in region. that's all
-
Issue in FF v 3.6.10: I have a web page which have more than 20 link, clicking on each of these link opens up a pop-up using window.showModalDialog, for the first consecutive 20 popup opens up without any prob but for the 21st n more click it block the popup and do not open. This is m problem, the real user on the web page can click on more than 20 link in such a scenario it may create problem, please help
Your above posted system details show outdated plugin(s) with known security and stability risks.
*Shockwave Flash 9.0 r999
Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
*http://www.adobe.com/software/flash/about/
In Firefox 3.6 and later versions you need the Next-Generation Java™ Plug-In present in Java 6 U10 and later (Linux: libnpjp2.so; Windows: npjp2.dll).
http://java.com/en/download/faq/firefox_newplugin.xml
See also http://java.sun.com/javase/6/webnotes/install/jre/manual-plugin-install-linux.html -
Fiscal Year / Periods does not show properly in WebI and compunding
Hi,
I have few reports where I am using Fiscal Year /Period as filter.
I have created a Universe on the top of a SAP BI Query and did not do any customization.
Then I created a WebI report. In this report I created various filters beside Fiscal Year / Period. When I run report, filter window opens. I can select all other filters but when it comes to Fiscal Year / Period it does not show me the values I want to see. It shows AUG 0001, APR 0025 etc. I want to see AUG 2010, MAR 2009 etc so that I can select them and get the data of the required Fiscal Year / Period. In Cube I have the required data. If I select MAR 0010 etc I donu2019t get any data.
On the other hand if I put fiscal Year / Period in columns or rows it shows the right value.
If also run SAP BI Query and Fiscal Year / Period in Variable then on variable screen I can see the right value from where I can select and get the required result.
Do I have to do any step at Universe level or something else?
It seems that Fiscal Year / Period is compounding.
Is there any help?
Thanks
Bashir AwanIngo,
for thanks for igniting my thoughts in this regards.
Yes these values do exist in SAP BW.
It is some how compunding the values at filter level.
It does not let me see the whole value when filter screen popup in BOBJ.
In SAP whole value shows when variable screen popup, I see three columns Fiscal Year / Period. Text, Posting Period Key, and Posting Year Key.
Fiscal year / Period Text which shows Aug 2009, Posting Period Key which shows our period 1 to 16, and Fiscal year key which shows 2009 etc.
Is there any setting in BOBJ which compunds the year for variable screen so that we may see the whole values for filters?
thanks -
I am the Windows admin for a university department and install PCs with Firefox all the time. This problem does not happen with every PC I maintain, only a select few (different model laptops with Windows 8.1 and update 1.) Until today, it only happened with new user accounts (with admin rights) that I setup on the laptops for our staff. Today this happened with The Administrator account while setting up a new laptop. In all cases so far, I install Windows from a saved image that was created using sysprep.
I have tried the many suggestions of resetting Firefox, deleting the users Firefox profile, deleting the users Windows profile, uninstalling/reinstalling Firefox, uninstalling/reinstalling Firefox and the latest Java, but nothing helps. After uninstalling, I run an app to delete temp files and caches and will even manually remove registry keys HKLM\SOFTWARE\Mozilla and HKCU\SOFTWARE\Mozilla. Plus I reboot and make sure the install folder is deleted after uninstall.
Results are the same: after installing Firefox 31, the initial setup window for migrating IE and/or Chrome pops up and after clicking the Finish button, Firefox starts, but does not show the initial new user page, only a blank page. Clicking on the Options button (3 bars) does nothing. Right-clicking in the proper area, the popup menu appears so I can choose to Customize, but that only opens another tab with about:customize in the URL and the page is blank. From the right-click popup menu, I can enable the Menu Bar and get to Options from that.
My latest attempt has helped a little. I uninstalled Firefox 31, cleaned up, deleted user Firefox profile, rebooted and then installed Firefox 30. Inital startup runs, and tells me I'm not up to date, and the Options button works. But I still cannot customize.
I then upgraded to Firefox 31, but then it's back to no startup page, no options button and no customize. I can downgrade to 30 and get all but customize working again.
Only Addon is one for McAfee Scriptscan for Firefox 15.1.0, which just after installing is disabled.
Any help would be appreciated. Thank you.Ok. I disabled hardware acceleration. The only extension is the McAfee Scriptscan for Firefox 15.1.0, which was already disabled. I then disabled all plugins (Acrobat, Google Update, Intel Identity Protection (2x), Java Deployment Toolkit, Java Platform, MS Office 2013, Quicktime, Shockwave, Silverlight), which were all up to date.
Normal or safe mode still has same result. No startup, no option button and no customize.
Thanks for your help. Got any other suggestions? -
After importing clips to Final Cut, they do not show up in the events library. Events from 2014 show up, but not 2015.They show up in the timeline of my project, though. How can I see them in the events browser?
TThose aren't bins. Those are just groupings based on when the content was created or any other selected parameter. Use the action popup in the toolbar tho change the setting.
Maybe you are looking for
-
Add text to downloaded CSV file
Hi. I'm trying to place a text at the bottom of the csv file, but I can not find the way to do it. What I'm trying to do is, after all rows downloaded in my csv file, I'd like to place a general comment in the next row regarding some information abou
-
Subqueries in a PreparedStatement
Hi, I am using a subquery in a prepared statement as follows INSERT INTO CTL_ALERT_EXCEPTION(ALERT_EXCEPTION_ID, MPAN, ALERT_TYPE, DATE_TIME_RAISED, STATUS, SUPPLIER_ID, ALERT_ID1) VALUES (ALERTEXCEPTIONID_SEQ.NEXTVAL, ?, ?, SYSDATE, 'OPEN', ?, (SELE
-
Info on JNI exception handling
Hi, Consider the scenario where a Java app uses JNI for accessing native methods. I found one documentation saying that whenever environment related calls are made on the native side like env->FindClass (DI_PROP); we have to call functions env->Excep
-
Compressor shuts down when I try to load a mov file.
I am trying to make a DVD. I have edited the film in FCP and now want to put it on to DVD but I must use Compressor, the file is about 500meg, about three minutes long. When I set Compressor to do a DVD for me and attempt to load the mov file it clos
-
Transaction CN22 - Component check availability
Hello experts, I am looking for a BAPI or a function module that can do both availability check on a network component and then save the network. I am thinking of BDC programming if I don't really have other choice. Does anyone have any ideas that ca