Issue in PPR event calling as it submits the page validation

Hi,
i need to display the field based on the check box value.
I used PPR event on clicking chekbox bean. event: update
i set SPEL to the display fields.
but when ever i select the value in checkbox , the page is submitting and pop up (checking all mandatory fields or not)
It shows form validation failiures:
Enter the mandatory fields/........
how to handle this.
please help in this .
Thank you

Please make sure, when you trigger your PPR event, you have some values given to the field which has REQUIRED = YES.
Setting REQUIRED=YES makes that field a mandatory field, and you cannot submit the form to the server without giving value to that field.
Thanks
Saurabh

Similar Messages

  • What is the event to handle before leaving the page?

    Hello All,
    I am using splitApp. I have a scenario where user can edit few fields in one of the "Detail" page. When user clicks some item in master page, before changing the detail page I want to show a popup to user if changes should be saved.
    Is there an event where I get to know any detail page navigation? or some event to handle before leaving the page.
    Thanks,
    Rashmi

    Hi Rashmi,
    It depends on which element you are using.
    Suppose you are using sap.ui.commons.TextField where you are editing your data(In Detail View) then change event is triggered whenever the text in the field has changed AND the focus leaves the TextField or the Enter key is pressed and you can use this event in your code according to your need.
    Here you may set some global variable and check that value if it is set or not.
    Best Regards
    Dhananjay

  • How to remove data from page after submitting the page?

    Hi,
    I am using API to create person record.After submitting the create page the data are still
    showing on that page.
    How to remove data after submitting the page?
    Please suggest.
    Regards,
    Sagarika

    Abdul,
    Your solution is perfect if the UIX beans on the page do not have BC4J binding with a VO attribute, otherwise, Sumit's soution is appropriate.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                               

  • Multi-Row Delete from a table via a button without submitting the page

    Hi,
    I have a simple page based on a (temporary) table. There is a submit button that calls a PL/SQL process. However, I would like to have an 'Abort' button that deletes all rows from the table belonging to a specific user.
    I had a look at 'Processes -> Data Manipulation --> Multi Row Delete' but this can only be linked to a page level event such as onSubmit. My onSubmit is linked to another process so this is not an option for me.
    I thought of creating a PL/SQL function for the deletion and calling it from Javascript linked to a button. I have done the PL/SQL and the button but don't know how to call PL/SQL from JS. And is this the correct way of doing something like a deletion? Any documents that show how can this be done will be much appreciated....
    I had a look at the forum and the documentation but could not find anything for multil-row deletion triggered from a button.
    Your help is appreciated as I'm a newbie :-)
    Thanks
    Angela

    Hi,
    I actually found the solution. I created a button (that submits) and a computation that calls the PL/SQL function conditional on that button being pressed. Initially I got confused because I already had another PL/SQL function attached to different button. I didn't think that having two buttons that submit the page and call different functions was possible.
    Thanks
    Angela

  • Error while saving or submitting the page

    I have an application with sharepoint2010 and in the code behind visual studio 2012,Innitially evry module was working,but now when i am saving or submitting any page its giving me UNEXPECTED error with a co-relation id.
    I went through the error log,its only explaining about system.xml.serialization .
    Can any body tell me what could be the issue.

    Set the CustomError=Off in the web configuration file and see if you can view more information about the error message.
    Cheers,

  • CommandButton set to only call javascript, not submit the page

    Hello All,
    I have a problem with commandButton. I would like to use commandButton just to call JavaScript. When the user clicks the button, a JS function runs. My problem, is that I don't want to submit the form, right then. I leave the action and actionListener attributes out, but the command button still submits the form. Is there a better way to do this?
    Thanks,
    Grae

    IF you don't want a submit button, then why you use it?
    I mean if you want a button that calls a javaScript code then use:
    <input type="button" value="xxxx" onclick="xxx( )" />However, if you want to use a submit button (commanButton) but you want to contorl the submission based on JavaScript result fucntion then use:
    <h:commandButton onClick="return xxx( ) " ......................... />note the keyword return above, and don't forget to return ture (to submit the page) or false( to ban submission).

  • Getting error while calling AME api from the page

    Hi,
    I am calling ame api ame_api2.getallapprovers7 from our custom page.I have written following code-
    public void getapprovers(String transactionid)
    String OutError = "";
    ArrayList al = new ArrayList();
    OADBTransaction trans = getOADBTransaction();
    String insStmnt = "BEGIN " +
    "ame_api2.getAllApprovers7(applicationIdIn => :1,transactionTypeIn =>:2,transactionIdIn =>:3,"+
    "l_processYN =>:4,approversOut =>:5); " +
    "END;";
    OracleCallableStatement stmt = (OracleCallableStatement)trans.createCallableStatement(insStmnt, 1);
    try
    stmt.setString(1, "800");
    stmt.setString(2, "XXXXCWKAPP");
    stmt.setString(3, transactionid);
    stmt.registerOutParameter(4, OracleTypes.VARCHAR);
    stmt.registerOutParameter(5, OracleTypes.ARRAY,"XXXX_APPROVER_TABLE");
    stmt.execute();
    // OAExceptionUtils.checkErrors as per PLSQL API standards
    OAExceptionUtils.checkErrors(trans);
    ARRAY arrayError = stmt.getARRAY(5);
    Datum[] arr = arrayError.getOracleArray();
    for (int i = 0; i < arr.length; i++)
    oracle.sql.STRUCT os = (oracle.sql.STRUCT)arr;
    Object[] a = os.getAttributes();
    System.out.println("Column:" + a[0] + " Value:" + a[1]);
    //OutError = (String)a[1];
    //al.add(new OAException(OutError, OAException.ERROR));
    stmt.close();
    catch(SQLException sqle){
    try { stmt.close(); }
    catch (Exception e) {;}
    throw OAException.wrapperException(sqle);
    if (OutError != null)
    // OAException.raiseBundledOAException(al);
    4 and 5th parameters are out parameters and 5th parameter provides the approver records and it should have the same data type as ame_util.approversTable2. I have created this table type explicitly in oracle by the name XXXX_APPROVER_TABLE but i am getting the error while running the page "java.sql.SQLException: Fail to construct descriptor: Unable to resolve type: "APPS.ETHR_APPROVER_TABLE"". I requirement is to take the 5th parameter in ame_util.approversTable2 data type.
    Please help me urgently.
    Thanks
    Ashish

    Hi Kumar,
    The ETHR_APPROVER_TABLE is custom pl sql indexed table that I have created.following are the parameters of api-
    procedure getAllApprovers7(
    applicationIdIn in number,
    transactionTypeIn in varchar2,
    transactionIdIn in varchar2,
    approvalProcessCompleteYNOut out varchar2,
    approversOut out nocopy ame_util.approversTable2);
    i need a out variable of type ame_util.approversTable2 so get the values.
    I have changed the code and now getting the following error-
    java.sql.SQLException: ORA-03115: unsupported network datatype or representation
    I have only changed this statement.
    stmt.registerOutParameter(5,OracleTypes.PLSQL_INDEX_TABLE);//,"XXXX_APPROVAL_TBL");
    Edited by: user5756777 on Jul 13, 2009 4:17 AM

  • Changing region position on submitting the page by clicking a  button.

    Hi,
    I have 3 regions in my APEX page.
    1. Region having 20 LOV's with the width between them as 300. The display point is "Page Template Body (1)"
    2. Region having 3 buttons.(Go, CLEAR,CALCULATE) The display point is "Page Template Body (2)" Template is "Region without title" and column = 2 and align = "center" in HTML table cell attributes
    3. Region having a report with 25 display columns.
    Now the problem is,
    a) When I click "GO" button , 25 column report displays and it goes beyond the page layout. Hence button also shifts to right(means center position of the page when it is extended by 25 column report). User cannot see the button.
    This button shpould retain its place. How to do this?
    b) When I click "GO" button , the gap between the LOV's increases and LOV's also shifts to the right side.
    These LOV should be in its place. and should not move on click of button when page submitted.
    How can i achieve this. ??
    Any suggestios would be welcome.
    Please help me.
    Thanks
    Alaka
    Edited by: Alaka on Jan 5, 2009 6:06 AM

    Hi,
    If I understand well your problem... You don't say what theme you are using, but usually regions have width=100%, meaning that they should use the whole width of the page (not just the visible part on the screen). Because of this, when the region containing the report extends to the right, it forces all other regions on the page to resize themselves accordingly, that is why your design is getting messed up.
    One way to fix it is to tweak the region templates (I would suggest making a copy instead of changing the existing templates). Simply remove the width=100% setting, or hardcode it to a fixed width (for instance, width=300px).
    It is a bit complicated to explain here exactly how to do this, but I hope this gives you an idea...
    Regards,
    Luis

  • Script Errors when submitting the Page

    We are using iPlanet 4.1 as WebServer under SSL mode. The customers who are working under Windows XP with IE6.0(128bit) browsers are having Script Error problem, while submitting the data to the WebServer. Though the number of customers affected are less when comparing to the people who can access without problem, the script error problem is becoming to damage the image of our application. FYI, customer is working with BroadBand Internet Connections with the Local ISP.
    Kindly advise.

    First, due to security problems discovered in earlier versions, you should upgrade to iPlanet Web Server 4.1 SP11 or Sun ONE Web Server 6.0 SP4.
    That said, it sounds like you're encountering known SSL bugs present in Microsoft Internet Explorer. The release notes for current Sun ONE Web Server releases cover this topic. You can view the relevant section of the 6.0 SP4 release notes at http://docs.sun.com/source/816-6371-10/index.html#1007147

  • CAN't find Parameters, Events and Approval tabs in the Page Properties opti

    Hi Gurus,
    I am trying to test the approval process. I have created a page group and also created a page under that. I don't find the 3 tabs Parameters, Events and Approval in the Edit Page/Page Properties option. Please reply me what I have to do to activate those tabs.
    Thanks
    Raj
    ---------------

    In your Page Group properties ensure that parameters and events are enabled. Once they are enabled at the page group level, the tabs should appear in your page properties.
    Thanks,
    Candace

  • Issues with IFrame and calling an application outside the IFrame

    Hi
    I have an issue which is really turning my head 360 degrees in a "dead loop":)
    I have a WebDynpro application, one component and three views in a viewset.
    The first view will always be placed in column one and depending on some action the two other views should be loaded one by one. So in the main view the users will select three parameters from three dropdownboxes and then a call with the given parameters to an html file in KM - which then again is passing the parameters to a swf file which is presenting an Business Objects dashboard. The BO Dashboard is presented in an iFrame.
    The users selects an element in the Dashboard and is then again calling the webdynpro application with four parameters, the three first from the dropdownboxes, but also a new one which is used to call the third view. I am using NavigationTarget in the URL to load the application at the given position in the portal. And the logic is working, BUT the portal is presented in the IFram of the first View.
    So my question is - How to navigate from the IFrame and "back into the portal"????
    Regards
    Kay-Arne

    There was an issue with the serialization file created.
    Creating a new serilaization file via AAMEE and running it resolved the issue.
    Create a serialization file via AAMEE: http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/creativesuite/pdfs/Ad obeApplicationManagerEnterpriseEditionDeploymentGuide_v_3_1.pdf
    And then run it via command line.
    Here are the steps:
    AdobeSerialization (serialization file created using AAMEE 3.1) is not a double clickable file. You need to run it via command line to serialize the products. the command line is -
    AdobeSerialization --tool=VolumeSerialize --stream --provfile=”Absolute_Path_of_prov.xml”
    where
    --tool=VolumeSerialize:  specifies that the tool needs to process the prov.xml file to serialize.
    --provfile” specifies the absolute file path to the prov.xml file,
    By default, the tool looks for the prov.xml file in the same directory as the executable file and so
    typically you do not need to specify this option. (Specify this option only if the prov.xml file is in some
    other location.)
    Make sure you invoke command prompt with Admin privileges. Return code of zero means success.
    Tiffany can you please confirm the same?
    -Pragya

  • Elipsis tablet - Has anything been fixed to enable to sd card to be read and storage problems fixed??? I still am having issues. I have called, come in to the store, etc. very misleading for a contract!!

    I Have tried numerous times to install an SD card in my daughters tablet. Cannot get any help from in store or on the phone. Is there anyone who has gotten anywhere with being able to fix the app storage problem with these tablets?? Thanks.

    Shellfish,
    If you have the SD card inserted into the tablet go to Settings > Storage > scroll to SD Card
    If you see an indicator for "Total space" and "Available space" that roughly matches the size of the SD card this should show the card is properly mounted and ready to use.
    If you do not see this and the SD card is not mounted, you may need to select the Mount SD Card option to load it.
    Sometimes if the SD card can't be mounted the card may need to be erased and formatted to be compatible with the tablet. Erasing / Formatting the card will remove all data, but can resolve issues.
    If this still doesn't work you may also want to try loading the card in another tablet, phone, or PC to ensure it works.
    In order to actually make use of the SD card on the tablet you may want to download a file manager app from the play store. Android does not include a method to manage files from devices by default, other than connecting to a PC through USB. With a file manager you can organize the contents of the SD card into folders, move media such as downloads, music, videos, photos, etc.between the internal storage and the SD card. This allows you to see what you have on the SD card as well as delete media to free up space.
    In most apps the SD card will show as "sdcard1" while the tablet's built in internal storage will show as "0".
    As for the app storage, to clarify, the Ellipsis does not support apps on the SD card. The feature to store and run apps on the SD card was removed in newer versions of Android due to various issues. As I can see from the settings the Ellipsis allows up to 5 GB of the total 8 GB internal storage for applications.
    I hope this helps resolve your issue.

  • How can I optimize my browser? I'm having serious issues in Hotmail, forcing me to constantly refresh the page, then I lose all my text when I do!

    I'm using Firefox 3.6.8 [& Vista os], and can't find any relevant info in Firefox 'Help' re: optimizing browser.
    I wrote Hotmail about my problem below, and they say I need to optimize my browser. They don't give instructions for how to do this in Firefox.... when I search in your 'help' contents, nothing close comes up.
    I also have the concern whether someone else is accessing my account, since the error mssg says something to the effect "when you access your acct from more than one computer"....
    Please help - Thank you!
    This is VERY frustrating, to say the least! I have major deadlines, and Hotmail is so bad I can't get my work done!!
    Ever since the 'upgrade', I am forced to almost constantly refresh my browser, and then when I do, my email and all my text goes away! Sometimes I am prompted to refresh when I have just logged in.... It asks me to refresh my browser sometimes once a minute.... sometimes more often!
    When I hit refresh, it actually causes the current page to disappear, and it comes back as a blank email with all my text gone! And hitting the 'back' button does not bring me back to the page I lost.
    Most of the time I can't even save my work as a draft, because it asks me to refresh [again], and then the email is gone and there's no draft to be found.
    This is *very* time consuming!! I've had to figure out how to work around this problem, but my 'fix' is also very tedious and time consuming....
    I'm constantly copying my text so I have a current copy of my email, then when I lose the draft, I paste it back in... I often go in circles with this, and eventually I'll have my current draft saved.
    Also, sometimes when it prompts me to refresh, just hitting the 'save draft' button a few times will suffice. So at least I won't lose my page, because, sometimes hitting 'save draft' actually works.... Eventually, tho, it'll force me to refresh before I can move on to sending the email.
    Please help!! I've been using Hotmail since before MS bought it, and this problem is SO bad I'm considering jumping ship so I can get my work done!!
    I don't generally like upgrades, as it usually means there will be problems, and the upgrade was released before being fully tested!.... I don't like being a guinea pig, especially when I have deadlines!
    Please help - Thank you!

    You can try to copy the text to the clipboard (Ctrl + A and Ctrl +C) if you need to refresh.
    "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • How to stay on the same page after submitting the Page to commit the row.

    I have a page where I am accepting a ket column from the users , Now I want to have to buttons where user can enter one row and click 'Create & Exit' which would them to the menu. But another button would be 'Create' that would create the row in the table would keep user on the same page , so he/she can enter more rows.
    My 'Create & Exit' button has settings in 'Actions when Button Clicked'
    Action - Submit Page
    Execute Validation - Yes
    Database Action - SQL INSERT Action.
    My 'Create' button has settings in 'Actions when Button Clicked'
    Action - Redirect Page in this application
    Page - 9 (Same page)
    Database Action - SQL INSERT Action
    When this didn'tr work
    I changed
    Set This items - All the variable from the table
    With These Values - All the variable from the page
    Still this doesn't work.
    I very new to APEX application.

    Here's an approach:
    Delete your existing Create button and then redefine it as a copy of Create & Exit.
    Then create two Page Branches, one that branches back to your Menu when the Create & Exit is pressed and another Page Branch that remains on your current page when the Create button is pressed.
    Jeff

  • How to clear cache for items after submitting the page ?

    db11gxe , apex 4.0 , firefox 24 ,
    hi all ,
    i have a non enterable pop-up lov and a report in the same page , and i search with the pop-up item , but the problem is when i click the search button ,
    the value in the pop-up is not deleted , and sure i want it cleared after i search ? how to do so ?
    thanks

    Surely, when you click the search button, the value in your item is required by the report (as a parameter).
    Create a button (RESET) with a branch back to the same page and use the clear cache in the branch
    Gus

Maybe you are looking for