Refactoring of Create Client/U_WebMenu in Posterita
This commit is contained in:
parent
efb578d87e
commit
adfa9e6453
|
@ -72,24 +72,7 @@ public class BaseDispatchAction extends DispatchAction
|
||||||
|
|
||||||
if (webSessionCtx == null) // Session Timeout
|
if (webSessionCtx == null) // Session Timeout
|
||||||
{
|
{
|
||||||
try
|
return mapping.findForward(CHOOSE_APPLICATION);
|
||||||
{
|
|
||||||
ApplicationManager.changeApplication(request, response);
|
|
||||||
|
|
||||||
Properties ctx = TmkJSPEnv.getCtx(request);
|
|
||||||
String forward = Env.getContext(ctx, UdiConstants.WEBPARAM6);
|
|
||||||
|
|
||||||
return mapping.findForward(forward);
|
|
||||||
}
|
|
||||||
catch(DefaultStoreException ex)
|
|
||||||
{
|
|
||||||
postGlobalError("error.store.default", ex.getMessage(), request);
|
|
||||||
return mapping.findForward(CHOOSE_APPLICATION);
|
|
||||||
}
|
|
||||||
catch(Exception ex)
|
|
||||||
{
|
|
||||||
return mapping.findForward(APPLICATION_ERROR);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
return null;
|
return null;
|
||||||
|
|
|
@ -245,7 +245,7 @@ public class BaseForm extends ActionForm
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
ActionErrors currErrors = populateProperty(vo,currKey, currValue, mode, valueMap);
|
ActionErrors currErrors = populateProperty(vo,currKey, currValue, mode, valueMap);
|
||||||
errors.add(currErrors);
|
errors.add(currErrors);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -950,7 +950,7 @@ public class BaseForm extends ActionForm
|
||||||
keysToSkip.add("bean");
|
keysToSkip.add("bean");
|
||||||
keysToSkip.add("properties");
|
keysToSkip.add("properties");
|
||||||
keysToSkip.add("checkBoxLists");
|
keysToSkip.add("checkBoxLists");
|
||||||
keysToSkip.add("file");
|
// keysToSkip.add("file");
|
||||||
keysToSkip.add("minValue");
|
keysToSkip.add("minValue");
|
||||||
keysToSkip.add("maxValue");
|
keysToSkip.add("maxValue");
|
||||||
|
|
||||||
|
|
|
@ -354,6 +354,7 @@ public class DefaultForm extends BaseForm
|
||||||
|
|
||||||
protected String fieldName;
|
protected String fieldName;
|
||||||
protected String applicationName;
|
protected String applicationName;
|
||||||
|
protected String storeId;
|
||||||
protected String isWebstoreFeatured="false";
|
protected String isWebstoreFeatured="false";
|
||||||
protected String isNotWebstoreFeatured;
|
protected String isNotWebstoreFeatured;
|
||||||
protected String imageName;
|
protected String imageName;
|
||||||
|
@ -553,8 +554,6 @@ public class DefaultForm extends BaseForm
|
||||||
protected String birthdate;
|
protected String birthdate;
|
||||||
protected String openDrawer="true";
|
protected String openDrawer="true";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public String getHistoryType()
|
public String getHistoryType()
|
||||||
{
|
{
|
||||||
return historyType;
|
return historyType;
|
||||||
|
@ -4667,6 +4666,17 @@ public String getUserDiscount() {
|
||||||
this.openDrawer = openDrawer;
|
this.openDrawer = openDrawer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public String getStoreId() {
|
||||||
|
return storeId;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public void setStoreId(String storeId) {
|
||||||
|
this.storeId = storeId;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue