Please check
http://stackoverflow.com/questions/2998585/how-to-clear-a-bean-field-with-stripes
Hope that helps.
Regards
Andy

Sent from my iPhone

> On Jul 22, 2015, at 11:14 AM, William Krick <kr...@3feetunder.com> wrote:
> 
> I have a situation where I'm submitting a form with search parameters, 
> performing a database search, and forwarding to the same page with the 
> results of the search displayed in a table beneath the form input fields with 
> all the search parameters.  Pretty standard stuff, really.
> 
> The problem I'm having is that there's a radio button group (and possibly a 
> few other fields) on the form that I would like to clear after a successful 
> search but I can't figure out how to do it.  Setting the various values to 
> null in the ActionBean before returning the ForwardResolution isn't working.
> 
> I also tried doing this, which didn't work either...
> 
> getContext().getRequest().setAttribute("assignToSelection", null);
> 
> What's the correct way to clear form values in the action bean?
> ------------------------------------------------------------------------------
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
------------------------------------------------------------------------------
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to