Package org.apache.cocoon.xmlform

Examples of org.apache.cocoon.xmlform.Form


      if (validator_ == null ) setup( resolver );
     
      // reset the session state if requested
      if ( request.getParameter("reset"!= null) session.removeAttribute( formName_ );

      Form form = (Form) session.getAttribute( formName_ );
      if (form == null)
        {
          // first time here, populate the bean with initial values
          form = new Form();
          form.setInstance( new  TestBean() );
          session.setAttribute( formName_, form );
        }
      TestBean  jBean = (TestBean) form.getInstance();

      // call prepare in case the bean needs to massaged before population
      prepare( jBean );
     
      // update the bean with request parameter values
View Full Code Here

TOP

Related Classes of org.apache.cocoon.xmlform.Form

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.