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

Hi, I have two different pages, and two different tables on them. Like city and house pages and tables. I wantto add new record in house tables which depends on city tables and they must on be different pages, I mean I cant use master detail tables or master detail forms.
So this is the problem :This two tables have same column called cityId. And I have a button on city page called " create new house"How can I carry Cityid information from city page to haouse page when I pushed the button.Thanks for your help.

Hi,
I would suggest using something like what eax23 proposed, but using pageFlowScope instead. So in the 1st page:
<af:commandButton .....>
  <af:setActionListener from="cityID" to="#{pageFlowScope.cityID}"/>
</af:commandButton>In the second page you have your managed bean read the cityID from the page flow scope directly. This will prevent having issues from the bean scope that eax23 solution could cause sometimes.
Regards,
~ Simon

Similar Messages

  • How can I transfer information from one ipad to another?

    how can I transfer information from one ipad to another ?

    What kind of information? You can sync things like Contacts and Calendars by using iCloud. You can backup one iPad to iTunes on a computer and then sync the backup to the other iPad. You can configure your iTunes content and sync the same content to both iPads.
    It is based on what you want to do. Or are you looking for a way to send files from one iPad to another wirelessly? There are apps to do things like that, as well as cloud services, such as DropBox.

  • HT201250 how can i pass information from one mac to another mac by using the time capsule

    how can i pass information from one mac to another mac by using the time capsule

    If you want to transfer files, settings, etc., you must open Migration Assistant (Applications > Utilities) in the Mac that you want to transfer the files and follow the instructions

  • How can I pass information from one portlet to another?

    First, some background...
    I am using Portal 5.0.2 and developing portlets using JSP/Java on a remote server.
    I need to pass information from a portlet on pageA to another portlet on pageB, but I can't do it using the traditional methods, such as query string, session, cookies, etc. due to either portal framework limitations or because of functional constraints (basically, a user will not necessarily be logged in to the portal, but he can view anything available to the GUEST user). Here are the different ways I've considered using to save state and their limitations:
    Query string: can't use this because portlets on remote servers don't have access to it
    Cookies: if user disables cookies, code will not function properly
    Session variables: limited to one user's connection with one portlet (i.e., can't access a session variable set in portletA from portletB)
    Application variables: because the user may not be logged in, I have no way of uniquely naming variables, which is a necessity in order to maintain state for EACH user
    User Settings: again, the user may not be logged in, so I can't use these
    PCC: can't access client-side variables because server-side JSP executes first
    Are my assumptions above correct? Has anyone had any success using one of these methods given the same constraints, or does anyone have an alternative solution? I'd certainly appreciate any help anyone could provide.
    Thanks,
    Jose

    One possibility would be to use a Login PEI to set a unique UserInfo Name/Value for the user. I think in 5.0 each guest session is unique, so would have unique UserInfo. Then you could pass this value to your portlet (by specifying it in the web service) and use it as a key into a Application-scoped hashmap where you store your info. In other words, your Application variables option, but you have a way of uniquely naming your variables via PEI-set UserInfo.

  • How can i copy apps from one computer to another?

    how can i copy apps from one computer to another?

    You don't mention which operating system you have so it's difficult to provide an answer since the mac and Windows stores the files differently.
    The other thing you can do is just re-download the apps from the iTunes Store. Just login to the iTunes Store on the other computer using the same Apple ID. On the right-hand side of the iTunes Store page you will see a 'Purchased' link. Clicking on that will take you to a page that will list your past purchases which you can re-download to the new computer.

  • How can I transfer work from one computer to another?

    How can I transfer work from one computer to another?

    Welcome to the forum.
    I can think of three basic ways to accomplish what you wish to do:
    Use the Project Archiver to archive your Project (and check the box to gather the media files), to an external HDD. Probably the easiest way to do it.
    Copy the Project and ALL media files to an external HDD, but be prepared to relink the media files to the Project, as the drive letter (part of the Absolute Path) will have changed.
    Edit loosely, and Share to an AV file, which will be Imported into a New Project on that second computer. Or, edit VERY tightly, and do the same. I like the first, as removing, replacing Transitions, etc., can be much more difficult, unless that "tight edit" is 100% done.
    Good luck,
    Hunt
    Message was edited by: Bill Hunt to correct formatting

  • How can I migrate everything from one account to another on same computer?

    How can I migrate everything from one account to another on same computer?

    Transferring files from one User Account to another

  • How can I send stuff from one iPhone to another via Bluetooth?

    How can I send stuff from one iPhone to another via Bluetooth?

    There are some apps that will let you send photos from one iOS device to another over BT.

  • How can I copy text from one card to another while creating cards using Iphoto?

    I created two cards with different pictures using Iphoto on Macnotebook. 
    I want to use the same text message.
    How can I copy text from one card to another?

    select the text and copy (edit menu ==> copy) tehn gpo to the next card and paste
    LN

  • How can you transfer data from one ipod to another ?

    How can you transfer data from one ipod to another ipod ?

    The geniusbar told me what to do, I understood but there is still a problem for me >:/ It's not showing up though. Like "device."  Nothing is happening, and I tried as soon as I got home. Then after half an hour, then an hour, then 3 hours. My problem is that it's not showing up! It's stuck in recovery mode! There's still like 25% battery. So I have no idea why.

  • How can I transport data from one client to another client?

    How can I transport data from one client to another client? 
    Regards,
    Subho

    hmmm, CTS = cutomizing transport?
    If you have a customizing table, there are still two possibilities.
    1. customize in DEV system and transport
    2. customize right there where you need it.
    this depends on how the maintainance view is built. If it is a simple customizing table and you get not asked for a TR when customizing a new record or changing an existing one, you hit possibility 2.

  • About photoshop organizer: how can I shift pictures from one catalogue to another one?

    how can I shift pictures from one catalogue to another one?

    Sync to computer then from there to other device.  Photo stream can be used to sync between devices, but that has to be set up BEFORE the photos are taken.
    Read this...  import photos to your computer...
    http://support.apple.com/kb/HT4083

  • How can we transfer stock from one vendor to another vendor?

    Dear Gurus,
    How can we transfer stock from one vendor to another vendor?
    pls tell the steps to follow..
    Thanks..

    This is the Normal Third Party Sub Contracting
    Follow these steps
    If components to be provided to a vendor are supplied not by your company but by a third-party, you can order the components from the third-party and specify the subcontractor in the purchase order as the delivery address. At goods receipt the components are posted directly to the stock of the material provided to vendor.
    Entering a Purchase Order for Components
    To order components for a subcontract order from a vendor and have them delivered direct to the subcontractor, enter a standard purchase order with a different delivery address:
    From the Purchasing menu, choose Purchase order ® Create ® Vendor known.
    Maintain the data on the initial screen. Make sure you enter the vendor of the components and the plant concerned.
    Enter the items.
    Then choose Item ® More functions ® Delivery address.
    A dialog box appears in which you enter the delivery address.
    In the field Vendor enter the number of the subcontractor and select the SC vendor box.
    Selecting the box causes the components at goods receipt to be posted directly to the stock of the material provided to vendor when the goods receipt is posted.
    Save the purchase order.
    Posting the Goods Receipt of the Components
    If the subcontractor lets you know that the components have arrived, you can enter the goods receipt for the purchase order. The components are posted directly to the stock of the material provided to vendor.
    Stock Update
    A goods receipt posting has the following results in the system:
    the stock of material provided to vendor at plant level is increased. The stock of material provided to vendor is not managed at storage location level, since the stock is no longer stored at your company.
    Valuated stock at plant level increases.
    Documents
    An accounting document is created for the material document.
    After this normal subcontracting order for finished product.

  • How can you Sync something from one iPad to another?

    How can I Sync things from one iPad to another?

    I'd take a look at this thread, and the referenced ( at the bottom) kb. 
    https://discussions.apple.com/thread/3018061

  • HT1495 How can transfer a application from one iphone to another iphone?

    How can transfer a application from one iphone to another iphone?

    Follow the instructions here or here; using the first set of instructions then requires syncing the second device with the iTunes library containing it.
    (89299)

