Author: jonesde
Date: Sun Aug 6 21:58:53 2006
New Revision: 429239
URL:
http://svn.apache.org/viewvc?rev=429239&view=revLog:
Applied patch from Peter Goron in Apache Jira #OFBIZ-128; should fix issue with form widget prev/next URLs when cookie sessions not used; have not tested extensively, but should not have side effects
Modified:
incubator/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java
Modified: incubator/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java
URL:
http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java?rev=429239&r1=429238&r2=429239&view=diff==============================================================================
--- incubator/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java (original)
+++ incubator/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java Sun Aug 6 21:58:53 2006
@@ -1917,7 +1917,7 @@
linkText += viewSizeParam + "=" + viewSize + "&" + viewIndexParam + "=" + (viewIndex - 1) + anchor + "\"";
// make the link
- String tmp = rh.makeLink(request, response, linkText, false, false, false);
+ String tmp = rh.makeLink(request, response, linkText);
buffer.append(tmp);
buffer.append(" class=\"").append(modelForm.getPaginatePreviousStyle()).append("\">").append(modelForm.getPaginatePreviousLabel(context)).append("</a>\n");
@@ -1933,7 +1933,7 @@
linkText += queryString + "&" + viewSizeParam + "=" + viewSize + "&" + viewIndexParam + "=" + (viewIndex + 1) + anchor + "\"";
// make the link
- buffer.append(rh.makeLink(request, response, linkText, false, false, false));
+ buffer.append(rh.makeLink(request, response, linkText));
buffer.append(" class=\"").append(modelForm.getPaginatePreviousStyle()).append("\">").append(modelForm.getPaginateNextLabel(context)).append("</a>\n");
}