OAF : Dialog page issue

Hi All,
I am tyring to code dialog page , on 'SUBMIT' button click ( I call it 'POST TO GL' button ).
But the below code, does not call the posing PLSQL procudeure on 'YES' button click.
Can some one throw light if I am missing anything ?
------------ PFR CO code ----------------------       
        if (pageContext.getParameter("GLPost") != null) {
          //  am.invokeMethod("glPostt");  --- This call works
                OAException descMesg = new OAException("FND", "FND_CANCEL_ALERT");
                 OAException instrMesg = new OAException("FND", "FND_CANCEL_ALERT");
                 OADialogPage dialogPage = new OADialogPage(OAException.WARNING
                                               , descMesg
                                               , instrMesg
            dialogPage.setOkButtonItemName("postYes");
            dialogPage.setNoButtonItemName("postNo");                                              
                 dialogPage.setOkButtonToPost(true);
                 dialogPage.setNoButtonToPost(true);
                 dialogPage.setPostToCallingPage(true);
            pageContext.redirectToDialogPage(dialogPage);                            
            if (pageContext.getParameter("postYes") != null)
                am.invokeMethod("glPostt");  // This call is not working
            else if (pageContext.getParameter("postNo") != null)
                System.out.println("do nothing");

Hi bhuvam,
              You need to change a little bit as below.
if (pageContext.getParameter("GLPost") != null)
          //  am.invokeMethod("glPostt");  --- This call works
                OAException descMesg = new OAException("FND", "FND_CANCEL_ALERT");
                 OAException instrMesg = new OAException("FND", "FND_CANCEL_ALERT");
                 OADialogPage dialogPage = new OADialogPage(OAException.WARNING
                                               , descMesg
                                               , instrMesg
            dialogPage.setOkButtonItemName("postYes");
            dialogPage.setNoButtonItemName("postNo");                                             
                 dialogPage.setOkButtonToPost(true);
                 dialogPage.setNoButtonToPost(true);
                 dialogPage.setPostToCallingPage(true);
            pageContext.redirectToDialogPage(dialogPage);                           
  /******* This portion should be out of if (pageContext.getParameter("GLPost") != null) *****/
            if (pageContext.getParameter("postYes") != null)
                am.invokeMethod("glPostt");  // This call is not working
            else if (pageContext.getParameter("postNo") != null)
                System.out.println("do nothing");
Otherwise " if (pageContext.getParameter("postYes") != null)" will not fire at all.
Try this.

Similar Messages

  • CO Extension - dialog page issue

    Hi Gurus,
    Requirement :
    To show a dialog page with 'Yes' and 'No' button in a STANDARD OAF Page on the Click of 'Submit' button.
    On click of 'Ok' button, standard process should happen i.e submit action.
    I used "super.processFormRequest(oapagecontext, oawebbean);" inside ok button click logic, but it didn’t work. it redirects back to original screen from where i clicked submit button.
    Please find the code below:
    if (oapagecontext.getParameter("submit") != null)
            OADialogPage dialogPage = null;
            OAException mainMessage = new OAException("XX", "XX_TIME_WARNING");
            dialogPage = new OADialogPage(OAException.WARNING, mainMessage, null, "", "");
            dialogPage.setOkButtonItemName("WarningYesButton");
            dialogPage.setOkButtonToPost(true);
            dialogPage.setNoButtonToPost(true);
            dialogPage.setPostToCallingPage(true);
            dialogPage.setOkButtonLabel("Yes");
            dialogPage.setNoButtonLabel("No");
            oapagecontext.redirectToDialogPage(dialogPage);
    if (oapagecontext.getParameter("WarningYesButton") != null)
          super.processFormRequest(oapagecontext, oawebbean);
        }Please help. Thanks.

    Hi,
    Instead of writing super.processFormRequest() in Ok Button method , write all the code called in Submit Button of the seeded CO.
    Thanks,
    Gaurav

  • Custom Dialog Page Forwarding Issues

    Hi,
    It would be much appreciated if someone is able to offer advice, I am trying to create a dialog page with an ok button which when selected returns the user to the standard e-business homepage.
    In my processFormRequest of the main calling page I am capturing the selection of a save button, committing the changes and then running the following code;
    OAException confirmMessage = new OAException("Your record has been successfully updated ");
    OADialogPage dialogPage = new OADialogPage(OAException.CONFIRMATION, confirmMessage,null,"","");
    dialogPage.setPageButtonBarRegionRefName("/xxx/oracle/apps/per/sw/webui/ConfButtonBarRN");
    pageContext.redirectToDialogPage(dialogPage);The called region being specified in the call setPageButtonBarRegionRefName is of the type page button bar and has one button named OkButton, I have given the region a controller and within the processFormRequest I have placed the following code
    if ( pageContext.getParameter("OkButton") != null) 
                 pageContext.forwardImmediately
                   ("OA.jsp?page=/oracle/apps/fnd/framework/navigate/webui/HomePG",
                      null,
                      OAWebBeanConstants.KEEP_MENU_CONTEXT,
                      null,
                      null,
                      false, // retain AM
                      OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
    }I have also tried placing this code in the calling pages processFormRequest however in each instance I get an error page stating that the page cannot be displayed;
    You cannot complete this task because one of the following events caused a loss of page data:
    •     Your login session has expired.
    •     A system failure has occurred.
    If anyone has any suggestions as to how I can get this dialog page to redirect the user back to the home page after selecting the ok button it would be very much appreciated as I have tried various different combinations to no avail.
    Many Thanks,
    Mike

    Ok I think I may have been looking at this for too long yesterday...
    I was able to get it to work by adding the following line to the calling of the dialog page and adding the handling of the response to the calling page;
    dialogPage.setPostToCallingPage(true);However I have now replaced the SubmitButton with a Button and set the URL to the homepage, skipping the calling page althogether and going direct to the homepage. In the code calling the dialog page I have added the following line as at the point of calling the dialog page I no longer require the AM.
    dialogPage.setRetainAMValue(false);Thanks for your quick response,
    Mike

  • How to open a new window from submit button &dialog page in current window?

    We have a requirement, wherein we have a OAF search page for PO lines with search criteria, Go button to search ,result region (table layout) and a submit button(Create new expedite).
    1. Now user can select some lines from result region and click on Submit button.
    2. On click of submit button we need to pop up a window or may be a dialog page asking that " Do you want open supplier web link portal or not?".
    3. If user clicks yes(in Dialog page) then first fetch the URL from a look up maintained in Oracle EBS on the basis of supplier of the lines selected and then open that URL in a new window and side by side we need to open a dialog page in search page asking "whether user has updated the expedite info in supplier portal or not?". On basis of this we need to updated some count in custom tables.
    So in step 3 i am facing problem, that how to open an URL in a new window through a submit button and side by side want to open a dialog page in the current window also.
    Hope a quick response from you all.
    Note:- To open a custom page we can have a link or button(button of type button and not submit button) on base page with destination url property as following javascript:
    javascript:var a = window.open('OA.jsp?page=/XXX/oracle/apps/xxx/......&retainAM=Y', 'a','height=500,width=900,status=yes,toolbar=no,menubar=no,location=no'); a.focus();
    So the question is how to do the same for submit button on OAF page???

    Antriksh,
    You just need to attach a submit action in button bean and not submit button bean, based on the output of confirm type of alert in javascript.
    Here is code u need to put in destination url of the button:
    //replace <confirm message> by message you want to show.
    javascript:input=confirm('<confirm message>');if(input==true){submitForm('DefaultFormName',0,{XXX:' abc'});}" Now in the process request of the base page CO, u can get parametre 'XXX' from the pagecontext....so
    if((("abc").equals(pageContext.getParameter("XXX"))))
    {/// custom LOGIC }
    The same i have replied in your mail. I hope this resolves the issue.
    --Mukul

  • Show new Dialog page on click of Submit in Standard PO page.

    Hi Gurus,
    Requirement :
    to show a dialog page with 'Ok' and 'cancel' button in the STANDARD Purchase Orders OAF Page on the Click of 'Submit' button i.e. before Approval.
    Design:
    1) write new CO xxCO to extend the standard OrderCO
    2) Put dialog page code on click on submit button before super.processFormRequest on xxCO.
    3) handle OK on Dialog page, write the code in xxCO to submit the PO (i.e. same code as in Orders CO on click of submit).
    Above approach is not upgrade safe and not very much suggested.
    Can you please suggest a better approach.
    Thanks and Regards,
    Sumana.

    Hi,
    Can anyone tell me the significane of using pageContext.putParameter. I was trying to implement a solution using this command for the above issue.
    ===============================================
    Intial solution without the use of pageContext.putParameter
    ===============================================
    //Standard Code - Order Co
    If pageContext.getParameter("SubmitButton")!=null{
    -- calls abc method.(private)
    //custom controller - xxOrderCO
    If pageContext.getParameter("YesButton")!=null{
    -- calls abc method. (copy the private method)
    else {
    super.processFormRequest
    Instead of rewriting the standard code in custom controller on click of yes button of Dialog page.
    i'll try to set explicity that submit button is clicked. So that it is always handled in super.processFormRequest.
    ===============================================
    solution with the use of pageContext.putParameter
    ===============================================
    //custom controller - xxOrderCO
    If pageContext.getParameter("YesButton")!=null{
    pageContext.putParamter("SubmitButton","Clicked")
    super.processFormRequest
    Please provide your valuable suggestions on this.
    Regards,
    Sumana.

  • 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 !

  • How to view database table in OAF run page.

    Hi,
    how to view database table in OAF run page,any manual setting .please help me.
    thanks
    saran.

    Hi;
    1. This site side related EBS for your issue there is sqldeveloer dedicated forum side
    Forum Home » Application Development in PL/SQL » SQL Developer (Not for general SQL/PLSQL questions)
    2. Please see:
    http://docs.oracle.com/cd/B10501_01/java.920/a96655.pdf
    Regard
    Helios

  • How to add three buttons to a Dialog Page?

    Hi,
    I have a requirement where in i need to add three buttons yes , no, cancel on the dialog page.
    But in the examples specified in OAF guide it has only two buttons.
    I m in urgent requirement of this.
    Could anyone help me in this regards?
    Thanks,
    Mandar

    It is not a supported feature. Check the constructor of OADialogPage and it supports a max of only 2 button urls.
    OADialogPage(byte messageType, OAException descriptionMessage, OAException instructionMessage, String okButtonUrl, String noButtonUrl)
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Dialog page in a new page

    Hi all,
    I created a new page and create an update functionality in which the fields can be updated on click of a button. Everything is working fine but when i use a OADialogpage for confirmation of the click of the update button, i am not getting any error but the data is not getting saved.
    Can anyone has any idea why this is happening??
    Thank you
    PK

    Kumar,
    What do u mean by using "commit" in dialog page?? the user is talking about OADialog page, and prior using OADialog page, the data was getting saved, so naturally transaction.commit(), is there in his code.
    PK,
    The only possible reason I can see the data is not saving can be because of two facts :
    1)In process request this code is missing
    if (!vo.isPreparedForExecution())
    //your method is invoke the vO query
    vo.executeQuery();
    The reason for inserting the above check upon executeQuery() is because if a post (form submit) action occurs on a page that is different from the page where the last request was issued, OA Framework tries to re-enter the processRequest() phase to synchronize the state on the middle tier with the state on the client browser. The logic above handles cases where the request is redirected to another JVM as well. In such cases, processRequest() is entered to rebuild the web bean hierarchy.
    2)
    setPostToCallingPage(true) is missing in your code.
    If you have done both still your code is not working ahre the code, we will review and let you know the error.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • The Popup dialog Page needs two times to return the selected value[10.1.3]

    Hi All,
    I have problem in an JSF Application that uses the EMP and DEPT tables .
    the Application contains two pages
    page 1 : a calling page uses EmpView as ADF Table .
    page 2 : a popup List of Values (LOV) dialog page uses DeptView
    These cause the popup dialog page to return to the calling page and to set the selected value into the Deptno attribute .
    the calling page includes :deptno and dname columns as
    <af:column headerText="#{bindings.EmpView1.labels.Deptno}">
    <af:selectInputText value="#{row.Deptno}"
    required="#{bindings.EmpView1.attrDefs.Deptno.mandatory}"
    columns="#{bindings.EmpView1.attrHints.Deptno.displayWidth}"
    action="dialog:ChooseDept1" id="deptnoField"
    autoSubmit="true">
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.EmpView1.formats.Deptno}"/>
    </af:selectInputText>
    </af:column>
    <af:column headerText="#{bindings.EmpView1.labels.Dname}">
    <af:inputText value="#{row.Dname}" simple="true"
    required="#{bindings.EmpView1.attrDefs.Dname.mandatory}"
    columns="#{bindings.EmpView1.attrHints.Dname.displayWidth}"
    partialTriggers="deptnoField" autoSubmit="true"/>
    </af:column>
    and popup dialog page includes : Submit Button to return selected value to calling page :-
    <af:tableSelectOne text="Select and">
    <af:commandButton text="Submit">
    <af:returnActionListener value="#{row.Deptno}"/>
    <af:setActionListener from="#{row.Deptno}"
    to="#{bindings.Deptno.inputValue}"/>
    </af:commandButton>
    </af:tableSelectOne>
    the problem is
    I have to press ( two times ) the select button in the calling page to
    return the selected value into the Dname attribute .
    best regards,

    Hi,
    However, I am using the Jdeveloper 10.1.3.3, but still getting this error. I could not find any threads related to this problem and hence I wrote up here. Anyway I have also logged an SR #7179012.993 for the same with the testcase. I hope the issue will be resolved soon.
    Thanks,
    Neeraj

  • Dialog Formatting Issue

    Ran into a dialog formatting issue - namely that it will leave a character name and paranthetical at the bottom of one page, then put the dialog (with the character name again) on the next page when it should instead push all of it automatically to the next page. Makes no sense.
    For example, if writing this at the bottom of the page: 
                   Juliet
         (sotto)
    Romeo, Romeo, where for art thou, Romeo.
    It would leave this on one page:
                   Juliet
         (sotto)
                   (MORE)
    And put this on the next page:
                   Juliet (CONT'D)
    Romeo, Romeo, where for art thou, Romeo.
    Need to fix that. Thanks.

    Hi,
    Thanks for reporting this issue.
    This is a known issue to us, we already have this in our To-Do list.
    We have a couple of other high priority things lined up at the moment.
    We will let you know as soon we resolve this issue.
    Thanks again,
    - Priyank
    Adobe Story Team

  • IE8 and higher can not open OAF tab page, which includs lookup/valueset

    Dear All,
    I have a question.
    When I try to open an OAF tab page, which includes lookup/valueset component with IE8 and Higher, then error occurs, then double click the left bottom error icon, new pop up windows shows:
    Object required
    oafcoreR121.js Line: 1560
    Code: 0 Char: 6
    URI: http://hostname:port/OA_HTML/cabo/oajsLibs/oafcoreR121.js
    There's no issue with IE6 & IE7.
    Reproduce step:
    1. Choose Sales responsibility such as ‘Sales Manager’, click sales dashboard, and click ‘Opportunities’ in 'Shortcuts' panel.
    2. Click any opportunity
    3. Click ‘Additional Information…’ tab page
    4. Error occurs
    Please help!
    Thanks,
    Jackie

    Hi Jackie,
    I have a question.
    When I try to open an OAF tab page, which includes lookup/valueset component with IE8 and Higher, then error occurs, then double click the left bottom error icon, new pop up windows shows:
    Object required
    oafcoreR121.js Line: 1560
    Code: 0 Char: 6
    URI: http://hostname:port/OA_HTML/cabo/oajsLibs/oafcoreR121.js
    There's no issue with IE6 & IE7.Do you meet the minimum requirements as per (Recommended Browsers for Oracle E-Business Suite Release 12 [ID 389422.1]) for IE8?
    Reproduce step:
    1. Choose Sales responsibility such as ‘Sales Manager’, click sales dashboard, and click ‘Opportunities’ in 'Shortcuts' panel.
    2. Click any opportunity
    3. Click ‘Additional Information…’ tab page
    4. Error occursCan you reproduce the issue with other browsers (like Firefox)?
    Thanks,
    Hussein

  • Resubmitting same search page issues

    I am new to OAF and I am developing a new OAF custom page that is a simple customer search. The user selects from a poplist the criteria they want to search on and then enter their search value in a messageTextInput with a button to submit the form. Per my requirements, I have created a personalization on another page to initially set the 2 parameters on the page and open the search page in a new window with the results. The user can then search again from the existing page if the person they were looking for didn't appear in the results.
    I have 2 issues that I haven't been able to find an answer for in the forums and dev guide.
    1. The parameters I pass initially into the PR() (colname & srchvalue) do not show up in the poplist and Text box when the page is rendered, but the results appear just fine in my table. (minor issue)
    2. If the user wants to search on another field in the poplist by selecting customer_name instead of customer_id and enters a srchvalue of Mo% and presses the submit button the parameters passed into my PFR() are the same parameters that were passed in as parameters into the PR() from the user's 1st search. In addition the 1st search values are rendered with the original results again instead of using the new criteria. (major issue)
    I have tried releasing the AM, re-initializing the parameters in the pageContent to know avail. I do not believe it has anything to do with my VO, since I can see from my logging the parameters in my CO that the pageContext parameters are incorrect before I execute the query. Ironically if I do not pass any parameters into the page when the PR() is called I can do repeated searches without any issues.
    Attached is my PR() & PFR() code.
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    String colName = "";
    String srchValue = "";
    colName = pageContext.getParameter("ColName");
    srchValue = pageContext.getParameter("SrchValue");
    if (( srchValue != null) && (!("".equals(srchValue.trim())))){
    if (pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT) != false)
    pageContext.writeDiagnostics("custsrch.webui.processRequest", "Before exe colname=" + colName.toString() +
    " srchValue=" + srchValue.toString(), 1);
    Boolean executeQuery = BooleanUtils.getBoolean(false);
    Serializable[] parameters = { colName, srchValue, executeQuery };
    Class[] paramTypes = { String.class, String.class,  Boolean.class };
    am.invokeMethod("initSearch", parameters, paramTypes);
    OATableBean table = (OATableBean)webBean.findChildRecursive("CatDetailCustSrchResults");
    table.queryData(pageContext, false);
    pageContext.releaseRootApplicationModule();
    /* pageContext.removeParameter("ColName");
    pageContext.removeParameter("SrchValue");
    if (pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT) != false)
    pageContext.writeDiagnostics("custsrch.webui.processRequest", "After exe pc.colname=" + pageContext.getParameterValues("ColName") +
    " pc.srchValue=" + pageContext.getParameter("SrchValue"), 1);
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    if (pageContext.getParameter("GoBtn") != null)
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    String colName = "";
    String srchValue = "";
    colName = pageContext.getParameter("ColName");
    srchValue = pageContext.getParameter("SrchValue");
    if (( srchValue != null) && (!("".equals(srchValue.trim())))){
    if (pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT) != false)
    pageContext.writeDiagnostics("custsrch.webui.processFormRequest", "Before exe colname=" + colName.toString() +
    " srchValue=" + srchValue.toString(), 1);
    Boolean executeQuery = BooleanUtils.getBoolean(false);
    Serializable[] parameters = { colName, srchValue, executeQuery };
    Class[] paramTypes = { String.class, String.class,  Boolean.class };
    am.invokeMethod("initSearch", parameters, paramTypes);
    OATableBean table = (OATableBean)webBean.findChildRecursive("CatDetailCustSrchResults");
    table.queryData(pageContext, false);
    pageContext.releaseRootApplicationModule();
    Any suggestions to either of these issues would be appreciated.
    Thanks

    So I found the answer to question #2. Since I named my page parameters the same thing as my form input fields my form input values were being overwritten in my PFR, when ever the user manually searched with the go button.
    Does any know whether I can set the poplist and text box parameters when a PR() comes in. I tried pageContext.putParameter() without any success in this manner in my PR().
    OATableBean table = (OATableBean)webBean.findChildRecursive("CatDetailCustSrchResults");
    table.queryData(pageContext, false);
    pageContext.putParameter("ColName", colNameLoc);
    pageContext.putParameter("SrchValue", srchValueLoc);
    return;
    Thanks,

  • JBO-35007: Row currency has changed.. when Rollback fom a Dialog page

    Hi All,
    From a page with an ADF Readonly table, I press 'Edit' button to edit some fields (not all) in an edit page as a Dialog page. Both page use same View Object Instance. Edit page has Commit and Rollback button.
    Since it is a dialog page , I add af:returnActionListener to the Rollback button
    If I press Commit its fine. But If I press Rollback, when I back to originating page I get this error :
    1. JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-35007: Row currency has changed since the user interface was rendered. The expected row key was oracle.jbo.Key[IV 2107 SIU01 ]
    2. JBO-35007: Row currency has changed since the user interface was rendered. The expected row key was oracle.jbo.Key[IV 2107 SIU01 ]
    How to solve this problem ?
    Thank you for your help,
    xtanto

    Doing a rollback by default clears the caches. This causes view objects to be requeried the next time they are needed, and causes the current row to be reset to the first row in the view object instance's default row set.
    This error means that the row that was current when the browse page was rendered is now no longer the current row. Token validation is set on the page definition for a JSF page. By default, token validation is on.
    To adjust the setting for token validation:
    1. Open the page definition file for the page.
    2. In the Structure window, select the root node for the page definition itself.
    3. In the Property Inspector, use the dropdown list for the
    EnableTokenValidation attribute to set validation to true to turn on token
    validation, or false to turn off token validation.
    Alternatively, if you cause a partial-page update on the base page, it should update it's notion of the current row and that is another way to avoid this error.

  • How to send a request parameter to a dialog pages with jsf

    I'm using the dialog framework of oracle, java server faces.......
    I need to open a url on a dialog page(request scope), and I must to pass request parameters. I put <f:param> objects inside the commandLink who I click.....
    If the page is not dialog, it woks fine, but when I put in a dialog way.... nothing work
    =[
    anyone know what I have to do?
    thanks

    Hi, I suppose you have already seen the ADF DIalog Framework, isn't it?
    I think there tells how to pass parameter
    A workaround is to save them in your session and then get them back and remove

Maybe you are looking for

  • How can I turn off the feature that, when I move my pointer over a headline, the headline pops up again as a seperate reader?

    Go to any website that has a link to a story. When I move the cursor over the link to the story a second version (read) also pops up. Why would somebody need to read the link twice in the exact same spot and why does it read over the original link I

  • Oracle 9i Data Guard on Solaris 9

    I've set up a database on two separate servers and am creating a physical standby database using Oracle's documentation. Since there are few folks I can talk to who have run dataguard for a failover operation, I need some experienced advice. Thus far

  • 3905 transfer problems

    Hi, sometimes 3905 phones cannot transfer calls: user press tranfer key, dial the extension but nothing happens. The problem is random and disappears resetting the phone. Callmanager Version:8.6.2.22900-9 Phone version: 9-2-2-0 Thank you.

  • Waterproof iPhone Case Evolution - OtterBox, LifeProof, now Liquipel?

    Has anybody had  their phone undergo the Liquipel process? When you read the fine print they actually say to stop using your phone after it's exposed to water, despite the nano waterproof coating. I currently advocate the LifeProof case for water pro

  • Why won't my iphoto won't turn on?

    My iphoto won't turn on completely. The screen for iphoto comes on, but it stays a blank white with ball just spinning around and around. No pictures, library, no albums, nothing! I have iphoto '09, version 8.1.2 . Has any one else had this problem?