}
// Set phone number
- contact.setContactPhoneNumber(phone);
+ contact.setContactLandLineNumber(phone);
}
// Don't set null or wrong references
// Get cellphone, phone and fax instance
DialableCellphoneNumber cellphone = user.getUserContact().getContactCellphoneNumber();
DialableFaxNumber fax = user.getUserContact().getContactFaxNumber();
- DialableLandLineNumber phone = user.getUserContact().getContactPhoneNumber();
+ DialableLandLineNumber phone = user.getUserContact().getContactLandLineNumber();
// - contact data
if ((phone instanceof DialableLandLineNumber) && (phone.getPhoneAreaCode() > 0)) {
/**
* Country bean
*/
- private AddressbookCountrySingletonBeanRemote countryController;
+ private AddressbookCountrySingletonBeanRemote countryBean;
/**
* Logger instance
// Lookup logger
this.loggerBeanLocal = (LoggerBeanLocal) context.lookup("java:global/jcore-logger-ejb/logger!org.mxchange.jcoreeelogger.beans.local.logger.LoggerBeanLocal"); //NOI18N
- // ... and country controller
- this.countryController = (AddressbookCountrySingletonBeanRemote) context.lookup("java:global/addressbook-ejb/country!org.mxchange.jcountry.data.AddressbookCountrySingletonBeanRemote"); //NOI18N
+ // ... and country bean
+ this.countryBean = (AddressbookCountrySingletonBeanRemote) context.lookup("java:global/addressbook-ejb/country!org.mxchange.jcountry.data.AddressbookCountrySingletonBeanRemote"); //NOI18N
} catch (final NamingException ex) {
// Continue to throw it
throw new RuntimeException("context.lookup() failed.", ex); //NOI18N
@Override
public Object getAsObject (final FacesContext context, final UIComponent component, final String submittedValue) {
// Trace message
- this.loggerBeanLocal.logTrace(MessageFormat.format("getAsObject: context={0},component={1},submittedValue={2},this.countryController={3} - CALLED!", context, component, submittedValue, this.countryController)); //NOI18N
+ this.loggerBeanLocal.logTrace(MessageFormat.format("getAsObject: context={0},component={1},submittedValue={2},this.countryBean={3} - CALLED!", context, component, submittedValue, this.countryBean)); //NOI18N
// Is the value null or empty?
if ((null == submittedValue) || (submittedValue.trim().isEmpty())) {
}
// Get full list
- List<Country> countryList = this.countryController.allCountries();
+ List<Country> countryList = this.countryBean.allCountries();
// Init value
Country country = null;
<div class="table_right">
<h:inputSecret class="input" id="currentPassword" size="10" maxlength="255" value="#{loginController.currentPassword}" required="true" validatorMessage="#{msg.ERROR_CURRENT_PASSWORD_MISMATCHING}">
<h:message for="currentPassword" class="errors" />
- <f:validator for="currentPassword" validatorId="UserPasswordValidator" />
+ <!-- <f:validator for="currentPassword" validatorId="UserPasswordValidator" /> //-->
</h:inputSecret>
</div>