From e6212fa86470145900cd69d6ac47b7cef3c27b30 Mon Sep 17 00:00:00 2001 From: PriestJ Date: Thu, 28 Feb 2008 14:28:58 +0000 Subject: [PATCH] Changed Label of 'Apply Changes' Button on enquiry screen to read 'Save' at the request of NG Metering see ticket #255 git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3758 248e525c-4dfb-0310-94bc-949c084e9493 --- Screens/f155.sql | 262 ++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 250 insertions(+), 12 deletions(-) diff --git a/Screens/f155.sql b/Screens/f155.sql index 9ceb2d5..7f8beda 100644 --- a/Screens/f155.sql +++ b/Screens/f155.sql @@ -13,7 +13,7 @@ prompt APPLICATION 155 - webmip -- Application Export: -- Application: 155 -- Name: webmip --- Date and Time: 13:56 Thursday February 28, 2008 +-- Date and Time: 14:27 Thursday February 28, 2008 -- Exported By: PRIESTJ -- Flashback: 0 -- Export Type: Application Export @@ -28,7 +28,7 @@ prompt APPLICATION 155 - webmip -- Pages: 54 -- Items: 344 -- Computations: 1 --- Validations: 252 +-- Validations: 260 -- Processes: 93 -- Regions: 78 -- Buttons: 118 @@ -145,7 +145,7 @@ wwv_flow_api.create_flow( p_default_region_template=> 24740611526526770 + wwv_flow_api.g_id_offset, p_error_template => 38911722486594102 + wwv_flow_api.g_id_offset, p_page_protection_enabled_y_n=> 'N', - p_checksum_salt_last_reset => '20080228135650', + p_checksum_salt_last_reset => '20080228142748', p_home_link => 'f?p=&APP_ID.:1', p_box_width => '98%', p_flow_language => 'en-gb', @@ -187,7 +187,7 @@ wwv_flow_api.create_flow( p_substitution_string_01 => 'SYSTEM_ENVIRONMENT', p_substitution_value_01 => '(Development)', p_last_updated_by => 'PRIESTJ', - p_last_upd_yyyymmddhh24miss=> '20080228135650', + p_last_upd_yyyymmddhh24miss=> '20080228142748', p_required_roles=> wwv_flow_utilities.string_to_table2('')); @@ -2503,6 +2503,49 @@ wwv_flow_api.create_app_comments ( p_app_version=>''); end; / +begin +wwv_flow_api.create_app_comments ( + p_id=>44608121889089039 + wwv_flow_api.g_id_offset, + p_flow_id=>wwv_flow.g_flow_id, + p_pages=>'62', + p_app_comment=>'Added validations of the phone, fax and mobile fields as ticket #304.'||chr(10)|| +''||chr(10)|| +'Added validation of the email field as ticket #311', + p_updated_on=>'2008.02.28.14:22:00', + p_updated_by=>'MULLENM', + p_created_on=>'2008.02.28.14:22:00', + p_created_by=>'MULLENM', + p_app_version=>''); +end; +/ +begin +wwv_flow_api.create_app_comments ( + p_id=>44612325961109147 + wwv_flow_api.g_id_offset, + p_flow_id=>wwv_flow.g_flow_id, + p_pages=>'66', + p_app_comment=>'Added validations to phone, fax and mobile fields as part of ticket #304.'||chr(10)|| +''||chr(10)|| +'Added validation to email field as ticket #311.', + p_updated_on=>'2008.02.28.14:25:21', + p_updated_by=>'MULLENM', + p_created_on=>'2008.02.28.14:25:21', + p_created_by=>'MULLENM', + p_app_version=>''); +end; +/ +begin +wwv_flow_api.create_app_comments ( + p_id=>44613905098122014 + wwv_flow_api.g_id_offset, + p_flow_id=>wwv_flow.g_flow_id, + p_pages=>'32', + p_app_comment=>'Changed the Apply Changes button label to Save at the request of NG Metering, see ticket #255', + p_updated_on=>'2008.02.28.14:27:30', + p_updated_by=>'PRIESTJ', + p_created_on=>'2008.02.28.14:27:30', + p_created_by=>'PRIESTJ', + p_app_version=>''); +end; +/ --application/pages/page_00000 prompt ...PAGE 0: system @@ -11263,7 +11306,7 @@ wwv_flow_api.create_page( p_required_role => 16097609166220701+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => 'PRIESTJ', - p_last_upd_yyyymmddhh24miss => '20080228133840', + p_last_upd_yyyymmddhh24miss => '20080228140218', p_page_is_public_y_n=> 'N', p_protection_level=> 'C', p_page_comment => ''); @@ -11685,11 +11728,12 @@ wwv_flow_api.create_page_button( p_button_sequence=> 30, p_button_plug_id => 26597727520798255+wwv_flow_api.g_id_offset, p_button_name => 'UPDATE', - p_button_image_alt=> 'Apply Changes', + p_button_image_alt=> 'Save', p_button_position=> 'REGION_TEMPLATE_PREVIOUS', p_button_alignment=> 'RIGHT', p_button_condition=> ':P32_ID is not null and #OWNER#.mip_security.page_authorization(v(''APP_USER''),v(''APP_PAGE_ID''),''A'') and not #OWNER#.mip_security.page_authorization(v(''APP_USER''),v(''APP_PAGE_ID''),''R'') and #OWNER#.mip_enquiry.get_enquiry_status(:P32_ID) = ''INP''', p_button_condition_type=> 'PLSQL_EXPRESSION', + p_button_cattributes=>'id="update"', p_database_action=>'UPDATE', p_required_patch => null + wwv_flow_api.g_id_offset); @@ -11700,11 +11744,12 @@ wwv_flow_api.create_page_button( p_button_sequence=> 30, p_button_plug_id => 26597504596798255+wwv_flow_api.g_id_offset, p_button_name => 'UPDATE', - p_button_image_alt=> 'Apply Changes', + p_button_image_alt=> 'Save', p_button_position=> 'REGION_TEMPLATE_PREVIOUS', p_button_alignment=> 'RIGHT', p_button_condition=> ':P32_ID is not null and #OWNER#.mip_security.page_authorization(v(''APP_USER''),v(''APP_PAGE_ID''),''A'') and not #OWNER#.mip_security.page_authorization(v(''APP_USER''),v(''APP_PAGE_ID''),''R'') and #OWNER#.mip_enquiry.get_enquiry_status(:P32_ID) = ''INP''', p_button_condition_type=> 'PLSQL_EXPRESSION', + p_button_cattributes=>'id="update"', p_database_action=>'UPDATE', p_required_patch => null + wwv_flow_api.g_id_offset); @@ -11745,11 +11790,12 @@ wwv_flow_api.create_page_button( p_button_sequence=> 70, p_button_plug_id => 26598112910798256+wwv_flow_api.g_id_offset, p_button_name => 'UPDATE', - p_button_image_alt=> 'Apply Changes', + p_button_image_alt=> 'Save', p_button_position=> 'REGION_TEMPLATE_PREVIOUS', p_button_alignment=> 'RIGHT', p_button_condition=> ':P32_ID is not null and #OWNER#.mip_security.page_authorization(v(''APP_USER''),v(''APP_PAGE_ID''),''A'') and not #OWNER#.mip_security.page_authorization(v(''APP_USER''),v(''APP_PAGE_ID''),''R'') and #OWNER#.mip_enquiry.get_enquiry_status(:P32_ID) = ''INP''', p_button_condition_type=> 'PLSQL_EXPRESSION', + p_button_cattributes=>'id="update"', p_database_action=>'UPDATE', p_required_patch => null + wwv_flow_api.g_id_offset); @@ -11775,11 +11821,12 @@ wwv_flow_api.create_page_button( p_button_sequence=> 100, p_button_plug_id => 26597913925798255+wwv_flow_api.g_id_offset, p_button_name => 'UPDATE', - p_button_image_alt=> 'Apply Changes', + p_button_image_alt=> 'Save', p_button_position=> 'REGION_TEMPLATE_PREVIOUS', p_button_alignment=> 'RIGHT', p_button_condition=> ':P32_ID is not null and #OWNER#.mip_security.page_authorization(v(''APP_USER''),v(''APP_PAGE_ID''),''A'') and not #OWNER#.mip_security.page_authorization(v(''APP_USER''),v(''APP_PAGE_ID''),''R'') and #OWNER#.mip_enquiry.get_enquiry_status(:P32_ID) = ''INP''', p_button_condition_type=> 'PLSQL_EXPRESSION', + p_button_cattributes=>'id="update"', p_database_action=>'UPDATE', p_required_patch => null + wwv_flow_api.g_id_offset); @@ -11805,11 +11852,12 @@ wwv_flow_api.create_page_button( p_button_sequence=> 130, p_button_plug_id => 26598328443798256+wwv_flow_api.g_id_offset, p_button_name => 'UPDATE', - p_button_image_alt=> 'Apply Changes', + p_button_image_alt=> 'Save', p_button_position=> 'REGION_TEMPLATE_PREVIOUS', p_button_alignment=> 'RIGHT', p_button_condition=> ':P32_ID is not null and #OWNER#.mip_security.page_authorization(v(''APP_USER''),v(''APP_PAGE_ID''),''A'') and not #OWNER#.mip_security.page_authorization(v(''APP_USER''),v(''APP_PAGE_ID''),''R'')', p_button_condition_type=> 'PLSQL_EXPRESSION', + p_button_cattributes=>'id="update"', p_database_action=>'UPDATE', p_required_patch => null + wwv_flow_api.g_id_offset); @@ -30017,7 +30065,7 @@ wwv_flow_api.create_page( p_step_template => '', p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => 'MULLENM', - p_last_upd_yyyymmddhh24miss => '20080221161736', + p_last_upd_yyyymmddhh24miss => '20080228142012', p_page_is_public_y_n=> 'N', p_page_comment => ''); @@ -30729,6 +30777,101 @@ end; / +begin + +wwv_flow_api.create_page_validation( + p_id => 44601700241044970 + wwv_flow_api.g_id_offset, + p_flow_id => wwv_flow.g_flow_id, + p_flow_step_id => 62, + p_validation_name => 'P62_PHONE is valid', + p_validation_sequence=> 62, + p_validation => 'P62_PHONE', + p_validation2 => '^((\(?0\d{4}\)?\s?\d{3}\s?\d{3})|(\(?0\d{3}\)?\s?\d{3}\s?\d{4})|(\(?0\d{2}\)?\s?\d{4}\s?\d{4}))(\s?\#(\d{4}|\d{3}))?$', + p_validation_type => 'REGULAR_EXPRESSION', + p_error_message => 'Phone number format not recognized.'||chr(10)|| +'e.g (01234) 567890', + p_when_button_pressed=> 20973801814316917 + wwv_flow_api.g_id_offset, + p_associated_item=> 20975410091316917 + wwv_flow_api.g_id_offset, + p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', + p_validation_comment=> ''); + +null; + +end; +/ + + +begin + +wwv_flow_api.create_page_validation( + p_id => 44603211669048286 + wwv_flow_api.g_id_offset, + p_flow_id => wwv_flow.g_flow_id, + p_flow_step_id => 62, + p_validation_name => 'P62_FAX is valid', + p_validation_sequence=> 72, + p_validation => 'P62_FAX', + p_validation2 => '^((\(?0\d{4}\)?\s?\d{3}\s?\d{3})|(\(?0\d{3}\)?\s?\d{3}\s?\d{4})|(\(?0\d{2}\)?\s?\d{4}\s?\d{4}))(\s?\#(\d{4}|\d{3}))?$', + p_validation_type => 'REGULAR_EXPRESSION', + p_error_message => 'Phone number format not recognized.'||chr(10)|| +'e.g (01234) 567890', + p_when_button_pressed=> 20973801814316917 + wwv_flow_api.g_id_offset, + p_associated_item=> 20975615215316919 + wwv_flow_api.g_id_offset, + p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', + p_validation_comment=> ''); + +null; + +end; +/ + + +begin + +wwv_flow_api.create_page_validation( + p_id => 44604120326050770 + wwv_flow_api.g_id_offset, + p_flow_id => wwv_flow.g_flow_id, + p_flow_step_id => 62, + p_validation_name => 'P62_MOBILE is valid', + p_validation_sequence=> 82, + p_validation => 'P62_MOBILE', + p_validation2 => '^((\(?0\d{4}\)?\s?\d{3}\s?\d{3})|(\(?0\d{3}\)?\s?\d{3}\s?\d{4})|(\(?0\d{2}\)?\s?\d{4}\s?\d{4}))(\s?\#(\d{4}|\d{3}))?$', + p_validation_type => 'REGULAR_EXPRESSION', + p_error_message => 'Phone number format not recognized.'||chr(10)|| +'e.g (01234) 567890', + p_when_button_pressed=> 20973801814316917 + wwv_flow_api.g_id_offset, + p_associated_item=> 20975828146316919 + wwv_flow_api.g_id_offset, + p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', + p_validation_comment=> ''); + +null; + +end; +/ + + +begin + +wwv_flow_api.create_page_validation( + p_id => 44605730154063030 + wwv_flow_api.g_id_offset, + p_flow_id => wwv_flow.g_flow_id, + p_flow_step_id => 62, + p_validation_name => 'P62_EMAIL is valid', + p_validation_sequence=> 92, + p_validation => 'P62_EMAIL', + p_validation2 => '^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$', + p_validation_type => 'REGULAR_EXPRESSION', + p_error_message => 'Invalid email address.', + p_when_button_pressed=> 20973801814316917 + wwv_flow_api.g_id_offset, + p_associated_item=> 20976003038316919 + wwv_flow_api.g_id_offset, + p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', + p_validation_comment=> ''); + +null; + +end; +/ + + begin --------------------------------------- @@ -34209,7 +34352,7 @@ wwv_flow_api.create_page( p_step_template => '', p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => 'MULLENM', - p_last_upd_yyyymmddhh24miss => '20080227112321', + p_last_upd_yyyymmddhh24miss => '20080228142713', p_page_is_public_y_n=> 'N', p_page_comment => ''); @@ -35988,6 +36131,101 @@ end; / +begin + +wwv_flow_api.create_page_validation( + p_id => 44609308515094672 + wwv_flow_api.g_id_offset, + p_flow_id => wwv_flow.g_flow_id, + p_flow_step_id => 66, + p_validation_name => 'P66_EMAIL is valid', + p_validation_sequence=> 230, + p_validation => 'P66_EMAIL', + p_validation2 => '^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$', + p_validation_type => 'REGULAR_EXPRESSION', + p_error_message => 'Invalid email address.', + p_when_button_pressed=> 20935829064296944 + wwv_flow_api.g_id_offset, + p_associated_item=> 20937225514296944 + wwv_flow_api.g_id_offset, + p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', + p_validation_comment=> ''); + +null; + +end; +/ + + +begin + +wwv_flow_api.create_page_validation( + p_id => 44610223752099050 + wwv_flow_api.g_id_offset, + p_flow_id => wwv_flow.g_flow_id, + p_flow_step_id => 66, + p_validation_name => 'P66_TELEPHONE is valid', + p_validation_sequence=> 240, + p_validation => 'P66_TELEPHONE', + p_validation2 => '^((\(?0\d{4}\)?\s?\d{3}\s?\d{3})|(\(?0\d{3}\)?\s?\d{3}\s?\d{4})|(\(?0\d{2}\)?\s?\d{4}\s?\d{4}))(\s?\#(\d{4}|\d{3}))?$', + p_validation_type => 'REGULAR_EXPRESSION', + p_error_message => 'Phone number format not recognized.'||chr(10)|| +'e.g. (01234) 567890', + p_when_button_pressed=> 20935829064296944 + wwv_flow_api.g_id_offset, + p_associated_item=> 20936614934296944 + wwv_flow_api.g_id_offset, + p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', + p_validation_comment=> ''); + +null; + +end; +/ + + +begin + +wwv_flow_api.create_page_validation( + p_id => 44611100681101850 + wwv_flow_api.g_id_offset, + p_flow_id => wwv_flow.g_flow_id, + p_flow_step_id => 66, + p_validation_name => 'P66_MOBILE is valid', + p_validation_sequence=> 250, + p_validation => 'P66_MOBILE', + p_validation2 => '^((\(?0\d{4}\)?\s?\d{3}\s?\d{3})|(\(?0\d{3}\)?\s?\d{3}\s?\d{4})|(\(?0\d{2}\)?\s?\d{4}\s?\d{4}))(\s?\#(\d{4}|\d{3}))?$', + p_validation_type => 'REGULAR_EXPRESSION', + p_error_message => 'Phone number format not recognized.'||chr(10)|| +'e.g. (01234) 567890', + p_when_button_pressed=> 20935829064296944 + wwv_flow_api.g_id_offset, + p_associated_item=> 20936831527296944 + wwv_flow_api.g_id_offset, + p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', + p_validation_comment=> ''); + +null; + +end; +/ + + +begin + +wwv_flow_api.create_page_validation( + p_id => 44612012455105283 + wwv_flow_api.g_id_offset, + p_flow_id => wwv_flow.g_flow_id, + p_flow_step_id => 66, + p_validation_name => 'P66_FAX is valid', + p_validation_sequence=> 260, + p_validation => 'P66_FAX', + p_validation2 => '^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$', + p_validation_type => 'REGULAR_EXPRESSION', + p_error_message => 'Phone number format not recognized.'||chr(10)|| +'e.g. (01234) 567890', + p_when_button_pressed=> 20935829064296944 + wwv_flow_api.g_id_offset, + p_associated_item=> 20937017959296944 + wwv_flow_api.g_id_offset, + p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', + p_validation_comment=> ''); + +null; + +end; +/ + + begin declare