Ah-hah.  Thanks.  I've added the init param.

Ben Gunter wrote:
> If you haven't set an encryption key for your app in web.xml (init param 
> Stripes.EncryptionKey), then this report might appear. The _sourcePage 
> parameter is encrypted, and if you don't set an encryption key then a 
> random one is generated when the app server is started. If the form is 
> rendered, the app server restarted and then the form submitted then the 
> server can't decrypt _sourcePage so it spits out this report.
> 
> -Ben
> 
> On Tue, Oct 6, 2009 at 4:12 PM, Rusty Wright <rwright.li...@gmail.com 
> <mailto:rwright.li...@gmail.com>> wrote:
> 
>     What makes this page display?  Sometimes I get it, other times I get
>     the expected page with the validation error on the page in the
>     correct place.
> 
>     (I'm porting a sample stripes app to Google App Engine.)
> 
> 
>     Stripes validation error report
> 
>     Here's how it is. Someone (quite possibly the Stripes Dispatcher)
>     needed to get the source page resolution. But no source page was
>     supplied in the request, and unless you override
>     ActionBeanContext.getSourcePageResolution() you're going to need
>     that value. When you use a tag a hidden field called '_sourcePage'
>     is included. If you write your own forms or links that could
>     generate validation errors, you must include a value for this
>     parameter. This can be done by calling request.getServletPath().
> 
>     Validation errors
> 
>     Please fix the following errors:
>     Desired Date Am Pm is a required field
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay 
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to