From: <tor...@bo...> - 2006-02-26 15:03:34
|
I am writing tests for loading and validation of domain data. I have two = classes User and Role. I first load the Roles from Excel, then I load the Users. On the user = class the setter takes a set of roles. In excel the roles are the role = names in a commaseparated list. What I want to do is to configure a = Spring based CustomPropertyEditor onto my user so that the = commaseparated string of role names, get parsed, and queried, the return = a hashset of roles (that will be set onto the user). This will make the = tests much cleaner and easier to make. I have read some documentation, = but nothing gives me a hint how to do it. Tor-Erik Larsen Bouvet AS Sandakerveien 24C D11 Postboks 4430 Nydalen N-0403 Oslo Tlf. +47 23 40 60 00=A0 |=A0 Faks: +47 23 40 60 01=A0 |=A0 Mob: +47=A090 = 13 04 96 http://www.bouvet.no=A0 | =A0t...@bo... |