How to clear and nullify all values in various controls on a Search Form?

I have a page with search control mainly comprising of List Box, Text Box and Radio Buttons, I wish to provide user with a 'Clear' Button which should refresh the page and nullify all values user may have filled in the controls. How can I do this?

Hi,
Create button.
And then Create Page Process type of "Session State -> Clear Cache for all Items on Pages (PageID,PageID,PageID)".
Set process conditionally with your button
Br, Jari

Similar Messages

  • How can i get the all values from the Property file to Hashtable?

    how can i get the all values from the Property file to Hashtable?
    ok,consider my property file name is pro.PROPERTIES
    and it contain
    8326=sun developer
    4306=sun java developer
    3943=java developer
    how can i get the all keys & values from the pro.PROPERTIES to hashtable
    plz help guys..............

    The Properties class is already a subclass of Hashtable. So if you have a Properties object, you already have a Hashtable. So all you need to do is the first part of that:Properties props = new Properties();
    InputStream is = new FileInputStream("tivoli.properties");
    props.load(is);

  • How to read and update the value of property file

    Hi,
    I am not able read the values from property file.
    Please tell me how to read and update the values from property file using Properties class
    This is my property file : - Config.properties its located in D:\newfolder
    Values
    SMTP = localhost
    Now i need to change the value of the SMTP
    New value :
    SMTP =10.60.1.9
    Pls Help me
    Thanks
    Merlin Rosina,

    Post a small (<1 page) example program that forum members can copy and run that demonstrates your problem.

  • How to download and install all drivers on my laptop..plz help

    how to download and install all drivers  on my laptop..plz helpthe pre installed OS was ubuntu but now i havve installed Windows 7 64 bit...i m not able to use internet through ethernet,my wifi is not working..and many such problems related to drivers.

    How did you post this? Download the drivers to a memory stick. See Paul_Tikannen's post here: http://h30434.www3.hp.com/t5/Notebook-Operating-Systems-and-Software/windows-7-drivers-for-hp-1000-1336TU-notebook/td-p/4852732

  • How to clear downpayment of higher value than invoice

    Dear All,
    I'm tryig to establish new procedures at cutomer AP department and one of them is causing me a headache.
    Situation looks like this.
    - Vendors requests for Downpayment
    - Downpayment request is posted with F-47 (value 1000 USD)
    - Downpayment request is paid with F110
    Now, couple of days later, vendor comes back with an invoice ( only 700 USD)
    - Invoice is posted with FB01
    - Now, downpayment should be cleared (F-54) againist the invoice - PROBLEM is that downpayment value is more than invoice value.
    Question: How to clear downpayment in this situation so remaining amount (1000 - 700 = 300 USD) becomes a regular "Vendor debit".
    Objective: I need to clear this dowpnayment in a way which will cause 0 (zero) payment to the Vendor invoice in F110 and remaining amount  can be cleared in the future when Vendor returns the money to the cashier.
    Thanks for help - in advance.
    Best regards
    Tomasz
    Vendor will eventually return cash and
    Edited by: Tomasz  Gaczynski on Oct 25, 2010 5:03 AM

    Ok, I owe you some more explanations:
    The "Vendor" is actually a company employee created as vendor. He receives expenses downpayment and comes back with set or "original receipt" slips and summarized expense report which is posted as Invoice. HE HAS TO return the money as no "further invoice" will be issued.
    In current process - F-44 is used but I'm trying to get rid of it.
    I'd like to have a scenario like this:
    - Downpayment is paid
    - Employee comes back with sumary expense which is posted with FB01
    - Invoice is cleared against downapyment with F-54
    - Upon payment run, invoice is cleared (zero payment is maid) and Vendor account is debited with remaining amount
    - Employee returns money which are posted and cleared against remaining, original downpayment
    - Emplyee (Vendor account) balance is now 0.
    - Case closed.
    Now, like I said - they clear everything with F-44 and case closed.
    I need to come up with something using F-54 (maybe with transfer posting) as in future, this process should be automated and F-54 is easier to use than F-44.
    Any ideas? Thanks

  • How to clear the Managed Bean Values prior to load a JSF page

    Hello.
    I have a jsf page that contains fields that need to be cleared BEFORE the page is loaded.
    My managed bean where the fields are linked (I�m using the value attribute) is in the SESSION scope because I need to control they values across a popup window and if I use request scope, my vectors that load objects like dataTable are cleared when I post the form.
    My question is :
    How I CLEAR all the values in the managed bean BEFORE the page is loaded ???
    In the WebForms (Microsoft .NET) I have an method on the codebehind called Page_Load where I put my initialization code for my page.
    Thanks in advance.
    Rog�rio

    Rog�rio,
    You can do this with a PhaseListener. Just regiser a new listener for the RESTORE_VIEW phase, and implement the beforePhase method; you can do this in the backing bean's constructor, or somewhere elase. This is pretty much the same as the Page_Load event handler in .NET.
    Kito D. Mann
    Author, JSF in Action
    http://www.jsfcentral.com - JSF news, info, and FAQ
    Hello.
    I have a jsf page that contains fields that need to be
    cleared BEFORE the page is loaded.
    My managed bean where the fields are linked (I�m using
    the value attribute) is in the SESSION scope because I
    need to control they values across a popup window and
    if I use request scope, my vectors that load objects
    like dataTable are cleared when I post the form.
    My question is :
    How I CLEAR all the values in the managed bean BEFORE
    the page is loaded ???
    In the WebForms (Microsoft .NET) I have an method on
    the codebehind called Page_Load where I put my
    initialization code for my page.
    Thanks in advance.
    Rog�rio

  • How to retreive and display return value from BAPI

    Hello,
    I am using SUP to create a sales order application. In my MBO I have a create operation which calls a BAPI to create a sales order. How can I retrieve the return value (saled doc number) and display it on a screen and display it as an Alert of BB application.
    Regards
    Nidhideep Bhandari

    Hi David Brandow,
    I have tried your solution where I just created a MBO for my 'operation' and I'm using sync parameters to execute the RFC.
    The problem I'm facing is, for example, if I create a record it gets saved in the MBO table and the record successfully gets created in SAP as well after a sync. But when I create another record and sync, the previously saved record in MBO table also gets executed so I'm getting duplicate entries in SAP.
    Have you or anyone faced this problem?
    Any response is appreciated. Please let me know if I'm not clear, I realized its a complicated scenario.
    Thanks,
    Sandeep

  • How do I assign a numeric value to an alpha character within a form and still run a total?

    I am trying to build an attendance sheet where P=Present, A=Absent and so on.  I've created the summary field correctly however the individual fields will only take numeric characters.  I would like for the user to be able to enter P, the P stay there visually but have a "real value" of 1 and then have a numerical total at the end.  In other words, P=1, A=0, etc...
    Thanks in advance for your help!
    Lucy

    Hi Lucy
    Create a text field called "Total" and make the following its custom calculation script:
         var presentDays = [];
         for (var i=0; i<this.numFields; i++) {
             var f= this.getField(this.getNthFieldName(i));
             if (f.value=="P" || f.value=="p")
             presentDays.push(1);
         var p = presentDays.length;
         this.getField("Total").value = p;
    The above will search through your form and find all fields with "P" or "p" in them, in which case it adds 1 to the total and displays it in the "Total" field.
    I hope this helps.
    Michael

  • How to create and send clob value to SP?

    Hi,
    Does any one of an example of how to create and send
    a clob value(as a IN parameter to storedprocedure) from JAVA to
    the StoredProcedure. I need the JAVA code.
    null

    Hi 
    Following is sample code you can use.
    DECLARE @testID Int
    DECLARE @year int 
    DECLARE @testtype datatype
    SELECT @testtype=testtype from yourTable Where Your condition
    SELECT  @year= year from yourTable Where your conditon (you need to make sure you assign or get @year variable )
    SELECT @testid=id from test where  year=@year and testtype=@testtype)
    Hope this helps
    Regards

  • How to update and use the values of variables of another class

    I can we update or use the values of the variables of another class. For example, if we have class A
    public class A //(situated in package view)
    public s0,s1;
    public void runFunction()
    ...some coding and proceedings
    s0="Hi";s1"Hello";
    ......some coding
    RequestDispatcher dispatcher = request.getRequestDispatcher("/MainUser.jsp?alert=F");
    dispatcher.forward(request, response);
    ARunner.jsp
    <jsp:useBean id="a" class="view.A" scope="session"/>
    <%
    a.runFunction();
    %>
    MainUser.jsp
    <jsp:useBean id="a" class="view.A" scope="session"/>
    <%
    System.out.println("S0:"+a.s0+" S1:"+a.s1); //should print S0:Hi S1:Hello, but printing S0:null S1:null
    %>
    A.class has some procedures and String variables which can be updated and later can be used in JSP pages. The project starts with ARunner.jsp which uses the A.class and updates the values of string variables s0 and s1of A to hi and hello respectively.And then redirects the page to MainUser.jsp.
    Now what I want is ,when I call those string variables(s0 & s1 of A.class) in any another jsp likeMainUser.jsp it should give me the value of hi and hello respectively not null as it is giving right now. Could you refine the coding for this one?

    public class A //(situated in package view)
    public String s0,s1;
    public void runFunction()
    ...some coding and proceedings
    s0="Hi";s1"Hello";
    ......some coding
    RequestDispatcher dispatcher = request.getRequestDispatcher("/MainUser.jsp");
    dispatcher.forward(request, response);
    ARunner.jsp
    <jsp:useBean id="a" class="view.A" scope="session"/>
    <%
    a.runFunction();
    %>
    MainUser.jsp
    <jsp:useBean id="a" class="view.A" scope="session"/>
    <%
    System.out.println("S0:"+a.s0+" S1:"+a.s1); //should print S0:Hi S1:Hello, but printing S0:null S1:null
    %>
    giving code again to remove the typing errors. Please guide.

  • How to hide rows if all values are Zero  (0) horizontally?

    Hi,
    I have got a requirement to hide rows from the results if all values are equal to zero horizontally.
    Example:
    Region   M1    M2   M3
    East     0      0    3
    West    10     20    0
    South   -5      0    5
    North    0      0    0In the above example only North Region row should be hidden from the results becasue all the measures values are zero.
    Can someone please let me know the logic to achieve this?
    Thank in advance.

    Hi Karthik,
    Your answer was spot on(you are awarded points) but not my question. My client uses some X erp, which removes all zero value records when he clicks to see results. He wanted the same thing for Answers (he does not want to add any filters). Is there anyway to achive that, like using javascript or something?
    Thanks in advance.

  • How to set locking for all values of a char other than using query

    Hi Friends,
    any suggestions?  I like to explicitly lock all possible values of a particular characteristic in a cube without using a filter.
    thanks!!
    Cran
    Edited by: Cranberry CranCran on Jan 31, 2008 4:48 PM

    If you dont restrict the characteristic using any value in the filter, then all values will be locked.

  • Hide "All values" in input controls?

    Hey guys,
    I'm wondering that I could not find my question already in this forum but however - this is my question:
    Isn't it possible to hide the value "All values" in the input controls? In some cases it just doesn't make sense to leave that into the input-control-field.
    I.e. if I want to give the possibility to switch between Euro, kEUR and mEUR I need to hide the "All values" radio button (see screenshot).
    But how can I do that?
    Thanks for your help !
    Oliver

    Hi,
    That was a very useful answer!
    I have a quick question - I am in BO 4.0 (not 4.1) and I would like to default the "All values" selection to a specific value.
    I have defined the input control using Var_Currency_Type (dimension) and have assigned two values i.e. 'USD' & 'Local Currency'.   The default value is 'USD'.
    The input control works fine. When I select either USD or Local Currency.
    but, I do not see any table when I select 'all values'.  I would like it to display 'USD' when user selects 'All Values'.
    =======================================================================
    In the format table (two tables - one for USD and one for Local currency), I have put in the formula:
    x - Hide when following formula is true
    =ReportFilter([Var_Curency_Type])<>"USD" -- for USD table
    and = ReortFilter([Var_Currency_Type])<>"Local Currency" for Local Currency table.
    ======================================================================
    Does anyone have encoutered this situation.  Could you please share the solution?
    Thanks for your time.

  • How to refresh page after selecting value from LOV item , in a tabular form

    Hi ,
    I have a tabular form, which contains 2 items(columns), of type "Select List - named LoV".
    Now, couple of issues here.
    1.
    2nd item(column) in tabular form, that LoV should get populated based user's selection value in first item LoV. So how do i refer to the value, that user selected in first item's LoV? I will have to use this reference in LoV query of my 2nd item ( on this tabular form)
    2.
    How can we refresh the page, when user selectes value in first item ( from LoV). As this is a tabular form, here item type is Select List, we dont have an option to pick item type as Select List with Submit. So problem is that when user selects value for item 1, refresh does not happen and item 2 LoV does not get populated as per user's selection in item 1.
    Please help here. Would be really appreciated.
    Thanks and Regards,
    Rave.

    Thanks Ben and Dan for your responses.
    Ben, your solution helped me with refresh of page, as page got submitted.
    This answers to my 2nd question. However, I still need to know first question, which basically is, how do i refer to the value, that user selected in first item LoV.
    Issue is, I selected the value in first item LoV, it got submitted and page fot refreshed. But after page refresh, first item LoV loses its value that I had selected last time. It does not retain the selected value after refresh.
    I have an unconditional process, that on every submit(refresh) of page, I set my items with their corresponding values. But problem is what do i mention there to refer to this item.
    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).
    Any help here would be really appreciated. Please suggest how do we refer to this item's selected value.
    Thanks and Regards,
    Ravi.

  • How to restrict customer records being displayed using 'sales_channel_type' criteria in customer search form at 11g?

    OS: Linux
    DB: 11.2.0.3
    ERP: 11g
    Hi There,
         I would like to create a new custom responsibility, which the responsibility is having access to Standard Customer Form (ARXCUDCI.fmb) , but I would like to make a restriction in the customer search form is that, everytime the responsibility user search by customer number, customer name, party name or what ever search field, I would like to limit to restrict further of searching criteria where SALES_CHANNEL_TYPE = 'RTL' is allowed to populate the customer records, there rest of customer records are not allowed to search out.
        This SALES_CHANNEL_TYPE column is from HZ_CUST_ACCOUNTS table.
        I have tried the Form Personalization already, but the customer searching form has too many fields for user to search, therefore form personalization will be putting all over the places in the form. Therefore I saw others recommended of doing "Custom DLL"...may I know for my scenario, how to I go about Customer DLL? or any other more effective solution?
       Appreciate if anyone can share your experience related to matter above.
    Regards,
    Lygine

    Hi Lygine,
    The personalization i sent you works in this way:
    -It does not matter which field you choose to enter the query.
    -If a record is found, when the form opens and the cursor hits the Customer Name field, the personalization looks for the content of the Sales Channel field.
    -If the content of this field is different from the 'RTL' string, the form Customers form (ARXCUDCI) is cleared.
    Independently from the field you fill to perform the query, is a record is found, the Customer Name field is the first the cursor hits when the form is opened.
    Octavio

