Originally posted by Jason Thiesse: I am trying to do the following have one standard header.jsp file, but when I try to create a h:form in the header file the actual HTML form tag is rendered outside of the entire HTML tags.
For whatever reason my form is rendered before anything else. Any ideas as to why?
Yes, if I remember correctly, JSF tags are processed before the normal html code. Try surrounding your html code with "<f:verbatim>" tags.
Hi, I have one comprehension question to the first code snippet. Doesnt the subview have to be nested inside the view tag and it is not better to just include a file and set the subview tag inside the included file?
Joined: May 26, 2007
I can see one advantage of not having the subview tags in the included file: you can include it in non-jsf context...
Joined: Jun 12, 2007
Gagriel - I do not seem to have any problem with JSF tags rendering outside of the HTML other than the spot noted above.
Alexander - You are correct. I noticed my other forms at the site were not binding to the action methods until I moved my f:view to enclose the subviews.
Does anyone know if having the f:view outside of the html tag may be causing this behavior?