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

Tags: Java

Similar Questions

Maybe you are looking for

  • You will need to move folders in the left pane.

    The records are at the bottom of the left pane and need to move them to the top of the pane.

  • Where they directed the cursor "converted" for this version?

    I need to transpose parts of a couple of individual tracks. I know it's possible because I think that OS X GarageBand uses transpositions that I put in the GarageBand iOS in some files that I exported as files .band a few months ago. But I need to ca

  • icantget my web cam to load whyor work

    When I install the drive for my web cam all the that getting is that it can not be installed due to an error why This has happened Don't know how many times == I have instructed the reader to my web cam

  • grid as the chart faster than wide wave

    Can someone tell me why the grid on my display moves fater than the scale

  • M252DW: Admin password reset

    Apparently, I lost the ADMIN password for my color Laserjet M252DW.  I've cycled through all my known passwords and not joy.  I understand that there is a sequence of keys that will restore settings by default so that I can restore a new password or