[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-4311) vpe is broken in some cases

Sergey Dzmitrovich (JIRA) jira-events at lists.jboss.org
Wed May 13 04:18:49 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBIDE-4311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Dzmitrovich updated JBIDE-4311:
--------------------------------------

    Description: 
testTemplate.xhtml :
<!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:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

<body>


<div style="background-image: url(${facesContext.externalContext.requestContextPath}/images/#{env.skinPic}) !imp
ortant;padding-left: 10px">

	
</div>

	<ui:insert name="content>
	<h:commandButton action="" value="Some button" />
	</ui:insert>
</body>
</html>	

testPage.xhtml :
<!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:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

	<ui:composition template="testTemplate.xhtml">

	<ui:param name="icon" value="system171.ico" />

		<ui:define name="content">
			<h:commandButton action="" value=button A" />
			<h:inputText value="aaa" />
		</ui:define>
	
	</ui:composition>

</html>	


  was:
testTemplate.xhtml :
<code>
<!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:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

<body>


<div style="background-image: url(${facesContext.externalContext.requestContextPath}/images/#{env.skinPic}) !imp
ortant;padding-left: 10px">

	
</div>

	<ui:insert name="content>
	<h:commandButton action="" value="Some button" />
	</ui:insert>
</body>
</html>	
 </code>

testPage.xhtml :
<code>
<!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:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

	<ui:composition template="testTemplate.xhtml">

	<ui:param name="icon" value="system171.ico" />

		<ui:define name="content">
			<h:commandButton action="" value=button A" />
			<h:inputText value="aaa" />
		</ui:define>
	
	</ui:composition>

</html>	

</code>



> vpe is broken in some cases
> ---------------------------
>
>                 Key: JBIDE-4311
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-4311
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>    Affects Versions: 3.1.0.M1
>         Environment: windows
>            Reporter: Sergey Dzmitrovich
>            Assignee: Maxim Areshkau
>             Fix For: 3.1.0.M1
>
>
> testTemplate.xhtml :
> <!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:h="http://java.sun.com/jsf/html"
>       xmlns:f="http://java.sun.com/jsf/core">
> <body>
> <div style="background-image: url(${facesContext.externalContext.requestContextPath}/images/#{env.skinPic}) !imp
> ortant;padding-left: 10px">
> 	
> </div>
> 	<ui:insert name="content>
> 	<h:commandButton action="" value="Some button" />
> 	</ui:insert>
> </body>
> </html>	
> testPage.xhtml :
> <!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:h="http://java.sun.com/jsf/html"
>       xmlns:f="http://java.sun.com/jsf/core">
> 	<ui:composition template="testTemplate.xhtml">
> 	<ui:param name="icon" value="system171.ico" />
> 		<ui:define name="content">
> 			<h:commandButton action="" value=button A" />
> 			<h:inputText value="aaa" />
> 		</ui:define>
> 	
> 	</ui:composition>
> </html>	

-- 
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

        



More information about the jbosstools-issues mailing list