Hi,

Stripes doesn't set bean properties to null if no parameter is provided.
The value is left unchanged. The fields would be nulled-out if you pass an
"empty" request param :

http://.../my.action?myField=

So if you load the object with values, and if nothing is bound, then your
POJO contains the values that you've pulled out from the DB...

Cheers

RĂ©mi



2014-11-27 1:30 GMT+01:00 Dave Roberge <drobe...@bluetarp.com>:

> William Krick <krick@...> writes:
>
> > This has to be a common problem.  Ideally, I'd like to have something
> where unbound members of the customer object are just left with their
> original values.  Short of maintaining two separate Customer objects,
> one for the screen and one for the database and juggling data back and
> forth between the two, is there a way to deal with this situation?
>
> Hey, I think this is what you're looking for,
> http://stripes.sourceforge.net/docs/current/javadoc/net/sourceforge/strip
> es/action/StrictBinding.html
>
>
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to