Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-13497

Wrong behaviour in JSF UIInput's component

    XMLWordPrintable

Details

    • Hide

      Deploy the attached reproducer, hit button with an empty input value, and check the output.

      It should be null.

      Show
      Deploy the attached reproducer, hit button with an empty input value, and check the output. It should be null.
    • Hide

      Do not enable the context parameter javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL for the moment.

      Show
      Do not enable the context parameter javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL for the moment.

    Description

      If context parameter javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL set to True, then an empty value from UIInput component is not set to null any more.

      reproducer: https://github.com/soul2zimate/quickstart/tree/jsf-wrong-behaviour/helloworld-jsf

      Attachments

        Issue Links

          Activity

            People

              fjuma1@redhat.com Farah Juma
              chaowan@redhat.com Chao Wang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: