KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > faces > core > renderer > html > ButtonRenderer


1 /***************************************************************************
2  * Copyright 2001-2003 The eXo Platform SARL All rights reserved. *
3  * Please look at license.txt in info directory for more license detail. *
4  **************************************************************************/

5 package org.exoplatform.faces.core.renderer.html;
6
7 import java.io.IOException JavaDoc;
8 import javax.faces.context.ResponseWriter;
9 import org.exoplatform.faces.core.component.UIExoComponent;
10 import org.exoplatform.faces.core.component.model.Parameter;
11 /**
12  * @author Tuan Nguyen (tuan08@users.sourceforge.net)
13  * @since Aug 28, 2004
14  * @version $Id: ButtonRenderer.java,v 1.4 2004/11/01 14:52:22 tuan08 Exp $
15  */

16 public class ButtonRenderer extends LinkRenderer {
17   
18   public void renderSelect(ResponseWriter w, UIExoComponent component,
19                            String JavaDoc text, Parameter[] params) throws IOException JavaDoc {
20     render(w, component, text, "select-button", params, null) ;
21   }
22   
23   public void render(ResponseWriter w, UIExoComponent component,
24                      String JavaDoc text, Parameter[] params) throws IOException JavaDoc {
25     render(w, component, text, "button", params, null) ;
26   }
27 }
Popular Tags