1. Not thread safe. 2. Server files were being read/written without multi-user synchronization 3. Reads all UI labels into memory, then stores them in static memory, PLUS 4. Finds all references of those labels in project files and store those references in static memory (!!!) 5. Doesn't follow best practices for UI layout It's amazing the original code worked. Even more amazing is the fact that this code made it into the project. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@776988 13f79535-47bb-0310-9956-ffa450edef68
37 lines
1.3 KiB
Plaintext
37 lines
1.3 KiB
Plaintext
<#--
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
software distributed under the License is distributed on an
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, either express or implied. See the License for the
|
|
specific language governing permissions and limitations
|
|
under the License.
|
|
-->
|
|
<div class="screenlet-body">
|
|
<table class="basic-table" cellspacing="3">
|
|
<tr>
|
|
<td class="label">${uiLabelMap.WebtoolsLabelManagerKey}</td>
|
|
<td>${parameters.sourceKey?if_exists}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">${uiLabelMap.WebtoolsLabelManagerFileName}</td>
|
|
<td>${parameters.fileName?if_exists}</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2"> </td>
|
|
</tr>
|
|
</table>
|
|
<textarea rows="${rows}}" cols="150" disabled="disabled">
|
|
${fileString}
|
|
</textarea>
|
|
</div>
|