package com.icesoft.test;

import com.icesoft.faces.component.ext.HtmlCommandButton;

public class TestBean{
	private String type;
	private HtmlCommandButton button;

	public HtmlCommandButton getButton(){
		return button;
	}

	public void setButton(HtmlCommandButton button){
		this.button = button;
	}

	public String testCompBinding(){
		button.setType("reset");
		return null;
	}

	public String getType(){
		return type;
	}

	public void setType(String type){
		this.type = type;
	}

	
	public String testValueBinding(){
		this.type = "reset";
		return null;
	}	
}
