OFBIZ-3671 - XHTML validation errors (framework/widget) In xml (xhtml) ID must be unique https://issues.apache.org/jira/browse/OFBIZ-3671 In XML id is a special attribute which must be unique. * ModelFormField.java must have the method getCurrentContainerId which is already on ModelForm * MacroFormRendered and HtmlFormRenderer must be modified to use the getCurrentContainerID instead of getIdName * htmlFormMacroLibrary. span id must be different from the associated hidden field. Also: htmlFormMacroLibrary Line 73: readonly attribute without value. Lines 102.103: better formatted, more readable javascript call. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935197 13f79535-47bb-0310-9956-ffa450edef68