Menu

no edit, view, delete buttons + mobile pages are not generated

Anonymous
2015-04-21
2015-12-02
  • Anonymous

    Anonymous - 2015-04-21

    Hi
    I am using:
    nbpfcrudgen-0.30-8.0.2_patch1-impl
    NetBeans IDE 8.0.2 (Build 201411181905)
    GlassFish Server 4
    Primefaces 5.0

    I followed the steps http://sourceforge.net/p/nbpfcrudgen/wiki/GettingStarted/

    Everything worked fine but when I went into the apps I can only see the create button. The edit, view and delet buttons are not visible even when I choose an item.

    Also despite the fact that I ticked the generation of mobile pages, no page were generated.

    Can you please help ?

    Many thanks

    Regards

     
  • Kay Wrobel

    Kay Wrobel - 2015-04-22

    Hi. Are you using JSF 2.2? If so, try adding the beans.xml. There's a problem with CDI detection if the beans.xml file isn't there. Other than that, try to re-generate the pages. I had that happen to me only once where the mobile pages didn't get generated.

    Regarding the other buttons not being there: They are on the context menu. Select a row and then right-click. The buttons will be there including buttons for parent and child relationships.

    I must admit, I have not updated the Wiki page and screen shots here on SourceForge. Thank you for reminding me that people actually do look at those and that I should maintain them. I should also probably point out some of the more subtle features this generator now has that are not very obvious or even documented. So thanks.

    Let me know if you still run into issues.

     
    • Anonymous

      Anonymous - 2015-09-07

      Good Morning
      I presented the drawback mentioned with beans.xml file to not display errors CDI for mobile elements. No beans.xml as generate the file or where to get it. I appreciate your cooperation with the subject

      Cheers

       
  • Kay Wrobel

    Kay Wrobel - 2015-04-22

    Also: I strongly suggest you download PF 5.2 for better mobile pages. Mobile was first integrated into mainline PrimeFaces with 5.0, but it was not as feature rich as it is now. But be aware that it will work best with JSF 2.2, which comes with Glassfish 4.1, I believe. Not sure about 4.0.

     
  • Anonymous

    Anonymous - 2015-04-22

    Hi,
    Many Thanks for your answer, I found the context menu it's super . I jumped from nbpfcrudgen-0.23 to nbpfcrudgen-0.30 so it's new for me. I still have trouble as the button are not reacting (I also switch from Primefaces 4 to 5) but I will try to work on it before bothering you ;-).

    I also have Glassfish 4.1 so I will try to run on it

    Yes I am using Jsf 2.2, thanks for your advice on beans.xml and sorry for my dummy question: I found that it must be put on src/main/webapp/WEB-INF/ but I don't know what to put in it, any tip ?

    I didn't noticed that 5.2 was available, I will try to integrate it but my NetBeans had some challenge to recognize 5.1 as a PF valid lib it might be tricky for 5.2 ... we will see.

    BTW I wanted to thanks you, as you might have noticed I am not really a tech guy and your work is really facilitating my life. This plus your fast support is really helping , many many thanks.

    Regards

     
  • Anonymous

    Anonymous - 2015-04-23

    Hi,
    I followed your advices. I now have a very nice webapp with a cool context menu (working fine) running with PM 5.2 thnks to your nbpfcrudgen-0.30-8.0.2_patch1-impl. Thanks.

    For the mobil unfortunately I might have made something wrong because I still don't get any file generated. I created a bean.xml at the root of my Web-Inf folder,( it's an empty beans.xml generated by NB) and I ran the CRUD generator but no file were generated. From my understanding the only thing I have to specify on the tab are the folders I tried by putting specific folders or the same one as the one specified in the JSF page but in none of the case I was able to get any file created.

    If you can help that would be very much appreciated.

    Regards

     
  • Anonymous

    Anonymous - 2015-04-23

    I got it ! to get it work you need to leave blank the folder fields in the mobiles pages tab.
    Then all pages are generated in the new mobile folder

    Thanks again

    Regards

     
  • Kay Wrobel

    Kay Wrobel - 2015-04-23

    You're welcome.

     
  • Kay Wrobel

    Kay Wrobel - 2015-04-23

    Regarding NetBeans not detecting your library when you create the project: that happens to me too. It used to work, but something must have changed in the NetBeans code. Right now, it only lists the one PrimeFaces that ships with NetBeans. What I usually do is that I don't add PrimeFaces during project creation, but I add it later by clicking on the Libraries node in the project and the "Add Library". Word of caution, though, that for me currently, the generator does not detect PrimeFaces properly unless I "Add JAR/Folder" and select the primefaces jar file manually. See ticket.

     

    Related

    Tickets: #19

  • Kay Wrobel

    Kay Wrobel - 2015-04-23

    Regarding mobile pages not being generated, I have opened up a ticket for that issue.

     

    Related

    Tickets: #20

  • Anonymous

    Anonymous - 2015-04-24

    Thanks you for your help
    Regards

     
  • Anonymous

    Anonymous - 2015-11-17

    Hi..
    I'm using nbpfcrudgen-0.34.2-8.1-impl (the lates version) to generate app included mobile page...
    after fix it the small things (almost path reference I just added '/'), the app working well, but on mobile page for edit and create data there are some serious problem, the browser just hang out (no response).
    How I shoul do?

    Regards,
    Ferdie

    Note. Excellent generator, it is realy helpfull.

     
  • Anonymous

    Anonymous - 2015-11-18

    Hi...

    I'm using nbpfcrudgen-0.34.2-8.1-impl (the latest version), this is very cool, speciallyfor the mobile page, 1st test I got problem, the browse hang out (look working but no action), after 2 days trial and error i found the problem, do not use tooltips component on the page.
    Many thaks to the generator team.

    Regards,
    Ferdie

     
    • Kay Wrobel

      Kay Wrobel - 2015-12-02

      Thank you for your feedback. So the tooltip causes a mobile page to freeze or hang? That's curious. I have to check that out.

       

Anonymous
Anonymous

Add attachments
Cancel