Maybe you are looking for

  • Photo Booth is just a black screen sometimes?

    Sometimes when I open Photo Booth, the green light for my webcame turns on but the preview screen is just black. And when I take the pic, its all black. But if i connect my webcam throught Skype or something it never goes black. Just sometimes with P

  • Personalization - Site level, and not able to see it a resp level

    I have added 2 new fields i.e. Field A and Field B to an Oracle seeded page at Site Level using Personalization. Based on the type of responsibility, I want to render one field at a time. I wanted to do this using responsibility level personalization

  • Rate Type 'P'

    Dear All, While creating a Workcenter with CNR1, in the Costing field it is showing error Activity Type is not assigned to Cost Center. When that is being done through transaction KP26 it is throwing error that 'P' rate type to be maintained in syste

  • Essbase error 1013295  when trying to import a file

    Hi, I run a maxl command to import a file into an Essbase cube.  The Maxl command is on a Remote Windows server.  The file is on the Essbase server under a folder /interface/j_ntfc/DNTFC7/incoming/ but I have the error 1013295  :  Does the file needs

  • "sending message failed" error message on model 1...

    Nokia model 1209 Original problem: "message sending failed"  After contacting my Service Provider (Virgin Mobile), I was told to check, and if necessary correct my Message Sender Number. I needed to find and check this in my Nokia 1209. V.M. gave me