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

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Wed May 20 11:23:05 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBIDE-4311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12468422#action_12468422 ] 

Max Rydahl Andersen commented on JBIDE-4311:
--------------------------------------------

Are you sure this is change in behavior in Eclipse ? If yes, then that would have a biig impact on adopters and should be noted in their migration notes.

And even with this change, there still should be a null check since it is not sure at all that name will resolve to anything.

> 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
>          Components: Visual Page Editor core
>    Affects Versions: 3.1.0.M1
>         Environment: windows
>            Reporter: Sergey Dzmitrovich
>            Assignee: Denis Maliarevich
>             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