From: Ronald H. <em...@ro...> - 2004-06-06 19:14:25
|
Another one from me, where should I save the state for the entire window (for instance the logged in user)? I thought I would extend ApplicationWindow and add the objects I would like to save, but all of the menu's and toolbars and views and windows are all private, so when using the following definition <bean id="mainWindow" class="some.class.called.MainResourceWindow" singleton="false"> <property name="menuBar"> <ref bean="mainWindowMenuBar"/> </property> <property name="toolBar"> <ref bean="mainWindowToolBar"/> </property> <property name="user"><ref bean="ronald"/></property> </bean> where MainResourceWindow extends ApplicationWindow, I will get erorrs. So should I introduce another state object, or should the properties of ApplicationWindow be protected? Ronald |