Hi Aaron,

> When validation fails, for example, passphrase is not entered, the page is
> redisplayed with the the offending field and the message, but that is the
> only element on that page. All the images, question list, radio buttons are
> not redrawn . All the elements are generated from the class in the action
> bean, including the images, which are dynamically generated by the method
> returning a StreamingResolution.
> What might be the reason for the loss of page elements?

It sounds like the elements are prepared in an event handler - a method
that returns the Resolution to your page. When a validation error occurs,
the target event handler is *not* invoked and the Resolution that is
returned by getContext().getSourcePageResolution() is used instead.

The action bean *is* available in the JSP with ${actionBean}, but you
have to make sure that whatever elements that are required are prepared
in, say, getter methods, instead of in an event handler.

Hope that helps.

Cheers,
Freddy


------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to