Login | Register
My pages Projects Community openCollabNet

Discussions > users > [maxq-users] Multiple checkbox selections

Discussion topic

Back to topic list

[maxq-users] Multiple checkbox selections

Author Tom Goetze <tgoetze at yahoo dot com>
Full name Tom Goetze <tgoetze at yahoo dot com>
Date 2003-03-04 12:49:19 PST
Message I'm trying to use maxq to submit when there are
multiple checkboxes with the same input name.

However, since maxq uses a HashMap, only the last
gets sent when the test is run.

Is there an existing way around this?

In order to try and solve my own problem,
I wrote a new java class, called ExtendedHashMap,
has a method called putOrAdd, and I extended the maxq
java source to use it during recording, and all works
OK for recording.

However, when I try to run the test, I get the
followin error:

Traceback (innermost last):
  File "<string>", line 58, in ?
  File "<string>", line 12, in runTest
NameError: ExtendedHashMap

    at org.python.core.Py.N​ameError(Py.java)
    at org.python.core.PyFr​ame.getglobal(PyFram​e.java)
    at org.python.pycode._p​yx0.runTest$3(<s​tring>:12)
    at org.python.pycode._p​yx0.call_function(​<string>)
    at org.python.core.PyTa​bleCode.call(PyTable​Code.java)
    at org.python.core.PyTa​bleCode.call(PyTable​Code.java)
    at org.python.core.PyIn​stance.invoke(PyInst​ance.java)
    at org.python.pycode._p​yx0.f$0(<string​>:58)
    at org.python.pycode._p​yx0.call_function(​<string>)
    at org.python.core.PyTa​bleCode.call(PyTable​Code.java)
    at org.python.core.PyCo​de.call(PyCode.java)​
    at org.python.core.Py.r​unCode(Py.java)
    at org.python.core.Py.e​xec(Py.java)
    at java.lang.Thread.run​(Thread.java:536)

So, obviously something in the jython.jar doesn't know
(or like) my new java class. Any pointers on this?

I'd be happy to share the simple java class and other
changes to use it, if someone is interested.



Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more

To unsubscribe, e-mail: users-unsubscribe@ma​xq.tigris.org
For additional commands, e-mail: users-help at maxq dot tigris dot org

« Previous message in topic | 1 of 1 | Next message in topic »


Show all messages in topic

[maxq-users] Multiple checkbox selections Tom Goetze <tgoetze at yahoo dot com> Tom Goetze <tgoetze at yahoo dot com> 2003-03-04 12:49:19 PST
Messages per page: