Hello T5-team,
 
I am currently in the process of porting a T5.3 application to T5.5-beta 
(expecting the latter to become final soon). Altough the application is rather 
simple and does not provider any client side customizations, I do get into 
trouble with some JS-related stuff.
 
The application's index page does not get loaded, the browser console complains:
 
"(index):7 Uncaught TypeError: document.observe is not a function"
 
This obviously relates to the following piece of source code:
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";><html 
data-debug-enabled="true" data-locale="de" xmlns="http://www.w3.org/1999/xhtml";>
<head>
    <meta content="Apache Tapestry Framework (version 5.5.0-beta-3)" 
name="generator"/><meta content="text/html; charset=utf-8" 
http-equiv="content-type"/>
    <link href="/etbb-admin-gui/assets/ctx/15201258/images/favicon.ico" 
type="image/x-icon" rel="shortcut icon"/>
    <title>Title</title>
    <script type="text/javascript">
==>        document.observe("dom:loaded", function() {
            $("content").style.display = 'block';
        });
    </script>
 
 
After some research I found out that the relevant call belongs to prototype.js 
which should still be supported in T5.5, shouldn't it?
 
As I further found out, the include of prototype.js is still present in the 
page, but has been moved to the <body> part of the page as opposed to the 
<head> part where it was placed in T5.3.
 
As I stated in earlier, we do not rely on any properietory JS extensions, so I 
would happily replace the Prototype dependency. I just don't know how.
 
Any help appreciated.
 
Lothar

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

Reply via email to