Retain Values

Hi,
I have this scenario, when the user input a range lets say 0 to 1 in the selection screen and inputs another set of range the first-range-low value wich is zero ( 0 ), disappears but, when i input whole no, it retains its value.
do u have any idea why this happens?
how can i be able to retain the zero value?
please advice!
thanks!

Another point that you should check is , the values of checkboxes.notes etc. you must be capturing in some VO, so is you VO is getting reinitialised anywhere in your second page code when you navigate from first page? If not, then definately its a AM retain issue!
Check this and get back to me!
--Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • Retain value of Crystal Report variable during drill-down

    Dear expert,
    In CR, how to have a variable whose value is retained during drill-down? In other words, a variable whose value remains across drill-downs.
    I've tried both Global and Shared variables but their values are not retained when drilingl-down (the value is gone or removed).
    Thank you very much.
    Kind regards,
    aswin
    Edited by: Aswin Setyawan Margono on Jan 27, 2011 1:28 PM

    Not enough info to determine the result or what the cause may be.

  • How to retain value in LoV item in Tabular Form, after Page Refresh

    Hi,
    I have a tabular form, which contains 2 items(columns), of type "Select List - named LoV".
    Now, 2nd item(column) in tabular form, that LoV should get populated based on user's selection value in first item LoV.
    1. So how do I refer to the value, that user selected in first item's LoV? I will have to use this value as reference in LoV query of my 2nd item ( on this tabular form)
    2. Everytime I select value in first item LoV, page gets refreshed, as my requirement is to calculate 2nd item's LoV based on selected value in first item. So after this page refresh, first item LoV loses its value that was selected before the page refresh happened. So how do i retain this value in first item LoV? I have an unconditional process, that on every submit(refresh) of page, I set all my items with their corresponding values. But problem is what do i mention there to refer to this first item ( of type LoV) of tabular form?
    I looked in view source of my page, this item is referred as f03.
    So i used "apex_application.g_f03", to set this item to its value, in my uncoditional submit process. But it did not work. I tried to refer this item as "f03" in this unconditional submit process. But still it did not help, the selected item loses its value after page refresh(submit).
    Please help.
    Thanks and Regards,
    Ravi.

    Hi Rave,
    You will have to use Javascript and Ajax to change the values as ApEx submissions will lose your results unless they are saved into the database.
    Remember, that as you are using a tabular form there will be lots of items called f01, fo2, fo3 etc on the page (one per row).
    Regards
    Michael
    Edited by: MKii on Jun 4, 2009 10:13 AM

  • Mixing Html/JSP - Is it possible to retain value in "file" input field?

    I have a jsp page with the following snippet:
    <% String text1 = (String)session.getAttribute("text1");
    if(text1 == null) {
    text1 = " "; }
    //get more attributes here
    %>
    <form name="file" action="checkFields_images.jsp" method="post" enctype="multipart/form-data">
    <input type="text" size="15" name="text1" value="<% =text1 %>"><br>
    <input type="file" name="image1" />
    <br>
    <input type="text" size="15" name="text2">
    <br>
    <input type="submit" name="submit" value="submit">
    </form>
    ...upon submission, it will go to a jsp that will check the fields for blanks or errors. If there are errors, the page will forward the user BACK to the original page, and each field that had an entry will be displayed with what the user had entered.
    The way my code operates is when the user hits the submit button, the jsp page that checks the fields is also setting the values submitted in session attributes. Those of you familiar with JSP code will know what I mean.
    That way when the page is redisplayed the "value" attributes of each <input> field will be set to what the user entered by way of such:
    <input type="text" name="text1" value="<%=text1%>">
    where <%=text1%> is a java variable set to the session attribute value for this <input> field.
    Now I know that the <input type="file> field has a value attribute, but I don't believe it is something that can be set. So how do I workaround this? I just want the field to display the file name the user had selected. I've worked with mixing JavaScript and Java code, but there are certain things you can and can't do, and I'm coming up with any "can do's" for this one.
    Any suggestions are appreciated
    Thank You,
    Love2Java

    You are absolutely correct.
    For security reasons, you can't specify a value for the input type="file".
    Here is one suggestion, of how I would see it work in a perfect world.
    - The file is uploaded and retained on the server
    - You send back a page without an input type="file"
    - The user fixes whatever fields they got wrong and submits again
    - The server picks up the correct fields, along with the file sent with the "bad" request, and then continues as normal.
    In this way, you only have to upload the file once.
    Instead of regenerating the <input type="file">, it would generate something like "File already uploaded. Correct other fields"
    pros:
    - Don't have to worry about repopulating the input type="file"
    - user only uploads the file once
    cons:
    - if the user wants to change the file? Maybe another link?
    - must retain file on server somewhere, and find it later.
    I didn't say it was easy, but it seems the most sensible approach to me.
    Cheers,
    evnafets

  • How to retain values in a seeded page

    Hi All,
    I am doing some personalization in a seeded page.I have attached two message text input items.But my problem is when i navigate to the next page
    and then again coming back to this page it is retaining all the values except those two values which i have added through personalization.I want
    to retain all the values.Pls help me.

    Hi Atanu,
    If I understand your requirement Create an empty row in the VORowImpl for that specific VO.Hope it helps.
    Regards,
    Krishna Priya Bandyopadhyay

  • Downloading file passing File Path in the FM as well as Retain Values in XL

    Hi Experts,
    I am writing a report where it is required that I have an option for the user, in selection  srceen, to have an F4 help to choose the file path they want. The same should be further used to automatically download the internal table into an excel file.
    I was initially using GUI_DOWNLOAD which seemed to work fine except that certain values were not being retained in the download file,  For example , the leading zero in "02" and the value "2-6-21" gets updated in date format automatically as 02-06-2011.
    To avoid the above I tried using the FM  XXL_FULL_API which retains this value but it does not seem to have an option where I can pass the file path to download on the presentation . Instead we need to manually save the excel file when it is generated.
    Could you help me with how to proceed with this, in a way where I can pass the file path as well as retain the values in excel?
    <removed by moderator>. Any help is welcome
    Thanks in advance.
    Regards,
    Trishna
    Edited by: Thomas Zloch on Nov 22, 2011 5:24 PM

    Hi,
    The easiest way to make excel retain the values and not apply any formatting on cells is to add a quote in front of those fields...
    e.g. '02 and '2-6-21. Then you can use the gui_download method...
    Those values will then be considered as text by excel and you won't be bother with auto-formatting issue...
    There are of course other ways of doing it...(via OLE e.g)
    Kr,
    Manu.

  • Retain value of component when navigate in Task Flow

    Hi,
    my english isn't very good
    I use jdveloper 11.1.1.3.0
    I define a bounded task flow and 3 view in this btf to show 3 page fragment. in each view I put 2 Input Text component.
    the problem is when I navigate from one view to other view and back, the value of Input Texts is reset. Input Text doesn't bind to anything.
    is any way to retain the value of Input Text and other components when navigate through views without any binding?
    Habib

    Alejandro T. Lanz wrote:
    Hi,
    One solution might be to store your values at pageFlowScope. By doing this your variables are going to be alive and with the same values as long as you are inside your bounded task flow. For example,
    You can create your Java Bean and have something like:
    String variable1;
    String variable2;
    String variable3;
    String variable4;
    setters and getters for those.
    In your fragments the values of the inputText would be #{pageFlowScope.myBean.variable1.inputValue} and so on.
    Since your bean is created once when your task flow is created (choose pageFlowScope) your variables will remain the same while your taskflow is alive.
    hope this helpsIf his components are part of view objects, this shouldn't be necessary since a submit (the navigation buttons) would do the trick.

  • Retaining values when navigating between subtabs

    Hello everyone
    I have a subtab region with 3 tabs in my page. I have some form fields in each tab, when I enter some details in tab1 and click tab2, and then come back to tab1 , my details previously entered in tab1 gets cleared. is there a way to retain these values when navigating between subtabs. all the tabs are based on different VO's
    Thanks
    Ravi

    Here's how I do it...
    (1) I always use Sessions.  In the main form of my application, I set up the session and I store a single variable:  Session.Exists = True.  All other forms begin something like this:  (It's actually an include-file.)
    <cflock ...>
    <cfset SessionExists = StructKeyExists(Session, "Exists")>
    </cflock>
    <cfif NOT SessionExists>
       <cflocation ... send 'em back to the home 'cuz their session has expired>
       <cfabort>
    </cfif>
    (2) Now that we know that a session exists, we store various structs in the Session to contain the default or current values that have been used in a particular form.  If the Session scope does not contain a particular struct, it is automagically created with appropriate default values.)  This becomes "what we display," and when we capture the user's responses, we store them there, even before we validate them.  The session pool therefore becomes the vehicle for communication between the various forms.
    (3) If we reach a point where a particular piece of information is no longer useful, we delete the appropriate structure from the Session, thereby wiping out the entire set of values at once.
    (4) Structs and Arrays can, of course, contain other Structs and Arrays.  You can build data structures of arbitrary complexity.
    (5) As of late, I have found myself specifying individual CFCs for each logical "object" in my application.  This is true object-oriented programming, as best as ordinary CFC techniques can do without plunging headlong into the underlying nether-world of Java.  In those CFCs, I deliberately try to conceal just how information is maintained and stored, so that these necessary inter-dependencies within my application are concentrated in just one place.  "The structure is 'the object,' and the methods are found 'here and only here.' "

  • Retain Values on Page load

    Hello,
    I am using Application Express 4.1.0.00.3.
    I have a page load process- On Load Before header- which loads the values in the page items if :P4_ID is not null. I give the condition as :P4_ID IS NOT NULL : All works fine.
    But I don't want this process to be executed if somebody presses on Upload1 and Upload2 buttons on the same page. So I give this condition under PL/SQL expression :
    :P4_ID IS NOT NULL AND :REQUEST != 'UPLOAD1' AND :REQUEST != 'UPLOAD2'
    --It doesn't  load any values at all.
    I tried with this syntax :
    :P4_ID IS NOT NULL AND :REQUEST < > 'UPLOAD1' AND :REQUEST< > 'UPLOAD2'
    (I have less than and greater than sign in between :REQUEST and UPLOAD1 . Similar way with UPLOAD2. Not sure why it is not displaying here. So editing the message )
    Any idea how the condition should be written so that the process runs when the P4_ID is not null and no UPLOAD1 or UPLOAD2 buttons are pressed.
    Regards,
    Archana
    Edited by: archana2 on Aug 9, 2012 6:32 PM
    Edited by: archana2 on Aug 9, 2012 6:33 PM

    Joe,
    Thank you for the reply.
    I have following fields on the page : P4_ID, P4_Name, P4_details , P4_state
    Buttons : Upload1, Upload2, Submit_Record
    If I am editing the record, P4_ID has a value :say eg : 1234, and on load I am loading values into these fields - P4_ID, P4_Name, P4_details , P4_state - from the table
    This is the scenario where I have problem :
    I edit the record, change the value of P4_details -- Press the button :Upload1 - Page gets submitted.
    Now P4_details has a new value but because of the page load process , it again loads the values from the table. Newly entered value is lost.
    I want the final Submission into the table to happen only when 'Submit_Record' button is pressed. But I want to retain newly entered values after 'Upload1' and 'Upload2' button press.
    So , the condition is -run the process only when P4_ID is not null and button pressed is not UPLOAD1 and button pressed id not Upload2.
    Not sure why my condition given is not working. Any problem in the syntax or anything else i need to change ?
    Regards,
    Archana

  • Retaining value for tableView element

    Hi,
    I have a tableView element on a BSP page. visibleRowCount property for it is set to 10.
    Source internal table for this tableView is lt_search declared on the page attributes tab.
    I am able to successully show data in this tableView element.
    But when the next page button is clicked on this tableView element to view the next 10 rows,
    It seems that the source internal table for this tableView element (lt_search in this case) gets cleared,
    and I have to re-populate it again in the event OnInputProcessing.
    Which means I have to execute the select statement everytime next or preivous page button on the tableView element is clicked.
    Is this the way it should be, or there is a way to retain the value of internal table and hence the tableView element and avoid executing selecte every time..
    Thanks in advace,
    CD

    hello,
    Is it a stateless OR statefull application?
    If it is stateless then not possible....
    Thanks

  • Retain value of dynamic formula

    Here is my question...
    I have a check box in column A, in column B I have the following formula: =IF(A1=FALSE,"0",TODAY()). So basically, when I check the box I get today's date, but it is dynamic and the day changes unless I remove the formula and input the actual date.
    What I would like is for the date to remain static. In other words, if I check the box on Dec 29, 2010, I want that date to remain indefinitely instead of changing each day. Is there anyway to do this?
    Thanks for any help.
    Clay

    clayphillips wrote:
    I have a check box in column A, in column B I have the following formula: =IF(A1=FALSE,"0",TODAY()). So basically, when I check the box I get today's date, but it is dynamic and the day changes unless I remove the formula and input the actual date.
    What I would like is for the date to remain static. In other words, if I check the box on Dec 29, 2010, I want that date to remain indefinitely instead of changing each day. Is there anyway to do this?
    Hi Clay,
    Here are two routes:
    1
    Delete the checkbox.
    Insert the date using Insert (menu) > Date & Time
    (or use the keypress combination shift-option-command-D).
    This inserts a fixed Date and Time value with the current Date and the time set to 00:00:00.
    Only the Date is displayed.
    2
    Insert the date using the checkbox (as you've been doing), then select the cell containing the date.
    Copy.
    Go Edit > Paste Values.
    This replaces the formula in the cell with the value (a Date and Time value as above) calculated by the formula.
    In either case the result is a fixed value that won't change until you actually change it.
    Regards,
    Barry

  • ADF UIX MultipleSelection - Retaining Values

    Can anybody provide a working code snippet which retains rows selected and data entered in a multiple selection UIX component, after doing a page refresh or page submit. Using JDev 9.0.5.2.
    Thanks
    SN

    have you seen:
    http://helponline.oracle.com/jdeveloper/help/topics/jdeveloper/uixhelp/uixdevguide/tables.html?tp=true

  • Prompts retain values each time a report is opened - how do I stop this?

    Post Author: adrian
    CA Forum: Publishing
    Here is the scenario:I develop a report using webi (XI R2) and specify that the filter criteria become prompts.  I run the query, while still in designer, and retrieve the data.Things look great so I publish the report for users.Then everytime the user opens the report they are prompted - which is what I want, except that the values I used for creating the report are the default values of the prompts.  I would prefer the prompts to be blank.I figured out a work around, but it is rather awkward to say the least (purge the data, remove the filters, save the report, open the report, add the filters back, save the report and publish).  This is rather goofy to say the least.Am I missing something?  Is there a way to purge the data as well as the prompt values and then publish the report? Regards,Adrian of Railinc 

    Post Author: kevinl
    CA Forum: Publishing
    1) Open and log in to your CMC
    2) Click Objects
    3) Click on your report
    4) Click the "Process" tab
    5) Click Parameters
    6) Click on the string that displays under the "Value" column. (should look like whatever you used when you tested the report prior to loading)
    7) Check mark both boxes (Prompt the user for new value, and Clear the current parameter.)
    8) Click Update
    9) Done!

  • Vector does not retain values in hashmap

    There should be 200 different values in Vector Group_Privs, but all the values is the last value retrieved. Help!
    Map map = new HashMap();
    Vector Group_Privs = new Vector();
    Database database = new Database();
    ResultSet result = null;
    String connection = Connection;
    try
    Connection con = database.getDesiredConnection(Connection);
    PreparedStatement ps = null;
    try
    ps = con.prepareStatement("select GROUP_ID"
    +" from group_table ");
    result = ps.executeQuery();
    int i=0;
    while (result.next())
    map.put ("GROUP_ID",(String)result.getString(1));
    Group_Privs.add(map);
    result.close();

    import java.util.*;
    public class Example {
        public static void main(String[] args) {
            List<Map<String, String>> list = new ArrayList<Map<String, String>>();
            addValues(list);
            retrieveValues(list);
        static void addValues(List<Map<String, String>> list) {
            for(int i=0; i<4; ++i) {
                Map<String, String> map = new HashMap<String, String>();
                for(int j=0; j<=i; ++j) {
                    String s = String.valueOf(j);
                    map.put(s, s);
                list.add(map);
        static void retrieveValues(List<Map<String, String>> list) {
            for(Map<String, String> map : list) {
                System.out.format("%nmap of size %d: %n", map.size());
                for(Map.Entry<String, String> e : map.entrySet()) {
                    System.out.format("%s |-> %s%n", e.getKey(), e.getValue());
    }[http://java.sun.com/docs/books/tutorial/collections/index.html]

  • Assigning multiple values from a List of Values at detail (table) level

    Hi,
    I have a master detail entry screen. I want to assign multiple values when end user selects an item from the list. The field is at detail level (Table type). I can do it using the "Select one choice" type component (ADF Faces Core) but it doesnt retain the value when I go to the next record. This type of component works fine with the screen with only one record to show (form type). This component has binding with list type.
    If I use simple list with Table binding, I can not assign values to multiple items. This type of list retains value when record is changed.
    Can anyone help me resolving this issue?
    Thanks,
    CAH

    Post on Jdev forum JDeveloper and OC4J 11g Technology Preview
    --Shiv                                                                                                                                                                               

Maybe you are looking for

  • Can update to 10.6.7 but can't install / use Combo update

    Hi. Please see http://i.imgur.com/avdV8.jpg Is the "Server" Combo different from the Combo I need? Thanks.

  • Regarding creating excutable jre

    hi all, i want to know after making excutable jre, if i want to install the application some other system what are thing need to installed in that system. is jre is enough? i made it jre but the problem is want to excute in comand prompt, i want like

  • Include in XML Code

    I'm not a XML guru and the only way I found to "include" a fixed xml part (in order to avoid to repeat it many times) is the & wich refers to an ENTITY in the DTD wich poins to an external file. Sometime, however, the DTD can't be changed. Could some

  • Change user permissions in Terminal?

    Hey everyone. The company I work for has decided that we need to switch multiple users from admin accounts to standard accounts. Since there are multiple people across multiple machines, it will take awhile to remote into each machine and manually fl

  • Pdflib help

    What does it usually mean when I get this error? "The selected method get_pdi_value was not found." here's the line in the code where that's happening... I'm also getting this error below the other: "Function must not be called in 'page' scope" I've