Thanks Shamsi for that.. will try that,,,
My <t:datefield/> component is also not getting displayed..after I move
to 5.0.7 ,,, I mean the icon is displayed in the page, but the calendar
is not popping up when I click it.. it worked in 5.0.6 


-----Original Message-----
From: Mohammad Shamsi [mailto:[EMAIL PROTECTED] 
Sent: 03 January 2008 11:53
To: Tapestry users
Subject: Re: Javascript error when moving from 5.0.6 to 5.0.7

Hi,

Try to deploy your application in ROOT context,

i got some java script error in 5.0.7 when i deploy my application with
a
context other than  ROOT (/).

On Jan 3, 2008 1:51 PM, Mahen Perera <[EMAIL PROTECTED]> wrote:

> 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.
>



-- 
sincerely yours
M. H. Shamsi
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.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to