@ Override public void preparePaint ( final Request request ) { // Clear all registered controls on Session SubordinateControlHelper . clearAllRegisteredControls ( ) ; super . preparePaint ( request ) ; // Apply Controls (Use values from the component models) SubordinateControlHelper . applyRegisteredControls ( request , false ) ; }
After the prepare paint phase apply the registered subordinate controls to make sure all the components are in the correct state before being rendered to the client .