And on the server do you get log warning messages about classpath resources
not being found?
Maybe your urls aren't being handled properly for some reason? I haven't
tested anything without friendly urls in a while, maybe something there is
broken.
On 6/29/07, Jeremy F. Kassis <[EMAIL PROTECTED]> wrote:
Thanks for the quick reply.
I cleared my browser cache, but no luck.
Then, I rebuilt the tapestry-framework-4.1.2 jar with a couple of
alert('hi'); lines embedded in the form.js file. Cleared my cache again
and
checked the GET request responses to make sure the browser was fetching
the
updated file. Loaded the page and got no alerts, so I'm updating my
theory.
I don't think dojo is parsing these. (Tangentially... do you know an
easier
way to do this?)
One other datum supports this... I added <binding name="debugEnabled"
value="ognl:true"/> to the Shell component declaration. This causes the
following lines to appear in the page:
dojo.require("dojo.logging.Logger");
dojo.log.setLevel(dojo.log.getLevel("WARNING"));
firefox complains that dojo.log.getLevel is not a function, so I'm
guessing
that none of the dojo.require statements are succeeding.
Yowza!
Jessek wrote:
>
> Clear your browser cache? I've never seen/heard of something like this
so
> I
> don't have a lot of ideas.
>
> On 6/29/07, Jeremy F. Kassis <[EMAIL PROTECTED]> wrote:
>>
>>
>> Just upgraded to T4.1.2. On pages with forms, I get the following
error:
>> "tapestry.form.registerForm is not a function"
>>
>> Using firebug, I...
>> 1. Set a breakpoint on this line: require("tapestry.form");
>> 2. clear the console
>> 3. step over the function call
>> 4. observe the GET requests for form.js *AND* form/validation.js
*AND*
>> form_compat.js
>>
>> The last two files are dependencies declared in the form.js file, so it
>> even
>> seems that dojo is parsing this. It's just not parsing the money line:
>> tapestry.form={ blah blah blah };
>>
>> My theory is that dojo is swallowing some errors here, but I'm open to
>> others. Any thoughts anyone?
>>
>>
>> --
>> View this message in context:
>>
http://www.nabble.com/T4-T4.1.2%3A-tapestry.form.registerForm-is-not-a-function-tf3998293.html#a11355279
>> Sent from the Tapestry - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
> --
> Jesse Kuhnert
> Tapestry/Dojo team member/developer
>
> Open source based consulting work centered around
> dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
>
>
--
View this message in context:
http://www.nabble.com/T4-T4.1.2%3A-tapestry.form.registerForm-is-not-a-function-tf3998293.html#a11355545
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Jesse Kuhnert
Tapestry/Dojo team member/developer
Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com