struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From João <joao....@gmail.com>
Subject RE: Struts 1.2.9 does not throw InvalidCancelException
Date Tue, 25 Apr 2006 12:43:37 GMT
You have to put that variable in more general scope, e.g, put as a request
attribute.


-----Original Message-----
From: Lixin Chu [mailto:lixin.chu@gmail.com] 
Sent: terça-feira, 25 de Abril de 2006 10:36
To: Struts Users Mailing List
Subject: Re: Struts 1.2.9 does not throw InvalidCancelException

exactly, thanks !

On 4/25/06, Niall Pemberton <niall.pemberton@gmail.com> wrote:
>
> On 4/24/06, Lixin Chu <lixin.chu@gmail.com> wrote:
> > just upgraded from 1.2.8 to 1.2.9. I did not add
> >
> >  <set-property property="cancellable" value="true"/>
> >
> > in struts-config.xml and still use <html:cancel> as per normal in jsp
> files.
> > Tested, do not see exception and no validation is called.
>
> It only gets thrown if the action is set to validate="true" in the
> strutc-config.xml. If no validation is being called then this would
> suggest that you don't have this set.
>
> Niall
>
> > any reason why ? default setting ?
> >
> > btw, my action is LookupDispatchAction.
> >
> > rgds
> > lixin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message