code: @Override
  	public void preparePaint(final Request request) {
  		// Set session token
  		UIContext uic = UIContextHolder.getCurrent();
  		if (uic.getEnvironment().getSessionToken() == null) {
  			uic.getEnvironment().setSessionToken(UUID.randomUUID().toString());
  		}
  		super.preparePaint(request);
  	}
docs: {@inheritDoc}