I added 

        @Inject
        private TypeCoercer typeCoercer;

and change the method to

        return new EnumValueEncoder<UserRole>(typeCoercer, UserRole.class);

that seems to resolve the NPE issue.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Unknown-beaneditform-save-exception-tp4956725p4966622.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to