While for simple pages this was quite neat, I have a page using DWR for filling some select elements (triggered by page
onload and then onchange events). Here i faced a set of problems to which unfortunately i wasn't able to find a solution:
- the htmlunit
XMLHttpRequestdoesn't solve thesrcattribute and after this aNPEoccurs injsxFunction_open
I have patched this by makingHtmlScript.getSrcAttributesolve the complete URL - the 2nd problem was that again htmlunit could not solve the dynamic generated call of DWR: DWREngine._execute [...]
I've been able to patch this too by making theDWRServletuse the complete URL for the dynamic call - the 3rd and final problem - the unsolved one was that htmlunit
XMLHttpRequest.jsxFunction_sendis expecting as a result a text/xml that must be anXmlPage
I would really like to have this test working so if any of the readers can enlighten me how to fix this or I have the luck that one of the developers will read this, it would be really really great.

