transmitting information betwwen 2 pages

Hello
I created a basic flpw and I need to pass information from one page to another.
For example
I'm on the login page, and if the connection is successful I must move userinfo bean to the page wleocme.
I cooked up a datacontrol to userbean which takes the username as input.
But I'm not able to get this username on the homepage.

Thank you
Shubhangi

I do not understand your question, but here are a few tips.
You can use this to read / write in pageFlowScope (I'll take pageFlowScope, for example)

// you can look at every 'scope' as on java.util.Map, 'cause that is what it actually is
// put into
AdfFacesContext.getCurrentInstance().getPageFlowScope().put("yourParamKey", yourParamValue); // yourParamValue can be of any type, so you can put your userbean here
// get from
AdfFacesContext.getCurrentInstance().getPageFlowScope().get("yourParamKey");

// this can be accessed from jspx using
#{pageFlowScope.yourParamKey}

// also, you can write into pageFlowScope from jspx using this
          
            
          

You can also register a bean of support (in adfc-config. XML) in the any of these scopes and access its attributes using the expression language

#{pageFlowScope.userbean.someAttribute}

I hope this helps.

Pedja

Tags: Java

Similar Questions

  • form using the trial version and it continues to repeat the information to a page (either first or last page) to all pages and deleted the contents entered in

    form using the trial version and he continues to repeat the information of a page (either first or last page) to all pages and remove the content that has been entered into.

    The fields with the same name will be the same content. You must change the names of the fields.

  • I can't communicate information on a page.

    I'm not able to push a button to send on a page. I can enter information, but when I push the button send, nothing happens. I tried to restart Firefox, restart my computer and start Firefox in Mode safe... Any idaeas?

    Well, don't worry about this. If you need assistance once again, you know where we are.

  • DeskJet 1512: How mover, page and other information of printed pages?

    This must be a simple process; but, how remove the printed title, the page, the date printed on the DeskJet 1512 pages? Thanks for any help!

    Hi usafirechief,

    What type of program you are using to print? You should be able to remove this information by adjusting the settings within the program.

  • Do I need to add new meta tag information to all pages if I create a Tablet and phone, Wallpapers site?

    Hi all

    I am creating a website for a client and built an office, the Tablet and mobile site.

    What I am wanting to know is can I add tags meta for only pages office or does need them on the Tablet and mobile sites as well? Is this so include pictures because the same images are repeated on all three site?

    Finally, I have to add Google Analytics to the < head > section, this is only done on the homepage of the site office or should it be added to each page (including the Tablet and mobile)?

    Would be grateful for any info or links.

    Thank you

    Krishna

    Hi guvieira,

    I found the answer to this question.

    For meta tags, if you create for office pages meta tags, you can copy and paste this information to the Tablet and mobile sites.

    For the Google Analytics, you can copy the html text tracking to the ' HTML for"in the window of metadata (Page - Page Properties) on your master page (it will sink on the rest of the pages)."

    I hope this helps.

  • How can I carry information from one page to another page?

    Hi, I have two different pages and two different tables on them. As city and home pages and tables. I want to add new record in arrays of House which is based on the tables in the city and they must be on different pages, I want to say I can't use master-detail tables or master-detail forms.
    So here's the problem: this two tables have same column called cityId. And I have a button on the page of the city called 'create new home' how can I carrying Cityid information page of the city of haouse page when I pressed the button. Thanks for your help.

    Button, you can use thet setActionListener to assign a property of bean used in the second page, support the cityId
    as follows


  • my favicon does not appear. in information-&gt; media-&gt; Type page, it reads the text/html, while it takes read icon. What can I do?

    I made a webpage in dreamweaver cs 5 and used this code to the favicon: < link rel = "shortcut icon" href = ' _images/logo - favicon.ico "/ >
    When I previsualisez in dreamweaver in the firefox browser, it is displayed correctly. However, it does not display when I visit the actual page. I followed the instructions of troubleshooting here on firefox who said that, when you go to tools, then the Info Page, then clicking on the media, the Type must be read as an icon. Instead it reads the text / Html. could this be the culprit?

    You're welcome, please mark this as RESOLVED issue.

  • How can I keep all my information from single page when I'm working on a document.  When I want to add a page above on want information on the next page to stay on the pages of how I got them. So, I want to scroll the entire page.

    I just need a few help understand how to use the Pages program, where I keep everything I type on one page, and if he's going to stay on this page. I want the whole page too scroll down including images and all cells, if I might have to add a page over the top of this page?

    Pages as its name indicates, contains pages.

    You can do this very long page in Menu > file > Page Setup

    or use TextEdit or another text application that has scrolling of pages.

    Peter

  • I have to finalize a photoshop element teacher rate product order by transmitting documents but the page seems to be not available what to do?

    THE page press the failure in EST and indicates a maintenance to be completed may 16 in short what to do. Thank you

    Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache.  If he continues to not try to use a different browser.

  • Magazine number and volume information on synchronized pages of coverage?

    Hello

    I would like to know if it is effective to have my number nr and nr on pages volume magazines (using the master)

    and by changing only on the cover, it will change everywhere else.

    If so how can I get this done?

    I did some searching but can't find anything that I could go to work.

    The info is already on the cover as part of its own text and I did a block of text empty on one of my Masters.

    Hope someone can help me.

    Kind regards

    Richard

    Looks like you want to use a running header variable.

  • contact information to the page

    Hello everyone, I am working in CS 5.5 and need to get the coordinates of a box with regard to his page. I have a problem with the case of two pages side by side like this:

    Capture.PNG

    I understand that pageItem.geometricBounds works in its own coordinate space, but how do I set it is compared to the page. In this case I am hoping to get to the left anchor - x 1, y1 and the anchor of the righ low x 2, y2. Same I expect this:

    Capture.PNG

    Here is the quick code that I wrote for the limits of the geomtric of the selected item. Any explanation would be great!

    var myItem = app.selection[0]; //just a rectangle that I am moving to different parts of the page
    
    
    var temp = app.activeDocument.viewPreferences.rulerOrigin;
    app.activeDocument.viewPreferences.rulerOrigin = RulerOrigin.PAGE_ORIGIN;
    
    var currentBounds = myItem.geometricBounds;
    
    //alert(myItem.resolve(AnchorPoint.TOP_LEFT_ANCHOR,CoordinateSpaces.SPREAD_COORDINATES) +"  "+myItem.resolve(AnchorPoint.BOTTOM_RIGHT_ANCHOR,CoordinateSpaces.SPREAD_COORDINATES))
    alert(currentBounds[1]+","+currentBounds[0] + " " + currentBounds[3] +","+currentBounds[2])
    
    
    app.activeDocument.viewPreferences.rulerOrigin = temp;
    
    

    Hello

    After setting rulerOrigin use of the Page:

    app.activeDocument.zeroPoint = [0,0];

    This should ensure that your left/top corner of page is [0,0]

    Note that affecting rulerOrigin Page_Origin no means related to coordination of article page. GeoBound point are related to the sovereign that zeroPoint (document property) can be linked to the page left/up corner... or not.

    However, you can set up a prototype of the object, that is to say:

    Object.prototype.myGeoBounds = function () {}

    If (this.) ParentPage == null) return false;

    var f = this.parentPage.bounds;

    var GB = this.geometricBounds;

    var my = GB [0] - [0];

    var mx = GB [1] - [1];

    var my = GB [2] - [0];

    var mX = GB [3] - f [1];

    return [my, mx, mY, mX]

    }

    for example, pageItem.myGeoBounds () should return page_relative (top left) coorinates regardless of the position of the point. (it is set to false if the element is placed on the pasteboard).

    are you a closer?

    Jarek

  • How to display additional fields of information in standard page.

    Hello

    In the standard page how to add table region.

    Please help me its urgent.

    Robet

    Hello

    -U doing personalization to stretches of the region.
    -Run the script to import the custom zone and bouncing the apache server.

    Concerning
    Meher Irk

  • Linking the Information on a page by clicking on it

    Hi, can someone help I am trying to bind a list of FAQS to response below the same page - how it is done?

    A different approach to FAQ:
    http://www.TJKDesign.com/articles/toggle_elements.asp

    --
    Concerning

    John Waller

  • How can the information of the page

    Dear all,
    I have the original Version contain the values of emp_id, name, number,

    If I click on save button I will be able to get the values in the table by object Row iteration


    How can I able to get the values of the formulas currently appeared in the screen

    (String) (row.getAttribute ("EmployeeID"));

    Other ways to retrieve attributes, see documentation.

  • Delcourt invisible page information

    Hi all,

    I have a small question pour a big problem for me.

    This is what happens to me: I work with Indesign CS6 and lately I see more information on the page!

    Let me explain, at the bottom of each printed page or pdf, we have a little unsightly line, but o how much practice to recognize the different files by their name.

    And well just imagine that am no longer able to see it, despite the fact that it is checked in my print window?

    Should you experience this problem? The other jobs of my studio, which are identical to mine do not suffer from this anomaly.

    Capture d’écran 2015-04-08 à 15.07.18.png

    Suggestions to your good heart

    Thank you

    Eureka

    I found, I have a problem of United Nations system policies.

    Book in policy, I did ' file / restore the standard fonts.

    and as if by magic the information returned.

    Accomplice if you can, here is the solution

Maybe you are looking for