Menu

UI layout initialization error

Anonymous
2013-02-23
2013-09-18
  • Anonymous

    Anonymous - 2013-02-23

    Hi Kay,

    Thank you for the wonderful plugin, saw some video... it is really simple to use.
    2 words> LOVE IT

    But recently while testing with the plugin, i found one bug potential bug in the plugin.
    The pages I generated show me this error


    UI layout initialization error
    The center-pane element does not exist
    The center-pane is a required element


    Im testing with following items
    Netbeans 7.2.1 and 7.3
    Postgres 9.2.3
    JDK v7u11
    Glassfish 3.1.2.2
    Primefaces 3.4.2 and 3.5


    Combination of setting Result [Everything run from fresh project expect the db]
    Netbeans 7.2.1 + Primefaces 3.4.2 + nbpfcrudgen-0.9-7.2.1impl.zip
    Result: Run perfectly [The perfect combination]

    Netbeans 7.2.1 + Primefaces 3.5 + nbpfcrudgen-0.9-7.2.1impl.zip/0.10/0.11/0.12/0.12.1
    Result: UI layout error [Primefaces 3.5 internal bug?]

    Netbeans 7.2.1 + Primefaces 3.4.2 + nbpfcrudgen-0.10-7.2.1impl.zip/0.11/0.12/0.12.1
    Result: UI layout error [nbpfcrudgen v0.10 and above bug?]

    Netbeans 7.2.1/7.3 + Primefaces 3.5 + nbpfcrudgen-0.12.1-src.zip + [Select specific table, not all table]
    Result: Run perfectly [If only I select minimal table]


    I believe this have to do "h:form id" >> http://forum.primefaces.org/viewtopic.php?f=3&t=20032

    Thank you
    Lucas

     
  • Anonymous

    Anonymous - 2013-02-23

    Answer to my own problem above
    [Solve] --> Upgrade Mojarra version, Thank to [@David Rodriguez] at review pages

     
  • Kay Wrobel

    Kay Wrobel - 2013-02-25

    So was this related to 3.5 in conjunction with Mojarra version? Or was it that my plugin generated erroneously?

     
  • Anonymous

    Anonymous - 2013-02-27

    I believe mojarra (older version) are to be blamed.
    Coz it cant handle too many table (id)... as i noticed you recently hv added the entityname_form_id feature. Mayb this is the real issue.

    But there is something fishy bout 3.5 too.
    This ver is still very new, need more expert to look into it.

     
  • Anonymous

    Anonymous - 2013-09-06

    I have the same problem...To solve this issue, i remove every item of the menubar then i run the proyect. after that i add all the items to the menu again. This works fine until i close the IDE o Restart the Server.

    GlassFish Server 3.1.2

     
    • Kay Wrobel

      Kay Wrobel - 2013-09-18

      Hmmmm. Well that is weird then. I gotta say, the code generator had been working really good, almost flawlessly, with the GF3.1.2, JSF2.1 and PF3.0 through 3.4 versions. But lately, I'm just hearing bad things and with all the new stuff in NetBeans 7.3.1 (GF4,JSF2.2 and PF3.5 which is incompatible with JSF2.2) things are just plain broken. Until there is a new stable version of PF out that works with JSF2.2 and GF4, I'd say: steer clear of the new environment and stay on the older GF/JSF/PF combo.

       

Anonymous
Anonymous

Add attachments
Cancel