[jboss-cvs] jboss-seam/src/ui/org/jboss/seam/ui ...
Gavin King
gavin.king at jboss.com
Mon Jun 11 02:36:11 EDT 2007
User: gavin
Date: 07/06/11 02:36:11
Modified: src/ui/org/jboss/seam/ui UIDecorate.java
Log:
JBSEAM-1298
Revision Changes Path
1.17 +2 -8 jboss-seam/src/ui/org/jboss/seam/ui/UIDecorate.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: UIDecorate.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/ui/org/jboss/seam/ui/UIDecorate.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- UIDecorate.java 11 Jun 2007 06:26:24 -0000 1.16
+++ UIDecorate.java 11 Jun 2007 06:36:11 -0000 1.17
@@ -27,19 +27,13 @@
{
if ( !component.isRendered() ) return false;
- /*Iterator<FacesMessage> iter = context.getMessages( component.getClientId(context) );
- if ( iter.hasNext() )
- {
- return true;
- }*/
-
if ( component instanceof EditableValueHolder )
{
if ( ! ( (EditableValueHolder) component ).isValid() ) return true;
- if ( context.getMessages( component.getClientId(context) ).hasNext() ) return true;
+ if ( context.getMessages( component.getClientId(context) ).hasNext() ) return true; //TODO: put this outside the if???
}
- for (Object child: component.getChildren())
+ for ( Object child: component.getChildren() )
{
if (child instanceof UIComponent)
{
More information about the jboss-cvs-commits
mailing list