[jbosstools-commits] JBoss Tools SVN: r24417 - trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/newfile.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Wed Aug 25 08:23:18 EDT 2010


Author: scabanovich
Date: 2010-08-25 08:23:17 -0400 (Wed, 25 Aug 2010)
New Revision: 24417

Modified:
   trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/newfile/NewXHTMLWizard.java
Log:
https://jira.jboss.org/browse/JBIDE-6687

Modified: trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/newfile/NewXHTMLWizard.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/newfile/NewXHTMLWizard.java	2010-08-25 12:20:09 UTC (rev 24416)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/newfile/NewXHTMLWizard.java	2010-08-25 12:23:17 UTC (rev 24417)
@@ -34,6 +34,7 @@
 import org.eclipse.wst.sse.core.utils.StringUtils;
 import org.jboss.tools.common.meta.action.impl.SpecialWizardSupport;
 import org.jboss.tools.common.model.XModelException;
+import org.jboss.tools.common.model.files.handlers.CreateFileSupport;
 import org.jboss.tools.common.model.ui.ModelUIPlugin;
 import org.jboss.tools.common.model.ui.wizard.newfile.NewFileContextEx;
 import org.jboss.tools.common.model.ui.wizard.newfile.NewXHTMLFileWizard;
@@ -93,6 +94,7 @@
 		SpecialWizardSupport support = getNewXHTMLFileWizard().getFileContext().getSupport();
 		NewXHTMLWizardSelectTagLibrariesPage step = new NewXHTMLWizardSelectTagLibrariesPage(support, 1);
 		try {
+			support.setAttributeValue(0, "template", "");
 			support.action(SpecialWizardSupport.NEXT);
 		} catch (XModelException e) {
 			ModelUIPlugin.getPluginLog().logError(e);
@@ -199,5 +201,4 @@
 		this.newXHTMLFileWizard = newXHTMLFileWizard;
 	}
 
-
 }



More information about the jbosstools-commits mailing list