Thanks man, exactly what I needed.

On Mon, Oct 14, 2013 at 3:06 AM, Dmitry Gusev <dmitry.gu...@gmail.com>wrote:

> Probably this can help with exceptions handling?
>
>
> http://tapestry.apache.org/component-events.html#ComponentEvents-InterceptingEventExceptions
>
>
> On Mon, Oct 14, 2013 at 10:48 AM, George Christman
> <gchrist...@cardaddy.com>wrote:
>
> > Thanks Taha this resolved my issue, however I now seem to have no way to
> > handle illegalArgumentExceptions.
> >
> > Is there away to catch illegalArgumentExceptions in onActivate and
> redirect
> > the user away from the page when they occure? This would happen as a
> result
> > of URL tampering.
> >
> > Thanks.
> >
> >
> > On Fri, Oct 11, 2013 at 2:44 AM, Taha Hafeez Siddiqi <
> > tawus.tapes...@gmail.com> wrote:
> >
> > > Hi George,
> > >
> > > I am not sure what you mean by "on submit from onActivate" but may be
> you
> > > are looking for
> > >
> > >
> > >
> >
> http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/annotations/ActivationRequestParameter.html
> > >
> > > regards
> > > Taha
> > >
> > > On 11-Oct-2013, at 10:27 AM, George Christman <gchrist...@cardaddy.com
> >
> > > wrote:
> > >
> > > > Hello, I'm wondering if there is a way to read the @RequestParameters
> > on
> > > > submit from onActivate?
> > > >
> > > > example
> > > > public Class<?> onActivate(@RequestParameter(value = "category",
> > > allowBlank
> > > > = true) final String categoryParam,
> > > >
> > > > If not, is there another way to get the value without using @Persist?
> > > >
> > > > --
> > > > George Christman
> > > > www.CarDaddy.com
> > > > P.O. Box 735
> > > > Johnstown, New York
> > >
> > >
> >
> >
> > --
> > George Christman
> > www.CarDaddy.com
> > P.O. Box 735
> > Johnstown, New York
> >
>
>
>
> --
> Dmitry Gusev
>
> AnjLab Team
> http://anjlab.com
>



-- 
George Christman
www.CarDaddy.com
P.O. Box 735
Johnstown, New York

Reply via email to