Getting an issue : The form component needs to have a UIForm in its ancestry

Solution Unverified - Updated -

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.3

Issue

  • Every time I go to the page from the home page, a message appears:
The form component needs to have a UIForm in its ancestry. Suggestion: enclose the necessary components within <h:form>

Resolution

  • Check if the h:form is in the wrong place in the xhtml/jsf page.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments