[
https://issues.jboss.org/browse/JBIDE-12557?page=com.atlassian.jira.plugi...
]
Denis Maliarevich commented on JBIDE-12557:
-------------------------------------------
For the following code
{code:xml}
<rich:panel headerClass="headerClass" bodyClass="bodyClass">
<f:facet name="header">
-Text_H1
<h:outputText value="*jsf_H1"/>
<span>+Html_H1</span>
-Text_H2
<h:outputText value="*jsf_H2"/>
<span>+Html_H2</span>
-Text_H3
</f:facet>
<f:facet name="footer">
-Text_F1
<h:outputText value="*jsf_F1"/>
<div>+Html_F1</div>
-Text_F2
<h:outputText value="*jsf_F2"/>
<div>+Html_F2</div>
-Text_F3
</f:facet>
<f:facet name="BLA">
-Text_BLA1
<h:outputText value="*jsf_BLA1"/>
<div>+Html_BLA1</div>
-Text_BLA2
<h:outputText value="*jsf_BLA2"/>
<div>+Html_BLA2</div>
-Text_BLA3
</f:facet>
-Text_Body1
<h:outputText value="*jsf_Body1"/>
<textarea>HTML textarea1</textarea>
<br>
<textarea>HTML textarea2</textarea>
<h:outputText value="*jsf_Body2"/>
-Text_Body2
</rich:panel>
{code}
we've got the following output:
1) <rich:panel> in RF4 renders in its header ALL *facet="header"*'s
children (*text nodes, jsf nodes, html nodes*): !rf4.png!
2) with RF3 *facet="header"* has only the first JSF component, the rest goes to
panel's body (*only text and html nodes are rendered*).
Despite of the facets' names all their child nodes are added to the body: !rf3.png!
<rich:panel> tag header is not rendered
---------------------------------------
Key: JBIDE-12557
URL:
https://issues.jboss.org/browse/JBIDE-12557
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor core
Affects Versions: 4.0.0.Alpha1
Environment: Linux 32 bit
Reporter: Vlado Pakan
Assignee: Denis Maliarevich
Fix For: 4.0.0.Alpha2
Attachments: rf3.png, rf4.png
1. Create new JSF Facelets KickStart projec
2. Crate new xhtml page with this content
{noformat}
<!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:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:rich="http://richfaces.org/rich"
xmlns:h="http://java.sun.com/jsf/html">
<head>
</head>
<body>
<f:view>
<rich:panel>
<f:facet name="header">
<h:outputText value="HEADER_VALUE"/>
</f:facet>
<h:outputText value="BODY_VALUE"/>
</rich:panel>
</f:view>
</body>
</html>
{noformat}
ERROR: Panel header "HEADER_VALUE" is not displayed in visual part.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira