Refactoring of Create Client/U_WebMenu in Posterita
This commit is contained in:
parent
d3fcba4a67
commit
af8ece2610
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue