Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Table - Skip Validation rules on existing records

PrazzyJayMay 8 2014 — edited May 8 2014

Hi All,

Jdeveloper version: 12c stack- (i hope the behavior should be same in 11g as well)

I have created a af:table with editable records in them. And there is a Start Date with minValue set to current date (value is fetched from backing bean)

<af:inputDate value="#{bindings.StartDate.inputValue}" required="#{bindings.StartDate.hints.mandatory}"

                                  columns="#{bindings.StartDate.hints.displayWidth}"

                                  shortDesc="#{bindings.StartDate.hints.tooltip}" id="id1"

                                  minValue="#{pageFlowScope.BackingBean.currentSysDate}" >

Example:

NameValueStart DateEnd Date
Parameter 11010-03-199910-06-2050
Parameter 22010-05-201410-06-2050

Parameter 1 is an old record

Parameter 2 is a new record

Problem:

When submitting the changes with the commit button ADF tries to validate both Parameter 1 and Parameter 2 for the Start Date.

And it seems to be happening in the client side java script.

I was expecting that it would only validate the new records or changed records.

Question:

Is there any way I can force the ADF to do the validation only on the changed rows and new rows?

Thanks,

Pras

This post has been answered by PrazzyJay on May 8 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 5 2014
Added on May 8 2014
3 comments
1,738 views