Author: dmaliarevich
Date: 2010-07-26 09:56:45 -0400 (Mon, 26 Jul 2010)
New Revision: 23727
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/dialog/ExternalizeStringsWizardPage.java
Log:
https://jira.jboss.org/browse/JBIDE-6287 , ignore non-externalized strings.
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/dialog/ExternalizeStringsWizardPage.java
===================================================================
---
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/dialog/ExternalizeStringsWizardPage.java 2010-07-26
13:56:34 UTC (rev 23726)
+++
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/dialog/ExternalizeStringsWizardPage.java 2010-07-26
13:56:45 UTC (rev 23727)
@@ -759,11 +759,11 @@
} else {
Element root =
FaceletUtil.findComponentElement(documentWithBundles.getDocumentElement());
if ((root != null) && FaceletUtil.isFacelet(root, taglibs)
- && root.hasAttribute("template")) {
- String filePath= root.getAttributeNode("template").getNodeValue();
+ && root.hasAttribute("template")) { //$NON-NLS-1$
+ String filePath= root.getAttributeNode("template").getNodeValue();
//$NON-NLS-1$
if (((JSPTextEditor) editor).getEditorInput() instanceof FileEditorInput) {
FileEditorInput fei = (FileEditorInput) ((JSPTextEditor) editor).getEditorInput();
- IFile templateFile = (IFile)
fei.getFile().getProject().getFolder("WebContent").findMember(filePath);
+ IFile templateFile = (IFile)
fei.getFile().getProject().getFolder("WebContent").findMember(filePath);
//$NON-NLS-1$
Document document = VpeCreatorUtil.getDocumentForRead(templateFile);
if (null != document) {
/*