A
i
Credit Card/American Express
1234
Credit Card/Visa & Mastercard
123
Skip to Main Content
Account Settings | Electric Supply & Equipment - Electric Supply Equipment Co
// ]]>
Liferay.Portlet.register('rhythmfootercontentportlet_WAR_rhythmfootercontentportlet');
Liferay.Portlet.onLoad(
{
canEditTitle: false,
columnPos: 0,
isStatic: 'end',
namespacedId: 'p_p_id_rhythmfootercontentportlet_WAR_rhythmfootercontentportlet_',
portletId: 'rhythmfootercontentportlet_WAR_rhythmfootercontentportlet',
refreshURL: '\x2fc\x2fportal\x2frender_portlet\x3fp_l_id\x3d3941040\x26p_p_id\x3drhythmfootercontentportlet_WAR_rhythmfootercontentportlet\x26p_p_lifecycle\x3d0\x26p_t_lifecycle\x3d0\x26p_p_state\x3dnormal\x26p_p_mode\x3dview\x26p_p_col_id\x3dnull\x26p_p_col_pos\x3dnull\x26p_p_col_count\x3dnull\x26p_p_static\x3d1\x26p_p_isolated\x3d1\x26currentURL\x3d\x252Fsettings',
refreshURLData: {}
}
);
var nestedPortlet = document.getElementById(
'_com_liferay_nested_portlets_web_portlet_NestedPortletsPortlet_INSTANCE_Mvg9tMe5K1HM__main-content'
);
if (nestedPortlet != null) {
nestedPortlet.removeAttribute('role');
}
Liferay.Portlet.register('com_liferay_nested_portlets_web_portlet_NestedPortletsPortlet_INSTANCE_Mvg9tMe5K1HM');
Liferay.Portlet.onLoad(
{
canEditTitle: false,
columnPos: 0,
isStatic: 'end',
namespacedId: 'p_p_id_com_liferay_nested_portlets_web_portlet_NestedPortletsPortlet_INSTANCE_Mvg9tMe5K1HM_',
portletId: 'com_liferay_nested_portlets_web_portlet_NestedPortletsPortlet_INSTANCE_Mvg9tMe5K1HM',
refreshURL: '\x2fc\x2fportal\x2frender_portlet\x3fp_l_id\x3d3941040\x26p_p_id\x3dcom_liferay_nested_portlets_web_portlet_NestedPortletsPortlet_INSTANCE_Mvg9tMe5K1HM\x26p_p_lifecycle\x3d0\x26p_t_lifecycle\x3d0\x26p_p_state\x3dnormal\x26p_p_mode\x3dview\x26p_p_col_id\x3dcolumn-1\x26p_p_col_pos\x3d0\x26p_p_col_count\x3d1\x26p_p_isolated\x3d1\x26currentURL\x3d\x252Fsettings',
refreshURLData: {}
}
);
Liferay.Portlet.register('rhythmecommarketselectorportlet_WAR_rhythmecommarketselectorportlet');
Liferay.Portlet.onLoad(
{
canEditTitle: false,
columnPos: 0,
isStatic: 'end',
namespacedId: 'p_p_id_rhythmecommarketselectorportlet_WAR_rhythmecommarketselectorportlet_',
portletId: 'rhythmecommarketselectorportlet_WAR_rhythmecommarketselectorportlet',
refreshURL: '\x2fc\x2fportal\x2frender_portlet\x3fp_l_id\x3d3941040\x26p_p_id\x3drhythmecommarketselectorportlet_WAR_rhythmecommarketselectorportlet\x26p_p_lifecycle\x3d0\x26p_t_lifecycle\x3d0\x26p_p_state\x3dnormal\x26p_p_mode\x3dview\x26p_p_col_id\x3dnull\x26p_p_col_pos\x3dnull\x26p_p_col_count\x3dnull\x26p_p_static\x3d1\x26p_p_isolated\x3d1\x26currentURL\x3d\x252Fsettings',
refreshURLData: {}
}
);
Liferay.Portlet.register('rhythmloginmultiinstancesportlet_WAR_rhythmloginmultiinstancesportlet_INSTANCE_1234');
Liferay.Portlet.onLoad(
{
canEditTitle: false,
columnPos: 0,
isStatic: 'end',
namespacedId: 'p_p_id_rhythmloginmultiinstancesportlet_WAR_rhythmloginmultiinstancesportlet_INSTANCE_1234_',
portletId: 'rhythmloginmultiinstancesportlet_WAR_rhythmloginmultiinstancesportlet_INSTANCE_1234',
refreshURL: '\x2fc\x2fportal\x2frender_portlet\x3fp_l_id\x3d3941040\x26p_p_id\x3drhythmloginmultiinstancesportlet_WAR_rhythmloginmultiinstancesportlet_INSTANCE_1234\x26p_p_lifecycle\x3d0\x26p_t_lifecycle\x3d0\x26p_p_state\x3dnormal\x26p_p_mode\x3dview\x26p_p_col_id\x3dnull\x26p_p_col_pos\x3dnull\x26p_p_col_count\x3dnull\x26p_p_static\x3d1\x26p_p_isolated\x3d1\x26currentURL\x3d\x252Fsettings',
refreshURLData: {}
}
);
Liferay.Portlet.register('rhythmecomblanketagreementjobspecificportlet_WAR_rhythmecomblanketagreementjobspecificportlet');
Liferay.Portlet.onLoad(
{
canEditTitle: false,
columnPos: 0,
isStatic: 'end',
namespacedId: 'p_p_id_rhythmecomblanketagreementjobspecificportlet_WAR_rhythmecomblanketagreementjobspecificportlet_',
portletId: 'rhythmecomblanketagreementjobspecificportlet_WAR_rhythmecomblanketagreementjobspecificportlet',
refreshURL: '\x2fc\x2fportal\x2frender_portlet\x3fp_l_id\x3d3941040\x26p_p_id\x3drhythmecomblanketagreementjobspecificportlet_WAR_rhythmecomblanketagreementjobspecificportlet\x26p_p_lifecycle\x3d0\x26p_t_lifecycle\x3d0\x26p_p_state\x3dnormal\x26p_p_mode\x3dview\x26p_p_col_id\x3dnull\x26p_p_col_pos\x3dnull\x26p_p_col_count\x3dnull\x26p_p_static\x3d1\x26p_p_isolated\x3d1\x26currentURL\x3d\x252Fsettings',
refreshURLData: {}
}
);
Liferay.Portlet.register('rhythmbreadcrumbsportlet_WAR_rhythmbreadcrumbsportlet');
Liferay.Portlet.onLoad(
{
canEditTitle: false,
columnPos: 0,
isStatic: 'end',
namespacedId: 'p_p_id_rhythmbreadcrumbsportlet_WAR_rhythmbreadcrumbsportlet_',
portletId: 'rhythmbreadcrumbsportlet_WAR_rhythmbreadcrumbsportlet',
refreshURL: '\x2fc\x2fportal\x2frender_portlet\x3fp_l_id\x3d3941040\x26p_p_id\x3drhythmbreadcrumbsportlet_WAR_rhythmbreadcrumbsportlet\x26p_p_lifecycle\x3d0\x26p_t_lifecycle\x3d0\x26p_p_state\x3dnormal\x26p_p_mode\x3dview\x26p_p_col_id\x3d_com_liferay_nested_portlets_web_portlet_NestedPortletsPortlet_INSTANCE_Mvg9tMe5K1HM__column-1\x26p_p_col_pos\x3d0\x26p_p_col_count\x3d4\x26p_p_isolated\x3d1\x26currentURL\x3d\x252Fsettings',
refreshURLData: {}
}
);
Liferay.Portlet.register('rhythm_portal_portlet_osslicenseinfo');
Liferay.Portlet.onLoad(
{
canEditTitle: false,
columnPos: 0,
isStatic: 'end',
namespacedId: 'p_p_id_rhythm_portal_portlet_osslicenseinfo_',
portletId: 'rhythm_portal_portlet_osslicenseinfo',
refreshURL: '\x2fc\x2fportal\x2frender_portlet\x3fp_l_id\x3d3941040\x26p_p_id\x3drhythm_portal_portlet_osslicenseinfo\x26p_p_lifecycle\x3d0\x26p_t_lifecycle\x3d0\x26p_p_state\x3dnormal\x26p_p_mode\x3dview\x26p_p_col_id\x3dnull\x26p_p_col_pos\x3dnull\x26p_p_col_count\x3dnull\x26p_p_static\x3d1\x26p_p_isolated\x3d1\x26currentURL\x3d\x252Fsettings',
refreshURLData: {}
}
);
AUI()
.use(
'aui-form-validator',
'aui-io-request',
function(A) {
var DEFAULTS_FORM_VALIDATOR = A.config.FormValidator;
var defaultRequired = DEFAULTS_FORM_VALIDATOR.RULES.required;
var required = function (val, node, ruleValue) {
// If the node is disabled it is not a required input.;
var isDisabled = node.get('disabled');
if(isDisabled) {
return true;
}
if(typeof ruleValue === 'boolean') {
// New Password field is not required
if (node.hasClass('newPassword')) {
return true;
}
else {
return defaultRequired(val, node, ruleValue);
}
}
if(typeof ruleValue === 'string') {
// Compare
if(node.val() == $(ruleValue).val()) {
return true;
}
return DEFAULTS_FORM_VALIDATOR.RULES.equalTo(val, node, ruleValue);
}
};
A.mix(DEFAULTS_FORM_VALIDATOR.RULES, {
required:required,
customRuleForPassword: function(val, fieldNode, ruleValue) {
if (!val) return false;
var isValidated = false;
var isValid = false;
A.io.request('', {
method: 'get',
sync: true,
data: {
currentPassword: val,
},
on: {
success: function(responseData) {
var valid = this.get('responseData');
console.log('success call: ' + isValid);
if (valid == 'true') {
isValid = true;
}
},
},
});
if (isValid) {
isValidated = true;
}
return isValidated;
},
newPasswordRule: function(val, fieldNode, ruleValue) {
if (!false || !val) {
return true;
}
// The minimum requirements of lowercase, uppercase, symbols and digits in password
var minRequirementsResult = true;
if (false) {
minRequirementsResult = val.match(/false/);
}
var passwordPolicyRegexResult = true;
if (false) {
passwordPolicyRegexResult = val.match(/false/);
}
return (minRequirementsResult && passwordPolicyRegexResult) ? true : false;
}
}, true);
A.mix(
DEFAULTS_FORM_VALIDATOR.STRINGS,
{
customRuleForPassword: ""
+ " The passwords you entered do not match. Please re-enter your password.
",
newPasswordRule: ""
+ " Passwords must contain at least eight characters (except @), including at least one special character, one uppercase letter, one lowercase letter and one number.
",
}, true);
//define rules for fields
var rules = {
_rhythmecomsecurityportlet_WAR_rhythmecomuserinfoportlet_currentPassword: {
required: true,
customRuleForPassword: true
},
_rhythmecomsecurityportlet_WAR_rhythmecomuserinfoportlet_newPassword: {
required: true,
newPasswordRule: true
},
_rhythmecomsecurityportlet_WAR_rhythmecomuserinfoportlet_confirmNewPassword: {
required: '#_rhythmecomsecurityportlet_WAR_rhythmecomuserinfoportlet_newPassword',
},
_rhythmecomsecurityportlet_WAR_rhythmecomuserinfoportlet_answer: {
required: true,
},
_rhythmecomsecurityportlet_WAR_rhythmecomuserinfoportlet_question: {
required:true,
}
};
// Change default error messages for rules.
var fieldStrings = {
_rhythmecomsecurityportlet_WAR_rhythmecomuserinfoportlet_currentPassword: {
required: ""
+ " Please enter a valid password.
",
},
_rhythmecomsecurityportlet_WAR_rhythmecomuserinfoportlet_confirmNewPassword: {
required: ""
+ " The passwords you entered do not match. Please re-enter your password.
"
},
_rhythmecomsecurityportlet_WAR_rhythmecomuserinfoportlet_answer: {
required: ""
+ " PLEASE_ENTER_AN_ANSWER
"
},
_rhythmecomsecurityportlet_WAR_rhythmecomuserinfoportlet_question: {
required: ""
+ " PLEASE_ENTER_A_QUESTION
"
}
};
var getBoundingBox = function() {
var hasSecurityForm = A.one('#_rhythmecomsecurityportlet_WAR_rhythmecomuserinfoportlet_formSecurity');
if(!hasSecurityForm) {
return '#_rhythmecomsecurityportlet_WAR_rhythmecomuserinfoportlet_formSecurityHolder';
}
return '#_rhythmecomsecurityportlet_WAR_rhythmecomuserinfoportlet_formSecurity';
};
new A.FormValidator({
boundingBox: getBoundingBox(),
fieldStrings: fieldStrings,
rules: rules,
showAllMessages: false
});
});
Liferay.Portlet.register('rhythmecomsecurityportlet_WAR_rhythmecomuserinfoportlet');
Liferay.Portlet.onLoad(
{
canEditTitle: false,
columnPos: 2,
isStatic: 'end',
namespacedId: 'p_p_id_rhythmecomsecurityportlet_WAR_rhythmecomuserinfoportlet_',
portletId: 'rhythmecomsecurityportlet_WAR_rhythmecomuserinfoportlet',
refreshURL: '\x2fc\x2fportal\x2frender_portlet\x3fp_l_id\x3d3941040\x26p_p_id\x3drhythmecomsecurityportlet_WAR_rhythmecomuserinfoportlet\x26p_p_lifecycle\x3d0\x26p_t_lifecycle\x3d0\x26p_p_state\x3dnormal\x26p_p_mode\x3dview\x26p_p_col_id\x3d_com_liferay_nested_portlets_web_portlet_NestedPortletsPortlet_INSTANCE_Mvg9tMe5K1HM__column-1\x26p_p_col_pos\x3d2\x26p_p_col_count\x3d4\x26p_p_isolated\x3d1\x26currentURL\x3d\x252Fsettings',
refreshURLData: {}
}
);
Liferay.Portlet.register('rhythmecomminicartportlet_WAR_rhythmecomminicartportlet');
Liferay.Portlet.onLoad(
{
canEditTitle: false,
columnPos: 0,
isStatic: 'end',
namespacedId: 'p_p_id_rhythmecomminicartportlet_WAR_rhythmecomminicartportlet_',
portletId: 'rhythmecomminicartportlet_WAR_rhythmecomminicartportlet',
refreshURL: '\x2fc\x2fportal\x2frender_portlet\x3fp_l_id\x3d3941040\x26p_p_id\x3drhythmecomminicartportlet_WAR_rhythmecomminicartportlet\x26p_p_lifecycle\x3d0\x26p_t_lifecycle\x3d0\x26p_p_state\x3dnormal\x26p_p_mode\x3dview\x26p_p_col_id\x3dnull\x26p_p_col_pos\x3dnull\x26p_p_col_count\x3dnull\x26p_p_static\x3d1\x26p_p_isolated\x3d1\x26currentURL\x3d\x252Fsettings',
refreshURLData: {}
}
);
Liferay.Portlet.register('rhythmmarketcontactinfoportlet_WAR_rhythmmarketcontactinfoportlet');
Liferay.Portlet.onLoad(
{
canEditTitle: false,
columnPos: 0,
isStatic: 'end',
namespacedId: 'p_p_id_rhythmmarketcontactinfoportlet_WAR_rhythmmarketcontactinfoportlet_',
portletId: 'rhythmmarketcontactinfoportlet_WAR_rhythmmarketcontactinfoportlet',
refreshURL: '\x2fc\x2fportal\x2frender_portlet\x3fp_l_id\x3d3941040\x26p_p_id\x3drhythmmarketcontactinfoportlet_WAR_rhythmmarketcontactinfoportlet\x26p_p_lifecycle\x3d0\x26p_t_lifecycle\x3d0\x26p_p_state\x3dnormal\x26p_p_mode\x3dview\x26p_p_col_id\x3dnull\x26p_p_col_pos\x3dnull\x26p_p_col_count\x3dnull\x26p_p_static\x3d1\x26p_p_isolated\x3d1\x26currentURL\x3d\x252Fsettings',
refreshURLData: {}
}
);
Liferay.Portlet.register('rhythmsocialmediaportlet_WAR_rhythmsocialmediaportlet_INSTANCE_mainfooterinstanceid');
Liferay.Portlet.onLoad(
{
canEditTitle: false,
columnPos: 0,
isStatic: 'end',
namespacedId: 'p_p_id_rhythmsocialmediaportlet_WAR_rhythmsocialmediaportlet_INSTANCE_mainfooterinstanceid_',
portletId: 'rhythmsocialmediaportlet_WAR_rhythmsocialmediaportlet_INSTANCE_mainfooterinstanceid',
refreshURL: '\x2fc\x2fportal\x2frender_portlet\x3fp_l_id\x3d3941040\x26p_p_id\x3drhythmsocialmediaportlet_WAR_rhythmsocialmediaportlet_INSTANCE_mainfooterinstanceid\x26p_p_lifecycle\x3d0\x26p_t_lifecycle\x3d0\x26p_p_state\x3dnormal\x26p_p_mode\x3dview\x26p_p_col_id\x3dnull\x26p_p_col_pos\x3dnull\x26p_p_col_count\x3dnull\x26p_p_static\x3d1\x26p_p_isolated\x3d1\x26currentURL\x3d\x252Fsettings',
refreshURLData: {}
}
);
Liferay.Portlet.register('rhythmdynamicmenufooterportlet_WAR_rhythmdynamicmenuportlet');
Liferay.Portlet.onLoad(
{
canEditTitle: false,
columnPos: 0,
isStatic: 'end',
namespacedId: 'p_p_id_rhythmdynamicmenufooterportlet_WAR_rhythmdynamicmenuportlet_',
portletId: 'rhythmdynamicmenufooterportlet_WAR_rhythmdynamicmenuportlet',
refreshURL: '\x2fc\x2fportal\x2frender_portlet\x3fp_l_id\x3d3941040\x26p_p_id\x3drhythmdynamicmenufooterportlet_WAR_rhythmdynamicmenuportlet\x26p_p_lifecycle\x3d0\x26p_t_lifecycle\x3d0\x26p_p_state\x3dnormal\x26p_p_mode\x3dview\x26p_p_col_id\x3dnull\x26p_p_col_pos\x3dnull\x26p_p_col_count\x3dnull\x26p_p_static\x3d1\x26p_p_isolated\x3d1\x26currentURL\x3d\x252Fsettings',
refreshURLData: {}
}
);
Liferay.Portlet.register('rhythmecomaccountpreferencesportlet_WAR_rhythmecomuserinfoportlet');
Liferay.Portlet.onLoad(
{
canEditTitle: false,
columnPos: 1,
isStatic: 'end',
namespacedId: 'p_p_id_rhythmecomaccountpreferencesportlet_WAR_rhythmecomuserinfoportlet_',
portletId: 'rhythmecomaccountpreferencesportlet_WAR_rhythmecomuserinfoportlet',
refreshURL: '\x2fc\x2fportal\x2frender_portlet\x3fp_l_id\x3d3941040\x26p_p_id\x3drhythmecomaccountpreferencesportlet_WAR_rhythmecomuserinfoportlet\x26p_p_lifecycle\x3d0\x26p_t_lifecycle\x3d0\x26p_p_state\x3dnormal\x26p_p_mode\x3dview\x26p_p_col_id\x3d_com_liferay_nested_portlets_web_portlet_NestedPortletsPortlet_INSTANCE_Mvg9tMe5K1HM__column-1\x26p_p_col_pos\x3d1\x26p_p_col_count\x3d4\x26p_p_isolated\x3d1\x26currentURL\x3d\x252Fsettings',
refreshURLData: {}
}
);
Liferay.Portlet.register('rhythmecomlanguageportlet_WAR_rhythmecomlanguageportlet');
Liferay.Portlet.onLoad(
{
canEditTitle: false,
columnPos: 0,
isStatic: 'end',
namespacedId: 'p_p_id_rhythmecomlanguageportlet_WAR_rhythmecomlanguageportlet_',
portletId: 'rhythmecomlanguageportlet_WAR_rhythmecomlanguageportlet',
refreshURL: '\x2fc\x2fportal\x2frender_portlet\x3fp_l_id\x3d3941040\x26p_p_id\x3drhythmecomlanguageportlet_WAR_rhythmecomlanguageportlet\x26p_p_lifecycle\x3d0\x26p_t_lifecycle\x3d0\x26p_p_state\x3dnormal\x26p_p_mode\x3dview\x26p_p_col_id\x3dnull\x26p_p_col_pos\x3dnull\x26p_p_col_count\x3dnull\x26p_p_static\x3d1\x26p_p_isolated\x3d1\x26currentURL\x3d\x252Fsettings',
refreshURLData: {}
}
);
Liferay.Portlet.register('rhythmecomdynamicsearchportlet_WAR_rhythmecomdynamicsearchportlet');
Liferay.Portlet.onLoad(
{
canEditTitle: false,
columnPos: 0,
isStatic: 'end',
namespacedId: 'p_p_id_rhythmecomdynamicsearchportlet_WAR_rhythmecomdynamicsearchportlet_',
portletId: 'rhythmecomdynamicsearchportlet_WAR_rhythmecomdynamicsearchportlet',
refreshURL: '\x2fc\x2fportal\x2frender_portlet\x3fp_l_id\x3d3941040\x26p_p_id\x3drhythmecomdynamicsearchportlet_WAR_rhythmecomdynamicsearchportlet\x26p_p_lifecycle\x3d0\x26p_t_lifecycle\x3d0\x26p_p_state\x3dnormal\x26p_p_mode\x3dview\x26p_p_col_id\x3dnull\x26p_p_col_pos\x3dnull\x26p_p_col_count\x3dnull\x26p_p_static\x3d1\x26p_p_isolated\x3d1\x26currentURL\x3d\x252Fsettings',
refreshURLData: {}
}
);
Liferay.Portlet.register('rhythmecomusershippingprofilesportlet_WAR_rhythmecomusershippingprofilesportlet');
Liferay.Portlet.onLoad(
{
canEditTitle: false,
columnPos: 3,
isStatic: 'end',
namespacedId: 'p_p_id_rhythmecomusershippingprofilesportlet_WAR_rhythmecomusershippingprofilesportlet_',
portletId: 'rhythmecomusershippingprofilesportlet_WAR_rhythmecomusershippingprofilesportlet',
refreshURL: '\x2fc\x2fportal\x2frender_portlet\x3fp_l_id\x3d3941040\x26p_p_id\x3drhythmecomusershippingprofilesportlet_WAR_rhythmecomusershippingprofilesportlet\x26p_p_lifecycle\x3d0\x26p_t_lifecycle\x3d0\x26p_p_state\x3dnormal\x26p_p_mode\x3dview\x26p_p_col_id\x3d_com_liferay_nested_portlets_web_portlet_NestedPortletsPortlet_INSTANCE_Mvg9tMe5K1HM__column-1\x26p_p_col_pos\x3d3\x26p_p_col_count\x3d4\x26p_p_isolated\x3d1\x26currentURL\x3d\x252Fsettings',
refreshURLData: {}
}
);
Liferay.Portlet.register('rhythmdynamicmenuheaderportlet_WAR_rhythmdynamicmenuportlet');
Liferay.Portlet.onLoad(
{
canEditTitle: false,
columnPos: 0,
isStatic: 'end',
namespacedId: 'p_p_id_rhythmdynamicmenuheaderportlet_WAR_rhythmdynamicmenuportlet_',
portletId: 'rhythmdynamicmenuheaderportlet_WAR_rhythmdynamicmenuportlet',
refreshURL: '\x2fc\x2fportal\x2frender_portlet\x3fp_l_id\x3d3941040\x26p_p_id\x3drhythmdynamicmenuheaderportlet_WAR_rhythmdynamicmenuportlet\x26p_p_lifecycle\x3d0\x26p_t_lifecycle\x3d0\x26p_p_state\x3dnormal\x26p_p_mode\x3dview\x26p_p_col_id\x3dnull\x26p_p_col_pos\x3dnull\x26p_p_col_count\x3dnull\x26p_p_static\x3d1\x26p_p_isolated\x3d1\x26currentURL\x3d\x252Fsettings',
refreshURLData: {}
}
);
We use cookies to deliver personalized content, analyze trends, administer the site, track user movements on the site, and collect demographic information about our user base as a whole. Accept all cookies for the best possible experience on our website or manage your preferences.
Configuration
Accept All
Decline All