Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / March 2004

Tip: Looking for answers? Try searching our database.

jwebunit checkboxes

Thread view: 
Vince Bono - 25 Feb 2004 16:38 GMT
Is anyone aware of how to make jwebunit to work with checkboxes of the same
name ?

i.e.
<input type="checkbox" name="source" value="D" >Dogs <br>
<input type="checkbox" name="source" value="C" >Cats<br>
<input type="checkbox" name="source" value="O" >Other<br>

jWebUnit code.....

checkCheckbox("source")  obviously fails !
and there appears to be no
checkCheckbox("source", "D")   type of API

Thanks in Advance !

Signature

Vince Bono
NetLabs.net

Jim Weaver - 02 Mar 2004 20:37 GMT
Hiya Vince,

This requires a patch/enhancement to jwebunit.  We only used
checkboxes for yes/no type elements in the project jwebunit evolved
from, so that is why there is no support for multiple boxes with same
name.  I've had it on my list to rework the checkbox support for over
a year now (yikes), so I won't promise it'll be added soon, although I
am doing some work now on jwebunit after a long lull.  you can always
add it in yourself, though!

jim

> Is anyone aware of how to make jwebunit to work with checkboxes of the same
> name ?
[quoted text clipped - 11 lines]
>
> Thanks in Advance !


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.