Revision 110:e7a235c5a0e6
WebContent/WEB-INF/config/ss102_user_admin/form-beans.xml | ||
---|---|---|
126 | 126 |
<form-property name="ticketingPayeeCode" type="java.lang.String" /> |
127 | 127 |
<form-property name="ccppPanCC" type="java.lang.String" /> |
128 | 128 |
<form-property name="im2uWSFlag" type="java.lang.String" /> |
129 |
<form-property name="im2uWSFlagDisplay" type="java.lang.String" /> |
|
129 | 130 |
<form-property name="im2uWSIdentCode" type="java.lang.String" /> |
130 | 131 |
<form-property name="im2uWSMySgId" type="java.lang.String" /> |
131 | 132 |
<form-property name="im2uWSRegTimestamp" type="java.lang.String" /> |
WebContent/jsp/ss112_user/ibssRetailUserEdit.jsp | ||
---|---|---|
138 | 138 |
<td width="140"><bean:message key="user.ws.flag"/>:</td> |
139 | 139 |
<td width="345"> |
140 | 140 |
<htmlEL:select property="im2uWSFlag" name="ibssUserForm"> |
141 |
<htmlEL:option value="Y"><bean:message key="general.yes"/></htmlEL:option> |
|
142 |
<htmlEL:option value="N"><bean:message key="general.no"/></htmlEL:option> |
|
141 |
<c:choose> |
|
142 |
<c:when test="${ibssUserForm.map.im2uWSFlag eq 'Y'}"> |
|
143 |
<htmlEL:option value="${ibssUserForm.map.im2uWSFlag}"><c:out value="${ibssUserForm.map.im2uWSFlagDisplay}"/></htmlEL:option> |
|
144 |
<htmlEL:option value="N"><bean:message key="general.no"/></htmlEL:option> |
|
145 |
</c:when> |
|
146 |
<c:otherwise> |
|
147 |
<htmlEL:option value="${ibssUserForm.map.im2uWSFlag}"><c:out value="${ibssUserForm.map.im2uWSFlagDisplay}"/></htmlEL:option> |
|
148 |
<htmlEL:option value="Y"><bean:message key="general.yes"/></htmlEL:option> |
|
149 |
</c:otherwise> |
|
150 |
</c:choose> |
|
143 | 151 |
</htmlEL:select> |
144 | 152 |
</td> |
145 | 153 |
<td width="3"> </td> |
src/com/ib/ibss/enterprise/services/ss102_user_admin/constants/IBSSUserConstants.java | ||
---|---|---|
254 | 254 |
public static final String TICKETING_PAYEE_CODE = "ticketingPayeeCode"; |
255 | 255 |
public static final String CCPP_PAN_CC = "ccppPanCC"; |
256 | 256 |
public static final String IM2U_WS_FLAG = "im2uWSFlag"; |
257 |
public static final String IM2U_WS_FLAG_DISPLAY = "im2uWSFlagDisplay"; |
|
257 | 258 |
public static final String IM2U_WS_IDENT_CODE = "im2uWSIdentCode"; |
258 | 259 |
public static final String IM2U_WS_MYSG_ID = "im2uWSMySgId"; |
259 | 260 |
public static final String IM2U_WS_REG_TIMESTAMP = "im2uWSRegTimestamp"; |
src/com/ib/ibss/enterprise/services/ss112_user/IBSSRetailUserEnquiryDetailsServices.java | ||
---|---|---|
147 | 147 |
} |
148 | 148 |
case 5:{//M2U Singapore Integration |
149 | 149 |
Im2uUser user = (Im2uUser) userProfile; |
150 |
String flagDisplay = user.getWsFlag().equals("Y")?"Yes":"No"; |
|
150 | 151 |
getIBSSDynaBean ().set (IBSSUserConstants.USER_PROFILE, user); |
151 |
detailMap.put(ResourcesUtils.getApplicationResourceMessage("user.ws.flag"), user.getWsFlag()); |
|
152 |
setBeanMessage (IBSSUserConstants.IM2U_WS_FLAG, user.getWsFlag()); |
|
153 |
setBeanMessage (IBSSUserConstants.IM2U_WS_FLAG_DISPLAY, flagDisplay); |
|
154 |
detailMap.put(ResourcesUtils.getApplicationResourceMessage("user.ws.flag"), flagDisplay); |
|
152 | 155 |
detailMap.put(ResourcesUtils.getApplicationResourceMessage("user.ws.ident.code"), user.getWsIdentCode()); |
153 | 156 |
detailMap.put(ResourcesUtils.getApplicationResourceMessage("user.ws.my.sg.id"), user.getWsMySgId()); |
154 | 157 |
detailMap.put(ResourcesUtils.getApplicationResourceMessage("user.ws.registration.time.stamp"), user.getWsRegTimeStamp().toString()); |
src/com/ib/ibss/enterprise/services/ss112_user/IBSSRetailUserEnquiryEditServices.java | ||
---|---|---|
98 | 98 |
} |
99 | 99 |
else if(Integer.valueOf(appId).equals(ClientApp.APP_ID_IM2U)) |
100 | 100 |
{ |
101 |
setBeanMessage (IBSSUserConstants.IM2U_WS_FLAG, detailMap.get(ResourcesUtils.getApplicationResourceMessage("user.ws.flag"))); |
|
101 |
// setBeanMessage (IBSSUserConstants.IM2U_WS_FLAG, detailMap.get(ResourcesUtils.getApplicationResourceMessage("user.ws.flag")));
|
|
102 | 102 |
setBeanMessage (IBSSUserConstants.IM2U_WS_IDENT_CODE, detailMap.get(ResourcesUtils.getApplicationResourceMessage("user.ws.ident.code"))); |
103 | 103 |
setBeanMessage (IBSSUserConstants.IM2U_WS_MYSG_ID, detailMap.get(ResourcesUtils.getApplicationResourceMessage("user.ws.my.sg.id"))); |
104 | 104 |
setBeanMessage (IBSSUserConstants.IM2U_WS_REG_TIMESTAMP, detailMap.get(ResourcesUtils.getApplicationResourceMessage("user.ws.registration.time.stamp"))); |
Also available in: Unified diff