code: @Override
  	public void setBean(final Object bean) {
  		BeanAndProviderBoundComponentModel model = getOrCreateComponentModel();
  		model.setBean(bean);
  
  		if (getBeanProperty() == null) {
  			setBeanProperty(".");
  		}
  		// Remove values in scratch map
  		removeBeanFromScratchMap();
  	}
docs: Sets the bean associated with this WBeanComponent. This method of bean association is discouraged, as the bean
  will be stored in the user's session. A better alternative is to provide a BeanProvider and a Bean Id.
  
  @param bean the bean to associate