You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by gm...@apache.org on 2007/02/12 00:43:07 UTC

svn commit: r506180 - /myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/suggestajax/inputsuggestajax/InputSuggestAjaxRenderer.java

Author: gmuellan
Date: Sun Feb 11 15:43:06 2007
New Revision: 506180

URL: http://svn.apache.org/viewvc?view=rev&rev=506180
Log:
Applied patch for issue https://issues.apache.org/jira/browse/TOMAHAWK-879

Modified:
    myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/suggestajax/inputsuggestajax/InputSuggestAjaxRenderer.java

Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/suggestajax/inputsuggestajax/InputSuggestAjaxRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/suggestajax/inputsuggestajax/InputSuggestAjaxRenderer.java?view=diff&rev=506180&r1=506179&r2=506180
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/suggestajax/inputsuggestajax/InputSuggestAjaxRenderer.java (original)
+++ myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/suggestajax/inputsuggestajax/InputSuggestAjaxRenderer.java Sun Feb 11 15:43:06 2007
@@ -125,6 +125,14 @@
 
         out.startElement(HTML.DIV_ELEM, component);
         out.writeAttribute(HTML.ID_ATTR, clientId , null);
+        if(inputSuggestAjax.getStyle() != null)
+        {
+            out.writeAttribute(HTML.STYLE_ATTR, inputSuggestAjax.getStyle(), null);
+        }
+        if(inputSuggestAjax.getStyleClass() != null)
+        {
+            out.writeAttribute(HTML.CLASS_ATTR, inputSuggestAjax.getStyleClass(), null);
+        }
         out.endElement(HTML.DIV_ELEM);
 
         String inputSuggestComponentVar = DojoUtils.calculateWidgetVarName(clientId);