Author: scabanovich
Date: 2008-01-31 06:47:14 -0500 (Thu, 31 Jan 2008)
New Revision: 6059
Modified:
trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/model/handlers/page/create/WebSupport.java
Log:
JBIDE-1711
Modified:
trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/model/handlers/page/create/WebSupport.java
===================================================================
---
trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/model/handlers/page/create/WebSupport.java 2008-01-31
10:20:17 UTC (rev 6058)
+++
trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/model/handlers/page/create/WebSupport.java 2008-01-31
11:47:14 UTC (rev 6059)
@@ -17,7 +17,7 @@
public WebSupport() {}
public void action(String name) throws Exception {
- if(OK.equals(name)) {
+ if(OK.equals(name) || FINISH.equals(name)) {
setFinished(true);
} else if(CANCEL.equals(name)) {
setStepId(-1);
@@ -32,7 +32,7 @@
}
public boolean isActionEnabled(String name) {
- if(name.equals(OK)) {
+ if(OK.equals(name) || FINISH.equals(name)) {
return (getProperties().get("selectedObject") != null);
}
return true;