code: public static Object unwrapFormBean( ActionForm form )
      {
          if ( form == null ) return null;
  
          if ( form instanceof AnyBeanActionForm )
          {
              return ( ( AnyBeanActionForm ) form ).getBean();
          }
  
          return form;
      }
docs: TODO: make this pluggable