- This topic has 3 replies, 2 voices, and was last updated 18 years, 9 months ago by support-eugene.
-
AuthorPosts
-
Don NelsonMemberI am experiencing some weird behavior with 4.1 and the faces-config.xml file. The editor is showing every managed bean as an error, with the message “Duplicated managed bean name: beanName” When I validate the xml file manually, it says the file is valid. Editing the file and resaving it does nothing. Uninstalling 4.1, and reinstalling 4.0 fixes the problem.
Any ideas?
Thanks,
Don
– System Setup ——————————-
Operating System and version: XP sp2
Eclipse version: 3.1
Eclipse build id: M20060118-1600
Fresh Eclipse install (y/n): n
If not, was it upgraded to its current version using the update manager? n
MyEclipse version: 4.1
Eclipse JDK version: 1.4.2
support-eugeneMemberDon,
I can’t reproduce the problem. Can you show the sample config XML?
Don NelsonMemberThe entire config file is huge, so I will paste a representative sample. Also, you should know that we are using MyFaces 1.0.9.
<faces-config>
<lifecycle>
<phase-listener>
gov.mass.eos.web.listeners.MessageListernerCustom
</phase-listener>
</lifecycle><managed-bean>
<managed-bean-name>houseHold</managed-bean-name>
<managed-bean-class>
gov.mass.eos.business.model.ce.household.Household
</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean><managed-bean>
<managed-bean-name>certification</managed-bean-name>
<managed-bean-class>
gov.mass.eos.business.model.ce.cert.Certification
</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
<navigation-rule>
<from-view-id>food@participant</from-view-id><navigation-case>
<from-outcome>profiles</from-outcome>
<to-view-id>/pages/food/participant/participantProfiles.jsp</to-view-id>
<redirect />
</navigation-case>
</navigation-rule>
</faces-config>
support-eugeneMemberI still can’t reproduce the problem.
Can you clarify the Eclipse version you are using – the 3.1 build ID is I20050627-1435. Are you using 3.1.2 or 3.2 milestone?
-
AuthorPosts