Recreate mechanizm of prefix verification
-----------------------------------------
Key: JBIDE-3376
URL:
https://jira.jboss.org/jira/browse/JBIDE-3376
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor core
Affects Versions: 3.0.0.cr1
Reporter: Yura Zhishko
Assignee: Maxim Areshkau
Insert next source code:
<%@ taglib
uri="http://java.sun.com/jsf/html" prefix="j"%>
<%@ taglib
uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib
uri="http://java.sun.com/jsf/core" prefix="f" %>
<html>
<head></head>
<body>
<j:form>
<j:dataTable value="#{bookList.bookList}" var="book">
<f:facet name="header"><j:outputText value="Header" />
</f:facet>
<f:facet name="footer"><j:outputText value="Header" />
</f:facet>
<j:column>
<j:outputText value="#{book.name}" />
</j:column>
<j:column>
<j:outputText value="#{book.name}" />
</j:column>
</j:dataTable>
<j:commandLink action="none" value="Go next
page:"/><br></br>
<j:outputText value="Begin" />
</j:form>
</body>
</html>
See the results (screenshot-1). The main cause of this is that we make a verification of
parents next way:
<vpe:if
test="parentname()='h:dataTable'|parentname()='h:panelGrid'....
And we take account of only "h"-prefix. This verification doesn't include
other named prefix
--
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