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


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.



Get Source Code

  Views 34   Posted on : Monday, May 20, 2013 10:24:48 PM
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.




Also See: