Project

General

Profile

« Previous | Next » 

Revision b3e242fe

Added by Andreas Kohlbecker almost 7 years ago

fix #6810 View for starting new registrations implemented

View differences:

src/main/java/eu/etaxonomy/vaadin/mvp/AbstractPresenter.java
208 208
    /**
209 209
	 * Extending classes should overwrite this method in order to perform logic
210 210
	 * after presenter has finished initializing.
211
	 *
212
	 * At this point in the life cycle of the MVP the {@link AbstractView#initContent() initContent()}
213
	 * method has been executed already.
211 214
	 */
212 215
	protected void onPresenterReady() {
213 216
	    logger.trace(String.format("Presenter %s ready", _toString()));
......
267 270

  
268 271
	public final void onViewExit() {
269 272
	    logger.trace(String.format("%s onViewExit()", _toString()));
273
	    handleViewExit();
270 274
	    // un-register as request start and end listener
271 275
	    if(conversationBound){
272 276
    	    logger.trace(String.format("<<<<< %s onViewExit() unbind()", _toString()));
......
285 289
        } else {
286 290
            throw new RuntimeException("Using the CdmSpringVaadinServletService is required for proper per view conversation handling");
287 291
        }
288
	    handleViewExit();
289 292
	}
290 293

  
291 294
	/**
......
301 304
    /**
302 305
     * Extending classes may overwrite this method to react to
303 306
     * the event when user leaves the view that this presenter
304
     * governs.
307
     * governs. This method is executed before un-binding and closing the
308
     * conversation holder.
305 309
     */
306 310
    public void handleViewExit() {
307 311
    }

Also available in: Unified diff