Package net.sf.tapestry.valid

Examples of net.sf.tapestry.valid.ValidationDelegate


public class Part4 extends BasePage
{
  public void enterDetails(IRequestCycle cycle) throws RequestCycleException
  {
    // Submission has been performed. Validate the fields
    ValidationDelegate delegate = (ValidationDelegate) getBeans().getBean("delegate");
    if (delegate.getHasErrors())
    {
      // there are errors
      return;
    }
View Full Code Here


* @author Neil Clayton
*/
public class Part2 extends BasePage {
  public void enterDetails(IRequestCycle cycle) throws RequestCycleException {
    // Submission has been performed. Validate the fields
    ValidationDelegate delegate = (ValidationDelegate)getBeans().getBean("delegate");
    if(delegate.getHasErrors()) {
      // there are errors
      return;
    }
   
    cycle.setPage("Success");
View Full Code Here

TOP

Related Classes of net.sf.tapestry.valid.ValidationDelegate

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.