facebook

[Closed] Once again, problems with faces-config and 4.1.1

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #248357 Reply

    Don Nelson
    Member

    Ok, i’ve upgraded to 4.1.1, and my faces-config.xml file shows errors for every managed bean in the file. If I select “Validate XML file” from the menu, it says the file is valid, but still the compile errors show up. I have included the first portion of this large xml file below:

    <faces-config>

    <lifecycle>
    <phase-listener>
    gov.mass.eos.web.listeners.MessageListenerCustom
    </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>

    Each managed bean has a compile error next to the <managed-bean-class> tag. This file is fine with MyEclipse 4.0.

    What’s up?

    Don

    #248440 Reply

    Riyad Kalla
    Member

    What are the compiler errors? What do they say?

    Also have you tried Project > Clean and let the project rebuild itself?

    #248450 Reply

    Don Nelson
    Member

    The compiler errors are:

    Severity    Description    Resource    In Folder    Location    Creation Time    Id
    2    Duplicated managed bean name: houseHold    faces-config.xml    EosWeb/WebRoot/WEB-INF    line 12    March 13, 2006 10:57:45 AM    43535
    2    Duplicated managed bean name: houseHold    faces-config.xml    EosWeb/WebRoot/WEB-INF    line 12    March 13, 2006 10:57:45 AM    43536

    There are two entries for each managed bean in the “Problems” list, both pointing to the same line in faces-config.

    Cleaning and rebuilding all projects did not fix the problem.

    Thanks,

    Don

    #248458 Reply

    Riyad Kalla
    Member

    Strange, can you paste your *entire* faces config for me? The snippet above is incomplete. I’ll try and duplicate this.

    #248460 Reply

    Don Nelson
    Member

    Ok, here’s the whole thing….

    <?xml version=”1.0″ encoding=”UTF-8″?>
    <!DOCTYPE faces-config PUBLIC “-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN” “http://java.sun.com/dtd/web-facesconfig_1_1.dtd”&gt;

    <faces-config>

    <lifecycle>
    <phase-listener>
    gov.mass.eos.web.listeners.MessageListenerCustom
    </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>

    <managed-bean>
    <managed-bean-name>householdMember</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.business.model.ce.household.HouseholdMember
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>participant</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.business.model.ce.participant.Participant
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>pregnancy</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.business.model.ce.participant.Pregnancy
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>communicationController</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.demographics.CommunicationController
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>

    </managed-bean>

    <managed-bean>
    <managed-bean-name>enrollmentController</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.demographics.EnrollmentController
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>membersController</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.demographics.MembersController
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>incomeController</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.eligibility.IncomeController
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>incomeControllerHist</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.history.IncomeControllerHist
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>navigationManager</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.navigation.EosNavigationManager
    </managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>participantController</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.eligibility.ParticipantController
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>CeWalletController</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.CeWallet
    </managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>householdAddress</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.business.model.ce.household.HouseholdAddress
    </managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>addressesController</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.demographics.AddressesController
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>pregnancyController</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.nutrition.PregnancyController
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>breastfeedingController</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.nutrition.BreastfeedingController
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>anthroController</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.nutrition.AnthroController
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>bloodController</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.nutrition.BloodController
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>careplanController</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.nutrition.CareplanController
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>dietController</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.nutrition.DietController
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>healthController</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.nutrition.HealthController
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>educationController</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.nutrition.EducationController
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>immunizationController</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.nutrition.ImmunizationController
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>riskController</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.nutrition.RiskController
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>prescriptionController</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.nutrition.PrescriptionController
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>certifyController</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.certify.CertifyController
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>certifyControllerComm</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.CeCommentsController
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>certifyControllerCommHist</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.history.CeCommentsControllerHist
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>appointmentsController</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.services.AppointmentsController
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>searchController</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.search.SearchController
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>searchCriteria</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.search.SearchCriteria
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>searchCriterion</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.search.SearchCriterion
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>searchResult</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.search.SearchResult
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>dateBean</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.validators.DateBean
    </managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    </managed-bean>
    <managed-bean>
    <managed-bean-name>printController</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.fi_fmnp.PrintController
    </managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>reprintController</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.fi_fmnp.ReprintController
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>checkHistoryController</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.fi_fmnp.CheckHistoryController
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>reissueController</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.fi_fmnp.ReissueController
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>manualController</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.fi_fmnp.ManualController
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>voidController</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.fi_fmnp.VoidController
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>membersControllerHist</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.history.MembersHistoryController
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>addressesControllerHist</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.history.AddressControllerHist
    </managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>transferControllerHist</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.history.TransferControllerHist
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>anthroControllerHist</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.history.AnthroControllerHist
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>bloodControllerHist</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.history.BloodControllerHist
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>breastfeedingControllerHist</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.history.BreastfeedingControllerHist
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>breastpumpControllerHist</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.history.BreastpumpControllerHist
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>careplanControllerHist</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.history.CareplanControllerHist
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>certifyControllerHist</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.history.CertificationControllerHist
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>dietControllerHist</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.history.DietControllerHist
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>immunizationControllerHist</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.history.ImmunizationControllerHist
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>educationControllerHist</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.history.EducationControllerHist
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>healthControllerHist</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.history.HealthControllerHist
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>referralControllerHist</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.history.ReferralControllerHist
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>riskControllerHist</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.history.RiskControllerHist
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>enrollmentControllerHist</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.history.EnrollmentControllerHist
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>participantControllerHist</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.history.ParticipantControllerHist
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>prescriptionControllerHist</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.history.PrescriptionControllerHist
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>voterControllerHist</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.history.VoterControllerHist
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>foodAvailableControllerHist</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.history.FoodAvailableControllerHist
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>pregnancyControllerHist</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.ce.history.PregnancyControllerHist
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>containersController</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.food.foods.ContainersController
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <managed-bean>
    <managed-bean-name>rulesFoodsController</managed-bean-name>
    <managed-bean-class>
    gov.mass.eos.web.controllers.food.rules.RulesFoodsController
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>

    <navigation-rule>
    <from-view-id>certification@none</from-view-id>

    <navigation-case>
    <from-outcome>search</from-outcome>
    <to-view-id>/pages/ce/search.jsp</to-view-id>
    <redirect />
    </navigation-case>

    <navigation-case>
    <from-outcome>messages</from-outcome>
    <to-view-id>/pages/ce/ceMessages.jsp</to-view-id>
    <redirect />
    </navigation-case>

    </navigation-rule>

    <navigation-rule>
    <from-view-id>certification@nutrition</from-view-id>

    <navigation-case>
    <from-outcome>pregnancy</from-outcome>
    <to-view-id>/pages/ce/nutrition/pregnancy.jsp</to-view-id>
    <redirect />
    </navigation-case>

    <navigation-case>
    <from-outcome>referrals</from-outcome>
    <to-view-id>/pages/ce/nutrition/referrals.jsp</to-view-id>
    <redirect />
    </navigation-case>

    <navigation-case>
    <from-outcome>breastfeeding</from-outcome>
    <to-view-id>/pages/ce/nutrition/breastfeeding.jsp </to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>breastpump</from-outcome>
    <to-view-id>/pages/ce/nutrition/breastpump.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>anthro</from-outcome>
    <to-view-id>/pages/ce/nutrition/anthro.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>blood</from-outcome>
    <to-view-id>/pages/ce/nutrition/blood.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>health</from-outcome>
    <to-view-id>/pages/ce/nutrition/health.jsp</to-view-id>
    <redirect />
    </navigation-case>

    <navigation-case>
    <from-outcome>diet</from-outcome>
    <to-view-id>/pages/ce/nutrition/diet.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>risk</from-outcome>
    <to-view-id>/pages/ce/nutrition/risk.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>immunization</from-outcome>
    <to-view-id>/pages/ce/nutrition/immunization.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>education</from-outcome>
    <to-view-id>/pages/ce/nutrition/education.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>careplan</from-outcome>
    <to-view-id>/pages/ce/nutrition/careplan.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>prescription</from-outcome>
    <to-view-id>/pages/ce/nutrition/prescription.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>food</from-outcome>
    <to-view-id>/pages/ce/nutrition/food.jsp</to-view-id>
    <redirect />
    </navigation-case>

    <navigation-case>
    <from-outcome>careplanhist</from-outcome>
    <to-view-id>/pages/ce/history/careplanHistory.jsp</to-view-id>
    <redirect />
    </navigation-case>

    <navigation-case>
    <from-outcome>breastfeedinghist</from-outcome>
    <to-view-id>/pages/ce/history/breastfeedingHistory.jsp</to-view-id>
    <redirect />
    </navigation-case>

    <navigation-case>
    <from-outcome>immunizationhist</from-outcome>
    <to-view-id>/pages/ce/history/immunizationHistory.jsp</to-view-id>
    <redirect />
    </navigation-case>

    <navigation-case>
    <from-outcome>anthrohist</from-outcome>
    <to-view-id>/pages/ce/history/anthroHistory.jsp</to-view-id>
    <redirect />
    </navigation-case>

    <navigation-case>
    <from-outcome>bloodhist</from-outcome>
    <to-view-id>/pages/ce/history/bloodHistory.jsp</to-view-id>
    <redirect />
    </navigation-case>

    <navigation-case>
    <from-outcome>healthhist</from-outcome>
    <to-view-id>/pages/ce/history/healthHistory.jsp</to-view-id>
    <redirect />
    </navigation-case>

    <navigation-case>
    <from-outcome>diethist</from-outcome>
    <to-view-id>/pages/ce/history/dietHistory.jsp</to-view-id>
    <redirect />
    </navigation-case>

    <navigation-case>
    <from-outcome>riskhist</from-outcome>
    <to-view-id>/pages/ce/history/riskHistory.jsp</to-view-id>
    <redirect />
    </navigation-case>

    <navigation-case>
    <from-outcome>educationhist</from-outcome>
    <to-view-id>/pages/ce/history/educationHistory.jsp</to-view-id>
    <redirect />
    </navigation-case>

    <navigation-case>
    <from-outcome>prescriptionhist</from-outcome>
    <to-view-id>/pages/ce/history/prescriptionHistory.jsp</to-view-id>
    <redirect />
    </navigation-case>

    <navigation-case>
    <from-outcome>foodavailablehist</from-outcome>
    <to-view-id>/pages/ce/history/foodAvailableHistory.jsp</to-view-id>
    <redirect />
    </navigation-case>

    <navigation-case>
    <from-outcome>pregnancyhist</from-outcome>
    <to-view-id>/pages/ce/history/pregnancyHistory.jsp</to-view-id>
    <redirect />
    </navigation-case>

    <navigation-case>
    <from-outcome>infantChart</from-outcome>
    <to-view-id>/pages/ce/charts/infantGrowthChart.jsp</to-view-id>
    <redirect />
    </navigation-case>

    <navigation-case>
    <from-outcome>prenatalChart</from-outcome>
    <to-view-id>/pages/ce/charts/prenatalWeightGrowthChart.jsp</to-view-id>
    <redirect />
    </navigation-case>
    </navigation-rule>

    <navigation-rule>
    <from-view-id>certification@demographics</from-view-id>

    <navigation-case>
    <from-outcome>members</from-outcome>
    <to-view-id>/pages/ce/demographics/members.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>addresses</from-outcome>
    <to-view-id>/pages/ce/demographics/addresses.jsp
    </to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>communication</from-outcome>
    <to-view-id>/pages/ce/demographics/communication.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>enrollment</from-outcome>
    <to-view-id>/pages/ce/demographics/enrollment.jsp</to-view-id>
    <redirect />
    </navigation-case>

    <navigation-case>
    <from-outcome>addresseshist</from-outcome>
    <to-view-id>/pages/ce/history/addressHistory.jsp</to-view-id>
    <redirect />
    </navigation-case>

    <navigation-case>
    <from-outcome>membershist</from-outcome>
    <to-view-id>/pages/ce/history/membersHistory.jsp</to-view-id>
    <redirect />
    </navigation-case>

    <navigation-case>
    <from-outcome>enrollmenthist</from-outcome>
    <to-view-id>/pages/ce/history/enrollmentHistory.jsp</to-view-id>
    <redirect />
    </navigation-case>

    <navigation-case>
    <from-outcome>referrals</from-outcome>
    <to-view-id>/pages/ce/demographics/referrals.jsp</to-view-id>
    <redirect />
    </navigation-case>

    <navigation-case>
    <from-outcome>voter</from-outcome>
    <to-view-id>/pages/ce/demographics/voter.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>voterhist</from-outcome>
    <to-view-id>/pages/ce/history/voterHistory.jsp</to-view-id>
    <redirect />
    </navigation-case>
    </navigation-rule>

    <navigation-rule>
    <from-view-id>certification@fi</from-view-id>

    <navigation-case>
    <from-outcome>checkDetail</from-outcome>
    <to-view-id>/pages/ce/fi_fmnp/checkDetail.jsp</to-view-id>
    <redirect />
    </navigation-case>

    <navigation-case>
    <from-outcome>checkFoodDetail</from-outcome>
    <to-view-id>/pages/ce/fi_fmnp/checkFoodDetail.jsp</to-view-id>
    <redirect />
    </navigation-case>

    <navigation-case>
    <from-outcome>print</from-outcome>
    <to-view-id>/pages/ce/fi_fmnp/print.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>print2</from-outcome>
    <to-view-id>/pages/ce/fi_fmnp/print2.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>reprint</from-outcome>
    <to-view-id>/pages/ce/fi_fmnp/reprint.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>void</from-outcome>
    <to-view-id>/pages/ce/fi_fmnp/void.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>reissue</from-outcome>
    <to-view-id>/pages/ce/fi_fmnp/reissue.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>fihistory</from-outcome>
    <to-view-id>/pages/ce/fi_fmnp/history.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>manual</from-outcome>
    <to-view-id>/pages/ce/fi_fmnp/manual.jsp</to-view-id>
    <redirect />
    </navigation-case>
    </navigation-rule>

    <navigation-rule>
    <from-view-id>certification@certify</from-view-id>
    <navigation-case>
    <from-outcome>certifypagehist</from-outcome>
    <to-view-id>/pages/ce/history/certificationHistory.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>certifypagecomm</from-outcome>
    <to-view-id>/pages/ce/ceComments.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>certifypage</from-outcome>
    <to-view-id>/pages/ce/certify/certify.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>certifypagecommhist</from-outcome>
    <to-view-id>/pages/ce/history/commentsHistory.jsp</to-view-id>
    <redirect />
    </navigation-case>
    </navigation-rule>

    <navigation-rule>
    <from-view-id>certification@services</from-view-id>
    <navigation-case>
    <from-outcome>appointments</from-outcome>
    <to-view-id>/pages/ce/services/appointments.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>letters</from-outcome>
    <to-view-id>/pages/ce/services/letters.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>reports</from-outcome>
    <to-view-id>/pages/ce/services/reports.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>transfer</from-outcome>
    <to-view-id>/pages/ce/services/transfer.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>survey</from-outcome>
    <to-view-id>/pages/ce/services/survey.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>surveyhist</from-outcome>
    <to-view-id>/pages/ce/history/surveyHistory.jsp</to-view-id>
    <redirect />
    </navigation-case>

    <navigation-case>
    <from-outcome>referralshist</from-outcome>
    <to-view-id>/pages/ce/history/referralHistory.jsp</to-view-id>
    <redirect />
    </navigation-case>

    <navigation-case>
    <from-outcome>transferhist</from-outcome>
    <to-view-id>/pages/ce/history/transferHistory.jsp</to-view-id>
    <redirect />
    </navigation-case>

    <navigation-case>
    <from-outcome>retreive</from-outcome>
    <to-view-id>/pages/ce/services/retreive.jsp</to-view-id>
    <redirect />
    </navigation-case>

    </navigation-rule>

    <navigation-rule>
    <from-view-id>certification@eligibility</from-view-id>

    <navigation-case>
    <from-outcome>participant</from-outcome>
    <to-view-id>/pages/ce/eligibility/participant.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>income</from-outcome>
    <to-view-id>/pages/ce/eligibility/income.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>incomehist</from-outcome>
    <to-view-id>/pages/ce/history/incomeHistory.jsp</to-view-id>
    <redirect />
    </navigation-case>

    <navigation-case>
    <from-outcome>participanthist</from-outcome>
    <to-view-id>/pages/ce/history/participantHistory.jsp</to-view-id>
    <redirect />
    </navigation-case>

    </navigation-rule>

    <navigation-rule>
    <from-view-id>food@manufacturers</from-view-id>

    <navigation-case>
    <from-outcome>properties</from-outcome>
    <to-view-id>/pages/food/manufacturers/manufatcurersProperties.jsp</to-view-id>
    <redirect />
    </navigation-case>

    <navigation-case>
    <from-outcome>rebate</from-outcome>
    <to-view-id>/pages/food/manufacturers/manufatcurersRebate.jsp</to-view-id>
    <redirect />
    </navigation-case>

    <navigation-case>
    <from-outcome>rebatehist</from-outcome>
    <to-view-id>/pages/ce/history/manufacturerRebatesHistory.jsp</to-view-id>
    <redirect />
    </navigation-case>
    </navigation-rule>

    <navigation-rule>
    <from-view-id>food@foods</from-view-id>

    <navigation-case>
    <from-outcome>containers</from-outcome>
    <to-view-id>/pages/food/foods/foodsContainers.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>product</from-outcome>
    <to-view-id>/pages/food/foods/foodsProduct.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>vendor</from-outcome>
    <to-view-id>/pages/food/foods/foodsVendorProduct.jsp</to-view-id>
    <redirect />
    </navigation-case>
    </navigation-rule>

    <navigation-rule>
    <from-view-id>food@model</from-view-id>

    <navigation-case>
    <from-outcome>package</from-outcome>
    <to-view-id>/pages/food/model/modelFoodPackage.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>partprofiles</from-outcome>
    <to-view-id>/pages/food/model/modelParticipantProfiles.jsp</to-view-id>
    <redirect />
    </navigation-case>
    </navigation-rule>

    <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>

    <navigation-rule>
    <from-view-id>food@rules</from-view-id>

    <navigation-case>
    <from-outcome>rfoods</from-outcome>
    <to-view-id>/pages/food/rules/rulesFoods.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>partprofiles</from-outcome>
    <to-view-id>/pages/food/rules/rulesParticipantProfiles.jsp</to-view-id>
    <redirect />
    </navigation-case>
    </navigation-rule>

    <navigation-rule>
    <from-view-id>scheduler@none</from-view-id>

    <navigation-case>
    <from-outcome>search</from-outcome>
    <to-view-id>/pages/scheduler/scheduler_main.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>wicapp</from-outcome>
    <to-view-id>/pages/scheduler/wicAppointment.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>nonwicapp</from-outcome>
    <to-view-id>/pages/scheduler/nonWicAppointment.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>nutrition</from-outcome>
    <to-view-id>/pages/scheduler/nutritionClass.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>partsearch</from-outcome>
    <to-view-id>/pages/scheduler/participantSearch.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>householdsearch</from-outcome>
    <to-view-id>/pages/scheduler/householdSearch.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>topiclist</from-outcome>
    <to-view-id>/pages/scheduler/nutritionTopicsList.jsp</to-view-id>
    <redirect />
    </navigation-case>
    </navigation-rule>

    <navigation-rule>
    <from-view-id>sysadmin@office</from-view-id>

    <navigation-case>
    <from-outcome>user</from-outcome>
    <to-view-id>/pages/sysadmin/office/userSearch.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>userProperties</from-outcome>
    <to-view-id>/pages/sysadmin/office/userProperties.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>referrals</from-outcome>
    <to-view-id>/pages/sysadmin/office/referralsProperties.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>clinic</from-outcome>
    <to-view-id>/pages/sysadmin/office/clinicSearch.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>clinicProperties</from-outcome>
    <to-view-id>/pages/sysadmin/office/clinicProperties.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>transferFamilies</from-outcome>
    <to-view-id>/pages/sysadmin/office/transferFamilies.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>survey</from-outcome>
    <to-view-id>/pages/sysadmin/office/surveySearch.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>surveyProperties</from-outcome>
    <to-view-id>
    /pages/sysadmin/office/surveyProperties.jsp
    </to-view-id>
    <redirect />
    </navigation-case>

    </navigation-rule>

    <navigation-rule>
    <from-view-id>sysadmin@info</from-view-id>

    <navigation-case>
    <from-outcome>sessions</from-outcome>
    <to-view-id>/pages/sysadmin/info/sessions.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>errors</from-outcome>
    <to-view-id>/pages/sysadmin/info/errorLog.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>messages</from-outcome>
    <to-view-id>/pages/sysadmin/info/messages.jsp</to-view-id>
    <redirect />
    </navigation-case>

    </navigation-rule>

    <navigation-rule>
    <from-view-id>sysadmin@scheduler</from-view-id>

    <navigation-case>
    <from-outcome>onetime</from-outcome>
    <to-view-id>
    /pages/sysadmin/scheduler/clinicOneTimeSchedule.jsp
    </to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>weekly</from-outcome>
    <to-view-id>
    /pages/sysadmin/scheduler/clinicWeeklySchedule.jsp
    </to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>monthly</from-outcome>
    <to-view-id>
    /pages/sysadmin/scheduler/clinicMonthlySchedule.jsp
    </to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>calendar</from-outcome>
    <to-view-id>
    /pages/sysadmin/scheduler/calendar.jsp
    </to-view-id>
    <redirect />
    </navigation-case>
    </navigation-rule>

    <navigation-rule>
    <from-view-id>sysadmin@parameters</from-view-id>

    <navigation-case>
    <from-outcome>sysparms</from-outcome>
    <to-view-id>
    /pages/sysadmin/parameters/systemParameters.jsp
    </to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>lists</from-outcome>
    <to-view-id>
    /pages/sysadmin/parameters/listManagement.jsp
    </to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>risks</from-outcome>
    <to-view-id>
    /pages/sysadmin/parameters/riskCodes.jsp
    </to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>nutrition</from-outcome>
    <to-view-id>
    /pages/sysadmin/parameters/nutritionEducation.jsp
    </to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>income</from-outcome>
    <to-view-id>
    /pages/sysadmin/parameters/incomeGuidelines.jsp
    </to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>incomeGuidelineProperties</from-outcome>
    <to-view-id>
    /pages/sysadmin/parameters/incomeGuidelineProperties.jsp
    </to-view-id>
    <redirect />
    </navigation-case>
    </navigation-rule>

    <navigation-rule>
    <from-view-id>sysadmin@lp</from-view-id>

    <navigation-case>
    <from-outcome>lpSearch</from-outcome>
    <to-view-id>/pages/sysadmin/lp/lpSearch.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>lpProperties</from-outcome>
    <to-view-id>
    /pages/sysadmin/lp/lpProperties.jsp
    </to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>lpAddress</from-outcome>
    <to-view-id>
    /pages/sysadmin/lp/lpAddress.jsp
    </to-view-id>
    <redirect />
    </navigation-case>
    </navigation-rule>

    <navigation-rule>
    <from-view-id>sysadmin@site</from-view-id>

    <navigation-case>
    <from-outcome>siteSearch</from-outcome>
    <to-view-id>/pages/sysadmin/site/siteSearch.jsp</to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>siteProperties</from-outcome>
    <to-view-id>
    /pages/sysadmin/site/siteProperties.jsp
    </to-view-id>
    <redirect />
    </navigation-case>
    <navigation-case>
    <from-outcome>siteAddress</from-outcome>
    <to-view-id>
    /pages/sysadmin/site/siteAddress.jsp
    </to-view-id>
    <redirect />
    </navigation-case>
    </navigation-rule>

    <navigation-rule>
    <from-view-id>messaging@none</from-view-id>

    <navigation-case>
    <from-outcome>search</from-outcome>
    <to-view-id>/pages/messaging/messaging_main.jsp</to-view-id>
    <redirect />
    </navigation-case>
    </navigation-rule>

    <navigation-rule>
    <from-view-id>reports@none</from-view-id>

    <navigation-case>
    <from-outcome>search</from-outcome>
    <to-view-id>/pages/reports/reports_main.jsp</to-view-id>
    <redirect />
    </navigation-case>
    </navigation-rule>

    <navigation-rule>

    <navigation-case>
    <description>
    This is default to error if nothing is passed
    </description>
    <to-view-id>/pages/error/navigation_error.jsp</to-view-id>
    <redirect />
    </navigation-case>

    </navigation-rule>

    <validator>
    <validator-id>regexValidator</validator-id>
    <validator-class>
    gov.mass.eos.web.validators.RegExValidator
    </validator-class>
    </validator>
    <validator>
    <validator-id>alphaOnlyValidator</validator-id>
    <validator-class>
    gov.mass.eos.web.validators.AlphaOnlyValidator
    </validator-class>
    </validator>
    <validator>
    <validator-id>nameValidator</validator-id>
    <validator-class>
    gov.mass.eos.web.validators.NameValidator
    </validator-class>
    </validator>
    <validator>
    <validator-id>dateCheckValidator</validator-id>
    <validator-class>
    gov.mass.eos.web.validators.DateCheckValidator
    </validator-class>
    </validator>

    <component>
    <component-type>referenceSelectOneMenu</component-type>
    <component-class>
    gov.mass.eos.web.components.UIReferenceSelectOneMenu
    </component-class>
    </component>

    <component>
    <component-type>roundedBox</component-type>
    <component-class>
    gov.mass.eos.web.components.UIRoundedBox
    </component-class>
    </component>

    <application>
    <navigation-handler>
    gov.mass.eos.web.navigation.EosNavigationHandler
    </navigation-handler>
    <locale-config />
    </application>
    <application>
    <message-bundle>messages_en</message-bundle>
    <locale-config />
    </application>

    <factory />
    </faces-config>

    #248464 Reply

    Riyad Kalla
    Member

    Would you be able to send us this project to test? We are happy to erase it after we are done, but this is very odd.

    If you are, please export it to a zip (File > Export > Archive) and send it to support@genuitec.com ATTN Riyad. Be sure everything included can be compiled into a valid project. If the zip is too large you can remove dependent libraries like Hibernate that I can re-add over here on this end.

    #248470 Reply

    Don Nelson
    Member

    @support-rkalla wrote:

    Would you be able to send us this project to test? We are happy to erase it after we are done, but this is very odd.

    If you are, please export it to a zip (File > Export > Archive) and send it to support@genuitec.com ATTN Riyad. Be sure everything included can be compiled into a valid project. If the zip is too large you can remove dependent libraries like Hibernate that I can re-add over here on this end.

    Sure – how large is too large? all zipped up, the file is 24Mb, 18Mb of which are jar files.

    #248481 Reply

    Riyad Kalla
    Member

    Try and send that, if it bounces back try and pull out common JARs that I can just re-add here.

    #248579 Reply

    Don Nelson
    Member

    Hi Riyad,

    I have sent you the zip file with several jars removed for reduction in size, see the email for details.

    Thanks much for your attention to this matter.

    Don

    #248592 Reply

    Riyad Kalla
    Member

    Don,
    We got it, I replied to let you know I tested it and confirmed your findings and then sent it off to the JSF developers to see what is going on. I tried to narrow it down using a few test projects and wasn’t able to reproduce it though. HOpefully they will find something.

    #248615 Reply

    Riyad Kalla
    Member

    Don,
    This is officially the easiest fix of all time, go into your web.xml file, and change your reference to faces-config.xml from this:
    WEB-INF/faces-config.xml

    to this (note the slash infront):
    /WEB-INF/faces-config.xml

    That will get rid of the duplication errors. This had to do with some code that followed the JSF spec too closely and was actually resolving the WEB-INF/faces-config.xml file and /WEB-INF/faces-config.xml files as two different files then complaining of duplicates. We should get that fixed soon.

    #248652 Reply

    Don Nelson
    Member

    Wow – that’s great! Thanks much for your reply.

Viewing 12 posts - 1 through 12 (of 12 total)
Reply To: [Closed] Once again, problems with faces-config and 4.1.1

You must be logged in to post in the forum log in