Author: dgolovin
Date: 2007-10-01 18:08:00 -0400 (Mon, 01 Oct 2007)
New Revision: 3932
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/SeamRuntimeListFieldEditor.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamEntityWizard.java
Log:
http://jira.jboss.org/jira/browse/JBIDE-988
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/SeamRuntimeListFieldEditor.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/SeamRuntimeListFieldEditor.java 2007-10-01
21:36:34 UTC (rev 3931)
+++
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/SeamRuntimeListFieldEditor.java 2007-10-01
22:08:00 UTC (rev 3932)
@@ -457,8 +457,9 @@
}
public boolean performFinish() {
- added.add(page1.getRuntime());
- value.add(page1.getRuntime());
+ SeamRuntime rt = page1.getRuntime();
+ added.add(rt);
+ value.add(rt);
return true;
}
}
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamEntityWizard.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamEntityWizard.java 2007-10-01
21:36:34 UTC (rev 3931)
+++
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamEntityWizard.java 2007-10-01
22:08:00 UTC (rev 3932)
@@ -82,10 +82,10 @@
"${" + IParameter.SEAM_PROJECT_LOCATION_PATH + "}/src/model/${"
+ ISeamFacetDataModelProperties.ENTITY_BEAN_PACKAGE_PATH + "}/${" +
IParameter.SEAM_ENTITY_CLASS_NAME +"}.java"});
ACTION_WAR_MAPPING.add(new String[]{
"${" + ISeamFacetDataModelProperties.JBOSS_SEAM_HOME +
"}/seam-gen/src/EntityHome.java",
- "${" + IParameter.SEAM_PROJECT_LOCATION_PATH + "}/src/model/${"
+ ISeamFacetDataModelProperties.SESION_BEAN_PACKAGE_PATH + "}/${" +
IParameter.SEAM_ENTITY_CLASS_NAME +"}Home.java"});
+ "${" + IParameter.SEAM_PROJECT_LOCATION_PATH +
"}/src/action/${" + ISeamFacetDataModelProperties.SESION_BEAN_PACKAGE_PATH +
"}/${" + IParameter.SEAM_ENTITY_CLASS_NAME +"}Home.java"});
ACTION_WAR_MAPPING.add(new String[]{
"${" + ISeamFacetDataModelProperties.JBOSS_SEAM_HOME +
"}/seam-gen/src/EntityList.java",
- "${" + IParameter.SEAM_PROJECT_LOCATION_PATH + "}/src/model/${"
+ ISeamFacetDataModelProperties.SESION_BEAN_PACKAGE_PATH + "}/${" +
IParameter.SEAM_ENTITY_CLASS_NAME +"}List.java"});
+ "${" + IParameter.SEAM_PROJECT_LOCATION_PATH +
"}/src/action/${" + ISeamFacetDataModelProperties.SESION_BEAN_PACKAGE_PATH +
"}/${" + IParameter.SEAM_ENTITY_CLASS_NAME +"}List.java"});
ACTION_WAR_MAPPING.add(new String[]{
"${" + ISeamFacetDataModelProperties.JBOSS_SEAM_HOME +
"}/seam-gen/view/edit.xhtml",