 |
|
 |
 |
|
 |
 |
| Author |
Message |
|
|
Post subject: MyEclipse does not recognize JSF beans in the editor
Posted: Sep 18, 2008 - 10:53 PM
|
|
Veteran Member


Joined: Mar 23, 2005
Posts: 24
|
|
In some of the web projects I have, MyEclipse does not recognize the JSF beans. The editor displays warnings where the bean is displayed. When I click on the space bar to list the attributes, the drop down list is not displayed and I get a beep.
It works on a stand alone project that I have which is not stored in Perforce (SCM) and uses Jdk 1.5. The other projects use Jdk 1.4
Both projects use Faces 1.1.5 and NetAdvantage Infragistics 2008 Vol 1. I am using My Eclipse 6.5. But I have had this problem in 6.0 as well.
How does MyEclipse recognize the JSF beans?
Thanks,
Bhaskar |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: MyEclipse does not recognize JSF beans in the editor
Posted: Sep 19, 2008 - 06:11 PM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 8013
|
|
Bhaskar,
What is the warning that the editor displays?
Can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me. |
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject: RE: MyEclipse does not recognize JSF beans in the editor
Posted: Sep 19, 2008 - 06:17 PM
|
|
Veteran Member


Joined: Mar 23, 2005
Posts: 24
|
|
The editor gives the typical message i.e., "beanname" cannot be resolved, where "beanname" is the name that we specify such as workitems which is a bean defined in faces-confix.xml.
Here are the installation details.
*** Date:
Friday, September 19, 2008 12:12:05 PM CDT
** System properties:
OS=WindowsVista
OS version=6.0
Java version=1.5.0_11
*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 6.5.0 GA
Build id: 6.5.0-GA-20080609
*** Eclipse details:
MyEclipse Enterprise Workbench
Version: 6.5.0 GA
Build id: 6.5.0-GA-20080609
Eclipse Platform
Version: 3.3.3.r33x_r20080129-_19UEl7Ezk_gXF1kouft
Build id: M20080221-1800
Eclipse RCP
Version: 3.3.3.r33x_r20080129-8y8eE9UEUWI6qujeED0xT7bc
Build id: M20080221-1800
Eclipse Java Development Tools
Version: 3.3.2.r33x_r20080129-7o7jE7_EDhYDiyVEnjb1pFd7ZGD7
Build id: M20080221-1800
Eclipse Plug-in Development Environment
Version: 3.3.3.r33x_r20080129-7N7M5DQVIA_6oJsEFkEL
Build id: M20080221-1800
Eclipse Project SDK
Version: 3.3.3.r33x_r20080129-7M7J7LB-u3aphGW6o3_VmiVfGXWO
Build id: M20080221-1800
Eclipse Graphical Editing Framework
Version: 3.3.2.v20080129
Build id: 20080221-1602
Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\apps\MyEclipse_6.5\eclipse\eclipse.exe
-name
Eclipse
--launcher.library
C:\apps\MyEclipse_6.5\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.3.R33x_v20080118\eclipse_1023.dll
-startup
C:\apps\MyEclipse_6.5\eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar
-exitdata
1598_d8
-clean
-vm
C:\apps\MyEclipse_6.5\jre\bin\javaw.exe |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: MyEclipse does not recognize JSF beans in the editor
Posted: Jan 05, 2009 - 11:30 PM
|
|
Veteran Member


Joined: Mar 23, 2005
Posts: 24
|
|
I was finally able to nail down what is causing this.
In faces-config.xml file, we define the DTD as follows
<!DOCTYPE faces-config SYSTEM "web-facesconfig_1_1.dtd">
This is because we do not have access to the internet from our QA environment and deploy the web-faces-config_1_1.dtd file in WEB-INF folder.
If I change the DOCTYPE declaration to
<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN" "http://java.sun.com/dtd/web-facesconfig_1_1.dtd"> or
the beans are recognized in the editor.
Is there a solution to this issue?
Thanks,
Bhaskar |
|
|
| |
|
|
|
 |
|
|
| |
|
|
 |
|
 |
|
|
|
 |