Menu

Will Not Create Facades/JSFControllers etc...

Anonymous
2013-06-05
2019-07-19
  • Anonymous

    Anonymous - 2013-06-05

    I installed the v0.14 version of your software. I'm using NetBeans 7.3 on a Win 7 Pro box w/ latest JAVA updates installed. I create a new project, select JSF 2 w/ PrimeFaces 4.0 (latest build). I use a MS SQL 2005 Express database, local on the machine. I can see all tables and build the entities that I need. When I then use the PrimeFaces wizard (after installing the v0.14 .nbm plugin file), nothing happens when I select all or any of the entities to develop facades and jsfcontrollers and jsf pages. Computer just sits there... Any ideas?

     
  • Kay Wrobel

    Kay Wrobel - 2013-06-07

    Hi there. I'm going to try to recreate your problem in a Windows 7 VM. Just downloaded the latest JDK 7 SE and Netbeans 7.3 from their web sites. I won't have a SQL Server 2005 Express database available for testing, so I will just use the bundled SAMPLE database that comes with Glassfish. One thing that confuses me here, are you using PrimeFaces 4.0? I'm asking because the latest PrimeFaces version on primefaces.org is 3.5.6, which I am unable to download since I'm not a paying ELITE user. So I will use the latest 3.5 community download for that test. But how would you use 4.0? Is that even stable?
    I will post back with my findings.

     
  • Kay Wrobel

    Kay Wrobel - 2013-06-07

    So, I just ran through the process of creating a new Web Application project to which I added JSF 2.1 and PrimeFaces 3.5 from the Community Download section. Then I added Entities from Database using the jdbc/sample data source that was pre-configured by NetBeans and added all tables. Then I ran the PrimeFaces CRUD Generator wizard, added all entities to the list, put the different classes in their respective packages (called them: facade, beans, converters) and clicked on "Finish". The wizard generated the source files as expected and I ended up with a fully functional application. The wizard did not get stuck.

    I should mention that I installed the NBM package that I had compiled on my 64-bit Debian GNU/Linux 7.0 system using OpenJDK 7 which is the same package that I uploaded to SourceForge. No problems.

     
  • Anonymous

    Anonymous - 2013-06-09

    hi Kay! I'm having the same issue.After creating a new Java web project, creating the entity classes from database and choosing the "PrimeFaces pages from entity classes option" There's no available entity classes, the list is simply empty.
    I followed the process you explained in the "Installing PrimeFaces CRUD Generator From Source in NetBeans 7.3" video on Youtube and I can't go beyond minute 5:09 because the list of available entity classes is empty as I said.
    Could you help me please?
    Thanks in advance.

     
  • Anonymous

    Anonymous - 2013-06-09

    it's ok now I solved it.I just had to close NetBeans and launch it again!

     
  • Anonymous

    Anonymous - 2013-06-11

    When I 'downgraded' to 3.5 version, the installer worked with respect to creating facades and jsf controllers. Only problem now is that there is a ui layout error -- no center panel

    PF 4.0 can be found on primefaces repository

    Thanks for your response.

     

Anonymous
Anonymous

Add attachments
Cancel