HtmlUnit + GWT

View: New views
5 Messages — Rating Filter:   Alert me  

HtmlUnit + GWT

by gredler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Ahmed,

If I remember correctly, you're using HtmlUnit with GWT, and most of your enhancements are geared toward GWT compatibility. Is that right? If so, how are things looking? Are you able to test GWT apps with HtmlUnit? Just wondering :-)

Take care,

Daniel

--
Daniel Gredler
http://daniel.gredler.net/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
HtmlUnit-develop mailing list
HtmlUnit-develop@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-develop

Parent Message unknown Re: HtmlUnit + GWT

by Ahmed Ashour :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Dear Daniel,
 
Yes, I am focusing on GWT almost all the time.
 
After Marc has kindly made the workaround for Rhino bug of string prototype, basic GWT applications can be processed by HtmlUnit.
 
However, advanced GWT examples has errors, currently because of:
    1- Missing document.implementation.createDocument (FF), and ActiveXObject "MSXML2.DOMDocument"
    2- Missing DOMParser (FF), and ActiveXObject "Microsoft.XMLDOM"
    3- During debugging somewhat simple example, I went into DocumentFragment thing, which now shifted me to know why it breaks jQuery.
 
On the other hand, I didn't know I am that amateur in JS until after looking into jQuery code,

If someone can answer the second part of the question in http://www.webdeveloper.com/forum/showthread.php?t=158090, I will be very grateful.
 
Many thanks,
Ahmed
 


Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
HtmlUnit-develop mailing list
HtmlUnit-develop@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-develop

Re: HtmlUnit + GWT

by Marc Guillemot :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ahmed Ashour wrote:
If someone can answer the second part of the question in http://www.webdeveloper.com/forum/showthread.php?t=158090, I will be very grateful.
[m[1]]: an array containing the single element m[1], just like you could have [1], or [1, 2, 'bla']


jQuery.extend({
        noConflict: function() {
                return 123;
        },

jQuery is an object, which extend method is invoked with an object parameter having the given function as property "noConflict".

Hope this helps,
Marc.

Re: HtmlUnit + GWT

by Bruce Chapman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Ahmed,

 

I came across this page yesterday while trying to get my head around some javascript.

 

http://simon.incutio.com/slides/2006/etech/javascript/js-reintroduction-notes.html

 

It is relatively concise, quite readable, and easily understood review of all the stuff in javascript that might cause you confusion.

 

It probably answers your questions, as it did mine.

 

 

Bruce

 

 


From: htmlunit-develop-bounces@... [mailto:htmlunit-develop-bounces@...] On Behalf Of Ahmed Ashour
Sent: Wednesday, August 15, 2007 2:07 AM
To: htmlunit-develop@...
Subject: Re: [HtmlUnit] HtmlUnit + GWT

 

Dear Daniel,

 

Yes, I am focusing on GWT almost all the time.

 

After Marc has kindly made the workaround for Rhino bug of string prototype, basic GWT applications can be processed by HtmlUnit.

 

However, advanced GWT examples has errors, currently because of:

    1- Missing document.implementation.createDocument (FF), and ActiveXObject "MSXML2.DOMDocument"

    2- Missing DOMParser (FF), and ActiveXObject "Microsoft.XMLDOM"

    3- During debugging somewhat simple example, I went into DocumentFragment thing, which now shifted me to know why it breaks jQuery.

 

On the other hand, I didn't know I am that amateur in JS until after looking into jQuery code,

If someone can answer the second part of the question in http://www.webdeveloper.com/forum/showthread.php?t=158090, I will be very grateful.

 

Many thanks,

Ahmed

 

 


Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
HtmlUnit-develop mailing list
HtmlUnit-develop@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-develop

Parent Message unknown Re: HtmlUnit + GWT

by Ahmed Ashour :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Dear Marc, Dear Bruce,
 
Thanks a lot for the information, the issue consumed three days to get four lines, grrrrrr :)
 
I guess the most important benefit is learning new area. Anyway, that ends jQuery part, and now moving back to GWT.
 
Thanks again for your help,
Ahmed


Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
HtmlUnit-develop mailing list
HtmlUnit-develop@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-develop