[
https://jira.jboss.org/jira/browse/JBIDE-3373?page=com.atlassian.jira.plu...
]
Denis Maliarevich commented on JBIDE-3373:
------------------------------------------
"VPE doesn't render usuall html tags and simple text, but browsers do it.
<f:facet> can content only one UIComponent for JSF and RichFaces components."
Simple html from f:facet are rendered in browser in some special place inside parent
tag. This means parent tag encodes to some html structure then elements that are not
suitable for f:facet are put outside of encoded facet but they are still inside parent tag
html struicture.
Spare facet's elements are encoded to different html depending on jsf tag. For
examle, for h:panelGrid these elements are placed inside another <td>, for
h:dataTable spare column's facet elements are placed inside body section.
So to fix this issue we need to know how spare facet's element are encoded for each
tag, and we should be able to put this content into the right place in VPE element's
tree.
f:facet processing for xhtml pages
----------------------------------
Key: JBIDE-3373
URL:
https://jira.jboss.org/jira/browse/JBIDE-3373
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor Templates
Affects Versions: 3.0.0.cr1
Reporter: Yura Zhishko
Assignee: Denis Maliarevich
Fix For: 3.0.0.CR2
Insert next source example code into the page:
<h:panelGrid
columns="2" border="5" width="250"
rules="all" frame="above"
cellpadding="4" cellspacing="6"
bgcolor="silver"
style="COLOR: #ff0080; BACKGROUND-COLOR: #ffff00; TEXT-DECORATION: underline;
FONT-STYLE: italic; FONT-WEIGHT: bold; FONT-SIZE: xx-large; FONT-FAMILY: 'Arial
Black';"
styleClass=""
captionClass="myStyle0"
columnClasses="" rowClasses=""
headerClass="" footerClass="" >
<f:facet name="footer">
<p>sdlfsd</p>
<p>dsfjal</p>
<input type="button">fsdadf</input>
gkhadjksfg
</f:facet>
<h:outputText value="begin"/>
</h:panelGrid>
VPE doesn't render usuall html tags and simple text, but browsers do it.
<f:facet> can content only one UIComponent for JSF and RichFaces components.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira