Execute a method before saving a model in Play Framework 1.x

This forum was posted on Monday, May 20, 2013 10:24:48 PM

How can i run a method just before saving a model?
Like for illustration hashing passwords in a member Model.
@Before annotation doesn't appear to exist for models.
i'm working with PlayFramework 1.2.x
PS : I plan on using it with the CRUD Module.



 Views 43 Get Source Code >>
Related Tags:




Replies on "Execute a method before saving a model in Play Framework 1.x" :

Nobody has replied on this post , be first to post answer.


Post Your Answer/Comment:

Please Login first to post Reply !


Note: Please Put Code into <code></code> block.

Threads related to "Execute a method before saving a model in Play Framework 1.x":