[jboss-cvs] jboss-seam/src/main/org/jboss/seam/faces ...
Peter Muir
peter at bleepbleep.org.uk
Wed Aug 29 12:31:24 EDT 2007
User: pmuir
Date: 07/08/29 12:31:24
Modified: src/main/org/jboss/seam/faces FacesMessages.java
Log:
JBSEAM-1855
Revision Changes Path
1.7 +5 -1 jboss-seam/src/main/org/jboss/seam/faces/FacesMessages.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: FacesMessages.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/faces/FacesMessages.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- FacesMessages.java 10 Jul 2007 16:46:58 -0000 1.6
+++ FacesMessages.java 29 Aug 2007 16:31:24 -0000 1.7
@@ -393,7 +393,11 @@
private static String getClientId(UIComponent component, String id, FacesContext facesContext)
{
String componentId = component.getId();
- if (componentId!=null && componentId.equals(id))
+ if (component.getClientId(facesContext).equals(id))
+ {
+ return id;
+ }
+ else if (componentId!=null && componentId.equals(id))
{
return component.getClientId(facesContext);
}
More information about the jboss-cvs-commits
mailing list