You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sv...@apache.org on 2005/09/26 18:41:56 UTC
svn commit: r291667 -
/myfaces/sandbox/trunk/src/java/org/apache/myfaces/custom/inputsuggestajax/InputSuggestAjaxRenderer.java
Author: svieujot
Date: Mon Sep 26 09:41:50 2005
New Revision: 291667
URL: http://svn.apache.org/viewcvs?rev=291667&view=rev
Log:
Typo.
Modified:
myfaces/sandbox/trunk/src/java/org/apache/myfaces/custom/inputsuggestajax/InputSuggestAjaxRenderer.java
Modified: myfaces/sandbox/trunk/src/java/org/apache/myfaces/custom/inputsuggestajax/InputSuggestAjaxRenderer.java
URL: http://svn.apache.org/viewcvs/myfaces/sandbox/trunk/src/java/org/apache/myfaces/custom/inputsuggestajax/InputSuggestAjaxRenderer.java?rev=291667&r1=291666&r2=291667&view=diff
==============================================================================
--- myfaces/sandbox/trunk/src/java/org/apache/myfaces/custom/inputsuggestajax/InputSuggestAjaxRenderer.java (original)
+++ myfaces/sandbox/trunk/src/java/org/apache/myfaces/custom/inputsuggestajax/InputSuggestAjaxRenderer.java Mon Sep 26 09:41:50 2005
@@ -36,7 +36,6 @@
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
-import java.util.Map;
/**
* @author Gerald Muellan
@@ -199,14 +198,14 @@
{
RendererUtils.checkParamValidity(context, uiComponent, InputSuggestAjax.class);
- InputSuggestAjax InputSuggestAjax = (InputSuggestAjax) uiComponent;
+ InputSuggestAjax inputSuggestAjax = (InputSuggestAjax) uiComponent;
- MethodBinding mb = InputSuggestAjax.getSuggestedItemsMethod();
+ MethodBinding mb = inputSuggestAjax.getSuggestedItemsMethod();
Collection suggesteds = null;
- int maxSuggestedCount = InputSuggestAjax.getMaxSuggestedItems()!=null
- ? InputSuggestAjax.getMaxSuggestedItems().intValue()
+ int maxSuggestedCount = inputSuggestAjax.getMaxSuggestedItems()!=null
+ ? inputSuggestAjax.getMaxSuggestedItems().intValue()
: DEFAULT_MAX_SUGGESTED_ITEMS;
- if (InputSuggestAjax.getMaxSuggestedItems()!=null) {
+ if (inputSuggestAjax.getMaxSuggestedItems()!=null) {
try{
suggesteds = (Collection) mb.invoke(context,new Object[]{
AjaxPhaseListener.getValueForComponent(context, uiComponent),
@@ -228,17 +227,17 @@
StringBuffer buf = new StringBuffer();
buf.append("<ul");
- if (InputSuggestAjax.getListStyleClass() != null)
+ if (inputSuggestAjax.getListStyleClass() != null)
{
- buf.append(" class='"+InputSuggestAjax.getListStyleClass()+"'");
+ buf.append(" class='"+inputSuggestAjax.getListStyleClass()+"'");
}
- if (InputSuggestAjax.getListStyle() != null)
+ if (inputSuggestAjax.getListStyle() != null)
{
- buf.append(" style='"+InputSuggestAjax.getListStyle()+"'");
+ buf.append(" style='"+inputSuggestAjax.getListStyle()+"'");
}
- if (InputSuggestAjax.getListId() != null)
+ if (inputSuggestAjax.getListId() != null)
{
- buf.append(" id='"+InputSuggestAjax.getListId()+"'");
+ buf.append(" id='"+inputSuggestAjax.getListId()+"'");
}
buf.append(">");
@@ -249,13 +248,13 @@
break;
buf.append("<li");
- if (InputSuggestAjax.getListItemStyleClass() != null)
+ if (inputSuggestAjax.getListItemStyleClass() != null)
{
- buf.append(" class='"+InputSuggestAjax.getListItemStyleClass()+"'");
+ buf.append(" class='"+inputSuggestAjax.getListItemStyleClass()+"'");
}
- if (InputSuggestAjax.getListItemStyle() != null)
+ if (inputSuggestAjax.getListItemStyle() != null)
{
- buf.append(" style='"+InputSuggestAjax.getListItemStyle()+"'");
+ buf.append(" style='"+inputSuggestAjax.getListItemStyle()+"'");
}
buf.append(">");
buf.append(i.next().toString());