Interactive "on page load" animations in swf get messed up if clicked too fast

interactive "on page load" animations in swf get messed up if I click too fast "next page" or "previous page".
It seemes it can't manage on "page load" animations so fast, so as a result i have mixed animations for example of page1 and page2.
if page1 has animation1 and 2 and i clicked next page, the next animation to appear is number 3 of page 2 , instead of number 1 which must be the first one to be triggered.
This only happens if i click fast and several times the "next page" or "previous page.

I have to say what you are trying might not be the best technique. The show hide might work ok for one or two items on a page but when you use it in the manner you are you are going to have the issues that you are now having...not to mention longer page loading do to larger file size of the page. My suggestion is to look into jquery and there are many plugins that can be modded to look the way you want however perform ten times better then using AP divs with show/hide.
Here is one example that I found of a jquery plugin. There  plugin after plugin on the web for every scenario and they all can be modded to fit you needs. Do a search and you will eventually find something that fits your needs.
http://www.twospy.com/galleriffic/#7
http://www.twospy.com/galleriffic/example-2.html

Similar Messages

  • When I go to a web page power point presentation saved as Adobe the first page loads then I keep getting error message:

    I have Adobe Acrobat Pro XI
    And its up to date.
    When I go to a web page Power point presentation saved as Adobe the first page loads then I keep getting error message:
    There was a problem reading this document (14)
    I've tried refreshing the download.
    Im using IE 11
    windows 8.1
    Any ideas how to fix this?

    [moving discussion to Creating, Editing & Exporting PDFs forum]

  • Custom Page-Loading Animation?

    I am wondering if there is a way to export a custom animation out of edge animate or after effects and use it to replace the stock loading status bar in a Muse site?
    If not, maybe there is a way to add it in on the Business Catalyst end?
    Ive looked everywhere and cannot find an answer or anyone even talking about it. :/

    search for "preloader" - they yhave been around for years and
    hundreds/thousands of tutorials all
    over the web - i myself post links to preloaders in the forum
    weekly:
    www.kirupa.com has some
    www.gotoandlearn.com
    there are more if you want to google or search forum archive.
    --> **Adobe Certified Expert**
    --> www.mudbubble.com
    --> www.keyframer.com
    margietravis wrote:
    > All I need is the animation that shows the page loading
    until it does. The rest
    > of the site is html (done in Dreamweaver) but there are
    several pages with
    > flash that are taking a long time to load. I don't know
    why I'm having such a
    > hard time finding what seems to me to be one of the most
    simple/common
    > animations. Can anyone point me in the right direction?
    >
    > Thanks.
    >

  • Pages load automatically when curser is over link (no click)

    hi, i hope this isn't a dumb question...am migrating to a new macbook (was using an ancient one), and am incredibly annoyed by the "jumping" quality of the cursor, especially in internet applications. for example, in hotmail, if the cursor is over a javascript link (hotmail's own, such as "inbox") and then moved, it drags the link across the page (and sometimes attempts unsuccessfully to load java, which sends me to an error page). or if it is over an ad for more than two seconds, with no click from me, it loads that page. or--especially dangerous--if it is inadvertently left over the "send" button in email apps, it sends! yikes--no click from me, unfinished emails, you know how risky this could be! so, am wondering if there is any way to disable this automatic feature. i HATE it!!!! please help.

    Firefox 4.0b7 eliminated the Status bar, it is replaced by the Add-on bar. When you mouse-over a hyperlink, the URL appears in the Location bar to the right of the current URL in slightly faint type. The page loading indicator is on the left side of the Tab, but it doesn't show the progress as before, only that the page is loading (or not).
    You can restore the functions of the old Statusbar with the '''Status4Evar''' extension. The three Statusbar items are in the Customize Palette. <br />
    https://addons.mozilla.org/en-US/firefox/addon/235283/

  • Ever since updating to ff3.6 my ebay pages load funny after I get thru the initial screen. the formatting is all screwed from the way it should be and all images have disapppeared. WAZUP????

    I get to the MY EBAY screen ok most of the time but if I want to go search for something or view one of the items I am bidding on the page display get all screwed up. It seems as if the page was disassembled in pieces and stretched out vertically. All images are gone and everything is out of place.

    Do you have a backup that you can restore from? Your old hard drive seems to be the problem.

  • Error 2032 loading xml from swf

    Hello everyone.
    I have a php site (based on Joomla! CMS). In one php page, there is a <object> element wich loads the Adobe Flex 1.5 swf file that I have developed (Slideshow.swf). This swf file is a slideshow that loads a xml file using a httpservice. The xml file contains the urls to the images to be shown. The error occurs when thw swf file tries to load the xml file, but not always.
    - SITUATION 1: Visiting http://localhost/Slideshow.html or http://localhost/Slideshow.swf
      The html and the swf are the files generated by Adobe Flex builder.
      Navigators: IE 8, Mozila Firefox 3.5.5
       --> Yes, it works!!
    - SITUATION 2: Visiting http://mydomaing.com/folder1/folder2/Slideshow.html or http://mydomaing.com/folder1/folder2/Slideshow.swf
      The html and the swf are the files generated by Adobe Flex builder.
      Navigators:
         IE 8 --> Yes, it works!!
         Mozila Firefox 3.5.5   --> I don't get Error 2032, but the images can't be found. This is another problem...
    - SITUATION 3: Visiting http://mydomain.com
      Navigators: IE 8, Mozila Firefox 3.5.5
      --> No, it doesnt' work!! I get Error 2032!!
      The whole page loads. The swf loads, but when the swf tries to load the xml file, the fault event is throwed. Then I use an Alert.show. I'll give you as much information as I can:
    ERROR MESSAGE (FOR SITUATION 3)
    Message: faultCode:Server.Error.Request faultString:'HTTP request error' faultDetail:'Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032"]. URL: ./slideshowGallery.xml'
    Name: Error
    Root cause: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032"]
    Error ID: 0
    Fault code: Server.Error.Request
    Fault detail: Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032"]. URL: ./slideshowGallery.xml
    Fault string: HTTP request error
    FLEX CODE
    <mx:Application 
    xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init();"
    The init method:
    private  
    function init():void{ 
    httpService.send();
    The httpservice element:
    <mx:HTTPServiceid="httpService"url="
    ./slideshowGallery.xml"resultFormat="
    e4x"fault="httpService_fault(event);"
    result="httpService_result(event)"
    />
    I think the handlers don't care. In SITUATION 3, the send() invocation always triggers the fault handler.
    The xml file is in the same folder as the swf file (I use ./slideshowGallery.xml for the url field of the httpservice element).
    This is the html code generated by the php page of my site:
    <div id="ol-flashheader">
    <object type="application/x-shockwave-flash" data="/templates/mx_joofree2/images/header.swf" width="700" height="240">
    <param name="wmode" value="transparent" />
    <param name="movie" value="/templates/mx_joofree2/images/header.swf" />
    </object>
    </div>
    Note: header.swf is my Slideshow.swf renamed.
    Ah, I have also a cross-domain policy file: http://mydomain.com/crossdomain.xml. And the following is curious. The content is:
    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy
    SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
      <allow-access-from domain=www.mydomain.com />
      <allow-access-from domain="mydomain.com" />
      <allow-access-from domain="*.mydomain.com" />
    </cross-domain-policy>
    But when i visit http://mydomain.com/crossdomain.xml with IE 8 what i see is:
    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy
    SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
      <allow-access-from domain=www.mydomain.com secure="true"/>
      <allow-access-from domain="mydomain.com" secure="true"/>
      <allow-access-from domain="*.mydomain.com" secure="true"/>
    </cross-domain-policy>
    But, when i visit that url with Firefox... correct, It doesn't adds the secure="true" attributes!! jajaja
    Please, I need some advise to solve this problem.
    Thank you very much.
    When I visit the web page (www.mydomain.com) and the swf tries to load

    I haven't found the solution yet, but i can give more info:
    I have modified the crossdomain.xml file to set secure="false". This way, when you view it with Internet Explorer, you can see secure="false" instead of secure="true". But this didn't solve the problem.
    I have read somewhere that avoiding Internet Explorer to cache files, could help. So, I have added the next line to the <header> section of the php page that contains the <object> tag that loads sthe swf file:
    <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
    This didn't solve the problem.
    Regards.

  • ADF Question: included jsp action firing after page load

    Hi all,
    I am using JDeveloper 10.1.3.3 and ADF + BC.
    Here is another interesting situation for you. I have a page with an included jsp at the top with tabbed navigation.
    My page is for entering an order. Users can have multiple orders "open" in other tabs at the same time. Users can also have many other non-order pages opened in tabs. We are using the same View Objects (Entity Based) along with Transient View Objects on each order.
    Each order tab needs to "remember" the orderId so that when the user clicks on a tab, the appropriate rows are set in the order that is to be "opened". This occurs in a tab's action() - setting the orderId and forwarding to the appropriate page (if different) or reloading the same page with the new id.
    On page load we try to get the tab's orderId and load that as the current row of all of our view objects. This should make it seem like they are all concurrently running.
    The problem is when going from order to order, once the tab is clicked, the page's OnPageLoad method runs BEFORE the action of the tab click is processed. Therefore the order that loads thinks it is the previous order, and does not load the correct View Object rows.
    Does anyone know how we can force the tab action to occur before the page load so that we can get the proper orderId?
    Thanks,
    Heather

    Thanks for your speedy reply Frank,
    We are using the onPageLoad from the OnPageLoadBackingBeanBase which implements the PagePhaseListener.
    In this we are doing something like:
            if (isPostback()) {
                String selectedTabNum =
                    EL.getAsString("#{TabCounter.currentSelectedTab}");
                String test = EL.getAsString("#{TabCounter.tabOrderId" + selectedTabNum + "}");
                System.out.println("tab num " + selectedTabNum);
                System.out.println( "testing " + test );
            }our tab counter (a session bean) has these two methods (among others):
        public void setCurrentSelectedTab(int currentSelectedTab) {
            this.currentSelectedTab = currentSelectedTab;
            for(int i=1;i<= 20; i++) {
                EL.set(BACKING_START+"selectedTab"+i+"}", false);
            EL.set(BACKING_START+"selectedTab"+currentSelectedTab+"}", true);
        public String getNextAvailableTab () {
            for(int i=2;i<=20;i++) {
                boolean isTab = (new Boolean (String.valueOf(EL.get(BACKING_START+"render"+i+"}")))).booleanValue();
                if (!isTab) {
                    return String.valueOf(i);
            return "0";
        }our tab header (request bean) has this method as the action for clicking a tab:
            System.out.println("handleTabNavigation");
            String componentId = actionEvent.getComponent().getId();
            String selectedTab = componentId.replaceFirst("tab","");
            int selectedTabNum = new Integer(selectedTab).intValue();
            EL.set("#{TabCounter.currentSelectedTab}", selectedTabNum);
            String tabType = EL.getAsString("#{TabCounter.tabType"+selectedTabNum+"}");
            if (tabType.equals("regular")) {
                String orderId = EL.getAsString("#{TabCounter.tabOrderId"+selectedTabNum+"}");
                EL.set("#{processScope.unfinishedHeaderId}", orderId);
            } else if (tabType.equals("standing")) {
                String orderId = EL.getAsString("#{TabCounter.tabOrderId"+selectedTabNum+"}");           
            }Thanks,
    Heather

  • Dialog Box Open before Page load using af:CommandNavigationItem

    Hi,
    I have a CommandNavigationItem menu, the requirement is simple.
    Use Case:
    1. On click of one of the menu item, i need to display a message or prompt user to select "OK" or "Cancel"
    2. If user clicks "OK" will navigate to the require page. and "Cancel" will stay on the page.
    I have used couple of things like, creating a af:popup with a af:dialog and calling this popup from managed bean on page load, it works fine get a popup with a "OK" "Cancel" text. But the problem is it opens the popup fine but the parent page get loaded also.
    Please help me to find any solution? Will appreciate your time!!
    Thanks
    Neeraj Halder

    thanks vinod,
    I have tried but struggling with binding of the popup.
    1. let say when i login to my application my first page is "homeView.jspx", so on homeView.jspx i have written the code for popup.
    2. And in the menu i have "home" and "details", so when i click the "details" menu this popup should open, and on clicking ok it should navigate me to the Details page, as you suggested ActionListner for that.
    Please see below what i have done till yet.
    ActionListener Code:
    /*code in jsp
    actionListener="#{backingBeanScope.testViewBean.checkOnClickofDetails}"
    /* code in java with a backing bean scope
    private RichPopup validationMessageDialog;// popup id
    public void checkOnClickofDetails(ActionEvent actionEvent) {
    RichPopup.PopupHints popupHints = new RichPopup.PopupHints();
    getValidationMessageDialog().show(popupHints); //
    popup in homeView.jspx
    <af:popup id="validationMessageDialog"
    binding="#{backingBeanScope.testViewBean.validationMessageDialog}">
    <af:dialog id="d3" cancelTextAndAccessKey="cancel"
    dialogListener="#{backingBeanScope.testViewBean.loadDetails}"
    title="Prompt">
    <af:outputText value="#{msg.AGENT_NOT_FOUND}" id="ot3"/>
    </af:dialog>
    My doubt is i am doing something wrong with the scope of the managed bean. in the above code i have used backing bean scope,
    let say i have a java file example ABC.java, which is a backing bean scope given in adfc-config.xml. can i use this one java file for two of three different jspx as a backing bean? Hope i am clear here? :)
    2) when we create a jspx and its backing bean at a time, is there any internal mapping happen apart from adfc-config.xml that one jspx will have only one java file as a backing bean?
    Sorry if i am making this more complicated, above question comes because, when i move the same popup code in "Details.jspx" page and at the time of creation of this page i have created backing bean also so when i calling this function on page load "checkOnClickofDetails" which is in the Details.java (backing bean) the popup comes fine. but unfortunately cannot use this because parent page get laoded with this popup also.
    let me know if i am doing something wrong?
    Thanks,
    Neeraj Halder

  • Issue with invoking javascript during jspx page load

    Hi All,
    I am using Jdeveloper 11gR2.
    I have embedded a small javascript snippet in the adf page to invoke a managed bean method during page load.
    <af:serverListener type="onloadEvent" method="#{AMBean.click}"/>
                <af:clientListener method="onLoadClient" type="load"/>
                <af:resource type="javascript">function onLoadClient(event) {AdfCustomEvent.queue(event.getSource(),"onloadEvent",{},false); return true;}</af:resource>
    In the associated managed bean method, I want to change the setContentStyle of all the input text field found during run time -
            System.out.println("There control is inside the listeners");
            FacesContext facesContext = FacesContext.getCurrentInstance();
            System.out.println("facesContext"+facesContext);
            UIViewRoot root = facesContext.getViewRoot();
            System.out.println("root - " +root);
            RichPanelFormLayout formClass = (RichPanelFormLayout)root.findComponent("db");
            System.out.println("formClass - " + formClass);
            List<UIComponent> uiComponentList = formClass.getChildren();
                  for (UIComponent uiComponent : uiComponentList) {
                      if (uiComponent instanceof RichInputText) {
                          //((RichInputText)uiComponent).setDisabled(false);
                          //((RichInputText)uiComponent).setColumns(100);
                         ((RichInputText)uiComponent).setContentStyle("width:200px");
                          System.out.println("uiComponent - " +uiComponent);
    Currently the javascript function "queues" the setContentStyle action for an action event, i.e. during the initial page load, the properties of text fields are not changed, however as soon as i click any button on the page, the text field width is reset to what I have defined in setContentStyle property.
    Is there a way to execute setContentStyle action as soon as the page loads initially?
    Best Regards,
    Ankit Gupta

    Hi Arun,
    Many thanks for the revert.
    The exact Jdeveloper version is 11.1.2.4.39.64.36.1.
    I have a scenario where in the the user will be navigated to a page to display an input form, but the underlying VO will change during runtime which means depending on the value selected by the user, he will be shown an ADF form accordingly.
    Also during runtime, the number of input text fields will change according to the number of attributes in underlying VO.
    Kindly advise based on the use case explained above.
    Best Regards,
    Ankit Gupta

  • HTML website, SWF do a load animation only once. Same file used on all pages?

    Hey all,
    Just going through some thinking here. My HTML website is
    going to using a flash header and navigation. Now I will be using
    the same swf's on all of the pages across the site. I would like to
    play a loading animation only on the first time the swfs are
    loaded. Is there a way to do this? Or because I am using the same
    swf's will it be okay to just tell my mc to go sit on a specific
    frame and because it is in the cache each page will be using the
    same file so the mc will still be at that frame or???
    And help would be nice...

    While Breqent is right that server side includes are the best way of doing this if you aren't up on
    server side coding then you can use Dreamweaver to manage you menu.
    You do this by simply ensuring you never edit the menu area on any individual page.
    It should therefore be identical on all page and as such you can just use find and replace across the entire site or folder to edit all occurances of your menu.
    I hope this helps.
    Andy
    Best Reception

  • DPS and Edge - animation plays before page loads

    Hi-
    I have had a continuing challenge with animations created in Edge and placed into an Adobe DPS document. Short animations that are intended to play when the viewer gets to the page (onload) are already finished playing when the page is viewed. Other CSS3 and jquery based animations load as expected only when the page is navigated to and "in view".
    I was excited for the latest Edge release and CS6 hoping that this issue had been resolved, but it is still happening for me.
    Has this been resolved? Using an event handler or not checking "Autoplay" and requiring user interaction to initiate the animation are not the effect I want.
    Did you find a resolution to this?
    I also posted this question to the Edge forum...
    Thank you!!
    Shawn

    I don't recall mentioning onLoad, but since you mention it...
    Edge triggers auto-play animations off the onLoad event right now. In DPS publications the correct event to trigger on is onAppear. We're working with the Edge team to make sure that when you publish for DPS the auto-play animations look for the right event.
    Neil

  • How do I interact with a loaded swf?

    Hi,
    I have a "lesson" that I'm building that will display a series of "pages" based on an XML file. I have simple navigation buttons that work to page through the XML file. but I'd like to use load an external SWF file with buttons to use as my navigation panel. Everything is AS 3.0. The code to load the navigation movie looks like this:
    // load navigator
       navLoader = new Loader;
       navLoader.contentLoaderInfo.addEventListener(Event.INIT, handleInit);
       navLoader.x = 50;
       navLoader.y = 200;
       lessonSprite.addChild(navLoader);
       navLoader.load( new URLRequest("Navigator1.swf"));
    The loaded navigation movie has two buttons. How do I add an event listener to those buttons so that they call a function in the parent movie so I can detect when the user clicks on the button named "GoNext" in the loaded movie?  I've tried several ways but I've had no luck. Could someone please point me in the right direction? This navigation panel is only one application of this sort of communication that I'll need in other parts of this type of lesson so I really need to figure out how to detect user interaction interaction with the loaded movie. Guess I need to know how to call a function in the parent movie from the loaded movie.
    Thanks,
    Peter H.

    Hey Pete,
    The answer that you seek and the simplest one as well will be from the MouseEvent. that  you will most likely have applied to your loaded swf.
    As long as both swfs are in the same domain, you wont have any issues with security and therefor, the MouseEvent. which bubbles up, will be able to reach your swf file which has loaded it.
    You can then write your code in your loaded swf to simply listen to the loadedMovieClip  by targeting the contents of navLoader just like this,
    navLoader.content.addEventListener(MouseEvent.MOUSE_DOWN,onDown)
    protected function onDown(me:MouseEvent){
    now providing you have given your two buttons names in your loaded swf, you will be able to perform addition tasks by receiving the name of the target.
    protected function onDown(me:MouseEvent){
    var btnClip:Movie= me.target as MovieClip
              var btnName=btnClip.name
    if(btnName==(button1)){
         //do the following
    }else{
           //it was button two
    button1 was just a random name in this case .
    This will do the trick

  • Flash File Gets a White Border on Page loaded and link changes to hyperlink

    Hi,
    Flash File Gets a White Border on Page loaded and the mouse
    pointer changes to hyperlink Pls Help Its caused only in a System
    which has Win XP or higher version U can view the Bug at "
    www.prosystems.in"
    Regards,
    Francis

    > Also, I need to link the file a URL and putting <a
    href> brackets around it is
    > not working. Does the link to the page have to embedded
    in the swf file?
    wrapping an A HREF tag around a flash .swf object will not
    work.
    the link has to be "in" the swf, back when it was an FLA file
    in flash.
    Or- the .swf has to have actionscripting in it so that it
    will take a url as
    a parameter.
    On the flash not showing--
    Random observations from a quick look.
    There is no \ backslash in a web path or url.
    you can usually "get away with it" on a windows server, but
    it's incorrect
    and something to avoid.
    <!-- Dependencies -->
    <link type="text/css" rel="stylesheet"
    href="build\fonts\fonts.css">
    <!--<link type="text/css" rel="stylesheet"
    href="build\reset\reset.css">-->
    <script type="text/javascript"
    src="build\yahoo\yahoo.js"></script>
    <script type="text/javascript"
    src="build\dom\dom.js"></script>
    <script type="text/javascript"
    src="build\event\event.js"></script>
    <!-- Source file and calendar css -->
    <script type="text/javascript"
    src="build\calendar\calendar.js"></script>
    <link rel="stylesheet" type="text/css"
    href="build\calendar\assets\calendar.css" >
    The javascript call to show the flash file contains an
    absolute local path:
    'file:///Macintosh HD/Users/user/Documents/ Work/Nimble Press
    Ÿ/Grant
    Wrangler/Website/GW ADs/tiged
    The noscript tag uses an absolute local path:
    <param name="movie" value="file:///Macintosh
    HD/Users/user/Documents/
    Work/Nimble Press Ÿ/Grant Wrangler/Website/GW
    ADs/tiged.swf">
    <param name="quality" value="high">
    <embed src="file:///Macintosh HD/Users/user/Documents/
    Work/Nimble Press Ÿ/Grant Wrangler/Website/GW
    ADs/tiged.swf" quality="high"
    pluginspage="
    http://www.adobe.com
    it's also not a good idea to put things in a folder using a
    blank space, and
    whose name contains the word "ADs"
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • Getting Page Load Error while opening a Opportunity in new window

    Hi All,
    outbound SSO is enabled.
    when i try to punch-in to my application from CRM through opportunity web link with Web Link Target as "open in custom tab" its working properly, but when i have Web Link Target as "open in new window" i am getting page load error. previously with out Outbounf SSO it is working properly.
    Do i need enable any settings in CRM
    thanks

    when the web link target is "open in new window" or "open in current window" the request send to third party application from CRM ONDemand is HTTPS request as SSL is not enabled it is giving "page load error"(In the web link we are specifying http only) (User athentication type is "username & password/ SSO")
    Is there any setting in CRM Ondemand to send Http request only instead of HTTPS?

  • ADF ProcessScope -- I get a new AdfFacesContext on each page load

    I am trying to store some variables in the ADF processScope. But the next time the page is loaded and calls the managed bean methods, the AdfFacesContext is different, and so the processScope is empty. The managed bean is session scope, and I am setting the processScope variables in the bean's Java code.
    In particular this happens when I click on the af:table pagination links, e.g. the "next 25".
    How can I get access to the same AdfFacesContext (and therefore the same processScope) the next time the page loads and calls the managed bean?
    I am using JDeveloper 10.1.3.3.0.
    Here is the example code, and the output that is produced from my System.out.println statements:
    ========== Controller.java (session scope managed bean) ===============
    package adfproject;
    import java.util.Map;
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.List;
    import oracle.adf.view.faces.context.AdfFacesContext;
    public class Controller {
    private List<Map> list = new ArrayList<Map>();
    private String label;
    private static int counter;
    public Controller() {
    // initialize list with Map objects
    for ( int i = 1; i<10 ; i++) {
    Map map = new HashMap();
    map.put("A","first column");
    map.put("B", "row " + i);
    list.add(map);
    // called from JSP to initialize the ECO bean
    public String getLoad() {
    printAdfProcessContext("in getLoad");
    // get value from current process scope
    String currentLabel = (String)getProcessAttribute("LABEL");
    // print currentLabel
    System.out.println("current LABEL = "+currentLabel);
    // if currentLabel null, build new one with counter, incr counter
    if (currentLabel == null) {
    label = "xyz " + ++counter;
    System.out.println("new LABEL: "+label);
    // remember the current label in the process scope, and in member
    setProcessAttribute("LABEL",label);
    return ""; // empty string so nothing is displayed on web page
    public static void printAdfProcessContext(String label) {
    AdfFacesContext afCtx = AdfFacesContext.getCurrentInstance();
    System.out.println("============ "+label+" ===========");
    System.out.println("AdfFacesContext = "+afCtx);
    Map ps = afCtx.getProcessScope();
    System.out.println("Process scope = "+ps);
    * Get attribute from ADF "processScope".
    * This is a special scope provided by ADF which is in between Session
    * and Request.
    * @param name attribute name
    * @return
    public static Object getProcessAttribute(String name) {
    AdfFacesContext afCtx = AdfFacesContext.getCurrentInstance();
    return afCtx.getProcessScope().get(name);
    * Add or overwrite attribute in ADF "processScope".
    * This is a special JSF "scope" provided by ADF Faces which is somewhere
    * between Session scope and Request scope. It can be accessed in JSF
    * pages using the EL expression #{processScope.myAttribute}.
    * @param name attribute name
    * @param value attribute value
    * @return
    public static void setProcessAttribute(String name, Object value) {
    AdfFacesContext afCtx = AdfFacesContext.getCurrentInstance();
    afCtx.getProcessScope().put(name,value);
    public String getLabel() {
    return label;
    public List<Map> getList() {
    return list;
    ============= jsftest.jsp =====================
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
    <f:view>
    <afh:html>
    <afh:head title="ADF Context Test">
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    </afh:head>
    <afh:body>
    <h:form>
    <af:outputText value="#{controller.load}"/>
    <h:panelGrid columns="2">
    <af:outputLabel value="LABEL"/>
    <af:outputText value="#{controller.label}"/>
    <af:outputLabel value="Map"/>
    <af:table emptyText="No items were found" value="#{controller.list}"
    var="row" rows="4">
    <af:column sortable="false" headerText="A" formatType="text">
    <af:outputText value="#{row.A}"/>
    </af:column>
    <af:column sortable="false" headerText="B" formatType="text">
    <af:outputText value="#{row.B}"/>
    </af:column>
    </af:table>
    </h:panelGrid>
    </h:form>
    </afh:body>
    </afh:html>
    </f:view>
    ================= Console Output when page loads initially ==================
    08/09/03 15:27:18 ============ in getLoad ===========
    08/09/03 15:27:18 AdfFacesContext = oracle.adfinternal.view.faces.context.AdfFacesContextImpl@101751
    08/09/03 15:27:18 Process scope = ProcessScopeMap@7009019[_map={}, token=null,children=null]
    08/09/03 15:27:18 current LABEL = null
    08/09/03 15:27:18 new LABEL: xyz 1
    ======= Console Output when I click the "next 4" link on the table, and the page reloads ========
    08/09/03 15:32:42 ============ in getLoad ===========
    08/09/03 15:32:42 AdfFacesContext = oracle.adfinternal.view.faces.context.AdfFacesContextImpl@16bf9ce
    08/09/03 15:32:42 Process scope = ProcessScopeMap@31287037[_map={}, token=null,children=null]
    08/09/03 15:32:42 current LABEL = null
    08/09/03 15:32:42 new LABEL: xyz 2
    ====== Comments =========
    As you can see above, the AdfFacesContextImpl object has changed, so I have lost the ProcessScopeMap.
    Also, on the displayed page, the label is still "xyz 1" instead of changing to "xyz 2".
    Thanks for your help,
    JbL

    Thanks for the idea, Murph.
    I didn't need a session scope bean, request would be fine, I just was trying to make something work that would allow me access to the process scope attributes. I want to allow multiple browser windows searching on different objects independently, so I don't want to use session scope.
    I tried removing the variable declaration and setting/getting the processScope attribute in the setter/getter methods, to make the process scope attributes independent of the managed bean. But each time the page loads (by clicking the table navigation links), I still lose the process scope attributes. I tried with both session and request scope beans. Either way, in the getLoad() method, when I try to get the label from the process scope (using the new version of getLabel()), it is null.
    So the root problem is still there.
    For continued discussion on this more specific problem, see my separate thread "JSF ProcessScope attribute missing on page reload from af:table pagination"
    at JSF ProcessScope attribute missing on page reload from af:table pagination

Maybe you are looking for

  • ITunes has stopped remembering where my library is

    I am using Windows 8 and iTunes 11, whatever the latest version is. My music library is F:/MyMusic/iTunes/iTunes Music. Everything is in the iTunes folder: the music files, the iTunes library files, etc. You can tell because the folder is "iTunes Mus

  • Using read text fm in smartforms

    hi experts,               I have captured a text using Read_text Fm .now i need to use it inside a smartforms .how to do . i have used that code inside a program line . and in text i have called the field. declaration in form interface text type char

  • Workflow won't Start in Sharepoint Online

    I have a fairly simple workflow that does some logic to decide whether or not to call a webservice and then log the results, but it either taking an incredible amount of time to start or does not start at all, if I try to "End this workflow" that tak

  • Unable to Erase Authorization- Please Try Again After Some Time

    Hi, I am using a mac and I have tried to deauthorize adobe with the command shift D key; however, it keeps saying "unable to erase authorization please try after some time" I have tried after some time and it still isn't working! I'm going crazy. Can

  • SOAP Adapter - HTTP 401

    Hi all, i'm pretty new to SAP-PI and need some help. We have following asynchronous scenario : XI-Adapter >>>  XI >>> SOAP-Adapter to transfer data from ERP to a 3rd Party-System. After some changes by the Web-Service-Provider ( certificate & user cr