You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by mraible <ma...@raibledesigns.com> on 2007/08/23 09:40:13 UTC

Re: HTMLUnit & Tapestry 4.1

Has anyone tried HtmlUnit 1.13 with Tapestry 4.1? They claim much better
JavaScript support in 1.13:

http://tinyurl.com/2lo6p8

Matt


nirvdrum wrote:
> 
> Has anyone here tried to test their Web app with HTMLUnit using Tapestry  
> 4.1?  I'm getting a lot of errors related to embedded dojo stuff, even  
> with JavaScript disabled in the web client.  Any help would be greatly  
> appreciated.
> 
> Thanks,
> Kevin
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/HTMLUnit---Tapestry-4.1-tf1849739.html#a12288853
Sent from the Tapestry - User mailing list archive at Nabble.com.


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


Re: HTMLUnit & Tapestry 4.1

Posted by mraible <ma...@raibledesigns.com>.
I was able to fix the problem below by adding an @Shell component to my page.
However, now I'm getting a new issue:

 JavaScript error loading page
http://localhost:9876/appfuse-tapestry-2.0-rc1-SNAPSHOT/signup.html: Wrapped
com.gargoylesoftware.htmlunit.ScriptException: unknown protocol: javascript
(http://localhost:9876/appfuse-tapestry-2.0-rc1-SNAPSHOT/assets/static/dojo-0.4.3/dojo.js#4305)


mraible wrote:
> 
> I tried it with 4.1.3-SNAPSHOT and Canoo WebTest R_1600 (which uses
> HTMLUnit 1.13). Unfortunately it doesn't seem to get past the first page:
> 
> ReferenceError: "dojo" is not defined.
> (http://localhost:9876/appfuse-tapestry-2.0-rc1-SNAPSHOT/assets/static/dojo-0.4.3/dojo3.js#11)
> 
> Matt
> 
> 
> Kalle Korhonen-2 wrote:
>> 
>> Just did. And what do you know; 1.13 does run successfully most of our (
>> http://trailsframework.org) functional tests that broke because of
>> Javascript execution errors when we moved to Tap 4.1.2 (and dojo) and
>> previously run on htmlunit 1.11.
>> 
>> Kalle
>> 
>> 
>> On 8/23/07, mraible <ma...@raibledesigns.com> wrote:
>>>
>>>
>>> Has anyone tried HtmlUnit 1.13 with Tapestry 4.1? They claim much better
>>> JavaScript support in 1.13:
>>>
>>> http://tinyurl.com/2lo6p8
>>>
>>> Matt
>>>
>>>
>>> nirvdrum wrote:
>>> >
>>> > Has anyone here tried to test their Web app with HTMLUnit using
>>> Tapestry
>>> > 4.1?  I'm getting a lot of errors related to embedded dojo stuff, even
>>> > with JavaScript disabled in the web client.  Any help would be greatly
>>> > appreciated.
>>> >
>>> > Thanks,
>>> > Kevin
>>> >
>>> > ---------------------------------------------------------------------
>>> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>> > For additional commands, e-mail: users-help@tapestry.apache.org
>>> >
>>> >
>>> >
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/HTMLUnit---Tapestry-4.1-tf1849739.html#a12288853
>>> Sent from the Tapestry - User mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>>
>>>
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/HTMLUnit---Tapestry-4.1-tf1849739.html#a12296648
Sent from the Tapestry - User mailing list archive at Nabble.com.


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


Re: HTMLUnit & Tapestry 4.1

Posted by mraible <ma...@raibledesigns.com>.
I tried it with 4.1.3-SNAPSHOT and Canoo WebTest R_1600 (which uses HTMLUnit
1.13). Unfortunately it doesn't seem to get past the first page:

ReferenceError: "dojo" is not defined.
(http://localhost:9876/appfuse-tapestry-2.0-rc1-SNAPSHOT/assets/static/dojo-0.4.3/dojo3.js#11)

Matt


Kalle Korhonen-2 wrote:
> 
> Just did. And what do you know; 1.13 does run successfully most of our (
> http://trailsframework.org) functional tests that broke because of
> Javascript execution errors when we moved to Tap 4.1.2 (and dojo) and
> previously run on htmlunit 1.11.
> 
> Kalle
> 
> 
> On 8/23/07, mraible <ma...@raibledesigns.com> wrote:
>>
>>
>> Has anyone tried HtmlUnit 1.13 with Tapestry 4.1? They claim much better
>> JavaScript support in 1.13:
>>
>> http://tinyurl.com/2lo6p8
>>
>> Matt
>>
>>
>> nirvdrum wrote:
>> >
>> > Has anyone here tried to test their Web app with HTMLUnit using
>> Tapestry
>> > 4.1?  I'm getting a lot of errors related to embedded dojo stuff, even
>> > with JavaScript disabled in the web client.  Any help would be greatly
>> > appreciated.
>> >
>> > Thanks,
>> > Kevin
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> > For additional commands, e-mail: users-help@tapestry.apache.org
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/HTMLUnit---Tapestry-4.1-tf1849739.html#a12288853
>> Sent from the Tapestry - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/HTMLUnit---Tapestry-4.1-tf1849739.html#a12295662
Sent from the Tapestry - User mailing list archive at Nabble.com.


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


Re: HTMLUnit & Tapestry 4.1

Posted by Kalle Korhonen <ka...@gmail.com>.
Just did. And what do you know; 1.13 does run successfully most of our (
http://trailsframework.org) functional tests that broke because of
Javascript execution errors when we moved to Tap 4.1.2 (and dojo) and
previously run on htmlunit 1.11.

Kalle


On 8/23/07, mraible <ma...@raibledesigns.com> wrote:
>
>
> Has anyone tried HtmlUnit 1.13 with Tapestry 4.1? They claim much better
> JavaScript support in 1.13:
>
> http://tinyurl.com/2lo6p8
>
> Matt
>
>
> nirvdrum wrote:
> >
> > Has anyone here tried to test their Web app with HTMLUnit using Tapestry
> > 4.1?  I'm getting a lot of errors related to embedded dojo stuff, even
> > with JavaScript disabled in the web client.  Any help would be greatly
> > appreciated.
> >
> > Thanks,
> > Kevin
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: users-help@tapestry.apache.org
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/HTMLUnit---Tapestry-4.1-tf1849739.html#a12288853
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>