Show popup in jsff at page load
Hi,
I see a lot of posts and blogs discussing the scenario of showing af popup at page load but could not find a case where the popup component is in a jsff page fragment.
I have a popup in a jsff page fragment which goes as a region in multiple jspx pages. I need to show the popup when the page loads.
how can I achieve this? I tried using javascript in the page fragment but it didn't work.
Any pointers please...
Thanks.
The solution depends on your jdev version. However, Frank sumarized all of them in this blog http://www.oracle.com/technetwork/developer-tools/adf/learnmore/108-triggerpopupinregion-1994836.pdf
Timo
Similar Messages
-
HELP - ADF show popup on jsff startup
Hi ALL,
I am using adf and the <af:popup, and I am trying to show the popup after the page(jsff) is rendered.
I see there is a thread on OTN and Frank has his comments on that, but it’s talking about jspx, I’m using jsff.
ADF load popup on startup
Here’s what I’ve tried:
Add a dummy component to the page, make it render but invisible, add a binding in its bean class, add getter and setter for the dummy component. In its getter, show the popup(its getter should be called during page rendering phase – and it is called), but I’m getting null pointer exception at popup.show() inside the dummy component’s getter method.
Correct me if I’m wrong and really appreciate if any of you can guide me on how to achieve this.
Thanks,
XiaobinPut it inside your popup and try again.
If it still doesn't work, you should take a look at phase listener -
How i can get the Bar showing the amount of Web Page loaded as in Version 3.6.13
In Firefox Ver 3.6.13, when we open a webpage, in the lower right corner we see a bar which shows the position of Page loading by a moving green blocks in tthat Bar which i do not see in Firefox 5
This can be a problem with the file places.sqlite that stores the bookmarks and the history.
* http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox -
How can I show the progress of web page loading only in the right bottom of screen?
When I downloaded the first Firefox upgrade that had no progress bar, I somehow found out how to stop the new progress bar (that shows all the progress in web addresses rather than a progressive bar) from jumping around in the bottom left or right of the screen. I had it only appearing in the bottom right of screen. Now a new version of Firefox has been downloaded and is once again jumping around from left to right depending what else is showing on the screen. Most annoying, how do I get it to always appear & remain in only the bottom right again.
Thanks in anticipation, Katnko.Hi Cor-el, thanks for your help. Is there a help file anywhere for Status-r-Evar? I don't understand which way to set all the Options, as it is great having the green status bar showin once again, but I wouldn't mind keeping the name of the file that is progressing as well. Do you understand what I mean? Thanks, Katnko
-
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 -
Setpropertyactionlistener on JSFF page load
Can I call af:setPropertyActionListener ona JSF fragment page load. Otherwise, how would I go about setting a property on my managed bean when a JSFF loads.
I'm using Jdeveloper 11g, with Oracle ADF faces.Hi 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 -
Looking for hook into a mb method on page load of jsff with auto query on view criteria.
Hello,
I have a View Criteria that is set to Query Automatically (showing data to match today's date). The target table has a detail table and there is a control that shows parsed XML from the current row in the detail table into a table that I build dynamically. The main table and the detail table show the proper data on page load but the table for the parsed XML is empty. The dynamic table is bound to a managed bean where the parsing is done and data is created. I have the control refreshing properly on a row change of the main and detail tables and on a queryListener for the view criteria.
This is for a jsff page. I have been trying a bunch of approaches with no success. The detail table has a ppr to the main table and the query. I am looking some event on either the query, the main table or the detail table where I can make a call to my managed bean to parse the XML, build the table and refresh the control. I have an attribute binding to the XML data (when I placed it in a control as plane XML it refreshed properly). I only need this on initial page load or first time the tables are populated, I have the other use cases covered.
Running JDev 11.1.2.4
Thank you
Rudyok but where?
i have read a topic about "setRefreshOption", but i need a component to execute it.
i have read a topic about a false criteria (1=2), and when i want search, i remove it, but again, i need a component to execute it.
i have read a topic about ${adfFacesContext.postback == true} to write into iterator proeprty, but i haven't this view into my appmodule.
i'm really sorry, but please, can you explain me a little ?
Edited by: bradici on 8 oct. 2009 16:36 -
Where is my page loading indicator bar that used to appear in the address box?
Just updated to FF 36.0.1. Now I no longer have the red bar that used to appear in my address box that showed the progress of a page loading. Do I need to set an option somewhere or is it an extension/plugin?
If you had a progress bar in the address bar, I think that probably was created by an extension. Perhaps the extension needs to be updated? You can check for extension updates on the Add-ons page. Either:
* Ctrl+Shift+a
* "3-bar" menu button (or Tools menu) > Add-ons
In the left column, click Extensions. Then on the right side, above the list, click the "gear" button and Check for Updates.
Also, if the extension is disabled it will appear at the bottom of the list on a grayed background. Hopefully after any available update you can re-enable it in that case.
Any improvement? -
Popup on page load using managed bean, using jdev-11.4
Hi,
My requirement is on the button click from page 1 the control should get passed to new window(2nd page), and the popup should be opened on load.
And after clicking button on the pop-up the control should get transferred to the 3rd page.
Please let me know how to do this.
Thanks,
NitinHere, is a sample based on the mentioned use-case.
1) Create three pages namely FirstPage, SecondPage & ThirdPage
2) Create the following navigation rules
From FirstPage to SecondPage ==> gotoSecond
From SecondPage to ThirdPage ==> gotoThird
3) The following code snippets show the flow.
FirstPage.jspx:
<af:document id="d1">
<af:form id="f1">
<af:commandButton text="Go to Second Page" id="cb1"
action="gotoSecond"/>
</af:form>
</af:document>
SecondPage.jspx:
*<f:view beforePhase="#{SecondPageBean.phaseListener}">*
<af:document id="d1">
<af:form id="f1">
<af:popup id="p1" binding="#{SecondPageBean.popup}">
<af:dialog id="d2" closeIconVisible="false" type="none">
<af:outputLabel value="Popup Contents" id="ol1"/>
*<af:commandButton text="Go to Third Page" id="cb1"*
action="gotoThird"/>
</af:dialog>
</af:popup>
</af:form>
</af:document>
</f:view>
SecondPageBean.java:
import javax.faces.event.PhaseEvent;
import oracle.adf.view.rich.component.rich.RichPopup;
public class SecondPageBean {
private RichPopup popup;
public SecondPageBean() {
*public void phaseListener(PhaseEvent phaseEvent) {*
*if (phaseEvent.getPhaseId().equals(phaseEvent.getPhaseId().RENDER_RESPONSE)) {*
RichPopup.PopupHints hints = new RichPopup.PopupHints();
popup.show(hints);
public void setPopup(RichPopup popup) {
this.popup = popup;
public RichPopup getPopup() {
return popup;
ThirdPage.jspx:
<af:document id="d1">
<af:form id="f1">
<af:outputLabel value="In Page3" id="ol1"/>
</af:form>
</af:document>
Thanks,
Navaneeth -
How to show modal window without popup in a web page using javascript
Hi,
How to show modal window without popup in a web page using javascript, means when the modalwindow is opened it should not ask for popup blocker alert......
pls help me.....Thanx for ur reply,
Actually the senario is when i click on a button, another jsp page should be displayed in a modal window without popup, but the functions alert() and confirm() will not accept the url path of the another jsp page... -
Modal popup with lightbox effect on page load
Hi friends,
I was looking for help for making a windows modal popup with reads a url from xml file and load it into windows modal popup in the centre of the screen on page load. The requirement was also that it will dim the rest of the page. After searching at several places I got hint at:
http://forums.adobe.com/message/746503
Now there are two issues that background page is not getting dim and if any one can help me in telling how to load flash modal popup on pageload. I dont want it to be annoyed so just want to load popup once a session of once a day only on first page, I am trying cookies but I dont know why I it is not reading cookies in production environment. There are lot of examples available in javascript and silverlight but I want in flash.
Any help shall be highly appreciated.Thanks. Unfortunately I'm not sure the code will apply to my
situation... I'm actually not using a Spry dataset in any way, just
some Spry effects to enhance my own markup (which comes from a PHP
page but is static as far as the document is concerned.)
If I put the Spry effect in the body onload handler, the
element appears for a second as the page loads, then disappears
suddenly as the Spry fade in effect kicks in bringing it from 0 to
100.
Another related question, I would like the Spry effect to to
fade in with some values ending at the values as set by my CSS
class... is it possible to have it do so? In other words fade from
0 to current value? I know there are some ways to retrieve default
styling of an element but figure Spry might have something built
in? -
on the zynga game, mafia wars, every time i click on something within the game a get a popup that says "Requested URL not found: 400" all pages load fine it just gives the message every time i click something, how can i stop this?
Sorry, the above thread should have been a "new" post, not a reply post.
-
Images are not showing when page load
Hello All
I am having lot of webparts on my page.
In two of them webpart i applied xslt and showing image of created by person in this
1)Announcement webpart(Wall updates)
2)Showing blog using content by query webpart(Blogs)
While page loading not able to load images in both webpart view.
But when i decreases webparts on page images rendered properly.
I think it is taking time to fetch images so timeout and showing default images.
Kindly suggest me some way to tackle and images will displayed properly
Thanks in advance
Varsha PatilHi,
According to this documentation from MSDN about
SharePoint Server 2010 capacity management: Software boundaries and limits:
“In SharePoint Server 2010, there are certain limits that are by design and cannot be exceeded”, “The default values for these limits were defined by testing, and represent the known
limitations of the product. Exceeding supported limits may cause unexpected results, significant decrease in performance, or other harmful effects”, “in most cases, operating at or near an established limit is not a best practice, as acceptable performance
and reliability targets are best achieved when a farm’s design provides for a reasonable balance of limits values”.
So it is not recommended to add many web parts into one page.
If there is a special need to display many web parts in one page, it is recommended to reorganize the content to minimize the number of web parts in use and customization will
be needed sometimes if the built-in web parts can’t meet the requirement.
Best regards
Patrick Liang
TechNet Community Support -
The webpage declined to show this webpage when WebPart Page is loaded
I have a webpart page when I try to open that page I'm getting. The webpage declined to show this webpage.It loaded when the part was added to the page first time.But when I redeployed the WSP I'm getting this error.
Please help me in this.
Thanks & Regards,
Mathi.
With Regards, Mathi.Hi,
According to your post, my understanding is that the webpage declined to show this webpage when WebPart Page was loaded.
The problem was within the web part page. A web part was causing the page to 403. Some configuration to the web part had made the web part no longer permissible to show to the user. Instead of just not showing the web part, SharePoint declines to show the
web part page.
To resolve the problem, go to the Web Part Page Maintenance page for the page that is giving the 403 error:
http://ServerName/SiteName/_layouts/spcontnt.aspx?&url=%2fSiteName%2fPages%2fPageName.aspx
One by one disable the web parts. One of them is the problem. When it is disabled, the page will display properly to the user.
You’d better to delete the web part and re-add it.
There is an article for your reference, although it is about the SharePoint 2007, it still works for SharePoint 2010.
http://dlairman.wordpress.com/2010/10/12/error-the-website-declined-to-show-this-webpage-http-403/
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
Large number of Hide/Show regions on a page, can't hide on page load
I have a large number of Hide/Show regions on a page, 14 right now to be exact. I want all of these regions to start hidden when the page loads. In order to do this I have the following code in the onload page html body attribute:
onLoad="document.getElementById('region3').style.display = 'none';
document.getElementById('shIMG3').src = '/i/htmldb/builder/rollup_plus_dgray.gif'
document.getElementById('region19').style.display = 'none';
document.getElementById('shIMG19').src ='/i/htmldb/builder/rollup_plus_dgray.gif'"
This works fine when I have 13 or fewer hide/show regions on the page. When I add the 14th region to the page, all the regions on the page start off as not hidden.
Anyone have any idea why this could be happening? (I'm using Apex version 2.0)
Thanks
- Brianno ideas?
Maybe you are looking for
-
Getting INTERNAL_ERROR while updating tasks in OIM
Hi, I have written a custom connector and wrote tasks to update the attributes in the target system. After the approval workflow the user got provisioned to the target system and i am able to update all the attributes like firstname,lastname etc. I h
-
We tried to call Verizon customer services a few times requesting to close the wireless account since 05/12, but now we still have the account opening. We talked with the customer services, they first said that they can't close it and we have to wai
-
Is there any to restrict the no of display fields in alv grid using oops?
hi, i have 100 field in an internal table , and i passed that internal table to set_table_for_first_display, Now my aim is to display only 20 fields among that 100, these twenty may vary based on selection but count of fields should be always 20. Is
-
Plant Level Restriction in Tx. OX09
Hi, I have an requirement to make restriction at plant level while executing transaction OX09. i checked transaction and found it is using SM30. But while executing this transaction i receive below screen for Plant selection. can we make restriction
-
Forescout mobile security solution vs Cisco ISE
Hi, Can anyone provide me any link or document for comparison between "Forescout mobile security solution vs Cisco ISE". Thanks in Advance Manthan