Hi Simon, Yeah I guess that's never really easy in big projects.
Can you also provide a small snippet of the JSP (or Facelet) page? I am mostly interested in the table definitions.. Regards, Jakob 2010/3/9 schneidc <[email protected]> > > Hi Jakob, > > puh, providing some snipptes isn't easy as the code is pretty complex, but > I'll try. > > private VorgangListMainModel model; > > @PostConstruct > public void init() { > _umbuchungComponentController.addReloadEventListener(new > EventListener<ReloadEvent>() { > public void processEvent(ReloadEvent event) { > VorgangListeController.this.update(); > } > }); > if (!DomainSCAContext.isUnitTestMode()) { > /* > * non-lazy construction of some controllers > */ > for (int i = 0; i < > CONTROLLERS_TO_BE_INITIALIZED_NON_LAZY.length; i++) { > String referenceName = "#{" + > CONTROLLERS_TO_BE_INITIALIZED_NON_LAZY[i] > + "}"; > > > > FacesContext.getCurrentInstance().getApplication().createValueBinding(referenceName).getValue( > > FacesContext.getCurrentInstance()); > } > } > update(); > } > > public void update() { > model.getFirstTable.clear(); > mode.getSecondTable.clear(); > // code for populating both tables > } > > Each of our jsf pages has two managed beans, one for the actions (the > controller) and the other containing all the content (the model), e.g. > lists > for tables, Strings for labels etc... > The tables have to be populated in a postConstruct method as obviously the > model isn't injected at construction time yet. > > I hope the above snippets are of some use, if not I'll try to explain it in > more detail. > > Thanks > Simon > -- > View this message in context: > http://old.nabble.com/Datastructure-filled-but-table-remains-empty-%28at-first%29-tp27766007p27835180.html > Sent from the MyFaces - Users mailing list archive at Nabble.com. > >

