[233743] Problem applying runtime preset mapping
diff --git a/plugins/org.eclipse.wst.web.ui/static_web_ui/org/eclipse/wst/web/ui/internal/wizards/DataModelFacetCreationWizardPage.java b/plugins/org.eclipse.wst.web.ui/static_web_ui/org/eclipse/wst/web/ui/internal/wizards/DataModelFacetCreationWizardPage.java index e44d76b..a75df9d 100644 --- a/plugins/org.eclipse.wst.web.ui/static_web_ui/org/eclipse/wst/web/ui/internal/wizards/DataModelFacetCreationWizardPage.java +++ b/plugins/org.eclipse.wst.web.ui/static_web_ui/org/eclipse/wst/web/ui/internal/wizards/DataModelFacetCreationWizardPage.java
@@ -243,8 +243,11 @@ this.fpjwc.setProjectFacets( facets ); } else - { + { // setting the facets prior to setting the preset is to let the dynamic presets adjust + final Set<IProjectFacetVersion> facets = getFacetConfiguration( fv ); + this.fpjwc.setProjectFacets( facets ); this.fpjwc.setSelectedPreset(presetID); + } } }