How to remove values in a page by clicking on a button

Hi all

I have a requirement where you press a button

I need to refresh the page in this sense, all the values you entered previously should be deleted"

each field must be empty

Suppose that my button is Refresh this code must be written in PFR

I used


PageContext.setforwardurl)
PageContext.forwardImmediatelyTocurrentPage)
PageContext.forceForwardUrl)


nothing happens on my page


regarding

DEV

Hello

Catch the event of the button "Refresh" and clear all of the fields you want by using the code below:

For example, if you want to clear the field of LOV, then use this code:

Import oracle.apps.fnd.framework.webui.beans.message.OAMessageLovInputBean;

OAMessageLovInputBean = (OAMessageLovInputBean) webBean.findIndexedChildRecursive ("field1_ID") field1;
Field1. SetValue (pageContext, null);

Sushant-

Tags: Oracle Applications

Similar Questions

  • I have a purple yahoo page and a page of yahoo to blue color. I can't understand how to remove the purple color page.

    I have a purple yahoo page and a page of yahoo to blue color. I can't understand how to remove the purple color page.

    original title: pages of Yahoo

    Hello

    I suggest you contact Yahoo! help for assistance.

    http://help.Yahoo.com/l/us/Yahoo/helpcentral/helpcentral_contactus.html

    See you soon.

  • How do to navigate to another page when press the 'OK' button to confirm the dialogue?

    Hello
    In a detail of the page, I have a "Delete" button, and when you press this button, it will appear a confirmation dialog box, if the user click on 'Cancel', the dialog box is missing stay and still on the current page, if the user presses the "OK" button, it calls a method in the class ViewImple (do remove and other business process logic) and show a different page. The extract of the JSF page as follows:

    < text af:commandButton = 'Delete' action = 'delete' id = "cb3" >
    < af:showPopupBehavior popupId = "p1" triggerType = 'action' / >
    < / af:commandButton >
    < af:popup childCreation = autoCancel "delayed" = "disabled" id = "p1" contentDelivery = "immediate" >
    < af:dialog id = "d2" type = "okCancel" title = "Confirm deletion?" resize = 'off '.
    dialogListener = "#{scheduleBean.deleteScheduleDialog} ' contentWidth ="200""
    contentHeight = "50" >
    < af:outputText value = "Are you sure you want to delete this report?" id = "ot1" / >
    < af:clientListener type = "dialogue" method = "dialogAction" / >
    < / af:dialog >
    < / af:popup >
    < af:resource type = "javascript" >
    function dialogAction (evt) {}
    result of the var = evt.getOutcome ();
    if(Outcome == AdfDialogEvent.Outcome.Cancel) {}
    evt. Cancel();
    }
    }
    < / af:resource >

    Now the question is when I click on "OK" button confirm dialogue, dialogue is missing, but he can't get into the business logic in ViewImpl class method (the "delete" action value you access method adfc-config.xml file, and then navigate to another page), also click on the button 'Cancel' to stay on the current page.

    All tips will be of great help!

    You can use it as

    Navigate ("deletePage"); the adfc-config. XML

    public static navigate (String taskFlowName) Sub {}

    > FaceContext.getCurrentInstance () .getApplication () .getNavigationHandler () .handleNavigation (FaceContext.getCurrentInstance (), null, taskFlowName);

    }

    or for isnde action to propagate a method you have to use
    > MethodExpression exp =
    > (MethodExpression) ADFUtils.getMethodExpression ("deletePage");
    > getRegAgentNextBtn () .setActionExpression (exp);
    I hope that you ADFUtils with you

  • How to remove the support contact at screenshot using the "home" button

    guys, please help, how to remove the support contact at screenshot using the "home" button? I use 6 s ios 9.2, but when I take screenshot with the menu help key, the help key disappear on my photo, but the problem is, I want to take screenshot with my home button, please help... Thank you

    What turned the problem into a screen with the home button? Quickly, you press the power off button and home together and release - if the sounds are enabled - you should hear the camera shutter sound and have the capture in your app screen shots. The help key is not displayed

  • How to remove the html insert page here

    contct.jpgI just inserted a form of contact made externally and hosted remotely at my contact page. Unfortunately, there is a completely useless "insert your HTML here ' above the form." Please can someone tell me how to remove it. I did the form 123 Maker easy to make brilliant customer service.

    Hello

    Please, do a right-click on the form and click on edit HTML.

    Now, at the top of the code, it could have a "insert your HTMl here. Delete it and click on 'OK '.

    Kind regards
    Sachin

  • How to remove ButtonField when the user has clicked and it is in HorizontalFieldmanager...

    Hello
    My screen I have the list of data and at the end I buttons when I click the button, the data should remain and should be deleted. My screen I have a VerticalFieldManager and given I have place in HorizontalFieldManager and I added the button horizontalFieldmanager.even I place in HorizontalFieldmanager... to be more detailed, I see: -.

    class Page extends Screen
        {
            LabelField name,namevalue,Phone,phoneNumber;
            ButtonField btn;
    
            Page()
            {
                              super(new VerticalFieldManager(),NO_VERTICAL_SCROLL);
    
                    VerticalFieldManager vfm_Data = new VerticalFieldManager(Field.USE_ALL_WIDTH | VerticalFieldManager.VERTICAL_SCROLL | VerticalFieldManager.VERTICAL_SCROLLBAR);
    
                                         HorizontalFieldManager hfm_name = new HorizontalFieldManager();
                     name = new LabelField("Name     :     ");
                     hfm_name.add(name);
    
                                         namevalue = new LabelField("Jackey");
                     hfm_name(namevalue);
                               vfm_Data.add(hfm_name);          
    
                                HorizontalFieldManager hfm_phone = new HorizontalFieldManager();
                     Phone = new LabelField("Contact Number     :     ");
                     hfm_phone.add(name);
    
                                         phoneNumbere = new LabelField("123456");
                     hfm_phone(phoneNumber);
                                vfm_Data.add(hfm_phone);
    
                   //Like above HorizontalFieldManager i have 10 more say HorizontalFieldManager with Data and value and i have added all the HorizontalField Manager to VericalFieldManager vfm_Data....and i have a button in the end :
    
                HorizontalFieldManager hfm_button= new HorizontalFieldManager();
                btn = new ButtonField("Accepted");
                hfm_button.add(btn);
                vfm_Data.add(hfm_button);
    
                //and at i add the verticalField manager.
    
                add(vfm_data);
    

    My requirement is now when I click on the button accept I want to delete field button that I do a delete (hfm_button);   , But it says an error "Attempt to delete a field that does not belong to the Manager."

    Can you please tell me how to delete the field button when I click on the button accept...

    First your VFM is named vfm_Data, and at the end your constructor you add a (nonexistent) value to the screen named vfm_data.

    Have you tried vfm_Data.delete (hfm_button)?

  • Newbie question: How do I hide a page after click on the button?

    Hello!

    My name is Rafael. I'm talking about the Brazil.

    I am new user on the AdobeCycle software

    I do a form and I need help, please.

    My project form has three pages:

    1st Page - Instrucion

    Page 2 - form with fields to fill in

    3ª Page - (this page will be hidden). This page will be information the information filled out by the user to the 2nd Page . Will be just text.

    What do I want?

    When the user click on the button send email, I want the page with the form is hidden and show the 3rd Page with information (no field, only the full text). I want to send the PDF file to the e-mail with the 1st Page and 3rd Page (just the text with the information).

    How can I do this? How do the 3rd Page (the information filled with page two)?

    No problem of Rafael,

    Adobe have a guide that is very useful to access many of the features of the fields here: http://partners.adobe.com/public/developer/en/tips/CalcScripts.pdf

    I think about her a lot.

    Then at page 164, it looks like access/change the color of the legend AND the value:

    TextField1.caption.font.fill.color.value = "R, G, B" / / change the color of the legend

    TextField1.font.fill.color.value = "R, G, B" / / change the color of the value

    If you want to change the color of the border, then this requires another script. The example on the blog we mentioned, examples on page 2 to change the color of the borders of the second row down): http://assurehsc.ie/blog/index.php/2010/06/laying-out-a-form/

    For example:

    VNAME var = this.name.toString ();

    xfa.resolveNode (VNAME + ".") ui.textEdit.border.edge") .stroke ="solid";

    for (var i = 0; i)<4; i++)="">

    this.ui.oneOfChild.border.getElement("edge",i).color.value = "255,153,0"; orange tint

    xfa.resolveNode(vName_+_".ui.textEdit.border").getElement ("edge", I) .thickness = "0,0200" in

    }

    In addition, here are some links that might interest you: Re: books or guides for Livecycle Designer

    Good luck

    Niall

  • Problem of setting a value for the hidden item click on the button with processes action or pl/sql dynamic

    Apex 4.1

    Oracle 11g

    I have a page which consists of a main and several sub-regions area.  I have a pl/sql process in after the header SET_DISPLAY(:P400_DISPLAY:='MAIN';))

    Three subregions have a contional show where P400_DISPLAY = STORE.  It works in the hiding of the sub regions.

    Now, I want to change the value P400_DISPLAY to the STORE to show the subregions when I hit a button.

    I tried to create a dynamic action for the click on the Add button, but get the following error:

    The selected button uses a model of 'button' that does not contain the #BUTTON_ID substitution string #.

    I went to the models and found:

    Substitution strings

    Top

    Substitution strings are used in sub models to reference the value of the components. This report details use of string substitution for this model.
    Substitution string Referenced De Description
    #LINK #.YesModelTo be used in an attribute "href".
    #JAVASCRIPT #.NO.To be used in an "onclick" attribute
    #LABEL #.YesModelButton label
    #BUTTON_ATTRIBUTES #.NO.The attributes button
    #BUTTON_ID #.NO.ID generated button will be ID either the static button if defined, or if not will be a generated ID internally in the format 'B ' | [Internal ID of the button.

    I then tried to create a page process, pl/sql,: P400_DISPLAY: = 'STORE '; If the button is pressed.  The action of the button is submit page. However, it does not change the value of P400_DISPLAY and the subregions are hidden.

    Suggestions please on how to fix the template or change the value of P400_DISPLAY?

    The question of the root, it's that, even if you change the value of the element of your page, it is not visible to other areas of the page until it is in the session. Thus, any other action based on the value of the element of your page. the visibility of a control, a report based on the value of the item, etc. will be affected by changing the value of the item page until it has been changed in the session. Even after that, items are stored in the session, then you must do something to influence the revalued value. To see the effect of this, observe that your page will load and assesses the value of the element of your page, it sees which is the "MAIN" and mask areas. However, he didn't reassess after that.

    Then; your choices for this value set at the session are send the page, or use JavaScript to set the value in the session. If you use the latter, you will have to do extra work to make visibility tests be re - run, so, let's stick with the submit method.

    What you did above sounds correct to do this but, there are a lot of decisions, that you might have done that may have caused things to do not occur in the correct order.

    First of all, we will confirm that what I describe above is your problem. From the development environment, load the page, click on the button to change the value and submit. Now, click on the link marked the Session. He is always at HAND? If the answer is "Yes"; That's your problem.

    Let's start with your calculation after the header. You set it to * only * run if the current value of the element of your page is null? If this isn't the case, it's your problem.

    Load the Page-> Item set to 'Hand' by calculation-> click on the button--> Item set to STORE-> Submit-> Page Load-> point by calculating the value 'hand '.

    See the problem?

    Assuming that's not the question, you have created a branch to the same page, right? What is your process for the branch point? Is it * after * Validation, computation etc.? Because if not, you are not changing the value before that didn't get to submit.

    I bet that's the first question, but take a look at these.

    See you soon,.

    -Joe

  • How to run the PL SQL function on click of a button

    Hello

    I have problem with run SQL PS function on click of a button. I have create a new button and call the function STANJA.insert_into_log_fun1('cc'); "Value of the button application", a Type of Source select button request = 'SQL PL Expression or function.
    Problem is that this function is executed at the loading of the page, but not to the click. I don't want to perform this function on loading the page, only when I click the button.

    Does anyone have idea how can I solve this problem?
    Thank you very much.

    Alter this process > status > when you press the button > choose the button you want the pcoss to run on.

    RAL

  • Go to a new Web page by clicking on a button

    I watched and listened to almost all of the tutorials online, but can't find the place where:

    When you click on a button or dropdown menu item - how to get it to you take to the (appropriate) next page.

    for example, click on Contact - should go to the contact page.

    What happens / where should I be looking for or asking (i.e. a code goandGet?) to do this?

    Forrest

    AS2: getURL()

    AS3: navigateToURL()

  • Web ADF how to reach a view object when you click on a button

    Hi all

    I'm new to the web of the ADF
    My requirement is as follows:
    I have a page with a button print, I want when I press this button to go to a view object and specify a value in the database.

    I did a class for the managed bean and I put the following in it:

    {} public void calc (ActionEvent actionEvent)
    Add the code in the event here...
    TaskProjViewImpl t = new TaskProjViewImpl();
    t.Calculate ();
    }

    but according to me, it is not good to create an object like that, is it?
    What is the best thing to do my requirement?

    Help, please

    Your code does not work.
    Expose you the objects in view via request module (data model). It's a build data control that you use in the user interface.
    You give enough information on the use case, so all you want to do can be done without a bean.
    Open the data control build of the application module you an expand the node of the VO. You should see the method you are trying to call too in the bean. Drag onto the page and select the ADF button when asked what to create. That's all.
    This may not be exactly what you need but otherwise please describe your use cases in more detail.

    Timo

  • How to run the SWF file when I click on a button

    Dear friends!

    I did three and kept SWF files in a folder, how do I make a flash 8 project to execute when I click on a button. I'm going to make buttons for each SWF file

    Please help me

    use loadMovie to load in your main swf (with button).

  • How to assign a field date sysdate when clicking on create button?

    Hello, when the user clicks on the button create, must see "sysdate" default to the date in the field... When can I add such validation please?

    I tried to add a business rule on the purpose of the entity and the value of the expression like "adf.currentdate", but it did not work.

    Any help please? Thank you.

    See

    Dare... Code: date current time groovy for ADF

  • Redirect to another page by clicking on the button

    Hi all

    I want to open another page by clicking on button I try to code below, it does not get another page in oaf (10.1.3).

    pageContext.forwardImmediately ("OA.jsp?page=/eamxx/oracle/apps/eam/oagroup/webui/NavigatePG"

    null

    OAWebBeanConstants.KEEP_MENU_CONTEXT

    null

    null

    false

    OAWebBeanConstants.ADD_BREAD_CRUMB_NO);

    Please give any solution.

    Kind regards

    Mohan Reddy

    I found the solution using open below code one another class page in co process application form need to write the code below.

    If (PageContext.GetParameter ("Next")! = null) {}

    am.getTransaction () .commit ();

    () pageContext.setForwardURL

    "OA.jsp?page=/eamxx/oracle/apps/eam/oagroup/webui/NavigatedtPG&formval=val,"

    NULL,

    OAWebBeanConstants.KEEP_MENU_CONTEXT,

    NULL,

    NULL,

    true,

    OAWebBeanConstants.ADD_BREAD_CRUMB_NO,

    OAWebBeanConstants.IGNORE_MESSAGES);

    }

    Kind regards

    Mohan Reddy

  • Refresh the page on click of a button

    Hello

    When I click on the button to add a new line in a table on the page of the ADF, entire page is getting updated. Can I do this without the page being refreshed?

    Thank you
    Lakshmi.

    Try this:
    1. define the partial submit property for the button create to true.
    2. set trigger partial ownership to the table for the ID of your button create.

Maybe you are looking for