-
1. Re: VPE - is this bug?
sdzmitrovich May 12, 2009 1:01 PM (in response to krasig)I can't reproduce it. I try it in linux and windows. It works for me.
-
2. Re: VPE - is this bug?
krasig May 12, 2009 1:26 PM (in response to krasig)On windows, eclipse 3.5, JBT 3.2.1 Alpha ?
-
-
4. Re: VPE - is this bug?
sdzmitrovich May 12, 2009 1:51 PM (in response to krasig)Yes.
On windows - eclipse 3.5 m6, JBT - 3.1.0 Alpha
On linux - eclipse 3.5 m7, JBT - 3.1.0 Alpha
May be there are others reasons of such vpe's behaviour. Did you set any el expressions for vpe? Try to move this page to new jsf project (e.g kickstart) and try to open this page there. -
5. Re: VPE - is this bug?
krasig May 12, 2009 3:06 PM (in response to krasig)Hi sdzmitrovich,
you are right.
With new jsf project all is right.
Can't understand where is problem in my project.
What you mean with "el expressions for vpe"? -
6. Re: VPE - is this bug?
krasig May 12, 2009 3:32 PM (in response to krasig)Hi again,
Can you try this:
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}) !important;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>
-
7. Re: VPE - is this bug?
krasig May 12, 2009 4:04 PM (in response to krasig)Ok. After some investigations I'm sure, something is wrong in VPE when it is used <ui:param ...>
What do you think guys? -
8. Re: VPE - is this bug?
sdzmitrovich May 13, 2009 4:20 AM (in response to krasig)You are right. We have managed to reproduce it in windows. I have created issue: https://jira.jboss.org/jira/browse/JBIDE-4311. Thanks for your report.