Maybe you are looking for

  • Can one have multiple e-mail addresses in iCloud?

    My family shares one apple ID for purchases.  This also works wonderfully for syncing our calendars with iCloud.  However, I have one e-mail address and my wife has another.  Is it possible to create two @me accounts and sync them across all of our d

  • What is an as2proj file?

    I do all of the flash work for my company, so, when I had to take a couple of days off for a funeral my boss had a contractor build a flash app that I would have built during that time. Yesterday we received the source files. AS2 publish for player8.

  • Selection screen urgent

    Hi . Would  you please help me about define a selection with this rules ..On selection screen  select-options date for sy-datum . if radio button A selected I want to refresh date's screen only year and this selection will be in terms of whole year .

  • Consuming Web Service from ABAP: ERROR_WEBSERVICE_RUNTIME_INIT

    Hi fellows, I have to make a call from SAP (CRM) to external system (via webservice) for this purpose I've setup a new Proxy-Object, uploaded the WSDL file (locally) and Created a Logical port. In the Logical Port under the tab Call Parameter I've de

  • [SOLVED] "No scan results", Ralink Device 3592

    Hi, I have recently installed Arch on my HP ProBook 4530s, and it has gone great; except that I can't seem to be able to get wifi to work. I've followed the instructions on the wiki, but no dice so far. At first, I tried using netcfg profiles, but it