A patch from Leon for ""Value" attribute of hidden form field is overridden by same name value in context" https://issues.apache.org/jira/browse/OFBIZ-5904

Uses URLEncoder.encode while rendering a link
Uses StringUtil.htmlEncoder.encode while rendering a form field. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1644904 13f79535-47bb-0310-9956-ffa450edef68