Arvid, if you removed this because log() is undefined:
In tobago javascript you can use LOG.debug(), LOG.info(), LOG.warn(), and LOG.error() for logging on client side. Currently the error level mades no difference, but this is a todo. If the client is in debug mode (to force this add a accepted language of 'to_ba_go' in your browser config) a normaly hidden logging panel is rendered which can be opened by LOG.show() eg. type "javascript:LOG.show()" in the address bar. @Udo: This is the place where the debug output goes which i removed last week from the created html source. Regards, Volker [EMAIL PROTECTED] wrote: > Author: idus > Date: Wed Jan 4 08:33:08 2006 > New Revision: 365935 > > URL: http://svn.apache.org/viewcvs?rev=365935&view=rev > Log: > removed debug stuff > > Modified: > > incubator/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/script/dateConverter.js > > Modified: > incubator/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/script/dateConverter.js > URL: > http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/script/dateConverter.js?rev=365935&r1=365934&r2=365935&view=diff > ============================================================================== > --- > incubator/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/script/dateConverter.js > (original) > +++ > incubator/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/script/dateConverter.js > Wed Jan 4 08:33:08 2006 > @@ -241,9 +241,6 @@ > if (patternSub.length == 3) { > var fragment = dateStr.substr(dateIndex, 3); > var index = this._indexOf(this.dateFormatSymbols.shortMonths, > fragment); > - log("shortMonths: " + this.dateFormatSymbols.shortMonths); > - log("fragment: " + fragment); > - log("index: " + index); > if (index != -1) { > context.month = index; > context.newIndex = dateIndex + 3; > @@ -260,7 +257,6 @@ > this._parseNum(context, dateStr, 2, dateIndex); > context.month = context.retValue - 1; > } > - log("month: " + context.month); > } else { > if (patternSub.length == 3) { > context.dateStr += this.dateFormatSymbols.shortMonths[context.month]; > > -- Don't answer to From: address! Mail to this account are droped if not recieved via mailinglist. To contact me direct create the mail address by concatenating my forename to my senders domain.
