Author: jleroux
Date: Fri Feb 13 11:31:08 2009
New Revision: 744085
URL:
http://svn.apache.org/viewvc?rev=744085&view=revLog:
A enhanced patch from Arun Patidar "While Depressing Next/Previous link in webtools component, Records are not shown even if they are present there."
https://issues.apache.org/jira/browse/OFBIZ-2184 - OFBIZ-2184
No need to encode, else double encoding since last changes, I changes all the occurences. I will see if there are other cases in *.groovy files
Modified:
ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.groovy
Modified: ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.groovy?rev=744085&r1=744084&r2=744085&view=diff==============================================================================
--- ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.groovy (original)
+++ ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.groovy Fri Feb 13 11:31:08 2009
@@ -81,7 +81,7 @@
find = "false";
}
-String curFindString = "entityName=" + entityName + "&find=" + find;
+String curFindString = "entityName=" + entityName + "&find=" + find;
GenericEntity findByEntity = delegator.makeValue(entityName);
List errMsgList = FastList.newInstance();
@@ -90,7 +90,7 @@
String fval = parameters.get(field.getName());
if (fval != null) {
if (fval.length() > 0) {
- curFindString = curFindString + "&" + field.getName() + "=" + fval;
+ curFindString = curFindString + "&" + field.getName() + "=" + fval;
try {
findByEntity.setString(field.getName(), fval);
} catch (NumberFormatException nfe) {
@@ -234,7 +234,7 @@
for (int pknum = 0; pknum < modelEntity.getPksSize(); pknum++) {
ModelField pkField = modelEntity.getPk(pknum);
ModelFieldType type = delegator.getEntityFieldType(modelEntity, pkField.getType());
- findString += "&" + pkField.getName() + "=" + value.get(pkField.getName());
+ findString += "&" + pkField.getName() + "=" + value.get(pkField.getName());
}
record.put("findString", findString);