The source page parameter is encrypted in 1.5 but was not in 1.4.
And as Luther pointed out, TypeConverterFactory#add() method is
newly added in 1.5 (in 1.4, the add() method is defined in the
DefaultTypeConverterFactory).

So, my guess is that the old stripes.jar is in your web container's
global classpath (e.g. shared/lib, common/lib, etc.).

HTH,
Iwao

on 09.2.26 4:49 AM Morten Matras said the following:
> I ended up was overwriting the getSourcePageResolution() in my 
> ActionBeanContext to return new ForwardResolution(this.getSourcePage());
> 
> Something is pretty strange in the behavior.
> 
> Regards
> 
> Morten
> 
> 2009/2/25 Ben Gunter <[email protected] <mailto:[email protected]>>
> 
>     That's an odd one. Check your ActionBeanContext.getSourcePage() to
>     see if it's doing something different. The _sourcePage parameter is
>     always encrypted for security reasons starting with 1.5, and the
>     tail end of that thing looks like an encrypted string. The only way
>     I would expect to see something like that is if you did something
>     like @UrlBinding("/user/{_sourcePage}").
> 
>     -Ben
> 
> 
>     On Mon, Feb 23, 2009 at 7:17 AM, Morten Matras
>     <[email protected] <mailto:[email protected]>> wrote:
> 
>         When updating to Stripes 1.5 from 1.4 I ran into problems when a
>         user
>         submits a form where validation breaks.
> 
>         It seems that the encoded source page parameter sends the user to a
>         wrong url when this happens.
> 
>         How do I ensure that submits that does not validate sends the user
>         back to the source_page.
> 
>         It seems I'm missing some configurational settings.
> 
>         The user is send to a url like this:
>         /user/P_9-8i7nu7kAvsG714s0c8bbdgKBKqLjQKDl_dgt0tk=
> 
>         Please point me to a fix of this.

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to