Programmatically created UIViewRoot not rendered correctly
----------------------------------------------------------
Key: MYFACES-217
URL: http://issues.apache.org/jira/browse/MYFACES-217
Project: MyFaces
Type: Bug
Versions: 1.0.9 beta
Environment: JDK 1.5.0_01, Linux/x86, Tomcat 5.5.7 (NetBeans bundled), Jakarta
taglibs 1.1.1
Reporter: Ihab A.B. Awad
Priority: Critical
I deployed the Hans Bergsten JSF examples, version 1.0.2, using MyFaces, and
tried running the "View Created By The ClassViewHandler" example from Chapter
15.
Note that I had to modify the code so that it created HtmlForm components, not
UIForm components, as a workaround to MYFACES-216.
The result sent to my browser was a plain XML fragment with <form> as the
top-level element, not a correct [X]HTML tree. Here is a piece of the output --
<form id="_id0" name="_id0"
method="post" action="/jsfbook/subscribe.faces"
enctype="application/x-www-form-urlencoded">
<table>
...SNIPPED...
</table>
<script type="text/javascript">
...SNIPPED...
</script>
</form>
I have verified that the code does not break under JSF RI 1.1.01.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira