package org.richfaces;

import javax.faces.event.AbortProcessingException;
import javax.faces.event.ActionEvent;
import javax.faces.event.ActionListener;




public class RegisterAction implements ActionListener
{
	private Bean bean;
	
	public void processAction(ActionEvent event) throws AbortProcessingException 
	{
		System.out.println("register action event");	
	}
	
	public String ok() {
		System.out.println("register action");	
		return "success";
	}

	/**
	 * @return the bean
	 */
	public Bean getBean() {
		return bean;
	}

	/**
	 * @param bean the bean to set
	 */
	public void setBean(Bean bean) {
		this.bean = bean;
	}
	
}	