There's a pre-built fix to update Tapestry 5.1 to the latest version
of Prototype.

http://tapestry.formos.com/projects/tapx/


On Mon, Jan 25, 2010 at 1:13 AM, Ulrich Stärk <u...@spielviel.de> wrote:
> This is probably due to a bug in prototype.js and has been fixed in Tapestry
> by using a newer version of the prototype library. The coming 5.1 release
> will incorporate the fix. If you need to have it right away, try to override
> Tapestrys built-in version with your own (there are some configuration
> symbols that you can use).
>
> Uli
>
> On 25.01.2010 09:03 schrieb LiborGMC:
>>
>> Hi,
>> I'm developing component which is basically Grid but with dynamic columns.
>> IThere's
>> would like to use AJAX so when user needs to refresh Grid rest of the page
>> is not refreshed. Refresh Grid is done by change item in component Select
>> (event onChange).
>> To do so I used Zone. When you specify zone ID then Tapestry generated
>> code
>> which replace or create event "onChange". To be able run my own code on
>> such
>> event I used component "ZoneUpdater" at
>>
>> http://202.177.217.122:8080/jumpstart/examples/javascript/ajaxmultizoneupdate
>>
>> http://202.177.217.122:8080/jumpstart/examples/javascript/ajaxmultizoneupdate
>> .
>>
>> In Firefox works everything fine but in Opera and IE there is Javascript
>> error in tapestry.js line 813. Example of stacktrace from Opera:
>> message: Statement on line 813: Type mismatch (usually non-object value
>> supplied where object required)
>> Backtrace:
>>   Line 813 of linked script
>> http://localhost:8080/paWeb/assets/tapestry/5.1.0.5/tapestry.js
>>             $(field.form).getFormEventManager();
>>   ...  Line 226 of linked script
>> http://localhost:8080/paWeb/assets/tapestry/5.1.0.5/tapestry.js
>>                     initf.apply(this, parameterList);
>>   ...  Line 706 of linked script
>> http://localhost:8080/paWeb/assets/ctx/1.0-SNAPSHOT/js/prototype.js
>>             iterator.call(context, value, index++);
>>   ...  Line 705 of linked script
>> http://localhost:8080/paWeb/assets/ctx/1.0-SNAPSHOT/js/prototype.js: In
>> function each
>>           this._each(function(value) {
>> .......
>>
>> I'm using Tapestry 5.1.0.5. I've tried to google it but without any
>> reasonable result.
>> Does anybody faced this kind of issue? Can somebody help?
>>
>> Cheers
>>
>> Libor
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to