- This topic has 1 reply, 2 voices, and was last updated 18 years, 3 months ago by Riyad Kalla.
-
AuthorPosts
-
James A BarrowsMemberI have the following in my jsf page:
<h:form id="projectForm"> <h:outputLabel for="projectName" value="Name"> <h:inputText required="true" value="#{projectForm.project.name}" /> </h:outputLabel>
and in the faces-config.xml file:
<referenced-bean> <referenced-bean-name>projectForm</referenced-bean-name> <referenced-bean-class> com.barrowsdevelopment.projectmanagement.ui.jsf.ProjectForm </referenced-bean-class> </referenced-bean>
Which gives me the following warning:
projectForm cannot be resolved
When I use a managed bean declaration I have to add in the managed property name of the project and it works.
A referenced bean doesn’t. Since I use Spring to configure my beans, I really don’t want to use managed beans declarations, I have to inject my business object classes and dao classes into the bean class.
This is something I can live with, it’s only a warning, but it would be nice to see it work.*** Date: Mon Aug 21 11:01:48 MST 2006
*** System properties:
OS=Linux
OS version=2.6.17-1.2157_FC5smp
Java version=1.5.0_06*** MyEclipse details:
MyEclipse Enterprise WorkbenchVersion: 5.0 GA
Build id: 20060805-5.0-GA*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 5.0.1 GA
Build id: 20060810-5.0.1-GAEclipse Platform
Version: 3.2.0.v20060609m-AgOexn6hlEUsvBO
Build id: M20060629-1905Eclipse Java Development Tools
Version: 3.2.0.v20060609m-F7snq1fxia-Z4XP
Build id: M20060629-1905Eclipse Project SDK
Version: 3.2.0.v20060609m-GNq6oQq-7es-Y81
Build id: M20060629-1905Eclipse RCP
Version: 3.2.0.v20060609m-SVDNgVrNoh-MeGG
Build id: M20060629-1905Eclipse Plug-in Development Environment
Version: 3.2.0.v20060609m——6zXJJzJzJq
Build id: M20060629-1905Eclipse Graphical Editing Framework
Version: 3.2.0.v20060626
Build id: 20060627-0816Eclipse startup command=-os
linux
-ws
gtk
-arch
x86
-launcher
/usr/local/eclipse3.2/eclipse
-name
Eclipse
-showsplash
600
-exitdata
98b801c
-product
com.genuitec.myeclipse.product.ide
-vm
/usr/bin/java
Riyad KallaMemberI ran into the same problem locally trying to setup a universal message bundle in my faces-config file and reported it. I’ll add your comments to the bug, thanks for filing it.
-
AuthorPosts