Author: jleroux
Date: Sat Jul 26 04:55:14 2008
New Revision: 679980
URL:
http://svn.apache.org/viewvc?rev=679980&view=revLog:
A fixing patch from Mridul Pathak "Implement Ajax.InPlaceEditor for display field in Form Widget" (
https://issues.apache.org/jira/browse/OFBIZ-1859) - OFBIZ-1859
Some work still needed (strange behaviour at least reproductible on Opera 9.02)
Modified:
ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java
Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java?rev=679980&r1=679979&r2=679980&view=diff==============================================================================
--- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java (original)
+++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java Sat Jul 26 04:55:14 2008
@@ -164,7 +164,7 @@
StringBuffer str = new StringBuffer();
String idName = modelFormField.getIdName();
- if (UtilValidate.isNotEmpty(idName) && "list".equals(modelForm.getType())) {
+ if (UtilValidate.isNotEmpty(idName) && ("list".equals(modelForm.getType()) || "multi".equals(modelForm.getType()))) {
idName += "_" + modelForm.getRowCount();
}