View Javadoc

1   /*
2    * $Id: CheckListenerHandler.java,v 1.3 2007/09/13 08:38:13 oeuillot Exp $
3    */
4   package org.rcfaces.core.internal.facelets;
5   
6   import javax.faces.component.UIComponent;
7   
8   import org.rcfaces.core.internal.taglib.CheckListenerTag;
9   
10  import com.sun.facelets.tag.TagConfig;
11  
12  /**
13   * 
14   * @author Olivier Oeuillot (latest modification by $Author: oeuillot $)
15   * @version $Revision: 1.3 $ $Date: 2007/09/13 08:38:13 $
16   */
17  public class CheckListenerHandler extends AbstractListenerHandler {
18      private static final String REVISION = "$Revision: 1.3 $";
19  
20      public CheckListenerHandler(TagConfig config) {
21          super(config);
22      }
23  
24      protected void addListener(Object listener, UIComponent component) {
25          CheckListenerTag.addCheckListener(listener, component);
26      }
27  
28      protected String getListenerName() {
29          return "check";
30      }
31  
32  }