Commit(); - generated or not?

I'm working through an example I found at:
Managing ColdFusion data with Adobe Flash Builder 4 beta
http://www.adobe.com/devnet/flex/articles/fcf_managing_data_05.html
... and while I'm using a Delphi 2007 web service, it is mostly working fine for me. However, one thing in the article that doesn't work is where the author uses
service.commit();
... to update every record of a datagrid, and states
The commit() function is a built-in function of the data service that will run the service that you defined as the update operation in the Data Management wizard. In this case, it is running the updateItem() function once for each record in the DataGrid control.
In the service FB4b2 made for me, however, commit() doesn't seem to exist. I have defined an Update operation and it works fine when called separately. I'm wondering if I will just have to add code to loop through the datagrid and call the Update operation on each record. If so, is it possible to just have it update the records that have changed, rather than all of them?
Thanks for any suggestions ...

Thank you - you have led me to the problem. I had originally done "Enable Data Management", but I rewrote and reimported the web service. The web service operations that I had set up in code, including UPDATE, still worked fine, and I didn't realize that I had to do "Enable Data Management" again. It is, of course, obvious now :-)
Note that if I do a "Refresh" of the web service, commit() stays around - it is when I do a "Delete" (and reload) of the web service that it goes away.
Thanks!

Similar Messages

  • Stack file that is generated does not contain any java components

    We are in process of upgrading our ecc6.0 system with ehp4. The enhancement is stuck up in configuration phase for JAVA. Though we have configured Java in solution manager the stack file that is generated does not contain any java components and so the installation is stuck up. Kindly request you to advice us on this issue .
    Attached is the 'Trouble Ticket Report', PREPARE_JSPM_QUEUE_CSZ_01.LOG, and SMSDXML_EA4_20100623144541.375.txt
    ++++
    Trouble Ticket Report
    Installation of enhancement package 1 for SAP NetWeaver 7.0
    SID................: EA4
    Hostname...........: wipro
    Install directory..: e:/usr/sap/EA4
    Upgrade directory..: F:\EHPI\java
    Database...........: Oracle
    Operating System...: NT
    JDK version........: 1.6.0_07 SAP AG
    SAPJup version.....: 3.4.29
    Source release.....: 700
    Target release.....: 700
    Start release SP...: $(/J2EE/StandardSystem/SPLevel)
    Target release SP..: $(/J2EE/ShadowSystem/SPLevel)
    Current usages.....:
    ABAP stack present.: true
    The execution of PREPARE/INIT/PREPARE_JSPM_QUEUE ended in error.
    The stack E:\usr\sap\trans\EPS\SMSDXML_EA4_20100625054857.968.xml contains no components for this system.
    More information can be found in the log file F:\EHPI\java\log\PREPARE_JSPM_QUEUE_CSZ_02.LOG.
    Use the information provided to trouble-shoot the problem. There might be an OSS note providing a solution to this problem. Search for OSS notes with the following search terms:
    com.sap.sdt.j2ee.phases.PhaseTypePrepareJSPMQueue
    com.sap.sdt.ucp.phases.PhaseException
    The stack E:\usr\sap\trans\EPS\SMSDXML_EA4_20100625054857.968.xml contains no components for this system.
    PREPARE_JSPM_QUEUE
    INIT
    NetWeaver Enhancement Package Installation
    SAPJup
    Java Enhancement Package Installation
    ++++++
    PREPARE_JSPM_QUEUE_CSZ_01.LOG>>
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[2.0.7.1006]/>
    <!NAME[F:\EHPI\java\log\PREPARE_JSPM_QUEUE_CSZ_01.LOG]/>
    <!PATTERN[PREPARE_JSPM_QUEUE_CSZ_01.LOG]/>
    <!FORMATTER[com.sap.tc.logging.TraceFormatter(%d [%s]: %-100l [%t]: %m)]/>
    <!ENCODING[UTF8]/>
    <!LOGHEADER[END]/>
    Jun 28, 2010 9:21:23 AM [Info]:                      com.sap.sdt.ucp.phases.AbstractPhaseType.initialize(AbstractPhaseType.java:754) [Thread[main,5,main]]: Phase PREPARE/INIT/PREPARE_JSPM_QUEUE has been started.
    Jun 28, 2010 9:21:23 AM [Info]:                      com.sap.sdt.ucp.phases.AbstractPhaseType.initialize(AbstractPhaseType.java:755) [Thread[main,5,main]]: Phase type is com.sap.sdt.j2ee.phases.PhaseTypePrepareJSPMQueue.
    Jun 28, 2010 9:21:23 AM [Info]:                   com.sap.sdt.ucp.phases.AbstractPhaseType.logParameters(AbstractPhaseType.java:409) [Thread[main,5,main]]:   Parameter inputFile=EHPComponents.xml
    Jun 28, 2010 9:21:23 AM [Info]: com.sap.sdt.j2ee.phases.jspm.JSPMQueuePreparatorFactory.createJSPMQueuePreparator(JSPMQueuePreparatorFactory.java:93) [Thread[main,5,main]]: Creating JSPM SP Stack  queue preparator.
    Jun 28, 2010 9:21:24 AM [Info]: com.sap.sdt.ucp.dialog.elim.DialogEliminatorContainer.canBeOmitted(DialogEliminatorContainer.java:96) [Thread[main,5,main]]: Dialog eliminator spStackDialogEliminator allows to omit dialog SPStackLocationDialog
    Jun 28, 2010 9:21:24 AM [Info]:                  com.sap.sdt.util.validate.ValidationProcessor.validate(ValidationProcessor.java:97) [Thread[main,5,main]]: Validatable parameter SP/STACK/LOCATION has been validated by validator RequiredFields.
    Jun 28, 2010 9:21:24 AM [Info]:                  com.sap.sdt.util.validate.ValidationProcessor.validate(ValidationProcessor.java:97) [Thread[main,5,main]]: Validatable parameter SP/STACK/LOCATION has been validated by validator SPStackLocationValidator.
    Jun 28, 2010 9:21:24 AM [Info]: com.sap.sdt.j2ee.phases.jspm.JSPMSpStackQueuePreparator.createQueue(JSPMSpStackQueuePreparator.java:107) [Thread[main,5,main]]: Using SP Stack E:\usr\sap\trans\EPS\SMSDXML_EA4_20100625054857.968.xml.
    Jun 28, 2010 9:21:24 AM [Info]:                   com.sap.sdt.j2ee.tools.spxmlparser.SPXmlParser.parseStackTag(SPXmlParser.java:488) [Thread[main,5,main]]: STACK-SHORT-NAME tag is missing. The CAPTION of the stack will be used as stack name.
    Jun 28, 2010 9:21:24 AM [Info]:                   com.sap.sdt.j2ee.tools.spxmlparser.SPXmlParser.parseStackTag(SPXmlParser.java:582) [Thread[main,5,main]]: PRODUCT-PPMS-NAME tag is missing. The CAPTION of the product will be used as product PPMS name.
    Jun 28, 2010 9:21:24 AM [Info]:                      com.sap.sdt.j2ee.tools.spxmlparser.SPXmlParser.parseSPXml(SPXmlParser.java:424) [Thread[main,5,main]]: Parsing of stack definition file E:\usr\sap\trans\EPS\SMSDXML_EA4_20100625054857.968.xml has finished.
    Jun 28, 2010 9:21:24 AM [Error]:                       com.sap.sdt.ucp.phases.AbstractPhaseType.doExecute(AbstractPhaseType.java:863) [Thread[main,5,main]]: Exception has occurred during the execution of the phase.
    Jun 28, 2010 9:21:24 AM [Error]: com.sap.sdt.j2ee.phases.jspm.JSPMSpStackQueuePreparator.createQueue(JSPMSpStackQueuePreparator.java:136) [Thread[main,5,main]]: The stack E:\usr\sap\trans\EPS\SMSDXML_EA4_20100625054857.968.xml contains no components for this system.
    Jun 28, 2010 9:21:24 AM [Info]:                         com.sap.sdt.ucp.phases.AbstractPhaseType.cleanup(AbstractPhaseType.java:906) [Thread[main,5,main]]: Phase PREPARE/INIT/PREPARE_JSPM_QUEUE has been completed.
    Jun 28, 2010 9:21:24 AM [Info]:                         com.sap.sdt.ucp.phases.AbstractPhaseType.cleanup(AbstractPhaseType.java:907) [Thread[main,5,main]]: Start time: 2010/06/28 09:21:23.
    Jun 28, 2010 9:21:24 AM [Info]:                         com.sap.sdt.ucp.phases.AbstractPhaseType.cleanup(AbstractPhaseType.java:909) [Thread[main,5,main]]: End time: 2010/06/28 09:21:24.
    Jun 28, 2010 9:21:24 AM [Info]:                         com.sap.sdt.ucp.phases.AbstractPhaseType.cleanup(AbstractPhaseType.java:910) [Thread[main,5,main]]: Duration: 0:00:00.781.
    Jun 28, 2010 9:21:24 AM [Info]:                         com.sap.sdt.ucp.phases.AbstractPhaseType.cleanup(AbstractPhaseType.java:911) [Thread[main,5,main]]: Phase status is error.
    ++++++++++++++++++++++
    [stack xml data: version=1.0]
    [SPAM_CVERS]
    ST-PI                         2005_1_7000006
    LSOFE                         600       0015
    SAP_AP                        700       0015
    SAP_BASIS                     701       0003
    SAP_ABA                       701       0003
    SAP_BW                        701       0003
    PI_BASIS                      701       0003
    PLMWUI                        700       0002
    SAP_APPL                      604       0002
    EA-APPL                       604       0002
    SAP_BS_FND                    701       0002
    EA-IPPE                       404       0002
    WEBCUIF                       700       0002
    INSURANCE                     604       0002
    FI-CA                         604       0002
    ERECRUIT                      604       0002
    ECC-DIMP                      604       0002
    EA-DFPS                       604       0002
    IS-UT                         604       0002
    IS-H                          604       0003
    EA-RETAIL                     604       0002
    EA-FINSERV                    604       0002
    IS-OIL                        604       0002
    IS-PRA                        604       0002
    IS-M                          604       0002
    SEM-BW                        604       0002
    FINBASIS                      604       0002
    FI-CAX                        604       0002
    EA-GLTRADE                    604       0002
    IS-CWM                        604       0002
    EA-PS                         604       0002
    IS-PS-CA                      604       0002
    EA-HR                         604       0005
    SAP_HR                        604       0005
    ECC-SE                        604       0002
    [PRDVERS]                                  
    01200314690900000432SAP ERP ENHANCE PACKAGE       EHP2 FOR SAP ERP 6.0          sap.com                       EHP2 FOR SAP ERP 6.0                                                    -00000000000000
    01200314690900000463SAP ERP ENHANCE PACKAGE       EHP4 FOR SAP ERP 6.0          sap.com                       EHP4 FOR SAP ERP 6.0                                                    -00000000000000
    01200615320900001296                                                            sap.com                                                                                +00000000000000
    01200615320900001469SAP ERP ENHANCE PACKAGE       EHP3 FOR SAP ERP 6.0          sap.com                       EHP3 FOR SAP ERP 6.0                                                    -00000000000000
    01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01                                           +00000000000000
    [SWFEATURE]                                                                               
    1                   01200615320900001296SAP ERP                       2005                          sap.com                       SAP ERP 6.0: SAP ECC Server
    19                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: Discrete Ind. & Mill Products
    20                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: Media
    21                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: Utilities/Waste&Recycl./Telco
    23                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: Leasing/Contract A/R & A/P
    24                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: Retail
    25                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: Global Trade
    26                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: Financial Supply Chain Mgmt
    30                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: Central Applications
    31                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: Strategic Enterprise Mgmt
    33                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: Human Capital Management
    37                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: Oil & Gas
    38                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: Catch Weight Management
    42                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: Public Sector Accounting
    43                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: Insurance
    44                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: Hospital
    45                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: SAP ECC Server VPack successor
    46                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: ERecruiting
    47                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: Defense & Public Security
    48                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: Financial Services
    55                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: Oil & Gas with Utilities
    56                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: Defense
    59                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: PLM Core
    69                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: EAM config control
    9                   01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: SAP ESA ECC-SE
    ++++++++++++++++

    Though we have configured Java in solution manager the stack file that is generated does not contain any java components
    You will probably need to update Solution Manager first with a number of corrections so you can get a correctly generated stack file. Depending on your ST400 version in Solution Manager apply collective corrections from "Note 1461849 - MOpz: Collective corrections 24" or "Note 1452118 - MOpz: Collective Corrections 23". They generally deal with these kind of stack file issues.
    Nelis

  • Comm Channels are not seen in the Communication Channel Monitoring in RWB

    Hello All,
    I am facing a strange Problem. In the RWB i am not able to see the Comm Channels that i have configured in the Integration Directory. In the Adapter Monitoring also I am not able to see the Adapters with Green Status.
    I am on PI 7.0 and SP9. For a simple IDOC to File Scenario, the IDOC is getting sent but the File is not getting written. I have to monitor it for this. As the Comm Channels are not showing so I am not able to Montitor.
    Can anyone please suggest me how to do this montoring and how can I see the Comm Channels that I have created.
    Thanks in Anticipation
    Best Regards
    Chakra and Somnath

    Hi,
    1. Check created the Busieness system to identify your XI System.
      Role of Business system : Integration Server
      Pipleline : http://<hostname>:<ICM Port>/sap/xi/engine?type=entry. 
    2.  In XI Tcode : SXMB_ADM
      Role of Business system : Integration Server
      Pipleline : http://<hostname>:<ICM Port>/sap/xi/engine?type=entry.
    3. Go to SXMB_ADM
       Execute Integration Engine and Configuration
       Click on Check button check the SLD working fine or not.
    Regards,
    Venu.

  • Commit events are not broadcast because no JMS Transport is available.

    Just set up a new WebLogic 10.3.2 domain and I am seeing this while starting the Admin Server:
    <Mar 1, 2010 6:37:03 PM CST> <Error> <Security> <BEA-000000> <Commit events are not broadcast because no JMS Transport is available. Remote L2 caches will be out of sync.>
    anyone have any idea what this is and what's causing it?

    Hi,
    I followed the instructions given under " Configure the RDBMS security store " ( Step 6 ) and restarted my Server. :-
    +6. In the section labeled Server Synchronization Configuration, specify the appropriate settings for JNDI and JMS so that the RDBMS security store can cache database information in memory correctly. If the RDBMS is running in more than one JVM -- for example, the domain has multiple servers, or other Oracle products are sharing the same RDBMS store with the new domain -- these caches must be synchronized to ensure the integrity of the security data.+
    To configure server synchronization:
    +1. Specify a JNDI user name and password. This can be any valid user in the security realm who has access to JNDI.+
    +2. Create a JMS topic. You may reuse an existing one, if desired. For information, see Configure topics.+
    Caution: Failure to configure JMS notifications in a multiserver domain in which the RDBMS security store is configured may result in a security vulnerability.
    +7. Click Save.+
    +8. To activate these changes, in the Change Center of the Administration Console, click Activate Changes.+
    Not all changes take effect immediately—some require a restart (see Use the Change Center).
    However, I still see the same error :-
    *+<Error> <Security> <BEA-000000> <Commit events are not broadcast because no JMS Transport is available. Remote L2 caches will be out of sync.>+*
    Am I missing something ?
    Thanks,
    Sandeep Seshan

  • Billing docs are generated but not account docs

    Hi
    Today I got a ticket which says billing docs are generated but not accounting docs. I went to vf05 and found that it is indeed true. accounting doc was not generated for one of the billing doc. How can I what went wrong and how to solve this.
    Will reward suitably. Plz help.
    Thanks

    Hope SD-FI integration is not properly maintained.
    This can be one of the reason. if the problem is related to GL account determination maintain it in VKOA.
    Assign points if useful
    Regards
    Raghu Ram

  • Portal Example Server problem: Commit events are not broadcast no JMS

    Hi experts!
    I've installed the Oracle WebLogic Portal 10gR3 (10.3.2) on the Windows XP machine:
    http://www.oracle.com/technetwork/middleware/weblogic-portal/downloads/index-092352.html
    I followed by http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/samples/dvt-sample.html
    - installed the Portal Examples
    - Start > All Programs > Oracle Products > WebLogic Portal > Examples > Start Example Server.
    but my server was staying in RUNNING mode and threw errors....
    <Errors> <Security> <BEA-000000> <Commit events are not broadcast because no JMS Transport is available. Remote L2 caches will be out of sync.>
    What should I do?
    Edited by: Averyanov on Oct 1, 2010 5:40 AM
    Edited by: Averyanov on Oct 1, 2010 5:40 AM
    Edited by: Averyanov on Oct 1, 2010 5:44 AM

    Hi,
    I followed the instructions given under " Configure the RDBMS security store " ( Step 6 ) and restarted my Server. :-
    +6. In the section labeled Server Synchronization Configuration, specify the appropriate settings for JNDI and JMS so that the RDBMS security store can cache database information in memory correctly. If the RDBMS is running in more than one JVM -- for example, the domain has multiple servers, or other Oracle products are sharing the same RDBMS store with the new domain -- these caches must be synchronized to ensure the integrity of the security data.+
    To configure server synchronization:
    +1. Specify a JNDI user name and password. This can be any valid user in the security realm who has access to JNDI.+
    +2. Create a JMS topic. You may reuse an existing one, if desired. For information, see Configure topics.+
    Caution: Failure to configure JMS notifications in a multiserver domain in which the RDBMS security store is configured may result in a security vulnerability.
    +7. Click Save.+
    +8. To activate these changes, in the Change Center of the Administration Console, click Activate Changes.+
    Not all changes take effect immediately—some require a restart (see Use the Change Center).
    However, I still see the same error :-
    *+<Error> <Security> <BEA-000000> <Commit events are not broadcast because no JMS Transport is available. Remote L2 caches will be out of sync.>+*
    Am I missing something ?
    Thanks,
    Sandeep Seshan

  • Can generate, but not view CHM R8, Windows 7

    Please help.
    I can generate but not view or open a CHM file. I'm using R8 and Windows 7.

    Hi there
    And where exactly is the CHM when you are trying to open it?
    Local C drive?
    Network?
    If it's on a Network, CHM files don't work well on networks and the content is generally blocked.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Overriding Commit action does not work

    Hello
    I am using Jdeveloper 10g (9.0.5.1), and created a simple uix input form with Create and Commit operation buttons. It works very nicely.
    However, I am trying to override the Commit action because i would like to present a confirmation message for the commit process.
    I followed the Online help to override Commit action as f
    1- Changed the event property from 'action' to 'Commit'
    2- right click the datapage and selected "Go to Code"
    3- inside the DataAction Class i wrote the following
    public void onCommit(DataActionContext ctx)
    System.out.println("test override commit");
    if (ctx.getEventActionBinding() != null) ctx.getEventActionBinding().doIt();
    When i run the sample and add a new record, then press the Commit button, The function onCommit is called and the System.out.println is executed however, the Commit operation does not seem to work and the commit button is still enabled, no changes are seen in the database. When the commit is pressed one more time, the commit seems to work fine.
    I repeated the procedure over and over again, still no result
    I believe that overriding action buttons is important for developing non-trivial Web Applications. I appreciate any response
    thanks

    I am not sure why you used this method to get your application module:
    svc = (ApplicationModule)ctx.getBindingContext().findDataControl("ApplicationModuleDataControl").getDataProvider();
    Does your code get something different than doing it this way:
    ctx.getBindingContainer().getApplicationModule()
    The following scenario did not work because it did not pick up the values from the messageLovInput and the 2 messageTextInput fields. The fields are in the DataActionContext request object but they don't get written to the database, so I had to add the setAttribute methods in order to attempt to get it to work but there are still other problems that have arisen doing it this way (i.e. can't get the new dbsequence id for additional inserts into another table within the onCommit).
    1. Drag and drop a Commit button on the page.
    2. In the action I put the following code:
    public void onCommit(DataActionContext ctx){
    // Do validation here
    //In order to get the data in the database, I had to add the following 5 lines of code:
    ViewObject vo = ctx.getBindingContainer().getApplicationModule().findViewObject("NetView1");
    Row row = vo.getCurrentRow();
    row.setAttribute("NetId",ctx.getBindingContainer().getHttpServletRequest().getParameter("VB_NetId"));
    row.setAttribute("PermittedCount",ctx.getBindingContainer().getHttpServletRequest().getParameter("VB_PermittedCount"));
    row.setAttribute("Frequency",ctx.getBindingContainer().getHttpServletRequest().getParameter("VB_Frequency"));
    //Commit
    ctx.getBindingContainer().getApplicationModule().getTransaction().commit();
    }I don't think it should be this difficult to get the onCommit event to work.

  • Why won't voice generated text not display as I speak?

    Why won't voice generated text not display on the screen as I speak?

    All you get in 10.6.5 is spoken COMMAND recognition.
    Dictation requires 10.8 Mountain Lion or later:
    Mac Basics: Dictation lets you speak text instead of typing

  • How can we know that the Rule is Generated or Not?

    Hi,,
    After creating the Risk , its suggested to click on Generate Rules Button to Generate the Risk.
    But my question is that how we can know whether the risk is already generated or not..??
    Any table or any change history for this.
    As I can see even after generating the Rule the last update date for the risk is still the same.
    Someone please help me !

    Hi,
    Rule ID numbers are just identifiers for different combinations in same risk. It is just serial number assigned to the combination.
    Example:
    Risk: RISK01
    Function: FUNC01                         Function: FUNC02
    Action:      ZU01                              Action:     XU01
                     ZU02                                              XU02
    Rule ID: 0001 for ZU01 and XU01
    Rule ID: 0002 for ZU01 and XU02
    Rule ID: 0003 for ZU02 and XU01
    Rule ID: 0004 for ZU02 and XU02
    But if you remove action ZU02 and XU01 in your update
    Remaining
    Action:
    ZU01                        
    Action:
    XU02
    Rule ID: 0001 for ZU01 and XU02
    So it will just update the respective risk with same rule id assignment to new combination.
    To achieve more clarity try to build one risk in you system.
    You can definitely go into the risk to see if the new rule generated has changes reflected as per update or not. Try this all with example so you would have clarity.
    BR,
    Mangesh

  • Help Generator is not working for sub-components

    We are using modules with sub-components. The help generator is working fine, except for sub-components.
    The HTML-generator does not generate bookmarks and html for the sub-components and their items.

    So your report sends a email to the mailing list and the list knows what to do with the attached file??
    Just confirming it is NOT a mailing list issue..
    Thank you,
    Tony Miller
    Webster, TX

  • NoLogging mode and System Change Number? generated or not in nologging

    My database is running in NOLOGGING mode ie we are switching off logging during some migration activity so that temporary records processed (when migration activity is going on) and commit issues during this time are not logged in to log files and CDC on EDB does not picks them up for movement to Datawarehouse
    I wanted to know if my DB is in NOLOGGING mode then also SCN's numbers are still generated by Oracle when checkpoint occurs and Commit is issues in DB.
    We are playing with SCN's during migration so just wanted to confirm if they are still generated when DB is in NOLOGGING mode.
    Let me know
    thanks for the help.
    Rg345

    rohitgoswami wrote:
    Thanks for the reply.
    My understanding is also the same that whenever a row is commited and checkpoint happens a new SCN is generated. I think SCN on a row can be accessed on row using ORA_ROWSCN psedocolumn.
    just wanted to confirm.
    Thanks for your timeThis is so wrong. Commit and Checkpoint are two different mechanisms. When you commit, the commit SCN is associated with your transaction and its change vectors are pushed to the redo log file. Checkpoint may or not happen at the same time with Commit and its happening won't impact at all for the generation of SCN.
    For ora_rowscn, you should have a look in the docs,
    http://download.oracle.com/docs/cd/E11882_01/server.112/e10592/pseudocolumns007.htm#SQLRF50953
    HTH
    Aman....

  • Generated lists not working in HTML conversion

    Using FM 8.0p277
    I have been asked to convert a book to HTML for the first time. When I do this, FM crashes with an error log that I cannot locate in the Program Files folder, as indicated in the error message. I believe it is the generated files that have caused the error(s). Originally, my List of Figures seemed to be the issue, so I tried generating HTML files of just the TOC and the main document in the book. They produced files fine except the links that work in FM from the TOC to the locations in the main file seem broken. If I open the TOC HTML file and click on one of the links, it does open the main document, but always the beginning of the document. I assume that is because I didn't create the HTML from the book file, but from individual files, so I created a book of just the TOC and main document and tried to save as HTML. FM crashed again. Has anyone had a similar experience, both of FM crashes as a result of creating HTML files and of not being able to locate the error logs in the directory indicated?
    Janice

    Janice,
    The standard answer to questions about HTML export is that the feature is not very robust and likely will not produce the result that you want. It might be useful for certain rudimentary applications but generally FrameMaker users use a third-party application such as Mif2Go, RoboHelp, or a Quadralay product for this purpose. You might get lucky and receive an answer to your specific question, but I think it would be unlikely.
    Russ

  • My Labview Report generator is not working with 2013 excel version

    Hi All,
    My report generator tool kit which was developpend using labview 2011 was workign with excel 2010...after that i installed 2013 excel and the code is not working..
    Do i need to enable some setting to work with excel 2013.
    Basically this generator tool will copy the charts from excel and paste in power point...Please let me know.
    Thanks,
    Hareesh

    Ah, I understand now - I had assumed you were using the NI Toolkit.
    If you're not using the report generation toolkit, did you write your own VIs for communicating with Office or are you using a different toolkit? If you're using ActiveX to communicate with Office it may be that the ActiveX API has changed for Office 2013 - you will probably need to modify your program for the new calls.
    Since it wasn't as obvious as I thought with the report generation toolkit, it would help if you posted some code to try and understand what might be happening. Are you getting any errors in your application when you try to use Office 2013?
    Certified LabVIEW Architect, Certified TestStand Developer
    NI Days (and A&DF): 2010, 2011, 2013, 2014
    NI Week: 2012, 2014
    Knowledgeable in all things Giant Tetris and WebSockets

  • My commit rollback is not working, can anyone tell me why please?

    Can anyone please help me figure out what is the problem with this code? it suppose to be correct but not for some unknown reason it didnt.
    Here are the code --
    * comiiit.java
    * Created on March 23, 2006, 8:38 AM
    package rib;
    import java.io.*;
    import java.net.*;
    import java.sql.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    * @author Rizal Ikhwan
    * @version
    public class comiiit extends HttpServlet {
    protected void doGet(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    doPost(request,response);
    protected void doPost(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    Connection conn = null;
    try{
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    conn = DriverManager.getConnection("JDBC:ODBC:MyAccessSource");
    conn.setAutoCommit(false);
    Statement st = null;
    PreparedStatement stmt = null ;
    stmt = conn.prepareStatement("INSERT INTO Transaction values (?,?,?,?,?,?,?,?,?) ");
    st = conn.createStatement();
    String tType = "Ac2Db";
    String ac ="0000";
    String db ="0000";
    String acBal = "1";
    String cdBal = "0";
    String amt = "1";
    String nwacBal = "0";
    String nwcdBal ="1";
    String d = "date";
    stmt.setString(1,d);
    stmt.setString(2,ac);
    stmt.setString(3,db);
    stmt.setString(4,acBal);
    stmt.setString(5,cdBal);
    stmt.setString(6,amt);
    stmt.setString(7,nwacBal);
    stmt.setString(8,nwcdBal);
    stmt.setString(9,tType);
    stmt.executeUpdate();
    conn.commit();
    out.println("success");
    }catch (Exception e){
    try{
    conn.rollback();
    }catch(SQLException ignored){}
    out.println("Fail");
    }finally{
    //clean up conn
    try{
    if(conn !=null) conn.close();
    catch(SQLException ignored){ }
    // conn.setAutoCommit(true);
    /** Returns a short description of the servlet.
    public String getServletInfo() {
    return "Short description";
    // </editor-fold>
    //*************************

    I think the problem is that you are using a database that does not support transactions.

Maybe you are looking for

  • Terms of payment for Special G/L transactions not allowed - FB60

    Hi all, I'm facing a problem regarding FB60. When using Special G/L code in FB60, the field "Payt Terms" (BSEG-ZTERM) doesn't appear in "Payment" window. I've found a SAP Note (9344) about the same problem, but I don't know if the issue was solved. I

  • Period total field in my work/Task scree

    I noticed that the user can enter their taks time using the Period Total field in My work/task screen. The system is equally dividing the time for the entire period. There is any way we can make thsi field read only? Thank you

  • A Script for Conditional Text Batch Export

    Hi, I was directed into this subforum with this question: I have a document with nearly 200 versions of conditional text that has to be individually swapped out and exported to pdf. I genearlly just do this one at a time all the way though. Is there

  • New window will not open even when "open new window in tab" is checked

    I cannot open a new window even when i have the option "Open new window in tab" checked. Firefox will NOT open a new window under any circumstances. Also, when I quit Firefox, the system thinks that multiple instances of FF is running but they are in

  • Extruded text missing faces

    Trying to do a piece with plain flat san-serif text on a spiral extruding into the distance with the center of the spiral as the vanishing point. When I do this, some extruded faces are created and others do not. Usually teh curved parts of the lette