Menu

UI layout initialization error

Anonymous
2013-02-23
2013-09-05
  • 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-07-24

    Hi
    I have the same error.

    thanks alot
    Abbas

     
  • Kay Wrobel

    Kay Wrobel - 2013-07-29

    Guys, those are all older versions... Please test with the most current ones out there. Use 0.15 if you're on 7.2.1 or 7.3 without recent updates, or 0.15.2 if you've recently updated 7.3 or are using 7.3.1. Particularly, I remember versions 0.9 and 0.10 to have been problematic. Thanks.

     
  • Neil Franken

    Neil Franken - 2013-09-05

    I have exactly the same error when working on a large set of entities. I am using Netbeans 7.3 with plugin nbpfcrudgen-0.15-7.3impl. It works perfectly when I run the plugin on about 10-15 tables. When I import the entire database about 120+ tables it deploys but on opening the page I get:

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

    Will see if I can find a work around.

     
  • Neil Franken

    Neil Franken - 2013-09-05

    This is a mojarra issue. I updated my glassfish mojarra to the latest version and the error went away. See this blog entry on how to do it. http://blog.eisele.net/2012/07/upgrading-mojarra-in-glassfish.html

     

Anonymous
Anonymous

Add attachments
Cancel