Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0004721
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] A. PlatformminorN/A2008-08-26 17:192022-02-01 08:08
ReportershuehnerView Statuspublic 
Assigned ToTriage Platform Base 
PrioritylowResolutionopenFixed in Version
StatusacknowledgedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0004721: Cleanup HTML-templates: remove the placeholder for paramLanguage

DescriptionCurrently each HTML-template has a line like:

<SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage"> defaultLang = "en_US";</SCRIPT>

or before the spanish->english renaming:
<SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage"> LNG__POR_DEFECTO = "en_US";</SCRIPT>

the content of this script-tag gets overwritten by the XML-engine with the value provided by the corresponding java-servlet. The the tags-content in the HTML-template seems to be unnecessary and could be removed.

The same is true for the following:
<SCRIPT language="JavaScript" type="text/javascript" id="paramDirectory">var baseDirection = "http://yourSite/web/";</SCRIPT> [^]
Proposed SolutionSimplify all templates to read only:

<script language="JavaScript" type="text/javascript" id="paramLanguage"></script>

and

<script language="JavaScript" type="text/javascript" id="paramDirectory">/script>
TagsReleaseCandidate
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0000421pi acknowledgeddbaz Make interface components HTML standard 

-  Notes
(0008763)
shuehner (administrator)
2008-08-26 19:01

This makes no change on the processed HTML-files sent to the browser. These should be identical.

Benefit is cleaner,smaller templates, and much less impact when the codes in this tag needs to change (i.e. renaming of the variable) as the HTML-templates don't need to be modified.

- Issue History
Date Modified Username Field Change
2008-08-26 17:19 shuehner New Issue
2008-08-26 17:19 shuehner Assigned To => cromero
2008-08-26 17:19 shuehner sf_bug_id 0 => 2076117
2008-08-26 17:19 shuehner Regression testing => No
2008-08-26 17:20 shuehner Relationship added related to 0000421
2008-08-26 19:01 shuehner Note Added: 0008763
2008-08-26 19:01 shuehner Priority normal => low
2008-08-27 15:39 shuehner Description Updated
2008-08-27 15:39 shuehner Steps to Reproduce Updated
2008-11-10 13:10 cromero Assigned To cromero => pjuvara
2008-11-16 18:46 pjuvara Status new => acknowledged
2008-11-16 18:46 pjuvara Tag Attached: ReleaseCandidate
2009-05-22 19:34 pjuvara Assigned To pjuvara => iciordia
2018-04-08 17:05 shuehner Assigned To iciordia => platform
2022-02-01 08:08 alostale Assigned To platform => Triage Platform Base


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker