Hehe! Nice fix:).

-----Original Message-----
From: Natalie D Rassmann [mailto:[EMAIL PROTECTED] 
Sent: August 8, 2003 4:05 AM
To: Struts Users Mailing List
Subject: Re: Cancel Button Not Working in 1.1


I got the cancel button to work....  All I did was replace what I had..

<html:cancel>
   <bean:message key="button.cancel" bundle="PRTR_RESOURCE_KEY"/>
</html:cancel>

With the statement below:

<html:cancel/>

It works now.....

Thanks for all your help.

Natalie

Yansheng Lin wrote:

> Try:
>   <html:cancel onclick="bCancel=true">
>       <bean:message key="button.cancel" bundle="PRTR_RESOURCE_KEY"/>
>   </html:cancel>
>
> -----Original Message-----
> From: Bradley M. Handy [mailto:[EMAIL PROTECTED]
> Sent: August 7, 2003 1:09 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Cancel Button Not Working in 1.1
>
> I don't see anything wrong w/ your tag.  However, you're using the
> <bean:message ... /> tag in the body of the <html:cancel ... /> tag, you can
> get rid of the "value" attribute.
>
> Brad
>
> -----Original Message-----
> From: Natalie D Rassmann [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 07, 2003 2:51 PM
> To: Struts Users Mailing List
> Subject: Re: Cancel Button Not Working in 1.1
>
> Here is the tag I am using:
>
> <html:cancel value="Cancel">
>       <bean:message key="button.cancel" bundle="PRTR_RESOURCE_KEY"/>
>   </html:cancel>
>
> "Bradley M. Handy" wrote:
>
> > Please post the tag you're using to render the cancel button on the page.
> >
> > Brad
> >
> > -----Original Message-----
> > From: Natalie D Rassmann [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, August 07, 2003 1:07 PM
> > To: Struts Users Mailing List
> > Subject: Cancel Button Not Working in 1.1
> >
> > Hi,
> >
> > I am trying to use the cancel button in Struts 1.1.  It is not
> > working....
> >
> > The isCancelled(request) is always returnning false....
> >
> > Can anyone help me?
> >
> > Natalie
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



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

Reply via email to