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

Similar Messages

  • Invoking Child Form Process Tasks

    Hi,
    I would like to know,is it possible to invoke a Child Form Process task .I want to invoke a process task called "Change Password" which is there in child form,whenever a user's password gets updated in OIM.Thanks.

    Hi
    What exactly do you mean by "Child Form Process Task"? Tasks are defined on the Provisioning Process itself and can utilise data from the Parent Form and any Child Forms that may be linked to that form...
    Can you explain exactly what you want to achieve? Are you looking to propagate an OIM User password change to a particular resource?
    Rob

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

  • Child form Update tasks

    I have configured update tasks on the child form and even when I update a single field all the update tasks configured for that child form are getting triggered. Could you please help me understand whether this is the expected behaviour in case of child forms?
    Regards,
    Vinod

    To add more clarity to my question, the scenario is that I have more than one fields in my child form which can be updated. I had created exactly the way you have mentioned, associating the task to the Update trigger type and attached the corresponding adapter. For example I have Adapter X which is meant to address change in form field X and adapter Y which is meant to address form field Y of the same child form, I have associated process tasks P and Q mapped to trigger type Update of the Child form and integrated with X and Y adapters respectively.
    The problem is even if only X form field is changed, both P and Q are getting triggered instead of only P task. The same does not happen in the parent form. So my question is whether there is any way to control the updations in child form.

  • Line graph parent table child

    i have a page where i have a line graph as parent and a table as its child. i want to have a master detail relationship through a view link of cardinality 1 to many.
    when user selects appropriate points of line graph, the child table should refresh accordingly.
    child table shows only children of firts record of line graph.
    is there a problem with line graph being a parent. i could find examples which used bar / pie graph but not line graph. although i had checked the checkbox while creating graph.
    i am using bind variables for both parent and child VO.
    do i need to execute child VO query again to be able to display corresponding children for a parent on a line graph.
    jdev 11 1 1 5

    Hi,
    when you create a line graph by dragging a collection (View Object) from the Data Controls panel to the page then, in the second dialog of the wizard, there is a check box "Set current row for master-detail". Check this check box and then create the table from the dependent view object. No bind variables required
    Frank

  • 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

  • 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".

  • Creation of Child Form

    Hi all,
    I have Created two tables OISP and ISP1.One is Parent and another One is Child.after that i registerd the table in the UDO.
    Then i have designed a form(parent form) with matrix and two buttons.In the matrix i have two columns.one is a combo box column.While selecting a particular value from the matric combo,i have loaded another user form(Child  bound to ISP1).In the child form i have a matrix with one column.after adding the values in the child form then i click update it is showing the error as "Invalid Object Code". how to solve this problem.
    Thanx in advance,
    mohana

    Hi Mohana,
    Think u I understood ur problem now. U have 2 tables(Parent and child.) U already designed 2 forms. One for the parent table and another for the child table rite..?? Now ur parent table and form are working fine as they are already registered. But when ur trying to register the same object again for the child table the error occurs.
    Is ur UDO a document type object..? Is it possible to combine ur 2 screen into one. Where we can have the header part(Parent Table) and the lines part (Child Table)..?? I guess if u follow this design ur problem could be solved. Or if u want them to be different u have to use a new object.
    Please dont forget to award points if helpful.
    Regards,
    Vasu Natari.

  • Help with child forms

    Hi,
    I am trying something very simple to learn how child forms work but was not very successful so far. I am hoping one of the experts on this forum can shed some light on what I am doing wrong.
    I did the following:
    1) Created a simple Resource Object.
    2) Created 2 process forms with one of them designated as a child to the other one.
    3) Created a simple Process Task Adapter which simply prints the assigned variables data out to STDOUT
    4) Created a Process Definition and added a task called Create User and used the adapter created in previous step.
    5) In the integration tab, I did the mapping of both the parent and child form data to the adapter variables.
    Whenever I assign the RO to an user, I keep getting the following error.
    When ever I go and assign the RO to the user
    19:05:17,014 ERROR [DATABASE] select UD_RO3_CF_ATTR1 from UD_RO3_CF where UD_RO3_CF_KEY =
    java.sql.SQLException: ORA-00936: missing expression
    I also tried the following. In the general tab, from the child table drop down, I selected the child form name and for trigger type, selected insert. When I do that, I get the following error..
    In browser, I get
    DOBJ.GEN_ERROR
    Cannot schedule a task for child table change, schedule item save failed
    In the logs, I see the following exception..
    12:35:57,718 INFO [DATABASE] Class/Method: tcDataBase/setTransaction: ##########setTransaction getting called from: #######
    12:35:57,733 ERROR [APIS] Class/Method: tcFormInstanceOperationsBean/addProcessFormChildData encounter some problems: maoErrors:Cannot schedule a task for child table change, schedule item save failed
    12:35:57,749 ERROR [APIS] Class/Method: tcFormInstanceOperationsBean/addProcessFormChildData encounter some problems: Error occurred while validating password policy '
    12:35:57,749 ERROR [APIS] Class/Method: tcFormInstanceOperationsBean/addProcessFormChildData encounter some problems: Cannot schedule a task for child table change, schedule item save failed
    Thor.API.Exceptions.tcAPIException: Cannot schedule a task for child table change, schedule item save failed
    at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.addProcessFormChildData(Unknown Source)
    at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.addProcessFormChildData(Unknown Source)
    at com.thortech.xl.ejb.beans.tcFormInstanceOperationsSession.addProcessFormChildData(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    Thank you very much

    The details of a child table entry are available only when you define the process task as a child task trigger. You can define the task to trigger based on insert, update, or delete from child table. There is a drop down on the process task configuration screen. When the trigger happens on the child table entry, this is where you can map the value of the child table entry.
    You would want to configure your provisioning process definition to have 1 task for create user, and another task for adding an entry to the child table, and another entry for deleting an entry from the child table. On the delete, you'll want to check the "Old Value" checkbox for the child table mapping.
    -Kevin

  • Error adding a child form to more than one form

    When I try to add a child form to more than one form, I get the following error:
    Error Keyword: SDK.ADDFKCON
    Description: Error Adding Foreign Key/Constraint.
    Remedy:
    Action: F
    Severity: H
    Help URL:
    Detail:
    The following is the log trace:
    ERROR,23 nov 2011 17:22:42,050,[XELLERATE.ADAPTERS],Event: SDH Drop Foreign Constraint has encountered an error.
    ERROR,23 nov 2011 17:22:54,519,[XELLERATE.DATABASE],ALTER TABLE UD_TICKET3 ADD (UD_ADUSER_KEY NUMBER(19) CONSTRAINT NN_UD_TICKET3_UD_ADUSER_KEY NOT NULL, CONSTRAINT FK_UD_TICKET3_UD_ADUSER FOREIGN KEY(UD_ADUSER_KEY) REFERENCES UD_ADUSER(UD_ADUSER_KEY))
    java.sql.SQLException: ORA-01758: table must be empty to add mandatory (NOT NULL) column
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:745)
         at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:210)
         at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:961)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1285)
         at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:1772)
         at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1741)
         at com.thortech.xl.util.JDBCUtils.executeUpdate(Unknown Source)
         at com.thortech.xl.dataaccess.tcDataBase.writeStatement(Unknown Source)
         at com.thortech.xl.dataobj.tcDataBase.writeStatement(Unknown Source)
         at com.thortech.xl.client.events.tcSDHAddForeignConstraint.createColumns(Unknown Source)
         at com.thortech.xl.client.events.tcSDHAddForeignConstraint.implementation(Unknown Source)
         at com.thortech.xl.client.events.tcBaseEvent.run(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.runEvent(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.eventPostInsert(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
         at com.thortech.xl.ejb.databeansimpl.tcDataObjectBase.save(Unknown Source)
         at com.thortech.xl.ejb.databeansimpl.tcSDHBean.save(Unknown Source)
         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 com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SecurityRoleInterceptor.invoke(SecurityRoleInterceptor.java:47)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:844)
         at tcSDH_RemoteProxy_6ocop18.save(Unknown Source)
         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 com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ERROR,23 nov 2011 17:22:54,519,[XELLERATE.DATABASE],Class/Method: tcDataBase/writeStatement encounter some problems: ORA-01758: table must be empty to add mandatory (NOT NULL) column
    java.sql.SQLException: ORA-01758: table must be empty to add mandatory (NOT NULL) column
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:745)
         at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:210)
         at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:961)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1285)
         at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:1772)
         at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1741)
         at com.thortech.xl.util.JDBCUtils.executeUpdate(Unknown Source)
         at com.thortech.xl.dataaccess.tcDataBase.writeStatement(Unknown Source)
         at com.thortech.xl.dataobj.tcDataBase.writeStatement(Unknown Source)
         at com.thortech.xl.client.events.tcSDHAddForeignConstraint.createColumns(Unknown Source)
         at com.thortech.xl.client.events.tcSDHAddForeignConstraint.implementation(Unknown Source)
         at com.thortech.xl.client.events.tcBaseEvent.run(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.runEvent(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.eventPostInsert(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
         at com.thortech.xl.ejb.databeansimpl.tcDataObjectBase.save(Unknown Source)
         at com.thortech.xl.ejb.databeansimpl.tcSDHBean.save(Unknown Source)
         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 com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SecurityRoleInterceptor.invoke(SecurityRoleInterceptor.java:47)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:844)
         at tcSDH_RemoteProxy_6ocop18.save(Unknown Source)
         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 com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ERROR,23 nov 2011 17:22:54,519,[XELLERATE.ADAPTERS],Event: Adding Foreign Constraint has encountered an error.
    How to correct this?
    Thank you!

    899043 wrote:
    Thanks for your reply!
    I have a form named UD_TICKET3. This form contains information about the ticket number and a comment about any action taken on a resource of identity. We want to add this form as a child of all the resources forms. The problem occurs when I try to add the child form to the second form.You cannot add same detail table (child form) to more than one master table (resource form).

  • Af:table filter date format : task-flow navigation issue

    hi
    When trying to use the date format configured on the Entity Object, with Format Type as Simple Date and Format as "dd-MM-yyyy", there seems to be a problem when using task-flows.
    The approach involves an explicitly configured attributeValues binding to use in f:validator and af:convertDateTime components in the af:inputDate in the filter facet, as discussed in the forum thread "af:table filter date format"
    at af:table filter date format
    I used JDeveloper 11.1.1.3.0 to create the example application
    in http://www.consideringred.com/files/oracle/2010/TableFilterDateFormatIssueApp-v0.03.zip
    - The page filterEmp.jspx shows expected behaviour, the filter uses the configured date format and there is no problem when navigating to another page and back.
    see the screencast at http://screencast.com/t/CtQ9rsVFH3k
    - The page menuBTFPage.jspx allows for some navigation after using the filter resulting in the filter showing a date in the wrong format, using scenario (sc1)
    -- (sc1-a) : run menuBTFPage.jspx
    -- (sc1-b) : on "menu-btf : menu", click the "do go-filter-emp-btf" link
    -- (sc1-c) : on "filter-emp-btf : filterEmpFragment", filter on HireDate using "10-03-2005"
    -- (sc1-d) : click the "do goReturnSuccess" button
    -- (sc1-e) : back on "menu-btf : menu", click the "do go-filter-emp-btf" link again
    -- (sc1-f) : back on "filter-emp-btf : filterEmpFragment", see the HireDate filter value in the wrong format as "2005-03-10"
    -- (sc1-g) : click the "do goReturnSuccess" button again, which results in an error "The date is not in the correct format."
    see the screencast at http://www.screencast.com/t/ORHauBd3oQ
    questions:
    - (q1) Can the behaviour in scenario (sc1) be reproduced?
    - (q2) Why is the filter value in the wrong date format in step (sc1-f)?
    - (q3) What can be done to have the filter value consistently in the configured date format, so that errors as in step (sc1-g) can be avoided?
    many thanks
    Jan Vervecken

    hi
    First a short summary of relevant aspects of service request 3-2190488381:
    - development has reviewed bug 10193260
    - development identified some code where a pattern was not applied and started fixing the problem
    - out of the blue, development asked "Will clearing out the filter field completely when moving out of ataskflow be an acceptable behavior ?"
    - I pointed out some concerns (even in a phone call with development), but development did not see any alternative not "perceived to be very risky because of the current design", so the question whether the clearing-all-filter-fields approach would be acceptable became superfluous.
    - following this, bug 10193260 suddenly became an enhancement request (for reasons I still don't understand)
    - a workaround was suggested (for behaviour not perceived as a bug), "Clearing the search fields during taskflow exit in the backing bean (in the app)." for which I also received a modified version of my example application TableFilterDateFormatIssueApp-v0.04.zip with an implementation of the suggested workaround
    As an exercise to try an understand the suggested workaround (an because my example application seemed to have been modified using the currently yet-to-be-released JDeveloper 11.1.1.4.0) I re-implemented it in the example application
    at http://www.consideringred.com/files/oracle/2010/TableFilterDateFormatIssueApp-v0.05.zip
    It has a filter-emp-workaround-btf task-flow with a method-call activity on a managed-bean method, responsible for clearing the search fields, resulting in behaviour where the error "The date is not in the correct format." does not occur,
    as can be seen in the screencast at http://screencast.com/t/Nq7TkkRQ
      public void clearFilterFields()
        BindingContainer vBindingContainer =
          BindingContext.getCurrent().getCurrentBindingsEntry();
        DCBindingContainer vDCBindingContainer = (DCBindingContainer)vBindingContainer;
        DCDataControl vDCDataControl = vDCBindingContainer.getDataControl();
        ApplicationModule vApplicationModule = vDCDataControl.getApplicationModule();
        ViewObject vViewObject = vApplicationModule.findViewObject("EmployeesVOVI");
        ViewCriteriaManager vViewCriteriaManager = vViewObject.getViewCriteriaManager();
        vViewCriteriaManager.clearViewCriterias();
        vViewObject.clearCache();
      }Because the managed-bean method requires access to the ADF Model binding layer to get to the View Object instance used for the filtered table, the method-call activity has a page element configured in DataBindings.cpx referring to the same usageId as the page element for the page fragment showing the filtered table. So that both the method-call and view activity depend on one and the same Binding Container (e.i. PageDef file).
    The method-call activity, responsible for clearing the search fields, would need to be called before each task-flow-return activity.
    As there can be multiple view activities with multiple filtered tables in a bounded task-flow, would that result in multiple method-call activities responsible for clearing search fields (all to be called before each task-flow-return activity)?
    It looks like a more general/generic approach is desirable for the suggested workaround to be feasible.
    - (q5) Does the suggested workaround imply (as bug 10193260 is not a bug) that all bounded task-flows with filtered tables should implement it to avoid errors about formatting?
    thanks
    Jan

  • 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()

  • 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 for Parent & Child table

    Hi,
    I need to load data to a parent table and child table (Record by Record), i.e one record will be loaded to the parent table and the related child record will be loaded to child table.
    After first record loaded to child table, the next record will be loaded to the parent table.
    My requirement is, I should not commit the parent table before the child record is transferred (so that i can rollback if my record got failed). So I have set the parent table IKM commit option to NO. Because of this, my child record is not loaded to the correcsponding target table, its failed because the parent record is not commited.
    Do we have any possiblities to overcome this issue.
    Thanks in Advance,
    Ram Mohan T

    Cezar,
    I couldn't make the CKM options to "No Commit". When i did that i am getting the following error at step "16 - Control - CUSTOMER_DET - insert PK errors" ,
    12838 : 72000 : java.sql.SQLException: ORA-12838: cannot read/modify an object after modifying it in parallel.
    This error occurs at the CKM. so i have made all the CKM options to "commit" and IKM, LKM to "No Commit". It seems to be fine.
    Cezar,
    I have some plan for the scenario that i mentioned in the previous update (One dept id and all related employees). Please verify this,
    1) create a procedure which extracts dept_id from source tab and passes it to the scenario(in target tab) of a package.
    2) This package has the variable of dept_id, interface1 which loads data to dept and following that another procedure(2).
    3) This procedure2 will extract the emp_id that corresponds to the value of the variable dept_id. And passes this emp_id to tha scenario in target tab.
    4) This scenario is of a package which has the emp_id variable and interface2 for loading employees.
    While executing this plan, the problem is,
    1) Interface1 which loads Dept_Id is not commited (due to the KMs with commit set to "No Commit"), so that the employee records are getting loaded to the error table.
    2) I have made the interface1 KM commit option to "Default: Yes " (But still the Knowledge modules steps are No commit), but still the child records are getting loaded to error table.
    3) As per the above scenario, all these transforamtions are not taking in the same transaction. Thats the problem i believe.
    Do we have any possiblities to overcome this Cezar?
    Thanks in Advance,
    Ram Mohan T
    Edited by: T. Ram Mohan on Mar 5, 2009 11:43 AM

  • Can not commit when using region in bounded task flow

    Hi All
    I am using Jdeveloper 11g R2 (11.1.2.3) & Weblogic 10.3.5.0
    I have 2 bounded task flow in my application (A and B)
    Each contain a fragment with few tabs (using af:panelTabbed)
    I have another common functionality in this 2 bounded task flows
    So I create another bounded task flow and add it as a region in tabs in task flows A and B
    But when I am going to the common tab and insert record and commit using task flow commit it is not commit records in database
    Is something wrong ? Any ideas how I can fix it?
    Regards
    Mohsen

    Hi Frank
    I am using below code for commit (from TaskFlowUtils class)
    public void commitTaskFlow() {
    getDataControlFrame().commit();
    public DataControlFrame getDataControlFrame() {
    BindingContext bindingContext = oracle.adf.controller.binding.BindingUtils.getBindingContext();
    String dataControlFrameName = bindingContext.getCurrentDataControlFrame();
    DataControlFrame dataControlFrame = bindingContext.findDataControlFrame(dataControlFrameName);
    return dataControlFrame;
    Your comment was too helpful , I change data control scope to shared and it is working now
    One more related question:
    Is adding bounded task flow into another fragment as region an advised approach?
    Thanks a lot
    Regards
    Mohsen

Maybe you are looking for

  • Premiere Pro verus Premiere Elements

    I am going to be copying in and editing a large amount of old VHS tapes.  I mainly want to delete out blanks, merge clips together and especially try to improve brightness, contrast etc. like I do in Photoshop for stills.  I wanted to know if Premier

  • CR 2008 and Dynamic Parameters

    I have a report that has been "upgraded" over a number of years and thus a number of versions of Crystal Reports.  The basic issue is that it has 2 dynamic parameters that are showing up as plain textboxes in CR 2008 SP3 instead of a dropdown.  This

  • Comment définir 12 lines digitals ( 8) pour la fonction DAQmx Create Virtual Channel

    Bonjour, je voudrais demander l'aide pour deux points suivants: 1 /J'utilise une carte PXi 6537 pour pouvoir faire une acqusition de 12 lines digitals, mais quand je choisis 8 lines du port0 avec 4 lines du port1 pour connecter avec la fonction DAQmx

  • Soucis de comportement (Structure Case - debugging)

    après plusieurs essais, je peux dire ceci : en mode debug, dans la fenêtre "probe watch window", pour le "fil" qui traverse le sélecteur d'une structure case,  un changement de Label n'est pas pris en compte par LV. démo: au départ le Label de mon Co

  • There is no sound on video clips downloaded from my camera phone

    There is no sound on video clips downloaded from my cell phone camera. I have sound on all other applications. The clips have sound on my husband's computer which has windows vista.