Author: mareshkau
Date: 2010-08-30 09:40:45 -0400 (Mon, 30 Aug 2010)
New Revision: 24545
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/src/org/jboss/tools/jst/web/model/handlers/CreateJSPFileSupport.java
Log:
https://jira.jboss.org/browse/JBIDE-6920
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/model/handlers/CreateJSPFileSupport.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/model/handlers/CreateJSPFileSupport.java 2010-08-30
12:33:27 UTC (rev 24544)
+++
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/model/handlers/CreateJSPFileSupport.java 2010-08-30
13:40:45 UTC (rev 24545)
@@ -33,6 +33,10 @@
protected Map<String,File> templates = new TreeMap<String,File>();
TaglibSet taglibs;
+ public TaglibSet getTaglibs() {
+ return taglibs;
+ }
+
public void reset() {
taglibs = null;
selectedTaglibs.clear();
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-30
12:33:27 UTC (rev 24544)
+++
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/newfile/NewXHTMLWizard.java 2010-08-30
13:40:45 UTC (rev 24545)
@@ -72,6 +72,7 @@
addPage(this.fNewFileTemplatesPage);
this.newXHTMLWizardSelectTagLibrariesPage = getURISelectionPage();
+ if(jspFileSupport.getTaglibs()!=null&&jspFileSupport.getTaglibs().getDescriptions().length>0)
addPage(this.newXHTMLWizardSelectTagLibrariesPage);
}
@Override