yes, I originally used "document.loginForm" and had the same issue. Since I was in a time crunch I hacked a workaround. I created a 'dummy' form at the bottom of the HTML page that consists of the following:
Now, since this form only contains hidden parameters - in my HttpUnit test case I use a Scriptable handler to populate them and submit the form (HttpUnit will not let you directly change a hidden form parameter without throwing an exception).
Seems cheesy, but until I figure out what the hell is going on it will have to do. My hunch is that it has something to do with the fact that I am using <form> instead of <html:form>, but cannot verify.
Your buns are mine! But you can have this tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth