Hi,
I found out this:

if i uncomment the script referring to jquery below, the two errors will go
away, then, how to include jquery in the tml? thanks

<head>
    <title>Start Page</title>
     <!--<script src="/js/jquery-1.2.6.min.js"
type="text/javascript"></script>-->
</head>
<body>

    <p>test page1</p>
    <t:form t:id="myform" t:clientValidation="true">
         <input t:type="textarea" t:id="announcement" t:value="announcement"
/>
            <input t:type="submit" name="Submit" t:id="Submit"
value="Submit"/>
            <t:errors/>
        </t:form>
</body>
</html>



Angelo Chen wrote:
> 
> Hi,
> I'm upgrading an app to 5.1.0.5, got this problem:
> 
> TypeError: Value undefined (result of expression element.attachEvent) is
> not object.
> http://localhost:8080/assets/scriptaculous/5.1.0.5/prototype.js (line
> 4016)
> 
> setting this:
>   configuration.add("tapestry.combine-scripts", "false");
>         configuration.add("tapestry.script-at-top", "true");
> does not help, any idea why? Thanks,
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/t5%3A-upgrading-from-5.0.18-to-5.1.0.5-tp23495396p23495638.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to