Commit c841112b by Kazuki Nakamura

【会員情報の「電話」項目必須対応】

parent a58678aa
...@@ -76,6 +76,7 @@ public class MemberEditForm { ...@@ -76,6 +76,7 @@ public class MemberEditForm {
@Maxlength(maxlength=256, msg=@Msg(key="errors.maxlength"), arg0=@Arg(key="labels.buildingName")) @Maxlength(maxlength=256, msg=@Msg(key="errors.maxlength"), arg0=@Arg(key="labels.buildingName"))
public String buildingName; public String buildingName;
@Required(msg=@Msg(key="errors.required"), arg0=@Arg(key="labels.telNo"))
@Mask(mask = "^[0-9]{8,20}$",msg=@Msg(key="errors.invalid"), arg0=@Arg(key="labels.telNo")) @Mask(mask = "^[0-9]{8,20}$",msg=@Msg(key="errors.invalid"), arg0=@Arg(key="labels.telNo"))
public String telNo; public String telNo;
......
...@@ -67,6 +67,7 @@ public class UserEditForm { ...@@ -67,6 +67,7 @@ public class UserEditForm {
@Maxlength(maxlength=256, msg=@Msg(key="errors.maxlength"), arg0=@Arg(key="labels.buildingName")) @Maxlength(maxlength=256, msg=@Msg(key="errors.maxlength"), arg0=@Arg(key="labels.buildingName"))
public String buildingName; public String buildingName;
@Required(msg=@Msg(key="errors.required"), arg0=@Arg(key="labels.telNo"))
@Mask(mask = "^[0-9]{8,20}$",msg=@Msg(key="errors.invalid"), arg0=@Arg(key="labels.telNo")) @Mask(mask = "^[0-9]{8,20}$",msg=@Msg(key="errors.invalid"), arg0=@Arg(key="labels.telNo"))
public String telNo; public String telNo;
......
...@@ -155,7 +155,7 @@ ...@@ -155,7 +155,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td>電話</td> <td>電話<font class="listpoint">*</font></td>
<td><input name="telNo" type="text" / class="w150" value="$!escape.html($!memberEditForm.telNo)"> <td><input name="telNo" type="text" / class="w150" value="$!escape.html($!memberEditForm.telNo)">
<BR>$!tools.getMsg("telNo") <BR>$!tools.getMsg("telNo")
</td> </td>
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
<td>&nbsp;&nbsp;退会<input name="withDrawFlg" type="checkbox" / class="mgl10" value="$!memberEditForm.withDrawFlg" #if($memberEditForm.withDrawFlg != "0") checked #end ></td> <td>&nbsp;&nbsp;退会<input name="withDrawFlg" type="checkbox" / class="mgl10" value="$!memberEditForm.withDrawFlg" #if($memberEditForm.withDrawFlg != "0") checked #end ></td>
</tr> </tr>
<tr> <tr>
<td>ポイント</td> <td>ポイント<font class="listpoint">*</font></td>
<td><input name="point" type="text" / class="w250" value="$!escape.html($!memberEditForm.point)"> <td><input name="point" type="text" / class="w250" value="$!escape.html($!memberEditForm.point)">
<BR>$!tools.getMsg("point") <BR>$!tools.getMsg("point")
</td> </td>
......
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td>電話</td> <td>電話<font class="listpoint">*</font></td>
<td><input name="telNo" type="text" / class="w150" value="$!escape.html($!memberEditForm.telNo)"> <td><input name="telNo" type="text" / class="w150" value="$!escape.html($!memberEditForm.telNo)">
<BR>$!tools.getMsg("telNo") <BR>$!tools.getMsg("telNo")
</td> </td>
...@@ -215,7 +215,7 @@ ...@@ -215,7 +215,7 @@
## <td>&nbsp;&nbsp;退会<input name="withDrawFlg" type="checkbox" / class="mgl10" value="$!memberEditForm.withDrawFlg" #if($memberEditForm.withDrawFlg != "0") checked #end ></td> ## <td>&nbsp;&nbsp;退会<input name="withDrawFlg" type="checkbox" / class="mgl10" value="$!memberEditForm.withDrawFlg" #if($memberEditForm.withDrawFlg != "0") checked #end ></td>
## </tr> ## </tr>
<tr> <tr>
<td>ポイント</td> <td>ポイント<font class="listpoint">*</font></td>
<td><input name="point" type="text" / class="w250" value="$!escape.html($!memberEditForm.point)"> <td><input name="point" type="text" / class="w250" value="$!escape.html($!memberEditForm.point)">
<BR>$!tools.getMsg("point") <BR>$!tools.getMsg("point")
</td> </td>
......
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
2036号 </font></td> 2036号 </font></td>
</tr> </tr>
<tr> <tr>
<td class="listmenu"> 電話</td> <td class="listmenu"> 電話<span class="listpoint">*</span></td>
<td class="listcts"> <input type="text" size="20" name="telNo" maxlength="20" value="$!userEditForm.telNo"> <td class="listcts"> <input type="text" size="20" name="telNo" maxlength="20" value="$!userEditForm.telNo">
<TABLE border="0" cellspacing="0" cellpadding="0"><TR><Td>$!tools.getMsg("telNo")</Td></TR></TABLE> <TABLE border="0" cellspacing="0" cellpadding="0"><TR><Td>$!tools.getMsg("telNo")</Td></TR></TABLE>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment