Form of the ADF delete function problem

Hi all

I use JDeveloper 11 g. I have a simple Edit ADF form that comes from a table of the ADF. It contains two buttons edit and delete what to change or to delete the current record in the page. It seems that the Edit function works fine. When I try the function delete and return to the table, the record disappears. It looks like the first work fine. However, when I check the database, the reocrd is always there. When I restart the application, the record is back on the table. Obviously, the reocrd is not deleted from the database.

Button Delete is created from the operations associated with the collection of the object in the data controls panel. Does anyone know what I'm missing here that the detected function works correctly?

Any help is appeciated.

Thank you

John W

Oops... put an apostrophe in the text of a hyperlink does not play very well. I took out, and now you can see the link to the post that shows you how...

Tags: Java

Similar Questions

  • What to put in the xsd schema for the form of the ADF radio buttons?

    Hello, we create a form generated from the data of a HT ADF auto which is a type defined in a schema .xsd. Which schema component Let's in the .xsd schema correspond to buttons option in the form of the ADF? For example, in our .xsd we just

    <? XML version = "1.0" encoding = "UTF-8"? >

    " < xsd: Schema container = ' http://www.w3.org/2001/XMLSchema "xmlns:wf =" " http://www.example.org "

    " targetNamespace = ' http://www.example.org "elementFormDefault ="qualified"> "

    < xsd: complexType name = "FormDataType" >

    < xsd: SEQUENCE >

    < xsd: element name = "FirstName" type = "xsd: String" / >

    < xsd: element name = "Name" type = "xsd: String" / >

    < xsd: element name = "Department" type = "xsd: String" / >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: Schema >

    What would be the element / type etc be for radio buttons?

    Hi Tali,

    It depends on what you want to do with radio buttons, but it would be better to be a part of string in most cases.

    This could be better handled on the ADF OTN forum, but I'll take a shot at it.  If you have many items to choose from, you can use the string "Department", you already have in your XSD.  When displayed on the form, include various departments with radio buttons next to each other (for example,"manufacturing", "Marketing", "Sales").

    Because this is the BPM forum, I guess your XSD is used as data for a human task which in turn used to create a form of the ADF.  If this is the case, you can use your "Department" in your XSD string element that has already been placed on your form as a text input field.  The reason is the link that you need to update the element of the human task service is automatically created in this way.  Select this field to text, and then in the properties panel, copy the text that is in the 'value' of the field (you stick it in the Value property of the Radio group you will add in the next step).

    There are two ways to get the radio buttons on the form.  You might drag the "Radio group" widget on the form-> click on radio to 'Create a list (select an item)' button-> click the Add icon to add the choices you want to appear on the form (for example,' manufacturing ', 'Marketing', 'Sale').   Once this was added, paste property value text you copied in the previous step into the field of "Value" property of the new Radio group.

    If you select the radio button of the new group source, it should look like this if you wanted two choices for your radio buttons:

    After this has been added, delete the existing text entry field that was created when the form was generated automatically from the human task.

    Hope this helps,

    Dan

  • Created a form of the ADF since a human task - how to get other human tasks use the same form ADF?

    We are new on the forms of the ADF and we have a simple workflow with a few different human tasks.

    The task of the initiator, I right click it and automatically generated a form of the ADF.

    The rest of the human tasks have the same payload, and I want just the other human tasks use the same ADF form I've already created. How can I do this?

    Thank you.

    Yes, there is a way to reuse the shape of the ADF and its workflow for several human tasks as long as the payload is the same.  To do this:

    1. Open the file "hwtaskflow.xml" inside your project of the ADF.  It will be difficult to read when you first open it so right mouse click the xml file-> select "reformat".
    2. Copy the 6 lines with the element with the form that you want to reuse-> pick up the 6 lines in the file under the rows that you copied.  The and elements in the text that was copied just need to be changed from the old human task name (for example, ".../MyHumanTaskOriginal") on behalf of the human recycled news of the task (for example, ".../MyHumanTaskReused").  Don't forget to leave the text in the and items of value to their original name.
    3. Redeploy the project.

    Dan

  • Form of the ADF is missing fields

    I have an ADF entry form that will be used to insert/modify data in a database.  The entry form was created with the business components to a table on a page JSFF fragment.  I use JDeveloper 12.1.3.0.  When the page is displayed, the labels for the fields are displayed.  But the fields are missing.  At this point, I'm not able to enter all the information on the form of the ADF.  When I press the button "CreateInsert", input fields are not displayed properly and I can enter information.

    Here is how one of the fields is defined:

    "< af:inputText value =" #{bindings.firstName.inputValue} "label =" #{bindings.firstName.hints.label} ".

    required = "#{Bindings.FirstName.hints.Mandatory} '"

    Columns = "#{Bindings.FirstName.hints.DisplayWidth} '"

    maximumLength = "#{bindings.firstName.hints.precision} '"

    shortDesc = "#{bindings.firstName.hints.tooltip}" id = 'it2' "

    Binding = "#{backingBeanScope.backing_register2." IT2} ">"

    < f: validator binding="#{bindings.firstName.validator}"/ >

    < / af:inputText >

    Thanks in advance!

    It is a normal behavior if your database table is empty.

    In this case, in order to show the inputText fields, you must first create stored in your BC-just, you did by pressing CreateInsert.

    Therefore, before displaying the page, you must call CreateInsert _first (if you want to create new DB records).

    If the DB table is not empty (and you want to change the data), your inputText will be visible

  • Tab order in the form of the ADF

    Hello

    Everyone knows how to set the tab order in a form of the ADF?
    I use Jdeveloper 11.1.1.0.2.

    Thank you

    Rikke

    I guess you can't set the tab order. The tab order is defined by the sequence of elements in the tree of components.

    Timo

  • Page with ADF Table and form of the ADF, error: a value is required on CreateInsert

    Dear all,

    I am a beginner in the ADF and am under Jdeveloper Studio Edition Version 12.2.1.0.0.

    I have a page that consists of two taskflows.

    First workflow has a fragment which is to have a (non editable) table - top in picture below

    Second task flow contains a form ADF - lower part in image below.

    Click Add button again the below the screen with "error: a value is required appears.

    and also a nonmodifiable line Table is created.

    TableNForm.jpg

    The code for the button "new".

    < af:button text = 'New' id = 'bAddNew '.

    actionListener="#{pageFlowScope.SalespersonsMainFMT.createInsertSalespersons}"/ >

    Here is the part referencing of java Bean

    public static BindingContainer {} getBindings()

    Return BindingContext.getCurrent () .getCurrentBindingsEntry ();

    }

    public void createInsertSalespersons (ActionEvent actionEvent) {}

    BindingContainer links = getBindings();

    OperationBinding operationBinding;

    operationBinding = bindings.getOperationBinding ("CreateInsert") (OperationBinding);

    Object result = operationBinding.execute ();

    }

    Please let me know what I have to do to stop the insertion of new line in a Table cannot be changed

    and then stop the ' error: a value is required is displayed ' message.

    Hope the above is clear.

    Please let me know if additional information is required.

    Thanks and greetings

    Arif Khadas

    Instead of CreateInsert, try to use Create and let me know what happens.

    Another option is to set the ChangeEventPolicy for the iterator binding votes to zero, and af:table; s immediate to false, as shown here:

    http://rogersuen.blogspot.RS/2014/03/ADF-editable-table-unexpected-validation.html

  • Login, authentication of the ADF page rendering problem

    Hi all

    I use Jdev12c and authentication of the ADF configuration in my application. MY login pages are not html and JSF pages. After you set up the security of the skin on the login page stops working. The drawn solution of article https://blogs.oracle.com/jdevotnharvest/entry/solving_jdeveloper_11gr2_issue_with does not help (which seems to be incomplete).

    Now, reading autour, I made an assumption are the result of changes and it seems to work. But I don't know if it can cause any problem of security in the merger application. Any idea/thoughts?

    < security constraint >

    < web-resource-collection >

    allPages < web-resource-name > < / web-resource-name >

    < url-pattern > /visages / * < / url scheme >

    (it was < url-pattern > / * < / url-pattern >)

    < / web-resource-collection >

    <>auth-constraint

    valid users - < role name > < / role name >

    < / auth-constraint >

    < / security constraint >

    (There is also a page-def on the login page and the model used for the login page).

    Thank you!!

    Mrig

    Very well. Figured out.

    According to what little I learned about the web.xml file, I had to follow processes & groping to find resources which create problem. So Pagedef and models are not the problem which might have been in previous versions of Jdev. I added ' / resources/images / * ' under web-resource-collection.

    Authorized resources ADF

    information/images / *.

    allPages

    faces *.

    (it was / *)

    valid users

    I thought the CSS files and templates like that I used on the login page.

    Thanks for the help and suggestions!

  • Region of the ADF, submit and problem of navigation buttons

    Hello world

    My JDev is 11.1.1.7

    I have a jspx page and it has a region.

    There is an af:table, an af:form with navigation buttons and submit buttons in the region. When I run the page jspx, region is working.

    When I chose a table row, form updates. There is no problem here!

    But, when I want to use the buttons, for example, I used the navigation or submit buttons. Nothing happens.

    How can I solve this problem?

    Thank you

    There is an af:table, an af:form with navigation buttons and submit buttons in the region.

    When I read that part once again, it's not very clear is your table inside the af: form or not.

    You should have that one af:form in the hierarchy of the pages and everything must be placed inside this form.

    Dario

  • Form of the ADF for data structure with several child records

    Jdev version: 11.1.1.2.0

    I have a data structure with a one-to-many parent-child relationship. I give an example of the data structure.

    Employee table:
    ----------------------
    EmpId
    EmpName
    Salary

    Table Historiqueemploye:
    -------------------------------
    EmpId
    Previous_Employer
    From_Date
    To_Date


    In the ADF form for entering data for a new employee, I want to give a layout (say, a button "Add row") for the history of the employee's employment. How can we succeed in ADF?

    I'm new to ADF. Would be grateful if someone can help me with detailed steps or a link showing such a demonstration.

    Thanks in advance.

    Hello

    If you exposed a View for the Historiqueemploye table object, then simply drag this point of view as a form and then drag and drop the create operation (within the structure of the View object in the data control palette) as a button for the new line is created. If you do not always display the historical, add it to an af:popup and start button context menu create or hide the af: panelFormLayt that a form is added by default.

    Frank

  • The ADF Login page problem

    Hi all
    I developed an ADF application with the OPSS-based login page, I am facing a strange behavior in the login page, I type user and pwd and click on the "connect" button but instead of redirection in the next page, the login page is updated and I have to re-enter my credentials. This happens, two, three times (random is) so I'm able to have access.
    What can be the problem?


    THK in advance
    L-

    We use the ADF security and we faced the similar problem three weeks ago. This problem occurred only in Internet Explorer.
    After that we contacted the support of oracle, they confirmed that it is a bug.

  • Number of the sequence in the form of the ADF.

    Hi all

    I have a table with ID as primary key and have a sequence created for the primary key and have a trigger to generate the sequence number when the record is inserted in the table.
    How can I map this sequence in the ADF so when inserting record in the form I can skip the ID column.

    Kind regards
    Suresh kumar

    Change the attribute of the entity and assign it the value

    (new oracle.jbo.server.SequenceImpl ("YOUR_SEQ", object.getDBTransaction ()) .getSequenceNumber)

  • Form of the ADF for a specific line

    Hello

    I try to learn the ADF by myself. I have a bean managed with a number attribute. I have a page with an ADF jspx unalterable, created forms with a sheet and drop of a data control. The view object behind my this control data as a parameter of binding used in where condition (condition on the primary key-> a single record is questioned). When I get on this page, the My managed bean attribute is set and I want to see THE record that respond to my where condition.

    I think it should be very easy, but I can't find the thing.



    Thank you!

    Olof,

    Take a look at [url http://forums.oracle.com/forums/thread.jspa?threadID=703698&tstart=0] - If you look at the topic, it seems to have nothing to do with your request - but if you look at my answer - it details the technique that you can use.

    John

  • "Check box" form of the ADF does not work in JDev11.1.1.2

    11 GR 1 material:

    I've created an ADF form in a JSF Page and I deleted a column and move the same column again as a "selectBooleanCheckbox ADF.
    and in Boolean binding dialog box Edit: I entered the value as 'True' selected and deselected as 'false '.
    and when I run the data page not synchronized with chech box item.
    Note:-while the element box is working with Adf Table in example #145 to the link http://blogs.oracle.com/smuenchadf
    can someone help me?

    concerning

    Forakora

    Hello

    just tried and discovered that you define partial triggers for the af: selectBooleanCheckbox as:

                  
                  
                  
    

    Kind regards

    Branislav

  • How to display specific records on the form of the ADF

    Dear experts,

    I need to create a form of adf Wizard.

    -If the user is new, this form will show action createInsert.

    -If the user is not new (already have saved data), then this screen displays data based on the user login id.

    I can do the application module class createInsert part but not the specific data display part.

    You have a suggestion how to display specific records based on user login id, and how to filter the old and the new user?

    Kind regards

    Ricky

    You can use a router in a workflow as I've shown here https://tompeez.wordpress.com/2012/12/01/jdeveloper-11-1-1-5-0-use-router-to-create-new-row-or-edit-existing/

    Timo

  • How to get the Instance number as one of the fields in a form of the ADF?

    Hello

    We want the Instance # a request to be part of the shape as an output readonly text.

    (I mean the Forum # who appears in the details of the notice of monitoring process, not the activity number):

    Screen Shot 2015-07-16 at 8.42.46 AM.png

    )

    How can we get the instance # as part of the form?

    Thank you

    Hi Tali,

    The variable pre-defined information "instanceId".  If you use ADF, the human task data control, expand "Process Info" and drag it onto the form.

    I'm curious to know why you want to do it though.  If it's just so that you can report what you see in the list of "Tasks" of your workspace with instances in the list you see when you click on the tab "Monitoring of the process", I think that there is a better way.  The titles in the follow-up process tab do not have by default "No. of instance.  They may instead be given labels if you use 11.1.1.7 or 12 c.  There is a trick to this and it is shown in this blog post: display of labels for Instance in the follow-up process tab. AVIO Consulting.

    Dan

Maybe you are looking for

  • How can I find about: config in the Firefox old data folder

    I had to reset Firefox. But I lost all my data of fireform. How to retrieve these data in the folder of old data from Firefox? It's in the topic: the configuration file. Also, when I start Firefox my previous session always comes back even if my opti

  • Не могу создать подкаст (impossible to create podcast on Itunes)

    НЕ ПОЛУЧАЕТСЯ СОЗДАТЬ ПОДКАСТ. ПРИ ПОПЫТКЕ ОТПРАВИТЬ КАНАЛ ВЫДАЕТ СЛЕДУЮЩУЮ ОШИБКУ: НЕВОЗМОЖНО ОТПРАВИТЬ КАНАЛ ТАК КАК ОН УЖЕ БЫЛ ОТПРАВЛЕН РАНЕЕ.

  • Error messaging

    SecurityError: Error #2060: security sandbox violation: ExternalInterface calling https://z.moatads.com/swf/MessageSenderV2.swf cannot access https://static.skypeassets.com/adserver/AdLoader.html?version=1.66.21.at flash.external::ExternalInterface$/

  • Tecra A9 - sometimes I can not type - click using the touch pad

    There are times that I can not type - click using the touch pad or other keys (all of a sudden without any reason) I can move the cursor in this case but not tap - click here to be able to click once again, I have to restart (this happens on both win

  • Microtour HP 3500 Pro for Windows XP 32-bit drivers

    Hello Can I ask you if it would be possible to help me in what concerns the location of Windows XP Home Edition (32-bit) drivers for Microtour HP Pro 3500 (F4Q49ES product number)? Portal of Support Center from HP I see only drivers for Windows 7 and