Red Hat Bugzilla – Bug 867381
Seam2.3 seam-gen generated action shows "The form component needs to have a UIForm in its ancestry. ..." message
Last modified: 2013-07-22 09:25:21 EDT
+++ This bug was initially created as a clone of Bug #832115 +++
Description of problem:
Seam2.3 seam-gen generated action shows "The form component needs to have a UIForm in its ancestry. Suggestion: enclose the necessary components within <h:form>" message
Steps to reproduce:
1. generate and deploy default WAR project "myproject" with seam-gen
2. create a "fooAction" with "seam new-action"
3. go to http://127.0.0.1:8080/myproject/fooAction.seam
4. click on "fooAction!"
5. notice the message
same with the generated form (seam new-form)
I doubt that this issue is a clone of https://bugzilla.redhat.com/show_bug.cgi?id=832115 as I can see that change in sources. I will try to reproduce it.
I forget on issue in JSF itself - http://java.net/jira/browse/JAVASERVERFACES-1922
No way how to get rid of this Warning, we don't want to use PRODUCTION level for seam-gen application from the start.
Known issue for WFK 2.1. Fix requires JSF update.
Referring to the Doc Text:
The result of the workaround for this bug is also a warning message?
Doc Text updated.
This JSF issue was fixed in JSF 2.2.0-m01. So it won't be fixed for Seam with JSF 2.1 and EAP 6.