VPD "Lost" after validation fails

Hi,
We have a custom in house VPD. In the application security section, under VPD, we call a procedure which sets our security context client_id in order to be used to make context references within secure views.
In our page we have a simple select list which is run against a "secure" view. Once the user selects a value they hit continue to go on. A validation is put in place to make sure that a value has been selected.
If the validation fails, we go back to the page and the validation error message displays (as it should) however the select list has no values. After doing a lot of testing, references to any view that uses the VPD returns no values when a validation fails.
We've done some test and it appears that the following happens:
- On a page submit the VPD function gets called (as per the application security / vpd)
- Validations are performed
- If validation fails, run: dbms_session.clear_identifier;
- Load the page along with the appropriate error messages.
Is this correct? Is their anyway around this?
We have tried to set an application process to run before header which would run the same function as that called in the VPD section, however the process isn't run when a validation fails.
Thank you,
Martin

APEX sets client identifier to: APP_USER:APP_SESSION. CLIENT_INFO is set to just APP_USER. Try the following query from the SQL Workshop as well as a region on a page to give you a better idea of what APEX sets:select sys_context('USERENV','CURRENT_SCHEMA') CURRENT_SCHEMA,sys_context('USERENV','SESSION_USER') SESSION_USER,
       sys_context('USERENV','MODULE') module,sys_context('USERENV','ACTION') action,
       sys_context('USERENV','CLIENT_INFO') CLIENT_INFO, sys_context('USERENV','CLIENT_IDENTIFIER') CLIENT_IDENTIFIER
  from dualI would probably include the IP Address of your HTTP Servers in the policy to make sure it's not someone connecting from SQL*Plus: sys_context('USERENV', 'IP_ADDRESS')
Tyler

Similar Messages

  • Different style to InputText box after validation fails in JSF 1.0

    Hi, In JSF 1.0, I would like to change the style to the inputText box after validation fails. Pls kindly advise.
    Thanks

    You may find this article useful: [http://balusc.blogspot.com/2007/12/set-focus-in-jsf.html].
    That said, if you're using JSF 1.0, you can (and should) always upgrade to at least 1.1_02. It is available at [http://javaserverfaces.dev.java.net].

  • Table Maintenance Generator : Editable Entry after validation fails

    Hi,
    I have created a Z table and a table maintenance generator to maintain the data.
    I have to carry out certain validations when user enters data on Key and Non- key fields.
    This is working fine, but the issue is with the key fields.
    If validation fails, the table maintenance screen is displayed the date-field is grayed out (non-editable) as it is the key field of the table.
    Now the user cannot change the data unlike the non-key fields were the user can modify the non-valid data and save again.
    How can make the date field (Key Field) editable after entry in case the validation fail, so that the user can make the changes.
    Please suggest the approach to handle the above scenario in events.
    Thanks,
    Keyur

    Thanks Kiran for your inputs.
    I have done the same thing what you have explained.
    I have used a Form Routine as CIP_SAVE with Event Number as 01, since on event SAVE i need to validate whether dates are
    overlapping the inputs dates or not.
    Fields are :
    Group ID (Key)
    Start Date (Key)
    End Date (Key)
    Value (Non -Key)
    Initial value in Table:
    Group ID = 12345
    Start Date = 01/01/2011
    End Date = 01/31/2011
    Value = 11.11
    Now if i try to enter value:
    Group ID = 12345
    Start Date = 01/02/2011
    End Date = 01/25/2011
    Value = 99.99
    & SAVE it... validation will fails because Start & End dates overlaps.
    Hence, on Table Maintainance Screen all key fields will be in non-editable display mode, whereas non-key field will be in editable mode.
    My requirement is that Start Date & End Date key fields must be Editable field.
    Thanks.

  • Why are inputText values within a dataTable tag lost when validation fails?

    Hi, As a test, I have three fields outside of a dataTable tag and three fields inside a dataTable tag.
    I enter data into field1, field3 and all of the fields within the dataTable. Field2 is left empty and is required. I press the 'go' button which gets to the validation phase and immediately redraws the web page and says 'value is required' which is what it should do.
    What shocks me at this point is that the field values inside the datatable are lost. They are back to their original blank values.
    It like even though validation fails(the model is not updated), the datatable is redrawn using the model data which is still blank. The renderer forgets that those fields within the datatable had data typed into them.
    Is this a bug? and how do I get around it? I don't want to lose what was typed in.
    here is my example:
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <html>
    <body>
    <f:view>
    <h:form>
    <h:panelGrid columns="2">
    <h:outputText value="field1"/><h:inputText value="#{example.field1}"/>
    <h:outputText value="field2 required"/><h:inputText required="true" value="#{example.field2}"/>
    <h:outputText value="field3"/><h:inputText value="#{example.field3}"/>
    </h:panelGrid>
    <h:panelGrid columns="1">
    <h:outputText value="dataTable"/>
    <h:outputText value="---------"/>
    <h:dataTable value="#{example.lines}" var="line">
    <h:column>
    <h:inputText value="#{line.text}"/>
    <f:facet name="header">
    <h:outputText value="column1"/>
    </f:facet>
    </h:column>
    </h:dataTable>
    <h:commandButton value="go"/>
    <h:outputText value="errors"/>
    <h:outputText value="---------"/>
    <h:messages showDetail="true"/>
    </h:panelGrid>
    </h:form>
    </f:view>
    </body>
    </html>
    package test;
    import java.util.ArrayList;
    public class Example {
         private String field1;
         private String field2;
         private String field3;
         private ArrayList lines = new ArrayList();
         public Example() {
              lines.add(new Line());
              lines.add(new Line());
              lines.add(new Line());
         public String getField1() {
              return field1;
         public void setField1(String field1) {
              this.field1 = field1;
         public String getField2() {
              return field2;
         public void setField2(String field2) {
              this.field2 = field2;
         public String getField3() {
              return field3;
         public void setField3(String field3) {
              this.field3 = field3;
         public ArrayList getLines() {
              return lines;
         public void setLines(ArrayList lines) {
              this.lines = lines;
    package test;
    public class Line {
         private String text;
         public String getText() {
              return text;
         public void setText(String text) {
              this.text = text;
    <managed-bean>
    <managed-bean-name>example</managed-bean-name>
    <managed-bean-class>test.Example</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    </managed-bean>

    I posted about this bug a month ago and then again twice more (as recently as last week) and got zero responses. I piddled away so much time thinking I was crazy to believe this framework could have such a gaping hole in the fuselage that it was crazy. The more unsettling part too was the fact that the logging in the jsf code is so pathetic that you have no clue even with it on full that it's throwing your data away, they have unit tests in their code, including in-container tests, and they didn't have a test that turned this up? Hello? A project that has been going for this long should not have torture traps like this in it. Sorry for my negative post. To end on a positive note, I am looking forward to finding out about oracle's stuff. And Sun wonders why no one uses their stuff.
    Does the Oracle JSF implementation require OAS?

  • Data lost after 10 failed login attempts...Can the data be restored?

    Hello...
    Has anybody a solution to recover the data after 10 failed login attempts?
    My son played with my Iphone...and the data is gone...
    Thanks

    Yes, I have already followed this article.
    After changes in AD account, we need to follow this article.
    But, here my concern is that after password change prompts, it keeps retrying again and again for new password. It will cross the threshold limit which is set as 10. But the account doesn't gets locked.
    Thanks for the suggestion.
    Regards

  • JSF keeps displaying old values after Validation Phase fails

    Hi all,
    I would like to ask some help in understanding a particular behaviour that JSF shows when Validation Phase fails.
    I'm using:
    - Tomcat 7.0.2
    - JSF 1.2_12
    - RichFaces 3.3.3
    Problem description.
    I wrote a form with 4 input fields: an inputText and 3 selectOneMenu. The inputText is required while the selectOneMenus don't require any validation.
    Attached to the first selectOneMenu (row 32), is an a4j:support tag so that, whenever the change event is fired, the list of items of the second
    and the third selectOneMenu (row 44 and 58) are correctly filled (note that the mandatory of the inputText is ignored thanks to the ajaxSingle attribute).
    In particular, after loading the two lists of items, the actionListener forces the value of the second and the third selectOneMenu to null.
    This mechanism seems to work fine until I submit the whole form without filling the input text: as expected, JSF validation fails but if I change the value of
    the first selectOneMenu again (causing a new submit), the page keeps displaying the values specified before JSF validation failed for the second and the third
    selectOneMenu (note that the actionListener is still called and the values of the second and the third selectOneMenu are still forced to null).
    Since I'm using a simple PhaseListener, I noticed the following: before JSF validation fails, every time I change the value of the first selectOneMenu, JSF life
    cycle always calls the get method for the second and the third selectOneMenu during the Render Response Phase. In this way, JSF is able to "see" that
    those values have been set to null during the Invoke Application Phase.
    After validation fails, JSF stops calling those getters when I change the value of the first selectOneMenu.
    I hope my explanation was clear enough, thanks a lot for your help.
    Regards,
    Nico
    Web Page
    <?xml version='1.0' encoding='UTF-8' ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
                          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:h="http://java.sun.com/jsf/html"
          xmlns:a4j="http://richfaces.org/a4j"
          xmlns:rich="http://richfaces.org/rich">
    <head>
      <title>Prove Rich</title>
    </head>
    <body>
      <h2>Prove Rich</h2>
      <f:view>
      <a4j:outputPanel ajaxRendered="true">
        <h:messages style="color:red" />
      </a4j:outputPanel>
      <h:form>
      <p>
         Input required: <h:inputText value="#{provaProbReplyBean.inputRequired}" required="true" />
      </p>
      <p>
           <h:outputText value="Scegli il canale:" />
           <h:selectOneMenu value="#{provaProbReplyBean.canale}">
            <f:selectItem itemLabel="--" itemValue="" />
            <f:selectItem itemLabel="Profamily" itemValue="Profamily" />
            <f:selectItem itemLabel="Captive" itemValue="Captive" />
            <a4j:support event="onchange" action="#{provaProbReplyBean.caricaProcBanche}"
                                  ajaxSingle="true" reRender="procedure, banche" />
         </h:selectOneMenu>
      </p>
      <p>
           <h:outputText value="Scegli la procedura:" />
           <h:selectOneMenu id="procedure" value="#{provaProbReplyBean.procedura}">
            <f:selectItem itemLabel="--" itemValue="" />
            <f:selectItems value="#{provaProbReplyBean.procedureList}" />
            <!-- immediately save the current value -->
            <a4j:support event="onchange" ajaxSingle="true" />
         </h:selectOneMenu>
      </p>
      <p>
           <h:outputText value="Scegli la banca:" />
           <h:selectOneMenu id="banche" value="#{provaProbReplyBean.banca}">
            <f:selectItem itemLabel="--" itemValue="" />
            <f:selectItems value="#{provaProbReplyBean.bancheList}" />
            <!-- immediately save the current value -->
            <a4j:support event="onchange" ajaxSingle="true" />
         </h:selectOneMenu>
      </p>
      <p><h:commandButton value="Submit" /></p>
      </h:form>
      </f:view>
    </body>
    </html>
    Bean
    public class ProvaProbReply {
         private String inputRequired;
         private String canale;
         private String procedura;
         private String banca;
         private Map<String, List<SelectItem>> canaliProc = new HashMap<String, List<SelectItem>>();
         private Map<String, List<SelectItem>> canaliBanche = new HashMap<String, List<SelectItem>>();
         private List<SelectItem> procedureList = new ArrayList<SelectItem>();
         private List<SelectItem> bancheList = new ArrayList<SelectItem>();
         public ProvaProbReply() {
              List<SelectItem> l = new ArrayList<SelectItem>();
              l.add(new SelectItem("Cessione del quinto"));
              l.add(new SelectItem("Credito al consumo"));
              l.add(new SelectItem("Mutui"));
              canaliProc.put("Profamily", l);
              l = new ArrayList<SelectItem>();
              l.add(new SelectItem("Credito al consumo"));
              canaliProc.put("Captive", l);
              l = new ArrayList<SelectItem>();
              canaliBanche.put("Profamily", l);
              l = new ArrayList<SelectItem>();
              l.add(new SelectItem("BDL"));
              l.add(new SelectItem("BM"));
              l.add(new SelectItem("BPM"));
              l.add(new SelectItem("CRA"));
              canaliBanche.put("Captive", l);
         public String getInputRequired() {
              return inputRequired;
         public void setInputRequired(String ir) {
              inputRequired = ir;
         public String getCanale() {
              return canale;
         public void setCanale(String c) {
              canale = c;
         public String getProcedura() {
              System.out.println("\ngetProcedura called\n");
              return procedura;
         public void setProcedura(String p) {
              procedura = p;
         public String getBanca() {
              System.out.println("\ngetBanca called\n");
              return banca;
         public void setBanca(String b) {
              banca = b;
         public List<SelectItem> getProcedureList() {
              return procedureList;
         public List<SelectItem> getBancheList() {
              return bancheList;
         public String caricaProcBanche() {
              System.out.println("\nListener called\n");
              procedureList.clear();
              bancheList.clear();
              if(canale != null && !canale.equals("")) {
                   procedureList.addAll(canaliProc.get(canale));
                   bancheList.addAll(canaliBanche.get(canale));
              System.out.println("BEFORE setting:\n");
              System.out.println("\nProcedura: "+procedura+"\n");
              System.out.println("Banca: "+banca+"\n");
              procedura = null;
              banca = null;
              System.out.println("\n\n\nAFTER setting:\n");
              System.out.println("\nProcedura: "+procedura+"\n");
              System.out.println("Banca: "+banca+"\n");
              return "";
    }Edited by: 869000 on 28-giu-2011 14.05

    I'm thinking this has to do with the fact that the UIComponents use the localValue after validation fails. This prevents the values from being overwritten when re-rendering the page, i.e. the inputs keep the value set by the user.
    The solution is to manipulate the components directly during the AJAX request when the first pull down is changed. Use the binding attribute to place them into your bean and clear the value directly. That way it will not matter that the expression is not evaluated.

  • Is their way to prevent a form data from being lost when a validation fails

    Is their way to prevent a form data from being lost when a validation fails?

    So I would use APEX_COLLECTION (there is some information in APEX documentation).
    Read all data you need to keep after submit and save them to your collection. Then, if validation fails, show report with data not from base, but from your collection. You have to create process, which creates collection, and you need to modify your report definition to get data not only from DB but also from collection.
    If you have any questions feel free to ask.
    Regards,
    Przemek
    Edited by: Przemek on 2009-01-10 17:47

  • I am using iphone 3gs and have accidentally clicked "update" to software version 5. However, after I failed and all my data was lost. I manage to restore back to my previous situation. But all my apps has been gone. How can I get back all my aps?

    I am using iphone 3gs and have accidentally clicked "update" to software version 5. However, after I failed and all my data was lost. I manage to restore back to my previous situation. But all my apps has been gone. How can I get back all my aps? I know I can get it by itunes but there are a few problems as below:
    1. I have jailed break my iphone and I never purchased any apps from itunes
    2. I have some important infomation saved in one of the apps called "awesome notes". How can I get it back? Is it store inside my computer? if so, how can i restore?
    3. I am using window 7
    I sincerely hope you guys can help me.
    Regards,
    Stephen Hong

    alrite. I have made my mistake. I should not jail break my iphone. So if I purchase my apps again from itunes is that mean mean my data will be back?
    I hope you guys can giv me some support here since I am Apple genuine buyer. I could be wrong last time and now I turn over a new leaf and learn a lesson.
    Please noted that I can always create new account to ask for the same questions without mention about "jailbreak" if I want to but obviously I won't do that. Please provide me your support! Thank you!

  • Reset Item After Regular Expression Validation Fails

    Apex 4.2
    I have a page item (P1_MYITEM) that should only hold alpha charaters, so I have created an item regular expression validation
    using
    ^[a-zA-Z]+$
    This works well, but now I want to reset my item (P1_MYITEM) to null
    if the validation fails.
    Tried using a page process, but they do not run if the validation fails.
    Any ideas ?
    Gus

    Got it working using
    Begin
      if not regexp_like (:P1_MYITEM, '^[a-zA-Z]+$')
        then
          APEX_UTIL.SET_SESSION_STATE('P1_MYITEM',NULL);
          return 'Country must be text characters only.';
      end if;
    End;

  • R12.2.4 Data lost after using Dialog Page and return back to calling page.(Help Please! )

    Hi Team,
    I am new to OAF and is working on a requirement to add some custom validations when the user clicks on a Button in a standard seeded page.
    The approach I took was to Extend the seeded Controller object that handled this button press event and put my custom logic in the extended controller and override the standard controller via personalization.
    The standard flow was that upon pressing the Complete Button in Page A ,user was taken to the next seeded page (Page B) to perform certain operations based on the records that were selected in Page A.
    Part of the custom validation requirement was that if certain validations were not met then the user needs to be shown a Pop-up asking if they really wanted to proceed and if they selected Yes then continue with the standard seeded flow(move to page B)  and if they selected NO then just stay on the current page.
    I was able to use OADialogPage and do this partially , the issue I am running into is that once the user selects the one or more records  using a check box from a multi-record (table) region and hits the Complete Button on page A and if the validation fails then a modal page is shown and the user makes a selection i.e.either Yes or No from the modal page and when they return to calling page (i.e. Page A) , All the Data (records ) that they selected previously is lost (Page is refreshed). Based on what I see on this forum I suspect that it is because after clicking on Yes on the modal page and while returning to the original page the processRequest fires again and VO data is queried again and all selections on the page A are lost. Since I am trying to alter the flow in seeded pages based on user intervention I am kind of lost as to how this issue can be fixed. i.e. either prevent the page refresh or preserve the selections that were made prior to navigating to the modal page. Any Help is truly appreciated !!
    My Code :
    public void processFormRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    if (oapagecontext.getParameter("completeOps") != null) {
    if (warnCount > 0) {
      //OAException message = new OAException("Not in Sequence...", OAException.WARNING);
      //oapagecontext.putDialogMessage(message);
      OAException message = new OAException("Rule XYZ Violated .Do you want continue ?",OAException.WARNING);
      OADialogPage dialogPage = new OADialogPage(OAException.WARNING, message, null, "","");
      String yes = oapagecontext.getMessage("AK", "FWK_TBX_T_YES", null);
      String no = oapagecontext.getMessage("AK", "FWK_TBX_T_NO", null);
      dialogPage.setOkButtonItemName("ConYesButton");
      dialogPage.setNoButtonItemName("ConNoButton");
      dialogPage.setOkButtonToPost(true);
      dialogPage.setNoButtonToPost(true);
      dialogPage.setPostToCallingPage(true);
      dialogPage.setOkButtonLabel(yes);
      dialogPage.setNoButtonLabel(no);
      oapagecontext.redirectToDialogPage(dialogPage);
    if (oapagecontext.getParameter("ConYesButton") != null)   {
              // Write Action code for Yes Button
              oapagecontext.putParameter("completeOps", "Continue");
    if (oapagecontext.getParameter("ConNoButton") != null){
                // Write Action code for No Button
                String errormsg = "Rule Violations have occured ";
                throw new OAException(errormsg);
       super.processFormRequest(oapagecontext, oawebbean);

    I was able to work around this issue by adding a simple check in the processRequest method of my extended Controller to prevent the call to super.processRequest incase when the control returns to the page after the user has made a selection in the Dialog Page
    if((oapagecontext.getParameter("ConYesButton") == null) && (oapagecontext.getParameter("ConNoButton") == null)) {
      super.processRequest(oapagecontext, oawebbean);
    Thanks !

  • Report shows "No data found" when validation fails

    Hi folks,
    I'm new to the OTN and have a short question regarding validations/report pagination.
    We are using Apex 4.0.2.00.07.
    I have a page containing a report with three columns.
    First column is a checkbox (f30), the second one a date picker and the third one is a value field (f34).
    I'm trying to build a validation for the value field (should only allow numeric values, but is varchar2) and used a validation with "Function Returning Boolean".
    The PL/SQL code is:
    DECLARE
    vrow BINARY_INTEGER;
    v_number FLOAT:=0;
    BEGIN
    FOR i IN 1 .. APEX_APPLICATION.g_f30.COUNT
    LOOP
    BEGIN
    vrow := APEX_APPLICATION.g_f30 (i);
    v_number := to_number(APEX_APPLICATION.g_f34(vrow));
    RETURN TRUE;
    EXCEPTION
    WHEN OTHERS THEN
    RETURN FALSE;
    END;
    END LOOP;
    END;
    The validation works fine, but every time I enter a non numeric value and the validation fails (error message is displayed correctly as notification) I get a "report error: ORA-01403: no data found" in the pagination area of the report.
    Tried to disable pagination completely, but the error still displays when the validation fails.
    Any help would be appreciated.
    Thanks in advance and regards
    Sandro

    Content of the checkboxes is ok, debugging showed
    1:7     
    2:8
    (records 7 and 8 where ticked)
    Debugging console also shows:
         0.10900     0.00000     Processing point: Before Box Body          
         0.10900     0.00000     Region: Shareclassinformation          
         0.10900     0.00000     Item: P59_IS     
         0.10900     0.00000     Item: P59_NA
         0.10900     0.00000     Item: P59_CO
         0.10900     0.00000     Region: Attribute Selection
         0.10900     0.00000     Item: P59_LO
         0.10900     0.00000     Item: P59_ID
         0.10900     0.00000     Item: P59_IDAH
         0.10900     0.00000     Item: P59_IDAT
         0.10900     0.00000     Item: P59_SHO
         0.10900     0.00000     Item: P59_UTD
         0.10900     0.00000     Item: P59_X NA
         0.12500     0.00000     Region: Attributes
         0.12500     0.23400     Item: P59_NOT
         0.12500     0.00000     show report
         0.12500     0.00000     determine column headings
         0.12500     0.00000     parse query as: DB
         0.35900     0.14100     binding: ":P59_LOV_AT"="P59_LOV_AT" value="64"
         0.35900     0.00000     binding: ":P59_IDT"="P59_IDT" value="51"
         0.50000     0.01500     print column headings
         0.50000     0.00000     rows loop: 20 row(s)
         *0.51500     0.01600     report error: ORA-01403: no data found*
         0.51500     0.00000     Computation point: After Box Body
    ...

  • List data validation failed when creating a new list item but does not fail when editing an existing item

    Dear SharePoint Experts,
    Please help.
    Why does my simple formula work in Excel but not-work in SharePoint?
    Why does this formula...
    =IF([Request Type]="Review",(IF(ISBLANK([Request Date]),FALSE,TRUE)),TRUE)
    ...work in Excel but fail when I try to use it in SharePoint?
    The intent of this formula is the following...
    If the field "Request Type" has the value "Review" and the field "Request Data" is blank then show FALSE, otherwise show TRUE.
    SharePoint saves the formula, but when a list item is saved where the formula is implemented, (under List Settings, List Validation), SharePoint does not, say anything other than that the formula failed.
    Note that the "list data validation failed" error only happens when I am creating a new item-- the formula above works just fine when one is trying to Save on the edit form. 
    Can you help?
    Thanks.
    -- Mark Kamoski

    Dear Jason,
    I appreciate your efforts.
    However, it seems to me that this statement of yours is not correct...
    "If it meet the validation formula, then you can new or edit the item, otherwise, it will throw the 'list data validation failed' error, it is by design".
    I believe this is NOT the answer for the following reasons.
    When I create a new item and click Save, the validation error is "list data validation failed".
    When I edit an existing item and click Save, the validation error is "my custom error message" and this is, I believe, the way it needs to work each time.
    I think, at the core, the error my formula does not handle some condition of null or blank or other default value.
    I tried a forumla that casts the date back to a string, and then checked the string for a default value, but that did not work.
    I tried looking up the Correlation ID in the ULS when "list data validation failed" occurs, but that gave no useful information because, even though logging was set to Verbose, the stack trace in the error log was truncated and did not given any
    good details.
    However, it seems to me that SharePoint 2013 is not well-suited for complex validation rules, because...
    SharePoint 2013 list-level validation (NOT column-level validation) allows only 1 input for all the multi-field validation formulas in a given list-- so, if I had more than 1 multi-field validation rule to implement on a given list, it would need to be packed
    into that single-line-of-code forumla style, like Excel does. That is not practice to write, debug, or maintain.
    SharePoint 2013 list-level validation only allows 1 block of text for all such multi-field validation rules. So that will not work because I would have something like "Validation failed for one or more of the following reasons-- withdrawal cannot exceed
    available balance, date-of-birth cannot be after date-of-death,... etc". That will not work for me.
    The real and awesome solution would simply be enhancing SP 2013 so that column-level validation forumlas are able to reference other columns.
    But, for now, my workaround solution is to use JavaScript and jQuery, hook the onclick handler on the Save button, and that works good. The only problem, is that the jQuery validation rules run before any of the column-level rules created  with OOTB
    SP 2013. So, in some cases, there is an extra click for the enduser.
    Thanks,
    Mark Kamoski
    -- Mark Kamoski

  • File in File Browse item disappears if validation fails on any item ....

    Greetings:
    I'm using APEX 4.0. I have a region with 7 data elements, one of them being a File Browse page item. The BLOB file loads in the WWV_FLOW_FILES table first, then in the "After Submit" page processing, I move the BLOB into my own custom table. This works great in normal processing.
    However, if any of the other data elements in this region fails validation, the page renders with the validation messages, but the file in the File Browse page item disappears. Therefore, the user would have to re-select the file to upload before they resubmit and process the page again.
    How can I avoid this? Why does the path and file name disappear when page validation fails?
    Thanks,
    Stan

    bondurs wrote:
    Greetings:
    I'm using APEX 4.0. I have a region with 7 data elements, one of them being a File Browse page item. The BLOB file loads in the WWV_FLOW_FILES table first, then in the "After Submit" page processing, I move the BLOB into my own custom table. This works great in normal processing.
    However, if any of the other data elements in this region fails validation, the page renders with the validation messages, but the file in the File Browse page item disappears. Therefore, the user would have to re-select the file to upload before they resubmit and process the page again.
    How can I avoid this? Why does the path and file name disappear when page validation fails?It is a required security feature. Per the HTML specification, APEX will not render a value in a file browse item on page show. This protects the user from nefarious persons changing the file item value during spurious "failed" validation (hoping the user is distracted correcting the "failed" item and does not notice) in order to capture a file the user does not intend to submit (e.g. /etc/passwd).

  • Certificate signature validation failed

    Hi!
    I'm getting nuts over how to get Acitve Directory to work with java.
    I have a root-certificate for the domain (supposed to work for everything according to our networking expert) but when using it I get: "Certificate signature validation failed".
    When looking in C:\ on the ADS I find another certificate but then my javaprogram says: "No trusted certificate found".
    So, now after much searching where I seems to find everything but what I'm looking for I have to ask: What should I be looking for? Hopefully when looking for the right thing I will find the answers. :-)
    Thanks you very much in advance
    Roland Carlsson

    Please! Anyone? How can I get a correct certificate from our ADS? The certificate-server on is on our Exchange-server. I have a certificate that is supposed to work all over the domain and I have check several other certificate that I found on our servers but I still havn't found anything that works.
    I'd would really like to get some ideas about where how to find the working one.
    Thanks in advance
    Roland

  • Will B2B Adapter in SOA Composite receives fault when validation fails ?

    Hi Guys,
    Can any one clarify the following questions on B2B ?
    1. Can B2B Adapter receive exception whenever validation fails on b2b console after data sent from SOA Composite? if not how can we implement fault to soa composite in case of fault in b2b console?
    2. How can SOA Composite having b2b adapter configured with send operation know about fault happened in b2b console due agreement fail or validation fails or configuration fails?
    3. How can we handle faults in case of inbound scenario?

    Exception is handled in oracle b2b.
    All the execeptions are sent to IP_IN_QUEUE( in case of AQ) and B2B_IN_QUEUE( in case of JMS) with the consumer as "b2berror".
    You can configure your B2B adapter to pull out the exception messages in your soa composite.

Maybe you are looking for

  • "iTunes has encountered a problem and has to close message"

    I had no problems before with this program (which I've had on this computer with success since May), but last night I started getting this message. I even downloaded the new version of iTunes in hopes that that would take care of the problem...no luc

  • Editing a banner with hotspots

    I have created a banner that has two frames and was divided into slices to identify the menu links.  I exported this to a folder and it turned out to be 1 HTML document, 1 GIF, and a whole bunch of JPGs.  How would I edit this banner once I have clos

  • Join photo libraries

    Can iphoto/Aperture libraries be joined to one library barry

  • Media Player widget on N8

    I've got the media player widget on one of my home screens. This works fine until I listen to the radio. Cleverly the widget becomes a radio controller, but I've found no way to get it back to controlling my media library once I've finished using the

  • How to delete inexplicable "other" space

    After successfully carrying out MacMuse's method (seen here http://discussions.apple.com/thread.jspa?messageID=797432#797432 the aforementioned method starts around the enlarged blue text) I now have about 2.03 GB of space that iTunes recognizes as "