Forum Stats

  • 3,855,036 Users
  • 2,264,452 Discussions
  • 7,905,869 Comments

Discussions

avoid validation propagation in region

santiago_nc
santiago_nc Member Posts: 91
edited Mar 26, 2015 3:00PM in JDeveloper and ADF

I have a page jsf, with some buttons with partialSubmit  property set to true.

In this page I have drop few TaskFlow as Region. This region could have mandatory fields.

I have detected this issue:

When the user click in a button which is in the page (not into region), validation is propagated into region, then It fires validation error in fields that are required.

How can I solve this?

jdeveloper 12c (12.1.3)

Answers

  • kdario
    kdario Member Posts: 3,533 Silver Crown
    edited Mar 26, 2015 2:53PM

    partialSubmit will not skip validations.

    Your components are on the same page, so all of them are submitted(and validated).

    You can try with immediate=true, or with SkipValidation (Binaries: How to Skip Validation?)

    Dario

  • Timo Hahn
    Timo Hahn Senior Principal Technical Consultant - Oracle ACE Director Member, Moderator Posts: 38,773 Red Diamond
    edited Mar 26, 2015 3:00PM

    This is expected behavior when you submit the page. You can set the partialsubmit  property to true for the button and see If this helps.

    Deleted some of the response,as I did not read the post carefully. One other option to investigate is mentioned by kdario.

    Timo

This discussion has been closed.