> To persist the data, what i am doing is creating wrappers around the
> entity beans to avoid the client modifying some parts which i dont want to
> expose.
>
Another option to prevent a user from being able to update fields in a
persistence object passed through the action bean is to annotate the bean
and associated fields with @StrictBinding and @Validate. The use of these
will only certain fields to be bound in the action bean, thus preventing a
user from updating anything other than what is allowed.
These annotations are new as of Stripes 1.5, but are available in the
Stripes Extensions classes is you are wanting to use this with an earlier
version of Stripes.
See the page below for further details.
http://greggbolinger.blogspot.com/2008/01/stripes-15-feature-control-binding-with.html
--
View this message in context:
http://www.nabble.com/Thoughts-on-this..-tp17920413p17992093.html
Sent from the stripes-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users