Hi,

     I have an image in my jsp page which does the job of the submit button. 
The code snippet is  
 
<input type=image src="/o2images/arrow_continue_photo.gif" alt="Log in" 
width="21" height="21"/>
     The above tag lies inside a <html:form> tag. When I invoke sumit() method 
in 1.5 version I get the error message saying "No submit button found".
 
I change to the following tag -  
 
<input type="submit" value="Go"> and invoke the method "Go"); as the alternate 
solution. This works. 
 
clickButtonWithText(
 
However could anyone throw some light on the above as to why it is happening 
and what can be done to fix it. I really do not want to rewrite my jsps to 
remove the image and put in-place the button tag.
 
Regards,Kaushik. 


      
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
JWebUnit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development

Reply via email to