[jboss-cvs] jboss-seam/src/ui/org/jboss/seam/ui/tag ...

Gavin King gavin.king at jboss.com
Mon Mar 19 23:41:50 EDT 2007


  User: gavin   
  Date: 07/03/19 23:41:50

  Added:       src/ui/org/jboss/seam/ui/tag  DecorateHandler.java
  Log:
  remove s:decorateAll and add support for facelets templating to s:decorate
  
  Revision  Changes    Path
  1.1      date: 2007/03/20 03:41:50;  author: gavin;  state: Exp;jboss-seam/src/ui/org/jboss/seam/ui/tag/DecorateHandler.java
  
  Index: DecorateHandler.java
  ===================================================================
  package org.jboss.seam.ui.tag;
  
  import java.io.IOException;
  
  import javax.el.ELException;
  import javax.faces.FacesException;
  import javax.faces.component.UIComponent;
  
  import com.sun.facelets.FaceletContext;
  import com.sun.facelets.tag.jsf.ComponentConfig;
  import com.sun.facelets.tag.jsf.ComponentHandler;
  
  public class DecorateHandler extends ComponentHandler
  {
     private com.sun.facelets.tag.ui.DecorateHandler delegate;
  
     public DecorateHandler(ComponentConfig config)
     {
        super(config);
        delegate = new com.sun.facelets.tag.ui.DecorateHandler(config);
     }
     
     @Override
     protected void applyNextHandler(FaceletContext context, UIComponent component) 
        throws IOException, FacesException, ELException
     {
        delegate.apply(context, component);
     }
  
  }
  
  
  



More information about the jboss-cvs-commits mailing list