I apologize James, I ended up doing it a totally different way (without
using html:button) which seems to work now....    I did not save the prior
way that I was having problems with  :-(

theron


                                                                                       
                 
                    James                                                              
                 
                    Mitchell             To:     Struts Users Mailing List             
                 
                    <jmitchtx@tel        <[EMAIL PROTECTED]>              
                 
                    ocity.com>           cc:                                           
                 
                                         Subject:     RE: I'm stuck on the html:submit 
                 
                    04/02/02                                                           
                 
                    07:26 PM                                                           
                 
                    Please                                                             
                 
                    respond to                                                         
                 
                    Struts Users                                                       
                 
                    Mailing List                                                       
                 
                                                                                       
                 
                                                                                       
                 



Could you post your entire jsp code to have a better look?

JM

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 02, 2002 8:51 PM
> To: Struts Users Mailing List
> Subject: I'm stuck on the html:submit
>
>
>
> I know with the html:form you have the "onSubmit()" javascript handler in
> which the following will work:
>
> <script language="JavaScript">
>      function unlinkConfirmation() {
>           if (confirm("Remove employee link?"))
>                return true;
>           else
>                return false;
>      }
> </script>
>
> <html:form  onSubmit="return unlinkConfirmation()" ...  >
>
> But when using the plain ol'   html:submit, I cannot seem to get a return
> of "true" from the unlinkConfirmation() to cause the form to be
submitted.
>
> I have:
>      <td ID="small"><html:submit property="unlinkEmployee" onmouseup
> ="return unlinkConfirmation()">Link</html:submit></td>
>
> My form never gets submitted regardless as to whether or not I answer Yes
> or No on the confirm message.
>
> Can someone help tell me what I am doing wrong?
>
> thanks,
> Theron
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <
mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <
mailto:[EMAIL PROTECTED]>




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to