[ https://issues.apache.org/jira/browse/OFBIZ-4813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13265152#comment-13265152 ]
Jacques Le Roux edited comment on OFBIZ-4813 at 4/30/12 7:52 PM: ----------------------------------------------------------------- Thanks Yashwant, ==== EDIT : forgot the revision number =========== Your A modified patch is in R11.04 at r1332358 What I changed: * Added <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> in htmlheader-for-ajax.ftl * Added a French label an kept those existing but English (improved now) * Removed some added parts in patch of fieldlookup.js and selectall.js (like I did in trunk, those related to AJAX_SERVER_REPLY_MSG_REGEXPATTERN, because of not handled UTF8 chars in alert box) * Added the new spinner.gif and replaced /tomahawk/images/spinner.gif to /images/spinner.gif in tomahawk/css/style.css I just found another weird behaviour/bug (also in trunk) and I guess specifically related to these changes. If just after using the layered lookup you disconnect by opening another browser tab and change the languague on the tab you just clicked (it's still possible either on this tab or on the new one with the login screen), then you get a blank page with only the CommonSessionTimeoutPleaseLogIn on screen and you are stuck unless you use the browser back button. I guess since the back button allows you to get out of this dead end situation it's ok, but still weird... was (Author: jacques.le.roux): Thanks Yashwant, Your A modified patch is in R11.04 at r What I changed: * Added <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> in htmlheader-for-ajax.ftl * Added a French label an kept those existing but English (improved now) * Removed some added parts in patch of fieldlookup.js and selectall.js (like I did in trunk, those related to AJAX_SERVER_REPLY_MSG_REGEXPATTERN, because of not handled UTF8 chars in alert box) * Added the new spinner.gif and replaced /tomahawk/images/spinner.gif to /images/spinner.gif in tomahawk/css/style.css I just found another weird behaviour/bug (also in trunk) and I guess specifically related to these changes. If just after using the layered lookup you disconnect by opening another browser tab and change the languague on the tab you just clicked (it's still possible either on this tab or on the new one with the login screen), then you get a blank page with only the CommonSessionTimeoutPleaseLogIn on screen and you are stuck unless you use the browser back button. I guess since the back button allows you to get out of this dead end situation it's ok, but still weird... > ajax autocomplete and dialog during session timeout > --------------------------------------------------- > > Key: OFBIZ-4813 > URL: https://issues.apache.org/jira/browse/OFBIZ-4813 > Project: OFBiz > Issue Type: Bug > Components: framework > Reporter: Wai > Assignee: Jacques Le Roux > Fix For: Release Branch 11.04, SVN trunk > > Attachments: OFBIZ-4813-R11.04.patch, ofbiz-4813-additional.patch, > ofbiz-4813.patch, ofbiz-4813.patch, ofbiz-4813.patch, spinner.gif > > > 1. autocomplete feature shows the message "no records found" during a session > timeout. This could be misleading for the user. > 2. During a session timeout, clicking on ajax dialog button shows a large > frame containing a message indicating session has timeout. Should show a > more detailed message. > 3. All ajax dialogs are on the left of browser window. > A number of fixes have been implemented for this issue. > 1. At session timeout, user enters a character into autocomplete input box > results in a alert window popup. > 2. At session timeout, clicking on ajax dialog button will cause alert window > to popup. > 3. A large round spinner is shown when the ajax dialog is loading. This > spinner image comes from http://mentalized.net/activity-indicators/ and is > royalty free. Note the round spinner does not show in Tomahawk theme as it > uses its own spinner. > 4. Now all ajax dialogs are centered. > 5. Change session timeout message to something more detailed. > 6. Server response to ajax request now contain html tags. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira