ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wickersheimer Jeremy (JIRA)" <j...@apache.org>
Subject [jira] Updated: (OFBIZ-642) Make OFBiz more dial-up friendly
Date Mon, 02 Jul 2007 07:04:07 GMT

     [ https://issues.apache.org/jira/browse/OFBIZ-642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Wickersheimer Jeremy updated OFBIZ-642:

    Attachment: ofbiz-642-locale_tz.patch

There is a quick patch to replace the Timezone and Locale combobox by a separate page.
I did not bother to make it a popup or anything fancy.

And indeed this can reduce the HTML page size quite a bit if you have ALL languages / timezones

Note that the feature of changing the language or timezone is very seldom used so i guess
i won't improve it (feel free to adapt the code to have a popup i you like)

Also note that it requires patching ALL the controllers, forgive me if i missed one. (ecommerce
is not modified)

> Make OFBiz more dial-up friendly
> --------------------------------
>                 Key: OFBIZ-642
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-642
>             Project: OFBiz
>          Issue Type: Improvement
>            Reporter: Adrian Crum
>            Assignee: Jacques Le Roux
>            Priority: Trivial
>         Attachments: htmlwidget.patch, htmlwidget.patch, htmlwidget.patch, ofbiz-642-locale_tz.patch
> Reduce OFBiz's HTML output so that pages load faster on dial-up lines.
> Three things can be done to achieve that goal:
> 1. Reduce HTML code through better use of styles (currently in progress).
> 2. Eliminate the language selection code that is sent out with every page request. Intead
of having a selection box in the header, just display the currently selected language and
provide a link to change it. Clicking on the link could produce a language selection popup
window - similar to the current lookup windows.
> 3. Freemarker has the <#compress></#compress> directives which eliminate
unnecessary HTML white space. A recent test showed the directives can yield a 33% reduction
in markup. Problem is, that only works if the directive is placed in every FTL file. There
needs to be a way to make that a global setting in Freemarker, so that ALL markup is reduced
- without any additional FTL coding. I looked around the Freemarker website for a way to do
that, but couldn't find anything.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message