Maintaining state over a number of forms

I�m trying to get information from a number of different forms so I can then pass the information out to a cgi script, which in turn passes info to a pdf file. The problem I�m having is when a new form is loaded the information on the previous one disappears and I don�t know the best way (alright ..any way) to keep the previous form information. Can anyone help me as to the best way to move information along.
Cheers

Have you considered creating a bean for each of the forms? I am no Java expert, but that sounds like a solution to me. Create a bean for each form(if they are diff and you can't factor comonalities into a single bean) and set the scope to be session. Then you should be able to access the data in each form and pass it on to whatever.
If you dont know how to do that, just read up on it in one of sites available here. I cant remebre any particular site that has specific tutorials on creating JavaBeans and using <jsp:useBean ...> stuff....you should be able to find it here or at www.jguru.com

Similar Messages

  • I purchased Adobe Acrobat X Pro two days ago and cannot receive my serial number; your form will not allow me to select my State for address-I have spent four hours of frustration

    Acrobat X Pro has a flawed serial number application form at the point where it asks for your State, the first time. I will not allow me
    to complete the form and receive my Serial Number.@

    I purchased it from my University bookstore and the attending clerk was no better informed than was I.
    The form is required to be infilled in order to receive the serial number necessary for installation of the software
    After five hours of trying, I was able to overcome the flaw in the form, as it appeared on the Acrobat website, and
    complete the two pull-down menus indicating the State in which I live.
    I called Adobe Customer Care for assistance and had to wait two hours for a return call, and by the time the
    call came though I had found that the website form allowed me to pull-down for the State of location.
    Adobe is an uncaring vendor, once it has your money in hand.

  • Maintaining State with OAS 4.8 and PL/SQL

    Hi,
    I am working on a package that displays 5 pages with 83 application questions. To maintain state for all 83 questions, I am using a procedure that maintains the data on a string (~400 characters) and passes it to each page (We decided to avoid writing to the database before the application is completed). Since the pages were expiring randomly, I added NEXT and PREVIOUS buttons. One procedure, the one that maintains the string, has 83 parameters.
    The package contains 8-10 procedures, 180 constants and global variables (we tried without using global variables but global variables make the code easier to read and the package smaller (around 4000 lines). The complete application uses 4 packages.
    During development, the package seemed to be working well, until I added more realistic data. Right now, I get The error message: The page cannot be found. The first time, I got this message, just by pressing enter again will cause the page to display. At times it will take 3 or 4 times pressing the enter key on the URL. Slowly, it became more and more difficult to make the browser display the first page. Today, no matter how many times I press the enter key, the page does not display.
    Questions:
    1. Are there any limits on parameters, global variables and data on OAS 4.08. I tested reducing the package parameters, global variables and data to half the size, but the procedure still does not display. Compiling an older copy of the procedure does not seem to work either.
    2. Is there a better way to maintain state without writing to the database?
    I am not sure what is causing the problem. I have an open TAR.
    null

    Patricia Blais (guest) wrote:
    : I have bought the book "The complete reference SQL" which came
    : with a trial software CD of Oracle 8. I want to know if it is
    : possible to create a program in PL/SQL (create a procedure) in
    : SQLPLUS v.8 which is also included with the book. If it is
    : possible, I would like to know how, by a small example. I have
    : tried some of the exercices in the volume and they do not
    work.
    : No error messages are given and the program had to be
    : interrupted. Please answer in another way then repeating an
    : example in the book.
    : Thanks in advance.
    ok some code example:
    Let's gues you want to display 2 collums of the view all_tables
    in html format:
    First create a procedure with a editor (i use to do so).
    create or replace procedure get_html (owner_in in varchar2) as
    var1 number(12,0);
    var2 varchar2(100);
    begin
    dbms_output.putline('<table>');
    for fr_rec in (
    select table_name, owner
    from all_tables
    where owner like '%'

  • How to maintain Space between text in Smart form

    Hi Experts,
    How to maintain space between text in smat form.
    For example
    I need to maintain like this
    Prepared By:                       Passed By:                  Approved By:       
        but after save it come like this 
    Prepared By:   Passed By:  Approved By:      
    How to maintain spaces between texts?
    Regards,
    Sreedhar.

    hi,
    we can give space in the smartform in the same way as in the scripts with two commas one space can be given.
    when u click on the text in the window ,
    there in the general attributes at the left hand side u can find a small icon for editor in that u can define the spaces with the variable to be printed in &var&.

  • When signing into icloud on a second hand ipad2 i bought with my apple Id, it would let me and states the maximimum number of free accounts have been activated on this ipad.

    Hey
    When signing into icloud with my apple Id on a second hand Ipad 2 i bought it won't let me and states 'The maxium number of free accounts have been activated on this ipad. How do i sign into icloud then? Help

    Welcome to the Apple Community.
    Make sure you are using the sign in option and not trying to create a new one. If you need to create a new ID...
    Unfortunately once all the 3 iCloud accounts have been created on your device, you cannot create any more regardless of what you do. You will need to re-use one of the accounts that you have already created or create your new account on another iOS device or Mac computer.

  • Statistic number of forms that have been accessed/loaded

    Hello,
    I would like to ask if it is possible to know the statistic number of forms that have been accesses/loaded on the workspace base on each process category/folder to create a weekly or monthly report? 
    Thanks,
    Han Dao

    You can export any response as a PDF, which you can then archive.

  • HT1933 Good morning.  I found on my bank statement over $100 of Itunes charges that I have no idea what they represent??

    Good morning.  I found on my bank statement over $100 of Itunes charges that I have no idea what they represent.  How do I find out what these charges are and if not responsible, how do I remove these charges. 

    You can view the purchase history on your computer's iTunes : if you log into your account on your computer's iTunes via the Store > View Account menu option, you should then see a Purchase History section with a 'see all' link to the right of it. Click on that and you should then see a list of your purchases. (On your phone you can view a cut-down version of the purchase history via http://reportaproblem.apple.com).
    If you didn't make the purchases, and nobody else has access to your account or devices and may have made them, then you can try contacting iTunes support via this page : http://www.apple.com/support/itunes/contact/- click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • Hide Tab order number in form fields

    Hi,
    In Acrobat 7.0 Professional (I know it's old), how do you hide the the tab order number in form fields you create? When I type in the form fields I've created, the tab order shows up on screen and on the hardcopy printed document.
    HELP!
    Thanks!

    This is what I'm seeing, however I think we would like to know how to change the order.
    For instance, I have formatted the form to have two columns of data entry: Personal info in column 1, product info in column 2. When the user types their name in column 1, row 1 for "Name" then go to tab down to "Email", it actually tabs right to column 2, row 1, "Product Year." Altering the tab order would fix this problem.
    Thanks!

  • Maintain state in Proxy

    Is there a way to maintain state in ABAP server proxy across calls, like http session.
    What about java proxy?
    Thanks

    This is a scenario where XI calls into R3 proxy via inbound interface. I need to collect data across 3 calls and then write to the database. Yes I could move the logic to BPM, but I want to see if there is an option of have state in server proxy,  if so I might be able eliminate BPM.
    Thanks

  • Advantages of Statement over PreparedStatement

    I would like to know advantages of Statement over PreparedStatement. If we have PreparedStatement which uses pre-compiled sql statements then why we use Statement.
    Regards,
    Nikhil Shah

    Nikhl_Shah,
    It is important to know the differences, it is also important to know that 99.9% of the time you should use PreparedStatement. Since this has been discussed 100's if not 1000's of times in this forum, first try searching this forum, I would be stunned if you didn't find all the information you need, but if you don't, ask again in this thread and I or others would be happy to list them for perhaps the 1001 time!

  • What is the best way to maintain state in Java web apps?

    Hi,
    been looking at best way to maintain state between requests in JSP.
    Ive been trying to use URL rewriting but been getting problems. I understand I can also achieve this using cookies.
    Are there any other better ways of doing this.
    I don�t know if the problem is with JBuilder4 or something in the Tomcat server?
    Any suggestions would be appreciated.
    thanks.

    I think if you use JavaBeans that implements Serializable , it might maintain state (but not sure of this).
    HttpSession is one option but , sessions have limitations - they timeout, they don't work when the page is cached by the browser and they don't work if Cookies are disabled in the browser.
    Database is always an option, and there are two types of DBs , in-memory like HSQLDB etc , or the regular RDBMS like MySQL , Oracle etc.
    If you only want to maintain state between HttpRequests, then use the request object which is implicit in JSPs.
    I think your URL Encoding is not working most likely because you have disabled Cookies in your browser and that's why you see jsessionid.
    If you enable Cookies in your browser then, the jsessionid should not appear.
    There are other options I'm sure, but I'm only aware of the above at this time.... may be someone else might know more.

  • Random number in forms developer

    Hi, dear all:
    How can i produce random number in forms ?
    regards.
    kevin

    Actually I tried several combinations but the (b-a )+a didnt work for me.
    It always gives me 4000000000 is out of range. Without the 32768 also its that way.
    int temp = (int)((((4000000000-1000000000)+1000000000) *(Math.random() * 32768));Heres the entire loop.......size is the size of the foo Array I want to fill
              for (int i = 0; i < size; i++)
    int temp = (int)((((4000000000-1000000000)+1000000000) *(Math.random() * 32768)));
                  //int temp = (int)Math.random()*32768;//Make random number same as c++
                  if((temp < 1000000000)||(temp > 4000000000))
                       i--;
                  else
                       foo[i] = temp;
                        System.out.println("Original Array: "+foo);

  • Updating a field for a number of forms from an external table

    Good Day All;
    This one I could not find in the help section.
    I have designed a number of forms that all use the same “rates of pay” (there are 4 categories) for calculating. I was told to expect that a few more forms will be required and these new forms will also be using the same “rates of pay”
    Currently I am using “switch” to insert the “rates of pay” when the user selects a category from a dropdown.
    Is there a way I can update all the forms from an external “table” instead of having to update each form individually?
    Thanks All
    Chomp

    Hi,
    If the form is Reader enabled with Acrobat, then that is going to cut out data connectons.
    You should have a look at John Brinkman's blog: http://blogs.adobe.com/formfeed/2010/07/shared_data_in_packages_part_2.html. Two parts.
    Also there is an example of inter-form communication here, but it may be too clunky: http://assure.ly/qQivbm.
    Good luck,
    Niall

  • Auto number each form when distributing by email

    I need to assign a number to each form during or before emailing, anyway to do that with scripting? Thanks for all the help, I am getting so close to having everything I need for this form.
    Thanks
    Mike

    Hi Mike,
    I have used the following technique to auto-number a form:
    1) Create a hidden field and use a FormCalc function to get the date-time when the form is opened
    // form1.purchaseOrder.header.DateTimeField1::initialize - (FormCalc, client)
    // The hidden field DateTimeField1 is used as the source for the P.O. number.
    // The function, below, returns a string in the format 20081107055344 where 20081107 is YYYYMMDD and 055344 is HHMMSS.
    $.rawValue = Concat(Num2Date(Date(), "YYYYMMDD"), Num2Time(Time(), "HHMMSS"));
    2) On the target id field extract the month, day, and time (down to the millisecond)
    // form1.purchaseOrder.header.poNum::calculate - (JavaScript, client)
    // DateTimeField1 is used to generate a unique P.O. number (see the initialize event on DateTimeField1).
    // DateTimeField1 produces a value in the format 20081107055344, for example. In this example the substring
    // removes the year 2008 to produce the P.O. number 1107055344.
    var str = form1.purchaseOrder.header.DateTimeField1.rawValue;
    this.rawValue = str.substring(4,18);
    There are many techniques including the creation of a random number using the JavaScript math.random() method.
    See https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Math/random
    Steve

  • How to maintain state in multi select form. ( ASP classic )

    I have a mutli select form fields e.g.:
    <select name="Location" multiple="multiple" >
    <option value="8">Anglesey</option>
    <option value="11">Cheshire</option>
    <option value="5">Conwy</option>
    </select>
    say i select the first 2 of the 3 options and submit my page
    e.g. :
    mypage.asp?Location=8&Location=11
    how would i then set the state of the options to selected
    e.g. :
    <option value="8"
    selected="selected">Anglesey</option>
    <option value="11"
    selected="selected">Cheshire</option>
    <option value="5">Conwy</option>
    help and suggestions appreciated

    Hi Arvind, your best bet might be to pass the filter value via a QueryString and then apply a QueryString filter to those other pages. Overview of QueryString Filters:
    http://office.microsoft.com/en-us/sharepoint-server-help/connect-a-query-string-url-filter-web-part-to-another-web-part-HA010250999.aspx (I know it's for 2007, but the same applies to 2013).
    Dimitri Ayrapetov (MCSE: SharePoint)

Maybe you are looking for

  • ATI and blackscreen death...

    community, I have a HD4250 IGP (R620) w/ athlon 2 x4. Yesterday, before turning off the pc I've pacmaned Syu, thus making my system inoperable today. I'm using proprietary catalyst drivers, the latest I could find. Symptoms are : black screen, no key

  • What does the multi colored pinwheel mean and how do you get rid of it?

       I THINK IT MEANS THE COMPUTER IS TIED UP IN SOME FASHION. OTHER THEN WAITING IS THERE ANYTHING WE CAN DO TO GET RID OF IT?

  • I cannot believe you don sell 17 inches mac book pro anymore!!!!!

    really I cant believe you don t have that alternative anymore, a Monitor is not portable!!! and for prhotographers a 17 mac book pro is a must to show your work

  • Named Set doesn't show aggregated values in excel while browsing

    Hi All, I have create a named to show Top 20 Clients Alphabetical. When I browse the named set, it is not showing aggregated values in the below.You can see in the image. Named Set Expression:  FILTER(      Order ([Client].[Client].members,[Measures]

  • CFolder- hide menu bar

    Hi, For cFolders-  1. How to hide settings, home and logout menu bar 2. How to remove the hyperlink which appears on banner - we have changed banner left logos but the hyperlink appears on new banner - we are just looking for plain left logo banner w