Rollback after postchanges() in struts / adf bc / jsp project

I have a wizard that collects info from the user and binds the data as I move through the wizard. On the final screen I have a dataaction that first posts the data to the database and then calls a procedure on the database(the purpose of posting the data is so that the procedure has visibility of the data collected through the screens). So far so good...
I then call a payment gateway to validate credit card information. If the gateway returns an error code I rollback the database post/ procedure changes(so I don't end up with a double post!) I then allow the user to change their card information and then go back to the final screen again. The problem I have is because of the rollback the data from the screens is no longer bound. To try and solve this I tried a specific rollback on the database by calling a database procedure that does a rollback.
I was hoping that this would just rollback the post changes / procedure changes without affecting the middle tier?. It doesn't. I now get an error stating that the entity with row key xxx has been deleted. I don't understand how a rollback performed in a procedure on a database can also remove entries from the entities in the middle tier.
Has anyone got a solution to my problem ???????

Does the above not make sense, or does no one have a suggestion?
Any help would be appreciated.
Many Thanks.

Similar Messages

  • UIX, Struts, ADF and JSP

    Hi guys. My manager asked me to spell out these different strategies and I fell quite short of an adequate summary. I was wondering if someone could breifly define the following technologies and perhaps explain why you would use them. Additionally, we are embarking on a new project and are unsure of which technology to base it on (we will create a BC4J layer). It is a web application which may end up serving many anonymous users.
    UIX
    STRUTS
    ADF
    JSP (as used in JDev9.0.3.3 - Create a complete JSP application).
    Thank you in advance for your time and consideration!
    ~Rob Lundeen

    Here is a quick one:
    Oracle ADF - A framework for building J2EE applications. Based on the Model-View-Controller architecture. Offers flexability in choosing implementation for the different layers.
    STRUTS - a popular open source controller for managing the flow of Web applications when using the MVC architecture. Used as the controller for Oracle ADF based applications.
    JSP - One way to build your Web user interfaces or View layer in Oracle ADF.
    UIX - Another way to build the View layer for your application. Provides a set of rich HTML component and built-in functionality. Uses a declarative approach to building the page. Will evolve to become a JSF implementation.
    BC4J - Now renamed to Oracle ADF Business Components - one of the way to implement the data source (or Business services) layer in Oracle ADF applications. Other ways include EJBs, Web Services, TopLink, or simple Javabeans.
    I hope this helps,
    Shay,
    Oracle.

  • Clearing VO after the search in ADF C, JSP

    How do you clear a where clause of a VO after searched for a record. I have VO using more than one table. As soon as you open the view it shows all the records. I have Find and Execute buttons to search for specific records in the table. This works fine. But if there no records for the Find, I want to reset the VO to show all the records. How do you do that? Thanks.

    Maybe this can work:
    1. Add a public method to your Application Module (right click on AM and go to Application Module Class) - example:
    public void showDetail(){
    ViewObject vo = (SearchDynamicViewImpl)findViewObject("SearchDynamicView1");
    String s_where = "ID = 100";
    vo.setWhereClause(s_where);
    vo.executeQuery();
    2. Use avaliable VO methods to programmatically control the View Object (i.e., see clearcache() method):
    Some references:
    * http://www.oracle.com/technology/products/jdev/tips/muench/mostcommon/index.html
    * Re: most common ADF Business Components article
    * http://www.oracle.com/technology/products/jdev/archive.html (download SRDemo ADF BC Edition - has some good code examples)
    3. Drag and drop the AM Method onto your page and select Command Button - will end up with code on .jspx page like this to call AM Method:
    <af:commandButton actionListener="#{bindings.showDetail.execute}"
    text="showDetail"
    disabled="#{!bindings.showDetail.enabled}"/>
    I have not done this before but if I thought these references may help.

  • Database Constraint Error Handling on create/edit (Struts ADF)

    Hi,
    In our project we use Struts ADF (JDeveloper 10.1.3) technology. And we're facing the following trouble with it.
    If we try to create a record that violates say Unique constraint in the database, then during commit procedure of the AppModule's Transaction an exception occurs.
    We handle this exception with our extension of DCErrorHandlerImpl. And we have to do the rollback action because the Transaction became invalid and we cannot do the commit since there was an error.
    But unfortunately appModule.getTransaction().rollback(); forces ViewObj to loose all of the newly created rows. Because of this, after pressing submit with the same (violating) data once more our edit form shows the first row in a rowset.
    Are there any ideas about what we may be doing wrong?
    Any standard approaches on database constraint error handling?
    The "before/after commit/rollback" approach is very effort-consuming because we have a lot of views in our app and tracking all of them may become a nightmare in future.
    Thanks in advance.
    Regards,
    Larry

    Hi Steve!
    I'm using Postgree.
    Here is StackTrace
    06/06/27 09:52:24 Commit
    oracle.jbo.DMLException: JBO-26041: Failed to post data to database during "Insert": SQL Statement "INSERT INTO public.test_tb(id,name,org_code) VALUES (?,?,?)".
         at oracle.jbo.server.BaseSQLBuilderImpl.doEntityDML(BaseSQLBuilderImpl.java:481)
         at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:5731)
         at com.yukon.adf.postgre.entities.PostgreEntityImpl.doDML(PostgreEntityImpl.java:22)
         at com.yukon.adf.postgre.entities.PostgreSequenceEntityImpl.doDML(PostgreSequenceEntityImpl.java:58)
         at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:4531)
         at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:2993)
         at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:2804)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:1968)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2170)
         at view.actions.ListTestPageController.onCommit(ListTestPageController.java:32)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.adf.controller.v2.lifecycle.PageController.invokeEventMethod(PageController.java:110)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.handleEvent(PageLifecycleImpl.java:950)
         at oracle.adf.controller.v2.struts.lifecycle.StrutsPageLifecycle.handleEvent(StrutsPageLifecycle.java:238)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.processComponentEvents(PageLifecycleImpl.java:322)
         at oracle.adf.controller.v2.lifecycle.PageController.processComponentEvents(PageController.java:54)
         at oracle.adf.controller.v2.lifecycle.Lifecycle$3.execute(Lifecycle.java:275)
         at oracle.adf.controller.v2.lifecycle.Lifecycle.executePhase(Lifecycle.java:116)
         at oracle.adf.controller.v2.lifecycle.LifecycleProcessor.execute(LifecycleProcessor.java:100)
         at oracle.adf.controller.v2.struts.actions.DataAction.execute(DataAction.java:123)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:527)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:629)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    java.sql.SQLException: ERROR: current transaction is aborted, commands ignored until end of transaction block
         at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1471)
         at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1256)
         at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:175)
         at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:389)
         at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:330)
         at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:282)
         at oracle.jbo.server.BaseSQLBuilderImpl.doEntityDML(BaseSQLBuilderImpl.java:352)
         at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:5731)
         at com.yukon.adf.postgre.entities.PostgreEntityImpl.doDML(PostgreEntityImpl.java:22)
         at com.yukon.adf.postgre.entities.PostgreSequenceEntityImpl.doDML(PostgreSequenceEntityImpl.java:58)
         at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:4531)
         at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:2993)
         at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:2804)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:1968)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2170)
         at view.actions.ListTestPageController.onCommit(ListTestPageController.java:32)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.adf.controller.v2.lifecycle.PageController.invokeEventMethod(PageController.java:110)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.handleEvent(PageLifecycleImpl.java:950)
         at oracle.adf.controller.v2.struts.lifecycle.StrutsPageLifecycle.handleEvent(StrutsPageLifecycle.java:238)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.processComponentEvents(PageLifecycleImpl.java:322)
         at oracle.adf.controller.v2.lifecycle.PageController.processComponentEvents(PageController.java:54)
         at oracle.adf.controller.v2.lifecycle.Lifecycle$3.execute(Lifecycle.java:275)
         at oracle.adf.controller.v2.lifecycle.Lifecycle.executePhase(Lifecycle.java:116)
         at oracle.adf.controller.v2.lifecycle.LifecycleProcessor.execute(LifecycleProcessor.java:100)
         at oracle.adf.controller.v2.struts.actions.DataAction.execute(DataAction.java:123)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:527)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:629)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)

  • Error after creating a struts portlet in weblogic 8.1 SP 5

    Hi,
    I am using weblogic 8.1 SP 5, to develop an struts-portlet.
    I tested my struts application and it is working fine.
    I have one action i.e firstAction and 2 jsp's in my struts application.
    The action just forwards to the one jsp through struts-config.
    However, when i try to start the server after creating the struts-portlet i get the following error:
    The source of this error is com.bea.netuix.nf.UIControlException: For portlet [portlet_1_1], could not retrieve a result for the given action [firstAction] in the given PageFlow: [null]. at com.bea.netuix.servlets.controls.content.NetuiContent.preRender(NetuiContent.java:365) at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:443) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:718) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender
    Please Help !!!

    Hi,
    Even I am facing the same issue could any body help me out to solve this issue.

  • 10g Struts/ADF: Problem with updating a DataAction

    We have a web application (JSP/Struts/ADF) that we developed using the 10g (build 1542) Struts Page Flow designer. It is a great tool for building the application the first time but when we go to change something, DataActions end up being ignored when the application is run.
    Here is the scenario:
    We have SQL-based VOs which require a paramter at run-time. We use a Struts DataAction to bind the VO SQL query through a custom method in the App Module (AM). This works fine the first time that we create it and run it.
    The problem comes when we want to change the custom method (which was already associated with a DataAction) in the AM and then rebuild and run the app, it looks like the DataAction is not there and we get an error on the DataPage (that the DataAction forwards to) which says that "not all variables bound". We have printlns in the custom method so we know when it is accessed and in the scenario that I pose here, the custom method is not called.
    This has also occurred when we had a DataPage forward to another DataPage and then later we added a DataAction in between. The application continued to forward from the DataPage to the DataPage completely ignoring the DataAction that we added and that can be seen on the Struts diagram.
    The only way that we have been able to work around this issue is to delete the Data Action and the DataPage from the struts diagram and then recreate them under a different name. This seems like it is a bug and I wonder if anyone else has experienced this?
    Is this a known bug which will be fixed in the production release?
    Thanks, Les

    This seems to be related to Bug# 3537056.
    Please contact Worldwide Support and register that you are running into this bug. Unfortunately, the bug doesn't list a workaround at present.
    Once you have correctly set SelectMethod=Cursor and passed the -Djbo.sql92.locktrailer=null runtime parameter to avoid using the FOR UPDATE clause, you hit an issue when the UPDATE statement is issued that our developers are looking into.

  • Passing a url parameter to a method using ADF and JSP

    Hi
    (JDEV10.1.3 : ADF BC, JSP, STRUTS)
    I have a text input on my JSP Page which I need to pass the content as an argument for the dataaction which is implemented in my application Module as a method to set the where clause of a query. I do not know How to set the Method's NDValue. I have tried:
    NDValue='${pageContext.request.parameterMap[ComplexID]}'
    But it always returns null
    hint: ComplexID is my txtBox name on the JSP page.
    I need to pass request.getParameter("ComplexID") but as an NDValue it is not accepted.
    note that ComplexID is not a databind object, It has been created by myself as an HTML element.

    What result do you get when you enter the following into your browser:
    http://mylocalhost_IP/path/to/component/questions.cfc?method=getQuestionsXML&quizid=2 ?
    (Replace http://mylocalhost_IP/path/to/component/ with the correct path to your component)
    Are the results valid/well-formed XML?  Is there any extraneous text that might interferre with the XML processing?  I noticed your xPath was looking for an element called "question s" - Is that the correct name of the element in your XML?  Is there really a space in the name?
    See if you can troubleshoot the issue using your browser first before adding it back into the Spry call.
    Hope that helps!
    - Michael

  • Struts/ADF Iterator problem - how to prevent iterator from executing?

    HI
    I've a problem with a iterator which I would like NOT to execute before I order it! This is a basic Struts/ADF app developed in JDeveloper 9052 and I really don't understand why this iterator is executed!
    My binding definition file for the page contains 2 iterators, let say iterator A and B. Each iterator is bound to a different viewobject. Viewobject bound to iterator A i straightforward, but viewobject bound to iterator B has 3 bind variables - and then I don't want iterator B to execute before i have specified values for those, but I can't hold it back!
    The bindingcontainer is forced into FindMode to prevent any iterator to execute in the first place - then I thought that I would be completely in control. This works fine, until I need to execute iterator A without executing B or any other iterator. I've overridden the prepareModel() method, to accomplish this:
    protected void prepareModel(DataActionContext ctx) throws Exception {
    DCBindingContainer con = ctx.getBindingContainer();
    JUCtrlActionBinding action = (JUCtrlActionBinding)con.findCtrlBinding("ExecuteA");
    action.invoke();
    But, executing iterator A this way, also automatically executes iterator B somehow, which causes a classic JBO-27122 (not all variable bound...). If I remove the code for manually executing iterator A, I get no error, because no iterator is fired at all then. But how do I only execute one iterator in the binding container???
    To demonstrate, my JSP page only has this content:
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
    <html:errors/>
    Regards
    Jacob

    I don't think you can stop that.
    What I usually do to prevent result show up is to add additional condition with bind variable to programmatically make it selecting no row. vo is something like
    select aField
    from someTable
    where .....
    and :toSearch = 'Y'
    the bind variable :toSearch will be default to 'N'

  • Database constraints and Struts ADF

    I have a struts ADF project and wish to pick up unique constraint violations from the database(only the database)
    How and where to i trap these violations

    The toy store demo has two java classes called
    toystoreDBtransactionfactory & toystoreDBtransactionimpl.
    These are used to overide the default functionality of
    DBtransaction and DBtransactionimpl. The configuration
    manager (right click your bc4j application module) allows you to set the database transactionfactory class to the overriden classes. The toystore routines basically capture the databse constraints and reformat the messag einto something more meaningful.
    When i run the bc4j tester the changed routines function correctly for example when doing an insert.
    With a struts jsp program a similar insert doesn't trigger the changed routines so i just get the database error comiing back to the screen.

  • Error comes  while adding a ADF BC/JSP portlet

    Hello all,
    I built a portlet using ADF BC & JSP,the Provider's Test Page showed successfully.
    1)I created an empty project;
    2)I created an Business Component from Tables;
    3)I created a portlet using Oracle PDK portlet wizard--in the same project which the Business Component from Tables exist.
    4)I create error.jsp and made the code <%=exception.toString()%>,and add the <%@ page errorPage="error.jsp"%> in the portlet's showPage;
    5)I drag and drop the tableView form DataControl Panel;
    6)I make deployment profiles--war file,and deploy the portlet to a standalone OC4J;
    7)Registed to Oracle Portal;
    8)In the Portal,when I added the portlet to a new page,the portlet showed nothing but the following message:
    java.lang.NoClassDefFoundError: oracle/jbo/mom/PropertyNameValueDef
    what's wrong? Could anybody give me a help?
    Thanks~

    Hello,
    Have you deployed the ADF Runtime in the OC4J instance you are using ?
    See Jdeveloper Menu: Tools/ ADF Runtime Installer.
    Regards
    Tugdual Grall

  • How to create an InputSelect using ADF and JSP

    I looking for some docs/instructions on creating "an InputSelect using ADF with JSP".
    Thanks,
    BG...

    Ok here are the Steps
    1) Open the JSP editor for the page in Question.
    2) In the Data Control palette select the item that you want to become the poplist and change the "Drop As" poplist to "Single Select List"
    3) Drag the field into the page. You'll get an empty poplist which implements the <html:select> and <html:optionsCollection> tags.
    4) With the JSP editor still open click on the "UI Model" sub-tab in the Structure pane
    5) Select the field you've just dragged in - then right click to get the context menu and choose "edit"
    6) Change the List Binding Mode poplist to "LOV Mode"
    You're then taken into a couple of screens where you can select the Source VO for the poplist, and the destination dataset, along with the thing you want for the Label and the Value.

  • Struts/ADF/Toplink conversion from 10.1.2 to 10.1.3

    Hi. We have a J2EE application based on Struts/ADF/Toplink.
    We just let the JDeveloper migrate the whole application itself.
    We solved a few minor problems, but now we have the greater one:
    - we have in domain classes some getX...(), setX...() methods, intended for example
    for getting attributes of nested objects or for conversion from String to Date.
    In older version, when you had some getXSomeAtr() method in domain class, the attribute
    XSomeAttr was automatically generated into Data Control.
    In newer version it's not! If you want the attribute to be in data control, you must
    have an private attribute XSomeAtr declared in domain class.
    Example - we have these attibutes (first two has their own getters and setters and are
    mapped in toplink, the third is unmapped)
         private Date datum;
    private String nazev;
    private String XDatumAsDate;
    and methods
    public String getXDatumAsDate() {
    return OurUtils.dateToStringAsDate(getDatum());
    public void setXDatumAsDate(String datum) throws ParseException{
    Date d = OurUtils.StringToDateAsDate(datum);
    setDatum(d);
    And the form look like this
    <html:text property="XDatumAsDate" .../>
    <html:text property="nazev"     .../>
    Reading is ok, but attempt to modify date in input field ends with
    "JBO-35009: Setting attribute for XDatumAsDate in object methodRSICollection failed"
    Are we doing something wrong ? We just need to have the date entering under our control and
    be able to enter dates in various formats.
    Thanks in advance for any comments.

    I compared the both old and new data control xml files and found the difference. The previous attribute descriptor has IsUpdateable="true" but the new has IsUpdateable="0".
    Manually changing won't help - data control generation of any class regenerates all data controls and puts back IsUpdateable="0". I'm stuck now.

  • Rollback after DB polling

    Hi all,
    I am using DB adapter to poll records from a table(changing a status flag to processed when the records are read) then write these records to a file, all is running fine but I need to handle rollback if any error occurs ,this means that I want the old status in the status flag instead of the current status(processed).
    I already used rollback before and it works fine but I can't seem to rollback after polling, any ideas??

    Hi,
    To implement rollback scenario in BPEL, you need to use compensate activity and compensation Handler in your process.
    Basically in compensate we define the scope which we want to compensate, and in compensation Handler we define the logic i.e in your case we will write the update statement in compensation Handler.
    Hope I have answered to your doubt.
    Cheers,
    Abhi...

  • Validate from Java Script Not accept html:form by ADF throw JSP

    I am using JDeveloper10g 10.1.2 by ADF throw JSP Pages
    the problem is :
    When i using JavaScript to check the validate of a Text Field by a message it is not accept the JavaScript Message because the View that i drag and drop it come with <html:form> not without html like <form> .
    Is there any body try to use JavaScript with any Application throw ADF Technology by JSP Pages ?
    plz help me ?

    I am using JDeveloper10g 10.1.2 by ADF throw JSP Pages
    the problem is :
    When i using JavaScript to check the validate of a Text Field by a message it is not accept the JavaScript Message because the View that i drag and drop it come with <html:form> not without html like <form> .
    Is there any body try to use JavaScript with any Application throw ADF Technology by JSP Pages ?
    plz help me ?

  • How to eliminate  select message  after Radio button in ADF tables

    how to eliminate select message after Radio button in ADF tables
    example <f:facet name="selection">
    <af:tableSelectOne>
    </af:tableSelectOne>
    </f:facet>
    output:
    radobutton select
    radiobutton select
    please help me regarding this issue.

    Hi,
    this usually has a text String in the header saying "Select and .." which can be changed through the property inspector for the TableSelectOne component
    Frank

Maybe you are looking for

  • Not able to see Enterprise Service hosted at SDN

    Dear All I want to access the Enterprise Service that are available at SDN and for that I created two proxies in Visual Admin. I am trying to call those services in my Visual Composer. I am able to see the services in the Group. But not able to see t

  • How to change the defaut xmlparser on OC4J Standalone 10.1.3.4 for Spring 3

    Hi All I am trying to use OC4J 10.1.3.4 standalone with Spring 3.0 but I keep getting the error nested exception is oracle.xml.parser.schema.XSDException: Duplicated definition for: 'identifiedType'It worked fine when I was using Spring 2.5.6 I have

  • Shutter count question

    Does anyone in the forum know how I can determine the shutter count I have logged on my T3i? The camera is still going strong without any problems at all (except for a few dead pixels that appear as tiny red spots in some images). I am mostly just cu

  • For selection parameter the default date should be of the previous month.

    Hi all, In my selection-screen what i want is  for the selection parameter "Selection period month" the default value to be the previous month. For example today is 24.09.2008 so the default value of this field has to be 200808 instead of 200809 toda

  • Anyone using Tunes4Mac Video Converter Platinum???

    Hi all I bought this program a while back so i could have another method of backing up all my itunes ( legally purchased ) videos, tv seasons etc after suffering a HDD failure and loosing a fair chunk. I now have nearly 3.5Tb of data that i would be