[jboss-cvs] jboss-seam/src/ui/org/jboss/seam/ui/tag ...
Gavin King
gavin.king at jboss.com
Tue Mar 20 02:01:50 EDT 2007
User: gavin
Date: 07/03/20 02:01:50
Modified: src/ui/org/jboss/seam/ui/tag DecorateHandler.java
Log:
fix breakage
Revision Changes Path
1.2 +12 -2 jboss-seam/src/ui/org/jboss/seam/ui/tag/DecorateHandler.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: DecorateHandler.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/ui/org/jboss/seam/ui/tag/DecorateHandler.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- DecorateHandler.java 20 Mar 2007 03:41:50 -0000 1.1
+++ DecorateHandler.java 20 Mar 2007 06:01:50 -0000 1.2
@@ -17,14 +17,24 @@
public DecorateHandler(ComponentConfig config)
{
super(config);
+ if ( tag.getAttributes().get("template")!=null )
+ {
delegate = new com.sun.facelets.tag.ui.DecorateHandler(config);
}
+ }
@Override
protected void applyNextHandler(FaceletContext context, UIComponent component)
throws IOException, FacesException, ELException
{
+ if ( tag.getAttributes().get("template")!=null )
+ {
delegate.apply(context, component);
}
+ else
+ {
+ nextHandler.apply(context, component);
+ }
+ }
}
More information about the jboss-cvs-commits
mailing list