svn commit: r777584 - /ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/labelmanager/LabelReferences.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r777584 - /ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/labelmanager/LabelReferences.java

adrianc
Author: adrianc
Date: Fri May 22 15:37:55 2009
New Revision: 777584

URL: http://svn.apache.org/viewvc?rev=777584&view=rev
Log:
Improved UI label reference search in Label Manager.

Modified:
    ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/labelmanager/LabelReferences.java

Modified: ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/labelmanager/LabelReferences.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/labelmanager/LabelReferences.java?rev=777584&r1=777583&r2=777584&view=diff
==============================================================================
--- ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/labelmanager/LabelReferences.java (original)
+++ ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/labelmanager/LabelReferences.java Fri May 22 15:37:55 2009
@@ -106,10 +106,12 @@
             String inFile = FileUtil.readString("UTF-8", file);
             if (inFile.contains("</forms>")) {
                 getLabelsFromFormWidgets(inFile, file);
+                findLabelKeyInElement(inFile, file.getPath(), "set");
                 continue;
             }
             if (inFile.contains("</screens>") || inFile.contains("</menus>") || inFile.contains("</trees>")) {
                 findUiLabelMapInFile(inFile, file.getPath());
+                findLabelKeyInElement(inFile, file.getPath(), "set");
                 continue;
             }
             
@@ -234,6 +236,7 @@
             for (File file : simpleMethodsFiles) {
                 String inFile = FileUtil.readString("UTF-8", file);
                 findUiLabelMapInFile(inFile, file.getPath());
+                findLabelKeyInElement(inFile, file.getPath(), "set");
                 findLabelKeyInElement(inFile, file.getPath(), "fail-property");
             }
         }