[jboss-cvs] jboss-seam/ui/src/main/java/org/jboss/seam/ui/component ...
Peter Muir
peter at bleepbleep.org.uk
Thu Sep 27 09:16:32 EDT 2007
User: pmuir
Date: 07/09/27 09:16:32
Modified: ui/src/main/java/org/jboss/seam/ui/component
UIDecorate.java
Log:
JBSEAM-1975
Revision Changes Path
1.6 +7 -1 jboss-seam/ui/src/main/java/org/jboss/seam/ui/component/UIDecorate.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: UIDecorate.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/ui/src/main/java/org/jboss/seam/ui/component/UIDecorate.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- UIDecorate.java 17 Jul 2007 17:07:16 -0000 1.5
+++ UIDecorate.java 27 Sep 2007 13:16:32 -0000 1.6
@@ -49,7 +49,13 @@
}
else
{
- UIComponent component = findComponent(id);
+ // As UIDecorate implements NamingContainer it alters the search
+ // algorithm used by JSF
+ UIComponent component = null;
+ if (getParent() != null)
+ {
+ component = getParent().findComponent(id);
+ }
return component==null ? null : component.getClientId( getFacesContext() );
}
}
More information about the jboss-cvs-commits
mailing list