My menu items. They work as long as I don't have prototoype.js on the
page.
domMenu_data.set('domMenu_main', new Hash(
1, new Hash(
'contents', 'Personal',
1, new Hash(
'contents', 'Details',
'uri', 'ViewEmployee.action'
),
2, new Hash(
'contents', 'Dependents',
'uri', 'ViewDependents.action'
),
3, new Hash(
'contents', 'Emergency Contacts',
'uri', 'EmployeeEmergency.action'
)
),
2, new Hash(
'contents', 'Payroll',
1, new Hash(
'contents', 'Current',
'uri', 'EmployeePayroll.action'
),
2, new Hash(
'contents', 'Yearly Summary',
'uri', 'EmployeeCheckStubYear.action'
),
3, new Hash(
'contents', 'Check Stubs',
'uri', 'EmployeeCheckStubCheck.action'
),
4, new Hash(
'contents', 'Past Timepunches',
'uri', 'EmployeePunches.action'
)
),
3, new Hash(
'contents', 'Benefits',
'uri', '',
1, new Hash(
'contents', 'Enrolled',
'uri', 'EmployeeBenefit.action'
),
2, new Hash(
'contents', 'Eligible',
'uri', 'EmployeeBenefitEnroll.action'
),
3, new Hash(
'contents', 'Waived',
'uri', 'EmployeeBenefitWaived.action'
)
),
4, new Hash(
'contents', 'Reports',
'uri', '',
1, new Hash(
'contents', 'Reports List',
'uri', 'ReportList.action'
)),
5, new Hash(
'contents', 'System',
'uri', '',
1, new Hash(
'contents', 'About',
'uri', 'About.action'
),
2, new Hash(
'contents', 'Help',
'uri', 'CompanyHelp.action'
),
3, new Hash(
'contents', 'Switch Roles',
'uri', 'SecuritySelection.action'
),
4, new Hash(
'contents', 'Change Password',
'uri', 'UserPassAdministration.action'
),
5, new Hash(
'contents', 'Account Settings',
'uri', 'UserSelfAdministration.action'
),
6, new Hash(
'contents', 'Logout',
'uri', 'Login.action'
))
));