[richfaces-svn-commits] JBoss Rich Faces SVN: r4552 - trunk/ui/suggestionbox/src/main/java/org/richfaces/renderkit/html.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Thu Dec 6 08:31:15 EST 2007


Author: abelevich
Date: 2007-12-06 08:31:15 -0500 (Thu, 06 Dec 2007)
New Revision: 4552

Modified:
   trunk/ui/suggestionbox/src/main/java/org/richfaces/renderkit/html/SuggestionBoxRenderer.java
Log:
add call of the correctIdReference method from RenderUtils (RF-1499)

Modified: trunk/ui/suggestionbox/src/main/java/org/richfaces/renderkit/html/SuggestionBoxRenderer.java
===================================================================
--- trunk/ui/suggestionbox/src/main/java/org/richfaces/renderkit/html/SuggestionBoxRenderer.java	2007-12-06 13:22:29 UTC (rev 4551)
+++ trunk/ui/suggestionbox/src/main/java/org/richfaces/renderkit/html/SuggestionBoxRenderer.java	2007-12-06 13:31:15 UTC (rev 4552)
@@ -270,7 +270,8 @@
     private UIComponent getTarget(final UIComponent component) {
         String target = ((UISuggestionBox) component).getFor();
         if (null != target) {
-            // Use parent since UIData - naming container
+        	target = RendererUtils.getInstance().correctForIdReference(target,component);
+        	// Use parent since UIData - naming container
             UIComponent targetComponent = RendererUtils.getInstance().
             	findComponentFor(component, target);
             if (null != targetComponent) {




More information about the richfaces-svn-commits mailing list