I had exactly the same problem yesterday. The problem was that I was using directly the sourcePage parameter instead getSourcePage() and it was forwarding to the encryped URL.

The behavior seems normal. I couldn't see a document on the site describing "How to upgrade" but now I see that there is one in the distribution. It definitely worth reading as I could have avoided few other problems too.

On 25.02.2009, at 21:49, Morten Matras wrote:

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]>
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] > 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




--
 Morten Matras
 Consultant
 Blob Communication ApS
 Svendsagervej 42
 DK-5240 Odense NĂ˜
 P: (+45) 76 6-5-4-3-2-1
 W: www.blobcom.com
 E: [email protected]
------------------------------------------------------------------------------
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

------------------------------------------------------------------------------
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