Hi Bilgin,

I tried to re-create your patch (truncated in multi-lines in email) but failed. Could you please create a Jira issue or send it with a larger email width ? I personnlaly use the larger I can : 132 char.

Thanks

Jacques

From: "Bilgin Ibryam" <[EMAIL PROTECTED]>
On Sat, 2008-08-16 at 21:31 +0200, Jacques Le Roux wrote:
I made this patch but I did not find a way to test it (tried many, then ran out 
of time)

Jacques, I test it in party manager -> fin accounts. It work.
You may add also this:

Index:
framework/widget/src/org/ofbiz/widget/screen/IterateSectionWidget.java
===================================================================
---
framework/widget/src/org/ofbiz/widget/screen/IterateSectionWidget.java
(revision 687614)
+++
framework/widget/src/org/ofbiz/widget/screen/IterateSectionWidget.java
(working copy)
@@ -340,7 +340,8 @@

        }
        if (listSize > 0) {
-            writer.append("          <span class=\"tabletext\">" +
(lowIndex + 1) + " - " + (lowIndex + actualPageSize) + " of " + listSize
+ "</span> \n");
+            String ofLabel =
UtilProperties.getMessage("CommonUiLabels", "CommonOf", (Locale)
context.get("locale"));
+            writer.append(" <span class=\"tabletext\">" + (lowIndex +
1) + " - " + (lowIndex + actualPageSize) + " "+ ofLabel + " " + listSize
+ "</span> \n");
        }
        if (highIndex < listSize) {
            writer.append(" <a href=\"");



Bilgin


Reply via email to