Menu

Primefaces CRUD generated application

Anonymous
2014-05-14
2014-06-06
  • Anonymous

    Anonymous - 2014-05-14

    Hi ,

    I've been able to generate my application from mysql schema talbles.

    I noticed when i name the bundle file application.properties wich is by default Bundle.properties, that the application is not working.
    I've a message below
    javax.el.PropertyNotFoundException: The class 'org.apache.catalina.core.ApplicationContextFacade' does not have the property 'application.Welcome'

    I don't know why, i renamed the file myressources.properties and every thing goes right.

    Thank you for the plugin.

     
  • Kay Wrobel

    Kay Wrobel - 2014-05-20

    Moved to Troubleshooting forum.

     
  • Kay Wrobel

    Kay Wrobel - 2014-05-20

    You can't simply rename the bundle file. In addition, you will have to edit the faces-config.xml file to reflect the changed file name. Also the bundle itself is represented by a variable. Don't confuse the bundle variable with the bundle file name. Hope that helps.

     
  • Anonymous

    Anonymous - 2014-05-27

    That is what i do, i checked that in faces-config.xml is correct
    <resource-bundle>
    <base-name>/application</base-name>
    application
    </resource-bundle>

    simple by regenrating the application with another name of the Bundle "myrerssources"
    <resource-bundle>
    <base-name>/myrerssources</base-name>
    myrerssources
    </resource-bundle>

    The error desapears

     

Anonymous
Anonymous

Add attachments
Cancel