Copy all values from one page to another

Dear all
i have creation page user enter all the records and save if the details are not in customer master
then user click add customer it will call to master customer page and as well as i want to copy all these fields to customer master when ever he click on add customer
how it is possible..
Regards
Sreekanth

Hi,
before navigating to the Master customer Page...
take all the values in hashmap
hm.put("value1",value);
hm.put("value2",value2);
Pass the hashmap in pageContext.setForwardURL();
then on Master customer Page
grab the values in string variables using pageContext.getParameter
and set it on fields using
setText();
Thanks,
Gaurav

Similar Messages

  • How to pass column name as a   values from one page  to another

    hi
    i have created a report(pivot) from a table
    SQL> SELECT * FROM T;
    C1  C2          C3 D                SEQ
    A   AA           2                    1
    A   AB           3                    2
    A   AC           2                    3
    B   AB           5                    4
    B   AC           6                    5
    SQL> SELECT C1
      2  ,NVL(MAX(CASE WHEN C2='AA' THEN C3 END),'') AA
      3  ,NVL(MAX(CASE WHEN C2='AB' THEN C3 END),'') AB
      4  ,NVL(MAX(CASE WHEN C2='AC' THEN C3 END),'') AC
      5  ,SUM(C3) FROM T GROUP BY C1;
    C1          AA         AB         AC    SUM(C3)
    A            2          3          2          7
    B                       5          6         11
    SQL>
    my requirement in Apex is like this(reverse)
    eg-
    when i click on cell values '2' then,it should return
    C1  C2          C3 D                SEQ
    A   AA           2                    1
    {quote}how to pass column name as a  values from one page to another
    for example i have to pass 'c2' as a value to next page{quote}for report pivot you can reffer below link
    Report
    Amu

    thanks for your reply
    i 'm doing what exactly you mention here .
    my problem here is
    i have 15 columns
    i am executing a query based on the values of the column(column name)  in the target page
    1)here i am passing(all) the column values to the next page-but  i want to pass only one column values(column name)
    when i click on any cell of that  column
    OR
    2)i can pass all column name to target page -there(in the target page) i can filter out
    i think option 1 would good if you filter out the unwanted columns
    Regards
    Amul

  • Pass value from one page to another

    Hi All,
    "How to pass the value from one Flex page to anothere Flex
    page".
    In First Flex page contains One Inputtext and one button is
    there.After entering the data in inputtext box,the user clicks on
    the button then get the data from inputtext box and then i need to
    send that value to another flex page and display there.
    Can u tel me plz............
    Thanks & Regards,
    Nagarjuna.

    I believe you are thinking in terms of HTML and traditional
    page coding. As an old school ColdFusion guy I understand it is
    difficult to leave that behind. (at least it was for me.) Unless
    you literally have two different HTML pages that each have their
    own Flex app running in them you do not need to send data from one
    page to the next like you would with Web Forms. (If you are doing
    that you may want to simply write the data to a Shared Object, Pass
    it to a server to store and then feed back into the second Flex App
    when it loads or perhaps use the ExternalInterface to then pass it
    through as a series of URL parameters that can be loaded into the
    next Flex App.)
    In Flex you do not have to worry about loosing state between
    pages because there are literally no pages. Only different views.
    You would not "Send" the value from one page to another. You
    provide a mechanism for the second view to reference the same model
    or data object (most call them ValueObjects) that the first view is
    setting via the form fields.
    You would want to use a ValueObject in the first VIEW and
    then fill the object with the form data using setter methods on the
    object. For example set the fields onChange event to call the
    setter on the object and pass it the form fields value as the
    property. Alternately you could bind the values of the model
    directly to the fields so that they automatically obtain the data
    that is being filled in.
    Depending on how complex of an application you are going to
    build and how scalable it must eventually be you have many
    different options to choose from to allow the second View to use
    the data set but the first. However to make the application
    ultimately more scalable you are going to want to keep your view
    separated from the controller and that separated from the
    Model/ValueObject. (By seperated I mean in different classes.)
    I would suggest looking up the subject of MVC in Flex and
    also the Mediator Design pattern. There are many great sources of
    information.
    Here are a few links that may help with ideas.
    http://flexblog.faratasystems.com/?p=246
    http://pages.cpsc.ucalgary.ca/~heatond/mediator/
    http://livedocs.adobe.com/flex/3/html/help.html?content=introbd_2.html

  • How can I copy/paste text from one page to another?

    I feel like I am taking crazy pills... is there really no way to copy a text box (or group) from one page to another while creating books in Aperture 3?  Lets say I have my entire book laid out and I want to add one paragraph at the end on one page which will push text and photos down a half page or so... in most programs for the last decade or so they added really cool functionality... cut/paste...  It seems like the apple developers are aware of it because they are in the context menus but they don't work on text, only photo boxes.  Additionally, you can copy/paste text but it erases all formatting.
    Seriously, am I missing something?  I have trouble believing that they can't include this function.
    Anyone else have this issue?

    Update... it seems to only happen with text boxes which I create.  So when I try an existing theme I can cut/copy/paste just fine, but in that same theme if you edit the layout and add a new text box, I can't copy paste it anywhere... the options are in the menu but nothing happens.
    Thoughts? Solutions?
    I am running 3.4.3 on a MacBook Pro OS X 10.8.3

  • How come when i copy a color from one page to another, the color looks faded?

    I'm using the same color in a multi-page layout. When i copy a color box from one page to another, the color looks faded on some pages. WHY?! Thanks!

    So i checked the blend spaces - both are CMYK (as this doc will be offset printed). Something really strange is happening! See attach below: the 2 blues (same setup/blend space, color breakdown, etc...) look different! And my client is PICKY! ugh. HELP! Thanks again!

  • Pass lov value from one page to another page

    hi
    can any one please help me how to pass selected lov value in one page to another page
    iam able to get the lov value in controller but how to pass that value as parameter to the VO in another page.

    Hi,
    Get the value in controller, create a hash map and put that value in hashmap.
    Then pass that hashmap in pageContext.forwardImmediately method.
    If you want to use that value in multiple pages, then put that in session variable.
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Copying a link from one page to another in safari

    Hi
    I am trying to copy a link from one one page to another, it will let me copy but not paste, any solutions?

    In Inspector go to Link and select Link To: One of My Pages. You will be able to select the blog page.

  • To copy texbox value from one dataset to another in SSRS 2005

    Hi All,
    I have two Datasets
    The difference between this 2 dataset is
    DataSet1 gives data from filter Date1 and Date2 where Data1 and Date2 are the user entered dates
    Dataset2 gives data from filter Date1 and TodayDate wher Date1 is user entered date and TodayDate is Now()(Todays Date)
    I need to copy the textboxvalue from DataSet2 to Dataset1 
    I tried using below expression in DataSet1
    'ReportItems!textbox173.Value'
    But gave the below error 
    Any help much appreciated
    Thanks
    Pradnya07

    Hi Simran08,
    According to your description that you have two DataSets and three filters in the report:Date1,Date2,TodatDate, you trying to use the expression in the DataSet1’s table to get one TextBox’s value from DataSet2 which caused some error, right?
    I have tested on my local environment and can reproduce the issue. The error caused by the expression “ReportItems!textbox173.Value“ you are using is not an supported function when getting dynamic values from another DataSet. Exactly, we already have the
    Lookup function as Visakh16 mentioned to do this copy, but this function supported in the SSRS 2008 R2 and the later version.
    So, I recommend that you to consider two methods below:
    If the two Datasets’s table have the same fields and you can join these two tables and create only one dataset.
    If you don’t want to follow step1, you can upgrade to the new version 2008  R2 or later version, then use the Lookup function to get the value from DataSet2.
    SQL Server 2008  R2 and later version, you can use a lookup function to get values from another dataset. You can find out more here:
    http://msdn.microsoft.com/en-us/library/ms170438.aspx
    If your problem still exists, please feel free to ask.
    Regards
    Vicky Liu

  • Copying position value from one layer to another

    Hy!
    This is Pierluig, from Italy.
    I'm a noob in after effect scripting language, but not so new to programming
    Anyway, this is the question:
    I have a composition with one layer on it. let's say firstlayer.
    The layer has two effects on it: topeffect and bottomeffect.
    Bottomeffect is an effect called (Transform).
    In my script, I want another layer (let's say secondlayer) to set his position from the position of the bottomeffects of the firstlayer.
    Problem is, the property "Position" of the secondeffect of the toplayer is calculated trough an expression.
    This expressions use a function, and this function is not recognized by the script language
    I've tried something like:
      var myArr = ["0","0"];
      myArr = firstlayer.property("Effects").property("(Transform)").property("Position");
      secondo.Position.setValue(time,myArr);
    And I got the error: Undefined, is not an object.
    I've tried lots, tons of variation, and i've got lots, tons of variation in the error message , but always an error.
    So the question is: how can i get my goal?
    And my goal is to say, trough a script, after effect to set a property to a layer copying that property from another layer, assuming the layer from wich i copy the property get the property values trough an expression.
    Hope I've been clear
    Any help will be reallyappreciated, and I'll remember the helpers in my pray
    Pierlu

    Hi Pierlu,
    You can use the valueAtTime() method to retrieve a value pre- or post-expression. Here's some sample code:
    var firstLayer = comp.layer("firstlayer");
    var secondLayer = comp.layer("secondlayer");
    var firstLayerPosition = firstLayer.property("Effects").property("Transform").property("Position").valueAtTime(0, false);
    secondLayer.position.setValue(firstLayerPosition);
    Hope this helps.
    Jeff

  • Passing value from One page to another PageVO

    Hi All,
    I have one advance table (View Name: MainVO) in a MainPG. In each row i have messageChoice for 'ResultType',
    MessageTextInput for 'ResultValue'. If I select the value 'MessageBuilder' from ResultType(messageChoice),
    I opened a new window name like 'MessageBuilderPG'.
    In MessageBuilderPG I can form the message. When I click the apply button in MessageBuilderPG ,
    I like to set this message to 'ResultValue(MessageTextInput)' in MainPG.
    So I set this value in the same row of 'MainVO'. But this is not reflected in my Advance Table.
    May i get any suggestions to solve this
    Thanks..............

    I have one advance table (View Name: MainVO) in a MainPG. In each row i have messageChoice for 'ResultType',
    MessageTextInput for 'ResultValue'. If I select the value 'MessageBuilder' from ResultType(messageChoice),
    I opened a new window name like 'MessageBuilderPG'.
    In MessageBuilderPG I can form the message. When I click the apply button in MessageBuilderPG ,
    I like to set this message to 'ResultValue(MessageTextInput)' in MainPG.
    So I set this value in the same row of 'MainVO'. But this is not reflected in my Advance Table.
    May i get any suggestions to solve this
    Thanks..............
    Hi ,
    Just let me tell you what i have understood from your post.. if it is correct, i think i have the solution.
    you want the message that you develop in MessageBuilderPG page to be reflected back in the 'ResultValue(MessageTextInput) in MainPG . am i right ??
    If i am right then i have some questions..
    is that 'ResultValue(MessageTextInput) associated with any view attrbute ?
    if so then you can use entity objects to update the value of that attribute...
    or
    you can just send this message as parameter to the MainPG once you click the update button and using the bean corresponding to that message text you can set its value as the parameter value..
    ok ..

  • Passing a Value from one page to Another is not working

    Hi friends,
    I have a table called country in which i build a Form in page1 with a report in page2 based on the table. So iif i clicked the edit icon in the page 2 report means then it can fetch the corresponding record in the page 1 form as well(so that i can update the record in the form).
    My scenario is i have one more search page  in page 3 which has one page item like Country_id(text item) with a Region button "Find".
    If i typed any country id in the text item and pressed Find, means then it should redirect to the form page 1 inorder to fetch those correponding country id details that i entered in the search page page 3.
    For that i followed the below steps like in the search page 3
    created a Find button in the page 3 with below options
    Button Style: Template Based Button
    Button Template: Button
    Button Type: Normal
    Action: Submit Page
    Button Style: Template Based ButtonThen under the after Processing i created a branch condition:
    On submit: After processing(After Computation, Validation and Processing)
    Target Type: page in this Appliction
    page           : 1
    Set these items P1_COUNTRY_ID
    with these values: &P3_COUNTRY_ID.
    (when button Find is pressed)
    But the id is not passing to the page 1 from the page 3(search region) that i entered inorder to query my form in page 1 according to the value that i entered in  search region in page3
    kindly help me friends with this.. Hope u understand my scenario..
    Brgds,
    Mini

    Hi,
    Source setting for that form page item P1_COUNTRY is
    Source Used:"Only when current value in the session state is null"
    Source Type: Static Assignment.Since i build this form along with report.
    Is im missing something.
    Regards,
    Mini

  • Passing a value from one page to another with multiple projects?

    Hi,
    I am trying to do something and I am not quite sure what I may be doing wrong. Situation is this:
    I have 1 project which is our Model, deployed into a .jar and imported successfully into the main project. No problems with this.
    I also have another project for editing profiles, in it it contains a taskflow running off of page fragments to accomplish a CRUD design. This is also deployed and imported into our main project successfully. It has a parameter value that should be detected upon entry into the pageflow called inEntityID.
    I have our main project application which has both imported .jar files into the library.
    I am using the unbounded adfc-config Flow to make sure that the pages can see each other. They can.
    If I use no data being sent from my main page to my edit page I can see both the main page fine and what would be a working region that is displaying the task flow from our editing project. If I attempt to send a value from my main page to the edit page it will not show up.
    ADFC looks like so: MAIN goEdit>EDIT
    Code snippet from my button which gathers data from the main page table to send to the edit page via action goEdit
    <af:commandToolbarButton text="Edit Entity"
    id="ctb3" action="goEdit">
    <af:setPropertyListener type="action"
    to="#{pageFlowScope.sendID}"
    from="#{bindings.PseLegalEntityId.inputValue}"/>
    </af:commandToolbarButton>
    PseLegalEntityId is the value that I have named which is an attiributevalue from my mainPageDef which links to the primary key that I want to send to edit.
    The paramenter that I have set in the region is set as such: Task Flow Binding Parameters : id* inEntityID | Value* #{pageFlowScope.sendID}
    I am using Jdeveloper 11.1.1.2.0
    Any insight on what I may be doing wrong would be helpful. Thanks in advance,
    PSP

    Is more information needed to answer this? if so let me know which.
    Thanks,
    PSP

  • Copy the value from one item into another

    Hi,
    I have a page with 2 items on it: Field1 and Field2. When the user enters a value in Field1 and tabs out, I want to copy the value to Field2.
    I have changed the setField1 method in the VORowImpl to call setField2 passing in the same value.
    In the JHeadstart definition file I have set the Depends On Item property of Field2 to be Field1.
    When I run the page and put a value in Field1 the page autosubmits as expected and the setField1 method runs. Unfortunately, the value does not appear in Field2.
    Any ideas?
    Thanks,
    Gavin

    Hi Steven,
    Checking the box does indeed get the value from Field1 into Field2.
    What I want to do, though, is to populate Field2 from Field1 only if Field2 is empty. Unfortunately, Field2 is now cleared before the setter of Field1 executes and so it always overwrites Field2.
    Any ideas?
    Thanks,
    Gavin

  • How to pass the value from one page to another page

    Dear Gaurav
    I have three pages
    1-creation page
    2-search page
    3-creation page
    in first creation page I have column name user write a% and submit to that search for that name.
    it is going to second page (search page)name a% is passed and search that corresponding value,the corresponding values are not there user will call third creation page and enter the details and save and click back to first page the value is not calling passing from third page to first page I submit the button in 3rd page the error is coming like this.
    The requested page contains stale data. This error could have been caused through the use of the browser's navigation buttons (the browser Back button, for example). If the browser's navigation buttons were not used, this error could have been caused by coding mistakes in application code. Please check Supporting the Browser Back Button developer guide - View Object Primary Key Comparison section to review the primary causes of this error and correct the coding mistakes.
    Cause:
    The view object xxcrmleadmgmtAM.xxcrmleadmgmtVO contained no record. The displayed records may have been deleted, or the current record for the view object may not have been properly initialized.
    in first page column name I removed view instance and view attribute the value is passing from third page to first page
    my requirement is the value call from 3 to 1 and user will enter remaining fields in 1st page and save the records.
    Regards
    Mahesh

    Hi Mahesh,
    Use
    OA.jsp?page=/oracle/apps/................&retainAM=Y).
    Thanks
    Jegan

  • How to send date field value from one page to another page

    Hi every one!
    In my page I have a requirement....I need to select From date and Todate....based on that data has to be displayed in the table....but in my table i dont have such type of fields.....please help me

    I used hidden variable also but it's not useful for me. If by "hidden variable" you mean a "hidden field" (ie a text-input field in the submitting form with display=none), then that's exactly what I was thinking...
    So WHY is a hidden field "not useful"? It's just that... ummm... I suspect you're doing it wrong, or maybe just not understanding how it works. So post both your JSP Pages (if they're not too big), or take the time to prepare a [Short Self-Contained Compilable (Correct) Example|http://mindprod.com/jgloss/sscce.html].
    The more information you provender, the greater your chances of getting real help.
    Cheers. Keith.

Maybe you are looking for

  • NEED HELP: Can't put music on either of 2 iPods! see post for details...

    My new 30GB iPod doesn't show in iTunes so I am unable to put any music on it. Also, the updater does not recognize it either, but my computer recognizes it as a removable drive so it knows it's there. This problem does not only persist in my new iPo

  • Acrobat 9.0 pro Licensing Issues

    I have a license key that I was using on my desktop, I uninstalled the software off of my desktop so I can install it on my new computer and now the key is listed as invalid although I have uninstalled from desktop and rebooted.

  • HT201472 how can I block lost/stolen phone?

    Lost my phone, how can I block it so whoever has it can't use it?

  • Adobe Professional Grace Period problem

    I had Adobe Acrobat ver. 5 which I was unable to uninstall due to some corrupt files. Then I tried to install Adobe Acrobat Professional ver 8 . It popped up an error message that You already have a version of adobe which is to be removed. Hence I fo

  • What to do when can't get in touch with upstream

    Hello guys, I have been using a program (osd_cat) rather extensively, and wanted to add some features to it (say... to make it able to read stdin when barmode is enabled) I have made the change and I want to get this change upstream. I found the proj