Refactoring of Create Client/U_WebMenu in Posterita

This commit is contained in:
shameem_z 2007-10-29 12:41:21 +00:00
parent d3fcba4a67
commit af8ece2610
1 changed files with 6 additions and 0 deletions

View File

@ -27,6 +27,7 @@
package org.posterita.core.action;
import java.io.File;
import java.util.ArrayList;
import java.util.Properties;
@ -72,6 +73,11 @@ public class ClientAction extends BaseDispatchAction
ClientBean clientBean = (ClientBean)df.getBean();
if (clientBean.getFile() == null)
{
clientBean.setFile(df.getFile());
}
if(!clientBean.getPassword().equals(clientBean.getConfirmPassword()))
{
postGlobalError("error.wrong.password.matching", request);