@ Override protected void preparePaintComponent ( final Request request ) { if ( ! isInitialised ( ) ) { MyDataBean myBean = new MyDataBean ( ) ; myBean . setName ( "My Bean" ) ; myBean . addBean ( new SomeDataBean ( "blah" , "more blah" ) ) ; myBean . addBean ( new SomeDataBean ( ) ) ; repeaterFields . setData ( myBean ) ; setInitialised ( true ) ; } }
Override preparepaint to initialise the data on first acecss by a user .