jsf 2 - Why outputText wrapped in div is not rendered? -


do have idea why following outputtext component not rendered when wrapped inside div?

<?xml version="1.0" encoding="utf-8"?> <!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en"     "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"       xmlns:h="http://java.sun.com/jsf/html">     <h:head>         <title>welcome</title>     </h:head>     <h:body>         <div>             <h:outputtext>this line not rendered</h:outputtext>         </div>     </h:body> </html> 

for example, html page rendered following:

<?xml version="1.0" encoding="utf-8"?> <!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><head>     <title>welcome</title></head><body>     <div>     </div></body> </html> 

<h:outputtext value="this line rendered"/> 

see http://www.jsftoolbox.com/documentation/help/12-tagreference/html/h_outputtext.html


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -