rewrite contactform-portlet preferences to spring