You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by we...@apache.org on 2005/12/31 15:55:07 UTC
svn commit: r360287 - in /incubator/tobago/trunk/tobago-theme:
tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/
tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/s...
Author: weber
Date: Sat Dec 31 06:54:55 2005
New Revision: 360287
URL: http://svn.apache.org/viewcvs?rev=360287&view=rev
Log:
rename javascript Autocomplete object,
prevent display of completer div while loading
Modified:
incubator/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/InRenderer.java
incubator/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/inputSuggest.js
Modified: incubator/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/InRenderer.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/InRenderer.java?rev=360287&r1=360286&r2=360287&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/InRenderer.java (original)
+++ incubator/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/InRenderer.java Sat Dec 31 06:54:55 2005
@@ -136,8 +136,8 @@
// page.getScriptFiles().add("script/inputSuggest.js");
writer.startElement("div");
-// writer.writeClassAttribute("ajaxPopup");
writer.writeClassAttribute("tobago-in-suggest-popup");
+ writer.writeAttribute("style", "display: none;", null);
writer.writeIdAttribute(popupId);
writer.endElement("div");
@@ -156,7 +156,7 @@
}
final String[] cmds = {
- "new Ajax.MyFacesAutocompleter(",
+ "new Tobago.Autocompleter(",
" '" + id + "',",
" '" + popupId + "',",
" '" + AjaxUtils.createUrl(facesContext, id) + "',",
Modified: incubator/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/inputSuggest.js
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/inputSuggest.js?rev=360287&r1=360286&r2=360287&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/inputSuggest.js (original)
+++ incubator/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/inputSuggest.js Sat Dec 31 06:54:55 2005
@@ -15,8 +15,8 @@
*/
-Ajax.MyFacesAutocompleter = Class.create();
-Ajax.MyFacesAutocompleter.prototype = Object.extend(new Autocompleter.Base(),
+Tobago.Autocompleter = Class.create();
+Tobago.Autocompleter.prototype = Object.extend(new Autocompleter.Base(),
Object.extend(new Ajax.Base(), {
initialize: function(element, update, url, options) {
this.baseInitialize(element, update, options);