Commit/Rollback Buttons Diabled for Pinned Tables?

When I pin a table, the commit/rollback buttons become disabled. Is there a reason for that, or is it a bug?
Java(TM) Platform     1.5.0_12
Oracle IDE     1.5.0.52.03

Finally got some time to let it return. 454 tables takes takes between 9-10 min. I also noticed if I cancel it, SQLDeveloper becomes pretty unresponsive....probably for the remaining 9-10 minutes, but I've been too busy to double check.
As for the Commit/Rollback buttons becoming disabled in 1.5.0, I'm not able to get an exact sequence, it "just seems to start happening". It happens when I have multiple tables pinned. Changes to one will let me commit/rollback, but changes to another will not. The window with the disabled commit/rollback buttons sometimes will not even mark a rownum as changed if it has been updated.
The refresh button still prompts you to save since changes were made. That works as a commit/rollback if the buttons are disabled.

Similar Messages

  • Parent Table - Child Form(bounded task region)- Commit-Rollback Button's

    Hello,
    Here's my simple scenario:
    Jdev 11.1.1.2
    One Am(datacontrol).
    One vertical panel splitter
    On top A panel collection with a read-only table(employees VO), The table lists just a few of the attributes, so it's really just for browsing, and a toolbar with createinsert, commit and rollback button's.
    At bottom: A PanelTab with a bounded task flow - region. The child region(bounded task flow) contains an editable ADF form(same VO) will all attributes available for editing. The form(child region) also contains a 'submit' button (to post changes).
    When run the page commit and rollback button are disable. (ok)
    Navigation and sincronize between table and task flow works fine because i set partialtrigger. (ok)
    When i change some attribute in the form and then press summit button, I want the commit and rollback button's became active..
    . . any help would be much appreciated.
    Edited by: user7056373 on 08-ene-2010 3:23

    Hi Bart,
    if your bounded task flow is placed in .jspx using region it is possible to reach binding container of that task flow.
    You can use handies by Edwin Biemond:
    # // main jsf page  
    # DCBindingContainer dc = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();  
    # // taskflow binding  
    # DCTaskFlowBinding tf = (DCTaskFlowBinding)dc.findExecutableBinding("dynamicRegion1"); 
    # // pagedef of a page fragment  
    # JUFormBinding form = (JUFormBinding) tf.findExecutableBinding("regions_employee_regionPageDef"); 
    # // handle to  binding container of the region. 
    # DCBindingContainer dcRegion   = form;  but ExecuteWithParam works for me in bounded task flow - I think you have mistake in your NDValue="#{pageFlowScope.pclNummer}". you should use $ instead #
    regards,
    Branislav

  • Commit/Rollback Button, Count Records, Ctrl-End pblm?

    1. How about adding a commit and rollback button on the SQL Worksheet?
    2. How about a quick way to count the records in the result set in sqlworksheet and the data tab?
    3. Noticed that using ctrl-end on the data tab does not move to the last record. You still need to page down to the end, or scroll to the end. ctrl-end should move to the last record in the table. I get 55 records, ctrl-end, and then go to rec 105. There are 1k's of records in the table. Paging down will get me there.
    4. What about drag and drop selected text in SQL Worksheet?
    5. On the table tab (and sub tabs...what are they called?), automatically store the filters and sorts on a user.table level (and maybe a dropdown to recall them)? These are the kind of requests that really improve your efficiency, and acceptance of the product. The user believes that as they use the product, they are building a foundation that can be easily recalled later.
    As a note for any settings files...they should be stored so they can be easily transported to the next release or another pc. They should probably be in a directory with the operator's name (like my documents).

    I think it would be good to have a function (like Ctrl-End) that allows you to jump to the last record - even if there are a million rows.
    As far as a "work-around", exporting will count the records, so you could run your query and in the result table right-click, select Export -> some format. Once you select the file to export to, the Fetched Rows count is replaced with a Rows count for the export.
    The export does not appear fetch the rows in the results (unless you have already fetched to the end of the query) - in my example, when I ran the query the row count was "Fectched Rows: 100". I exported and the row count was "Rows: 4992". Then when I paged down in the results, the row count was updated to "Fectched Rows: 150". From this, I would assume that it is rerunning the query separately if you haven't already fetched the last record in the results.
    Interestingly, if I then scrolled down to the end of the query (displayed "All Rows Fetched: 4992") and then did an export, it appeared to scroll through the fetched records but ended up with "Row: 4991" displayed, but the full 4992 records were in the export file.
    Another interesting point - if I set up my query to return 199 records (ROWNUM < 200), when I run it, it displayed "Fectched Rows: 100". Once I page down enough it shows "Fectched Rows: 150" and then "Fectched Rows: 200". Then it is only after I page down more that it updates to "All Rows Fetched: 199".

  • Create, commit, rollback button behavior

    I have a view object dropped as a form. It has the default create, commit and rollback buttons.
    On initial display, only the create button is enabled, and the form is read-only.
    I click create button, which then it allows me to enter input.
    Upon clicking create button again, the form saves the input, clears itself, awaiting next input, and both commit and rollback buttons become enabled. I can continue to add more rows using create button.
    When I click either commit or rollback, the form becomes read-only again, and only the create button is enabled.
    This is the JDev standard form behavior which I want.
    Now, I add just 2 more enhancement, and this behavior gets broken.
    First, I drop the same view object as a table underneath the form, so that as records are added, the table will reflect it.
    Secondly, the form has two selectOneChoice components whereby upon valuechange on the first selectOneChoice, the second
    selectOnechoice items are dynamically populated via bean method and partial trigger.
    With these 2 changes, the entire page behaves like following:
    Upon create click, it gives me the form, but subsequent click on create does not clear the fields.
    If I click the create again, it then clears the fields. So, it takes 2 clicks on create to get a cleared form.
    But, it adds the row because I see it in the table below, but only one column displays the value in the newly added row.
    Upon commit, the row displays all values.
    Another thing is it fails to save the value from the second selectOneChoice field.
    Could you please point out what I am not doing right here?
    I would appreciate your insight.
    Thanks.
    Edited by: paikyunki on Oct 23, 2008 6:31 PM

    Chris,
    I might post the code tomorrow in my office - I am home now. Thanks for your offer.
    I gave some thoughts to my problem later, and it seems like one easy way out would be to create a form using ADF Faces components, then write a service method to insert a new row
    from the data gleaned through this form.
    I am new to JDev, and this approach of not utilizing the built-in functions of JDev may seem like defeating the very purpose of JDev.
    I find Oracle's Business Component's non-gui model very understandable and a strong alternative to Hibernate/Spring.
    However, it seems like sometimes it just may be easier, such as in this case, to resort to programmatic way.
    What is your view on this? I have used JDev less than 3 wks and would like to hear from experts.
    Yunki

  • How to avoid the Commit/Rollback dialog box

    I've a JClient app with two frames wich relate to the same appllication module with the same connection (I need it because I want a single commit).
    I start the first frame,then I click a button to start the second frame, I insert data in the second one and I see the commit/rollback buttons in both navebars enabled.
    When I close the secod frame, without committing (because I want to commit at the end of the whole process) I receive the Commit/Rollback dialog box.
    How can I solve that problem ?
    TIA
    Tullio

    Remove or conditionalize the code in generated Form/Frame.java class that binds a WindowListener to the Frame like:
        addWindowListener(new WindowAdapter()
            public void windowClosing(WindowEvent e)
              _popupTransactionDialog();
              JUApplication juApp = panelBinding.getApplication();
              if (juApp != null)
                juApp.release();
              System.exit(0);
      }You may either conditionlize the above windowClosing method or the code in generated method
    private void _popupTransactionDialog()

  • Commit Button Still Disabled After Table Edit

    I am using JDeveloper 11.1.1.6.
    I have a table on my page that is clickToEdit.
    I have CreateInsert and Delete buttons.
    I have Commit and Rollback buttons that are initially disabled.
    When I edit the value of an existing field and press Enter, the Commit and Rollbak buttons remain disabled.
    If I add a new record to the table, the Commit and Rollback buttons are enabled (as expected).
    I know I can add a partial trigger to the button with the id of the table, but the final application will have many tables.
    I don't want to add each table id to the partial trigger of the buttons.
    How can I set it up so the Commit and Rollback buttons are enabled after a table modification?
    Thanks,
    Ray

    Arun,
    Thanks for the info, but it looks like this thread has the same problem.
    The thread states "Do not forget to include the 'Commit' button as a PPR target in order the button to be refreshed."
    I assume this means I need to add the control's id to the commit button's Partial Triggers.  This results in the same problem as stated originally.
    Am I missing something?
    Ray

  • TimesTen doesn't commit/rollback executed DMLs in procedure, so tables were locked.

    Hello, when PLSQL_TIMEOUT occured, TimesTen doesn't commit/rollback executed DMLs in procedure, so tables were locked.
    Please help. How can I solve this problem?

    Looks like I've a mistake, not PLSQL_TIMOUT, after ODBC connection timeot it seems doesn't commit/rollback.
    java.sql.SQLException: [TimesTen][TimesTen 11.2.1.8.0 CLIENT]Communication link failure. System call select() failed with OS error 110. This operation has Timed Out. Try increasing your ODBC timeout attribute or check to make sure the target TimesTen Server is running
    Also I couldn't find why locked and what locked. My procedure waiting for lock or something I dont know, so timout occured

  • Javascript code to enable an ADD button to create duplicate tables and pages for multiple entries

    I am using Adobe XI Pro. I have created a multi-page fillable pdf questionnaire that I want to make interactive to the user. Within each page, I have multiple tables that can have ADD buttons to duplicate the table if the client wants more than one test. I would like this table to insert directly below the previous table and they may be able to add upto 5 of these table.
    I also have a couple pages in the questionnaire that require duplication for multiple samples. Eg. One page per sample, and I may have upto 10 samples. I would like the javascript to have an ADD button and then add each page behind the previous related sheet (Original and duplicates together)
    I am not a javascript coder so I would need some examples and a walk through. I did take some developer courses in engineering but it has been almost two decades
    I have search on several forums and cannot find a good resource so I appreciate the help.
    Sincerely
    Tara

    Some of what you want to do can be done using template features and a bit of JavaScript, but if your users will be using Reader, version 11 will be required. You can dynamically add new pages, but adding new tables to existing pages with reflow of content that comes after is not possible with a form created in Acrobat. If you have access to Adobe's LiveCycle Designer form creation software, you can create what's known as a dynamic XFA form that can do all of what you want. You can ask in the LiveCycle Designer forum for more information: http://forums.adobe.com/community/livecycle/livecycle_modules_and_development_tools/livecy cle_designer_es?view=discussions

  • How to customize the code for default scroll buttons provided in the table?

    Hi Everyone,
    I want to customize the code for default 'next page' navigation button provided in a table. If this is possible then how it can be done?
    Thanks,
    Swati

    do you mean 'footer' of table, which used to scroll table contents?
    Table footer button is not editable.
    Instead you can try buttons in the table tool bar and can swap elements in the table.And also table footer can be set to showfootoer: false.
    refer thread: [Table Element Swapping|Re: Table with special requirement]
    nikhil

  • Rollback button

    Hi all!!
    I'm trying to include a Rollback button in a form, but it doesn't works.
    The UIX code is:
    <submitButton text="Cancelar"
    model="${bindings.Rollback}"
    id="Rollback0"
    event="action"
    disabled="${createMode}"/>
    When i execute the form and test the button i got this error "java.lang.NullPointerException". I have no idea what's happening, because when i put and use a Rollback button in a table it works fine.
    Any help will be appreciated.
    Roxana

    Hi Steven and thank you for your answer. This is the error that apper in the console:
    05/06/17 09:30:47 javax.servlet.ServletException
    05/06/17 09:30:47      at oracle.adf.controller.struts.actions.StrutsUixLifecycle$NonRenderingPageBroker.renderError(StrutsUixLifecycle.java:345)
    05/06/17 09:30:47      at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source)
    09:30:47 DEBUG (JhsDataAction) -No commit event in request and multiRowUpdateEvent request param not set, multi-row update NOT executed
    05/06/17 09:30:47      at oracle.adf.controller.struts.actions.StrutsUixLifecycle._runUixController(StrutsUixLifecycle.java:215)
    05/06/17 09:30:47      at oracle.adf.controller.struts.actions.StrutsUixLifecycle.processUpdateModel(StrutsUixLifecycle.java:106)
    05/06/17 09:30:47      at oracle.jheadstart.controller.strutsadf.action.JhsStrutsUixLifecycle.processUpdateModel(JhsStrutsUixLifecycle.java:140)
    05/06/17 09:30:47      at oracle.adf.controller.struts.actions.DataAction.processUpdateModel(DataAction.java:317)
    05/06/17 09:30:47      at oracle.jheadstart.controller.strutsadf.action.JhsDataAction.processUpdateModel(JhsDataAction.java:622)
    05/06/17 09:30:47      at oracle.adf.controller.struts.actions.DataAction.processUpdateModel(DataAction.java:508)
    05/06/17 09:30:47      at oracle.adf.controller.lifecycle.PageLifecycle.handleLifecycle(PageLifecycle.java:112)
    05/06/17 09:30:47      at oracle.adf.controller.struts.actions.StrutsUixLifecycle.handleLifecycle(StrutsUixLifecycle.java:70)
    05/06/17 09:30:47      at oracle.adf.controller.struts.actions.DataAction.handleLifecycle(DataAction.java:223)
    05/06/17 09:30:47      at oracle.jheadstart.controller.strutsadf.action.JhsDataAction.handleLifecycle(JhsDataAction.java:389)
    05/06/17 09:30:47      at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:155)
    05/06/17 09:30:47      at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    05/06/17 09:30:47      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    05/06/17 09:30:47      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
    05/06/17 09:30:47      at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
    05/06/17 09:30:47      at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:527)
    05/06/17 09:30:47      at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    05/06/17 09:30:47      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    05/06/17 09:30:47      at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    05/06/17 09:30:47      at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    05/06/17 09:30:47      at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
    05/06/17 09:30:47      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
    05/06/17 09:30:47      at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
    05/06/17 09:30:47      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
    05/06/17 09:30:47      at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
    05/06/17 09:30:47      at oracle.jheadstart.controller.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:172)
    05/06/17 09:30:47      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:645)
    05/06/17 09:30:47      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
    05/06/17 09:30:47      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
    05/06/17 09:30:47      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
    05/06/17 09:30:47      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    05/06/17 09:30:47      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    05/06/17 09:30:47      at java.lang.Thread.run(Thread.java:534)
    05/06/17 09:30:47 javax.servlet.ServletException
    05/06/17 09:30:47      at oracle.adf.controller.struts.actions.StrutsUixLifecycle$NonRenderingPageBroker.renderError(StrutsUixLifecycle.java:345)
    05/06/17 09:30:47      at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source)
    05/06/17 09:30:47      at oracle.adf.controller.struts.actions.StrutsUixLifecycle._runUixController(StrutsUixLifecycle.java:215)
    05/06/17 09:30:47      at oracle.adf.controller.struts.actions.StrutsUixLifecycle.processUpdateModel(StrutsUixLifecycle.java:106)
    05/06/17 09:30:47      at oracle.jheadstart.controller.strutsadf.action.JhsStrutsUixLifecycle.processUpdateModel(JhsStrutsUixLifecycle.java:140)
    05/06/17 09:30:47      at oracle.adf.controller.struts.actions.DataAction.processUpdateModel(DataAction.java:317)
    05/06/17 09:30:47      at oracle.jheadstart.controller.strutsadf.action.JhsDataAction.processUpdateModel(JhsDataAction.java:622)
    05/06/17 09:30:47      at oracle.adf.controller.struts.actions.DataAction.processUpdateModel(DataAction.java:508)
    05/06/17 09:30:47      at oracle.adf.controller.lifecycle.PageLifecycle.handleLifecycle(PageLifecycle.java:112)
    05/06/17 09:30:47      at oracle.adf.controller.struts.actions.StrutsUixLifecycle.handleLifecycle(StrutsUixLifecycle.java:70)
    05/06/17 09:30:47      at oracle.adf.controller.struts.actions.DataAction.handleLifecycle(DataAction.java:223)
    05/06/17 09:30:47      at oracle.jheadstart.controller.strutsadf.action.JhsDataAction.handleLifecycle(JhsDataAction.java:389)
    05/06/17 09:30:47      at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:155)
    05/06/17 09:30:47      at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    05/06/17 09:30:47      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    05/06/17 09:30:47      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
    05/06/17 09:30:47      at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
    05/06/17 09:30:47      at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:527)
    05/06/17 09:30:47      at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    05/06/17 09:30:47      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    05/06/17 09:30:47      at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    05/06/17 09:30:47      at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    05/06/17 09:30:47      at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
    05/06/17 09:30:47      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
    05/06/17 09:30:47      at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
    05/06/17 09:30:47      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
    05/06/17 09:30:47      at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
    05/06/17 09:30:47      at oracle.jheadstart.controller.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:172)
    05/06/17 09:30:47      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:645)
    05/06/17 09:30:47      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
    05/06/17 09:30:47      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
    05/06/17 09:30:47      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
    05/06/17 09:30:47      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    05/06/17 09:30:47      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    05/06/17 09:30:47      at java.lang.Thread.run(Thread.java:534)
    Any ideas?
    Thanks in advance
    Roxana

  • ADF UIX cancel/rollback button?

    Hi
    We're having a fair amount of trouble implementing a "cancel" button in our ADF UIX application (JDev 10.1.2). Apologies to those who read this same post on the ODTUG mailing list..... I'm hunting for even a hint of an answer before I approach Oracle Support.
    To set the scene, we have a parent VO "Departments" with child VOs "Dispatch" and "Agency". Dispatch also has a FK to Agency.
    We have a UIX view-screen that displays in a master-detail relationship Departments and Dispatch. From this screen the user can select the edit button, which navigates to an input-form screen to edit the currently selected Dispatch record.
    The Dispatch record has effective_from and effective_to dates. The underlying EO has a MethodValidator that ensures the from date <= the to date.
    On the edit screen we currently provide 2 buttons, Ok and Cancel. The Ok submitButton is bound to the commit binding, and navigates back to the view page via a struts link on completion.
    If the user selects the ok button and MethodValidator returns an error, the edit page's MessageBox displays the error and the user remains at the edit page until they resolve the issue.
    Our problems start with the cancel button.
    Originally we implemented the Cancel button as a simply "button" that navigated back to the view page. This worked well as the changes are never submitted, and on returning to the view page the record is presented in it's original state before being edited, thus the user's changes have been "cancelled".
    However if the user was editing an existing record, entered invalid dates that violated the MethodValidator, clicked ok and saw the MethodValidator error, then clicked cancel, on returning to the view page, any changes to the underlying record are visible including the invalid dates. I believe this occurs because the record has been submitted to the mid-tier by the ok button, and as such the changes now lies in the mid-tier.
    Given that a cancel "button" which simply navigates back to the view page is not a viable solution, we decided to investigate using a rollback button on our edit page, which then navigated back to the view page.
    There is a nasty side affect in using the rollback functionality, and has been a continuous frustration mentioned on OTN. When rollback is issued, it appears all iterators in the running application have their current row reset to the first element.
    This is a pain as in our example this results in not only the Dispatch iterator being reset to the first element, but also the parent Departments iterator, and presumably all other iterators in the application too. This would be an extreme annoyance to the user in every time they selected cancel, they would then need to navigate back to the correct Departments and Dispatch record if they wanted to make a different change.
    As such it is necessary to write some code to store the iterator positions before issuing the rollback, rolling-back, then restoring the iterator positions from the saved states.
    Luckily we found some code on OTN to do this:
    ADF - cancel button not working in input form(add new row)?
    This mechanism appeared to work, but, then, we did find one problem.
    I described at the beginning that our Dispatch VO is not only related to Departments but also Agency. To cater for this in our edit screen by including a LOV bound <messageList>, which displayed the relating Agencies for the user to select from.
    In using the pinched OTN rollback code, in the same scenario as previously, when the user edits a record, invalidates the MethodValidator after clicking ok, then clicks cancel, on returning to the view page, the field in Dispatch that represents the Agency is incorrectly showing a numeric result such as 0, 1, 2 etc. We realised that the value being shown is the previous edit screen's <messageList> internal index number representing the value selected in the list, and not the actual value itself.
    We're note sure why the OTN rollback code is causing this to occur. Though it restores the Agency iterator's position, it shouldn't result in the <messageList> index being written to the underlying Dispatch agency field, but rather the value the <messageList> index represents.
    It appears to me we're caught between a "rock and a hard-place" here. The simple solution of using a cancel "button" doesn't work when errors are raised. The complex case of using a "rollback" button doesn't work due to the problem with the <messageLists>.
    My research on OTN shows the "cancel vs rollback" button is a common frustration. Can somebody help me in providing a satisfactory "cancel" button that I can use throughout my app please?
    Many thanks in advance.
    Chris Muir

    The stack:
    Class                     Method
    UsrEcvAmpdsViewRowImpl    setAgency
    UsrEcvAmpdsViewRowImpl    setAttrInvokeAccessor
    ViewRowImpl               setAttribute
    DCDataControl             setAttributeInRow
    DCJboDataControl          setAttributeInRow
    JUCtrlValueBinding        setAttributeInRow
    JUCtrlValueBinding        setInputValue
    JUCtrlValueBinding        setInputValue
    InitModelListener         _setInputValue
    InitModelListener         _doModelUpdate
    InitModelListener         eventStarted
    AbstractPageBroker        _fireUIXRequestEvent
    AbstractPageBroker        handleRequest
    BaseUIPageBroker          handleRequest
    PageBrokerHandler         handleRequest
    UIXServlet                doGet
    HttpServlet               service
    HttpServlet               service
    ResourceFilterChain       doFilter
    JAZNFilter                doFilter
    ServletRequestDispatcher  invoke
    ServletRequestDispatcher  forwardInternal
    ServletRequestDispatcher  forward
    RequestProcessor          doForward
    RequestProcessor          processForwardConfig
    RequestProcessor          process
    ActionServlet             process
    ActionServlet             doGet
    HttpServlet               service
    HttpServlet               service
    ResourceFilterChain       doFilter
    JAZNFilter                doFilter
    ServletRequestDispatcher  invoke
    ServletRequestDispatcher  forwardInternal
    ServletRequestDispatcher  forward
    RequestProcessor          doForward
    RequestProcessor          processForwardConfig
    RequestProcessor          process
    ActionServlet             process
    ActionServlet             doGet
    HttpServlet               service
    HttpServlet               service
    ResourceFilterChain       doFilter
    JAZNFilter                doFilter
    EvermindFilterChain       doFilter
    ADFBindingFilter          doFilter
    ServletRequestDispatcher  invoke
    ServletRequestDispatcher  forwardInternal
    HttpRequestHandler        processRequest
    HttpRequestHandler        run
    HttpRequestHandler        run
    ReleasableResourcePooledExecutor$MyWorker run
    Thread  runAt a wild guess, InitModelListener is causing the issue, because it's the first place where we can see a setInputValue occuring?
    To make this official I've raised a TAR (4613003.992) with Oracle Support with a cut down version of our app to work through the issue.

  • Update Query For Hierarchy Table

    Hi All
    I have a Hierarchy table that has news categories. I want use a query than when user deactivate a category, all child category has been deactivated. For example
    1- Politics
    1-1- National Politics
    1-2- International Politics
    1-2-1- Asia
    1-2-2- Africa
    2- Economic
    If Politics has been deactivated, all child must be deactivate. (1-1, 1-2, 1-2-1, 1-2-2)
    Please help me
    With Best Regards

    This is table structure script:
    SET NUMERIC_ROUNDABORT OFF
    GO
    SET ANSI_PADDING, ANSI_WARNINGS, CONCAT_NULL_YIELDS_NULL, ARITHABORT, QUOTED_IDENTIFIER, ANSI_NULLS ON
    GO
    IF EXISTS (SELECT * FROM tempdb..sysobjects WHERE id=OBJECT_ID('tempdb..#tmpErrors')) DROP TABLE #tmpErrors
    GO
    CREATE TABLE #tmpErrors (Error int)
    GO
    SET XACT_ABORT ON
    GO
    SET TRANSACTION ISOLATION LEVEL SERIALIZABLE
    GO
    BEGIN TRANSACTION
    GO
    PRINT N'Creating schemata'
    GO
    PRINT N'Creating [dbo].[Modules]'
    GO
    CREATE TABLE [dbo].[Modules]
    [Module_ID] [int] NOT NULL,
    [ModuleName] [varchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
    [ModuleTitle] [nvarchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
    [Status] [int] NULL
    GO
    IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION
    GO
    IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END
    GO
    PRINT N'Creating primary key [PK_Modules] on [dbo].[Modules]'
    GO
    ALTER TABLE [dbo].[Modules] ADD CONSTRAINT [PK_Modules] PRIMARY KEY CLUSTERED ([Module_ID])
    GO
    IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION
    GO
    IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END
    GO
    PRINT N'Creating [dbo].[Categories]'
    GO
    CREATE TABLE [dbo].[Categories]
    [Category_ID] [int] NOT NULL IDENTITY(1, 1),
    [Module_ID] [int] NOT NULL,
    [ParentID] [int] NULL,
    [Name] [varchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
    [Title] [nvarchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
    [Priority] [int] NULL,
    [ThumbnailImage] [varchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
    [Status] [int] NULL
    GO
    IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION
    GO
    IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END
    GO
    PRINT N'Creating primary key [PK_Categories] on [dbo].[Categories]'
    GO
    ALTER TABLE [dbo].[Categories] ADD CONSTRAINT [PK_Categories] PRIMARY KEY CLUSTERED ([Category_ID])
    GO
    IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION
    GO
    IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END
    GO
    PRINT N'Adding foreign keys to [dbo].[Categories]'
    GO
    ALTER TABLE [dbo].[Categories] ADD CONSTRAINT [FK_Categories_Modules] FOREIGN KEY ([Module_ID]) REFERENCES [dbo].[Modules] ([Module_ID])
    GO
    IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION
    GO
    IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END
    GO
    IF EXISTS (SELECT * FROM #tmpErrors) ROLLBACK TRANSACTION
    GO
    IF @@TRANCOUNT>0 BEGIN
    PRINT 'The database update succeeded'
    COMMIT TRANSACTION
    END
    ELSE PRINT 'The database update failed'
    GO
    DROP TABLE #tmpErrors
    GO
    This is table data
    SET NUMERIC_ROUNDABORT OFF
    GO
    SET ANSI_PADDING, ANSI_WARNINGS, CONCAT_NULL_YIELDS_NULL, ARITHABORT, QUOTED_IDENTIFIER, ANSI_NULLS, NOCOUNT ON
    GO
    SET DATEFORMAT YMD
    GO
    SET XACT_ABORT ON
    GO
    SET TRANSACTION ISOLATION LEVEL SERIALIZABLE
    GO
    BEGIN TRANSACTION
    -- Pointer used for text / image updates. This might not be needed, but is declared here just in case
    DECLARE @pv binary(16)
    PRINT(N'Drop constraints from [dbo].[Categories]')
    GO
    ALTER TABLE [dbo].[Categories] DROP CONSTRAINT [FK_Categories_Modules]
    PRINT(N'Add 14 rows to [dbo].[Categories]')
    GO
    SET IDENTITY_INSERT [dbo].[Categories] ON
    INSERT INTO [dbo].[Categories] ([Category_ID], [Module_ID], [ParentID], [Name], [Title], [Priority], [ThumbnailImage], [Status]) VALUES (1, 1, NULL, 'News', N'اخبار', 1, NULL, 1)
    INSERT INTO [dbo].[Categories] ([Category_ID], [Module_ID], [ParentID], [Name], [Title], [Priority], [ThumbnailImage], [Status]) VALUES (2, 2, NULL, 'Article', N'مقالات', 2, NULL, 1)
    INSERT INTO [dbo].[Categories] ([Category_ID], [Module_ID], [ParentID], [Name], [Title], [Priority], [ThumbnailImage], [Status]) VALUES (3, 3, NULL, 'Galleries', N'گالری', 3, NULL, 1)
    INSERT INTO [dbo].[Categories] ([Category_ID], [Module_ID], [ParentID], [Name], [Title], [Priority], [ThumbnailImage], [Status]) VALUES (4, 1, 1, 'Politics', N'سیاسی', 1, NULL, 1)
    INSERT INTO [dbo].[Categories] ([Category_ID], [Module_ID], [ParentID], [Name], [Title], [Priority], [ThumbnailImage], [Status]) VALUES (5, 1, 1, 'Economic', N'اقتصادی', 2, '', 1)
    INSERT INTO [dbo].[Categories] ([Category_ID], [Module_ID], [ParentID], [Name], [Title], [Priority], [ThumbnailImage], [Status]) VALUES (6, 1, 4, 'NationalPilitics', N'سیاست داخلی', 1, '', 1)
    INSERT INTO [dbo].[Categories] ([Category_ID], [Module_ID], [ParentID], [Name], [Title], [Priority], [ThumbnailImage], [Status]) VALUES (7, 1, 4, 'InternationalPolitics', N'سیاست خارجی', 2, NULL, 1)
    INSERT INTO [dbo].[Categories] ([Category_ID], [Module_ID], [ParentID], [Name], [Title], [Priority], [ThumbnailImage], [Status]) VALUES (8, 1, 7, 'Asia', N'آسیا', 1, '', 1)
    INSERT INTO [dbo].[Categories] ([Category_ID], [Module_ID], [ParentID], [Name], [Title], [Priority], [ThumbnailImage], [Status]) VALUES (9, 1, 7, 'Europe', N'اروپا', 2, NULL, 1)
    INSERT INTO [dbo].[Categories] ([Category_ID], [Module_ID], [ParentID], [Name], [Title], [Priority], [ThumbnailImage], [Status]) VALUES (10, 1, 7, 'Africa', N'آفریقا', 3, NULL, 1)
    INSERT INTO [dbo].[Categories] ([Category_ID], [Module_ID], [ParentID], [Name], [Title], [Priority], [ThumbnailImage], [Status]) VALUES (11, 2, 2, 'Scientic', N'علمی', 1, NULL, 1)
    INSERT INTO [dbo].[Categories] ([Category_ID], [Module_ID], [ParentID], [Name], [Title], [Priority], [ThumbnailImage], [Status]) VALUES (12, 2, 2, 'Art', N'هنری', 2, NULL, 1)
    INSERT INTO [dbo].[Categories] ([Category_ID], [Module_ID], [ParentID], [Name], [Title], [Priority], [ThumbnailImage], [Status]) VALUES (13, 3, 3, 'Culture', N'فرهنگی', 1, NULL, 1)
    INSERT INTO [dbo].[Categories] ([Category_ID], [Module_ID], [ParentID], [Name], [Title], [Priority], [ThumbnailImage], [Status]) VALUES (14, 3, 3, 'Religion', N'مذهبی', 2, NULL, 1)
    SET IDENTITY_INSERT [dbo].[Categories] OFF
    PRINT(N'Add constraints to [dbo].[Categories]')
    GO
    ALTER TABLE [dbo].[Categories] ADD CONSTRAINT [FK_Categories_Modules] FOREIGN KEY ([Module_ID]) REFERENCES [dbo].[Modules] ([Module_ID])
    COMMIT TRANSACTION
    GO
    Thanks for your help

  • Commit/Rollback on Tab pages

    I have three tab pages
    1st tab page called master_detal_page. It is base block bound to tables.
    2nd tab page called Keyword_page. It is not bound to the table.
    3rd tab page called Exit_page. It will popup dialog box ask for save the changes. commit,rollback,exit_form on trigger when-page-change.
    I encountered problems that I was unabled ROLLBACK or COMMIT the change I made on 1st or 2nd pages. When I refresh tab pages always display back to orginal records.
    Please help me with any technical to solve it. Thanks
    Trigger: WHEN-TAB-PAGE-CHANGED
    DECLARE
    v_result VARCHAR2(30);
    BEGIN
    IF :SYSTEM.TAB_NEW_PAGE= 'EXIT_PAGE' THEN
    v_result := FUNCTION_DISPLAY_MSG_BOX('Do you want to
    save changes before existing');
    IF v_result = 'YES' THEN
    COMMIT;
    GO_BLOCK('BLK_1ST_PAGE');
    ELSIF v_result = 'NO' THEN
    ROLLBACK;
    GO_BLOCK('BLK_1ST_PAGE');
    ELSE
    EXIT_FORM(NO_VALIDATE);
    END IF;
    END;

    what is the error you got? go to menu/display error to see if any.
    Then it likely you got saving issue with your master-detail block.
    can you save with only master block data? but cannot save if both blocks have new data?
    if yes, then you may add when-validate-record trigger to master and detail blocks, with code forms_ddl('post');
    then see it makes difference.

  • Establishing commit-rollback mechanism in a transaction

    Hi,
    If there are more than one tables that records to be inserted into and more then one record for some tables, is it possible to establish commit rollback mechanism?
    It must be used repeater action for some tables because of more than one records to be inserted.
    I'm trying to establish commit rollback mechanism for all inserts for oracle database.
    Is it possible?
    Thanks.

    Hi,
    with the standard SQLQuery it is not possible. Sam has develop some custom action blocks with this
    functionality. Take a look on this link [Installing the SAP MII v12.1 JTA JDBC Custom Action Blocks.|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10bfa608-103b-2c10-6399-e41044c3363e]
    BR
    Pedro

  • Commit / Rollback  AND  ERROS when to use BULK COLLECT

    Hi
    Where can I to put commit when to use bulk collect for to insert or update ?,
    How many records I to must to commit ?
    declare
    TYPE t_cd_estrutura_comercial IS TABLE OF t_ec_pessoa_perfil_ciclo.cd_estrutura_comercial%TYPE   INDEX BY PLS_INTEGER;
    TYPE t_cd_tipo_estrutura_comercial IS TABLE OF t_ec_pessoa_perfil_ciclo.cd_tipo_estrutura_comercial%TYPE  INDEX BY PLS_INTEGER;
    TYPE t_nm_ciclo_operacional IS TABLE OF  t_ec_pessoa_perfil_ciclo.nm_ciclo_operacional%TYPE   INDEX BY PLS_INTEGER;
    TYPE t_cd_consultora IS TABLE OF t_ec_pessoa_perfil_ciclo.cd_consultora%TYPE  INDEX BY PLS_INTEGER;
    TYPE t_cd_perfil IS TABLE OF t_ec_pessoa_perfil_ciclo.cd_perfil%TYPE  INDEX BY PLS_INTEGER;
    TYPE t_cd_indicador IS TABLE OF t_ec_pessoa_perfil_ciclo.cd_indicador%TYPE  INDEX BY PLS_INTEGER;
    TYPE t_vl_indicador IS TABLE OF t_ec_pessoa_perfil_ciclo.vl_indicador%TYPE  INDEX BY PLS_INTEGER;
    TYPE t_dt_ultima_atualizacao IS TABLE OF t_ec_pessoa_perfil_ciclo.dt_ultima_atualizacao%TYPE   INDEX BY PLS_INTEGER;
    v_cd_estrutura_comercial t_cd_estrutura_comercial;
    v_cd_tipo_estrutura_comercial t_cd_tipo_estrutura_comercial;
    v_nm_ciclo_operacional t_nm_ciclo_operacional;
    v_cd_consultora t_cd_consultora;
    v_cd_perfil t_cd_perfil;
    v_cd_indicador t_cd_indicador;
    v_vl_indicador t_vl_indicador;
    v_dt_ultima_atualizacao t_dt_ultima_atualizacao;
    V_CURSOR  SYS_REFCURSOR;
    n  pls_integer :=0;
    begin
      ---open v_cursor 
      pkg_scnob_batch_indicadores.abre_cursor(275,v_cursor);
       LOOP
       FETCH V_CURSOR   BULK COLLECT INTO
         v_cd_estrutura_comercial,
         v_cd_tipo_estrutura_comercial,
         v_nm_ciclo_operacional,
         v_cd_consultora,
         v_cd_perfil,
         v_cd_indicador,
         v_vl_indicador,
         v_dt_ultima_atualizacao  LIMIT 1000;
           FORALL i IN 1 .. v_cd_estrutura_comercial.COUNT
              MERGE
                 INTO T_EC_PESSOA_PERFIL_CICLO tgt
                 USING ( SELECT v_cd_estrutura_comercial(i) cd_estrutura_comercial,                           
                          v_cd_tipo_estrutura_comercial(i) cd_tipo_estrutura_comercial,                      
                         v_nm_ciclo_operacional(i) nm_ciclo_operacional,                             
                         v_cd_consultora(i) cd_consultora,                                    
                         v_cd_perfil(i)    cd_perfil,                                       
                         v_cd_indicador(i) cd_indicador,                                     
                         v_vl_indicador(i) vl_indicador,                                     
                         v_dt_ultima_atualizacao(i) dt_ultima_atualizacao FROM  dual ) src
                 ON   (   src.CD_ESTRUTURA_COMERCIAL            = TGT.CD_ESTRUTURA_COMERCIAL        
                          AND src.CD_TIPO_ESTRUTURA_COMERCIAL   = TGT.CD_TIPO_ESTRUTURA_COMERCIAL   
                          AND src.NM_CICLO_OPERACIONAL          = TGT.NM_CICLO_OPERACIONAL          
                          AND src.CD_CONSULTORA                 = TGT.CD_CONSULTORA                 
                          AND src.CD_PERFIL                     = TGT.CD_PERFIL                     
                          AND  src.CD_INDICADOR                 = TGT.CD_INDICADOR  )
              WHEN MATCHED
              THEN
                UPDATE
                 SET TGT.VL_INDICADOR  = src.VL_INDICADOR ,                             
                     TGT.DT_ULTIMA_ATUALIZACAO  = src.DT_ULTIMA_ATUALIZACAO                     
              WHEN NOT MATCHED
              THEN
                 INSERT (tgt.CD_ESTRUTURA_COMERCIAL,                           
                         tgt.CD_TIPO_ESTRUTURA_COMERCIAL,                      
                         tgt.NM_CICLO_OPERACIONAL,                             
                         tgt.CD_CONSULTORA,                                    
                         tgt.CD_PERFIL ,                                       
                         tgt.CD_INDICADOR,                                     
                         tgt.VL_INDICADOR,                                     
                         tgt.DT_ULTIMA_ATUALIZACAO)                            
                 VALUES (src.CD_ESTRUTURA_COMERCIAL,                           
                         src.CD_TIPO_ESTRUTURA_COMERCIAL,                      
                         src.NM_CICLO_OPERACIONAL,                             
                         src.CD_CONSULTORA,                                    
                         src.CD_PERFIL ,                                       
                         src.CD_INDICADOR,                                     
                         src.VL_INDICADOR,                                     
                         src.DT_ULTIMA_ATUALIZACAO) ;
               -- Did I to must commit here ?     
               --         commit;
           n := n + SQL%ROWCOUNT;
        EXIT WHEN  V_CURSOR%NOTFOUND; 
      END LOOP; 
    exception
       when others then
           rollback;  -- and log errors
    end;

    There is a lot of questions like this
    Actually there no precise max of records to be committed
    The COMMIT

Maybe you are looking for

  • EMU USB 0404 USB - Audio Problems

    Hello forum! I recently bought an 0404 USB and I am having problems with the audio quality. Prob 1 - When I plug a guitar into input A, the sound switches between clean and a distorted/clipping/phased kind of sound, and I also get some clicks. I have

  • Desktop Project Warnings window not the best help tool

    The Desktop Project Warnings window is saying that I need to provide an audio clip but not showing where. Is there a better way to see what's needed? So is there a log file window or something like that where I can trace the problem? Thanks, Claes

  • Problems printing from other programs after printing using Word automation

    I have an application that uses ActiveX to build a Word document. My print VI is attached. The problem that users are reporting is that after printing a report with my application, they can't print from any other programs until they restart their com

  • Error in process chain variant

    Hi all. I get an error "Variant ALL is not persistent" when I try to add the "Adjustment of Time-Dependent Aggregates"(TIMCHNGRUN) process type to mye process chain. The error message is RSPC023. I am unable to change the variant, or create a new one

  • Why my exit menu did work???

    this is my codes.no syntax errors.ubt the exit menu does not work.can someone correct it???please... import java.awt.*; import java.applet.*; import java.awt.event.*; public class GUI extends Applet Frame window; public void init() Object f =getParen