Author: mareshkau
Date: 2010-08-26 08:06:30 -0400 (Thu, 26 Aug 2010)
New Revision: 24467
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/newfile/NewXHTMLTemplatesWizardPage.java
Log:
https://jira.jboss.org/browse/JBIDE-6921
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/newfile/NewXHTMLTemplatesWizardPage.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/newfile/NewXHTMLTemplatesWizardPage.java 2010-08-26
10:50:37 UTC (rev 24466)
+++
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/newfile/NewXHTMLTemplatesWizardPage.java 2010-08-26
12:06:30 UTC (rev 24467)
@@ -378,6 +378,7 @@
fLastSelectedTemplateName = ""; //$NON-NLS-1$
fTableViewer.setSelection(null);
+ updateViewerInput();
}
else {
setSelectedTemplate(fLastSelectedTemplateName);
@@ -509,8 +510,8 @@
Template template = getSelectedTemplate();
if (template != null) {
pattern = template.getPattern();
- fJspFileSupport.setTaglibsFromTemplateBody(pattern);
}
+ fJspFileSupport.setTaglibsFromTemplateBody(pattern);
fPatternViewer.getDocument().set(pattern);
}
}