- This topic has 5 replies, 2 voices, and was last updated 17 years, 1 month ago by Loyal Water.
-
AuthorPosts
-
sandman42MemberHi,
System is a fresh installation of MyEclipse 6.0GA full installer, XP SP2. Installation summary is:
- *** Date:
Friday, October 12, 2007 5:49:50 PM CEST** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.5.0_11*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 6.0.0 GA
Build id: 6.0.0-GA-200708*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 6.0.0 GA
Build id: 6.0.0-GA-200708Eclipse Platform
Version: 3.3.0.v20070612-_19UEkLEzwsdF9jSqQ-G
Build id: I20070625-1500Eclipse RCP
Version: 3.3.0.v20070607-8y8eE8NEbsN3X_fjWS8HPNG
Build id: I20070625-1500Eclipse Java Development Tools
Version: 3.3.0.v20070606-0010-7o7jCHEFpPoqQYvnXqejeR
Build id: I20070625-1500Eclipse Plug-in Development Environment
Version: 3.3.0.v20070607-7N7M-DUUEF6Ez0H46IcCC
Build id: I20070625-1500Eclipse Project SDK
Version: 3.3.0.v20070607-7M7J-BIolz-OcxWxvWAPSfLPqevO
Build id: I20070625-1500Eclipse Graphical Editing Framework
Version: 3.3.0.v20070620
Build id: 20070620-1021Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Programmi\MyEclipse 6.0\eclipse\eclipse.exe
-name
Eclipse
–launcher.library
C:\Programmi\MyEclipse 6.0\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.0.v20070523\eclipse_1017a.dll
-startup
C:\Programmi\MyEclipse 6.0\eclipse\plugins\org.eclipse.equinox.launcher_1.0.0.v20070606.jar
-exitdata
814_70
-vm
C:\Programmi\MyEclipse 6.0\jre\bin\javaw.exeTest bed: New Web Project, Add JSF capabilities, create a JSF page with some name, say “somePage.jsp”, either by editing faces.xml or with New … JSP (advanced templates). Then import somewhere in your project (I did it under WebProject/images) two jpg file, say MyJpg1.jpg and MyJpg2.Jpg.
Then, in the new JSF page add a panel grid, a graphic image, click on it and go in the properties tab in order to select one of the two imported jpg’s.
I’ve noticed the following problems:
1) either clicking on the browse button near url on value, shows a “Select file” window with only Myproject, and when I expand it there is nothing. Further clicking on browse button have no effect, i.e. no windows is shown.
2) Doing it by hand, I put MyJpg1 inside the panel grid, and MyJpg2 outside. In the preview pane they are correctly displayed, while running on MyEclipse tomcat only MyJpg2 is shown. MyJpg1 grid position has the red X inside a square, typical of an image not found.This is the page source:
<%@ page language="java" pageEncoding="ISO-8859-1"%> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> <% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <base href="<%=basePath%>"> <title>My JSF 'somePage.jsp' starting page</title> <meta http-equiv="pragma" content="no-cache"> <meta http-equiv="cache-control" content="no-cache"> <meta http-equiv="expires" content="0"> <meta http-equiv="keywords" content="keyword1,keyword2,keyword3"> <meta http-equiv="description" content="This is my page"> <!-- <link rel="stylesheet" type="text/css" href="styles.css"> --> </head> <body> <f:view> <h:panelGrid border="1" columns="2"> <h:graphicImage url="images/MyJpg1.jpg"></h:graphicImage> <h:outputText value="item1"></h:outputText> <h:outputText value="item2"></h:outputText> <h:outputText value="item3"></h:outputText> <h:outputText value="item4"></h:outputText> </h:panelGrid> <h:graphicImage url="images/MyJpg2.jpg"></h:graphicImage>This is my JSF JSP page. <br>This is silly text<br> </f:view> </body> </html>
I think that 1) is a bug. I’m not sure of 2). Is it a bug or am I missing something?
Ciao
Loyal WaterMemberI guess you have uncovered a bug here. I was able to reproduce this at my end. Ill file this for my dev team. Thank you for the detailed post.
sandman42Member@support-nipun wrote:
I guess you have uncovered a bug here.
How many? I.e. 1) is a bug IMHO, but 2)????
@support-nipun wrote:
Thank you for the detailed post.
You’re welcome.
Ciao
Loyal WaterMemberThis message has not been recovered.
sandman42MemberThis message has not been recovered.
Loyal WaterMemberThis message has not been recovered.
-
AuthorPosts