[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tapestry-user
Subject:    Javascript error when moving from 5.0.6 to 5.0.7
From:       "Mahen Perera" <Mahen.Perera () igindex ! co ! uk>
Date:       2008-01-03 10:21:56
Message-ID: 650C90BBE79DC94A936CF49CBA355289061556D7 () LMPRDEXC102 ! igi ! ig ! local
[Download RAW message or body]


Hi all,

 

I switched from 5.0.6 to 5.0.7 ,, and now getting some java scripts
errors. I didn't get these when using 5.0.6.

 

For example,

 

Following is on of the pages in my app: CreateTest.tml -->

 

<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">

  <head>

    <title>Create Test</title>

  </head>

  <body>

 

      <h1>Create Test</h1> 

      

      <br/>     

      

     <t:form t:id="createTestForm">

     

     <t:errors/>

     <t:label for="markup"/>:  <br/> 

     <t:textarea t:id="markup" cols="60" rows="20" t:validate="required"
/>

     

     

     <input type="submit" value="Create"/> 

 

     </t:form>

 

  </body>

</html>

 

 

I get the following Java script error: 

 

Line 24: Object doesn't support this property or method. 

Char :1 

Code : 0

 

Following is the "View Source" for the page

 

<html>

  <head><link
href="/regression-test-framework-web/assets/tapestry/default.css"
rel="stylesheet" type="text/css">

    <title>Create Test</title>

  </head>

  <body><script
src="/regression-test-framework-web/assets/scriptaculous/prototype.js"
type="text/javascript"></script><script
src="/regression-test-framework-web/assets/scriptaculous/scriptaculous.j
s" type="text/javascript"></script><script
src="/regression-test-framework-web/assets/scriptaculous/effects.js"
type="text/javascript"></script><script
src="/regression-test-framework-web/assets/tapestry/tapestry.js"
type="text/javascript"></script>

 

      <h1>Create Test</h1> 

      

      <br>     

      

     <form
action="/regression-test-framework-web/test/create.createtestform"
id="createTestForm" method="post" name="createTestForm"><div
class="t-invisible"><input name="t:formdata" type="hidden"
value="H4sIAAAAAAAAAFvzloG1XIRBqCS1uETfuSg1sSTVKjexKLu0oLiIwSq/KF0vsSAxO
SNVrySxAKikqFIvOb8oNSczSS8psThVzzEJKJaYXOKWmZqTohKcWlJa4Jhckpmfpxp6mPuh6
PE/TAyMPgw88ak5qbmpeSV+ibmpJQxCPlmJZYn6OYl56frBJUWZeenWFQUlDGwQe3G6xo1E1
wQU5SenFhcHlyblZhYXA90EcdnhdSkmad/mnWNiYKgoAAA0K2hw/wAAAA=="></div>

     

     

     <label for="markup" id="markup:label">Markup</label>:  <br> 

     <textarea cols="60" id="markup" name="markup"
rows="20"></textarea><img alt="[Error]" class="t-error-icon t-invisible"
id="markup:icon"
src="/regression-test-framework-web/assets/tapestry/field-error-marker.p
ng">

     

     

     <input type="submit" value="Create"> 

 

     </form>

 

  <script type="text/javascript">

<!--

Tapestry.onDOMLoaded(function() {

Tapestry.registerForm('createTestForm', {"markup":[["required","You must
provide a value for Markup."]]});

});

// -->

</script></body>

</html>

 

 

Not sure why I am getting this error.. I didn't get this in 5.0.6 ,, and
everything was working fine in 5.0.6

 

Thanks in advance for any help..

 

 

The information contained in this email is strictly confidential and for the use of \
the addressee only, unless otherwise indicated. If you are not the intended \
recipient, please do not read, copy, use or disclose to others this message or any \
attachment. Please also notify the sender by replying to this email or by telephone \
(+44 (0)20 7896 0011) and then delete the email and any copies of it. Opinions, \
conclusions (etc.) that do not relate to the official business of this company shall \
be understood as neither given nor endorsed by it. IG Index plc is a company \
registered in England and Wales under number 01190902. VAT registration number 761 \
2978 07. Registered Office: Friars House, 157-168 Blackfriars Road, London SE1 8EZ. \
Authorised and regulated by the Financial Services Authority. FSA Register number \
114059.



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic