fix for #355 url now generates a checksum
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3914 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
@@ -13,8 +13,8 @@ prompt APPLICATION 155 - webmip
|
|||||||
-- Application Export:
|
-- Application Export:
|
||||||
-- Application: 155
|
-- Application: 155
|
||||||
-- Name: webmip
|
-- Name: webmip
|
||||||
-- Date and Time: 13:35 Monday March 10, 2008
|
-- Date and Time: 16:00 Monday March 10, 2008
|
||||||
-- Exported By: MULLENM
|
-- Exported By: PRIESTJ
|
||||||
-- Flashback: 0
|
-- Flashback: 0
|
||||||
-- Export Type: Application Export
|
-- Export Type: Application Export
|
||||||
-- Version: 3.1.0.00.32
|
-- Version: 3.1.0.00.32
|
||||||
@@ -26,7 +26,7 @@ prompt APPLICATION 155 - webmip
|
|||||||
|
|
||||||
-- Application Statistics:
|
-- Application Statistics:
|
||||||
-- Pages: 58
|
-- Pages: 58
|
||||||
-- Items: 352
|
-- Items: 353
|
||||||
-- Computations: 1
|
-- Computations: 1
|
||||||
-- Validations: 272
|
-- Validations: 272
|
||||||
-- Processes: 95
|
-- Processes: 95
|
||||||
@@ -145,7 +145,7 @@ wwv_flow_api.create_flow(
|
|||||||
p_default_region_template=> 24740611526526770 + wwv_flow_api.g_id_offset,
|
p_default_region_template=> 24740611526526770 + wwv_flow_api.g_id_offset,
|
||||||
p_error_template => 38911722486594102 + wwv_flow_api.g_id_offset,
|
p_error_template => 38911722486594102 + wwv_flow_api.g_id_offset,
|
||||||
p_page_protection_enabled_y_n=> 'Y',
|
p_page_protection_enabled_y_n=> 'Y',
|
||||||
p_checksum_salt_last_reset => '20080310133500',
|
p_checksum_salt_last_reset => '20080310160008',
|
||||||
p_home_link => 'f?p=&APP_ID.:101',
|
p_home_link => 'f?p=&APP_ID.:101',
|
||||||
p_flow_language => 'en-gb',
|
p_flow_language => 'en-gb',
|
||||||
p_flow_language_derived_from=> 'FLOW_PRIMARY_LANGUAGE',
|
p_flow_language_derived_from=> 'FLOW_PRIMARY_LANGUAGE',
|
||||||
@@ -186,8 +186,8 @@ wwv_flow_api.create_flow(
|
|||||||
p_default_listr_template => 24740611526526770 + wwv_flow_api.g_id_offset,
|
p_default_listr_template => 24740611526526770 + wwv_flow_api.g_id_offset,
|
||||||
p_substitution_string_01 => 'SYSTEM_ENVIRONMENT',
|
p_substitution_string_01 => 'SYSTEM_ENVIRONMENT',
|
||||||
p_substitution_value_01 => '(Development)',
|
p_substitution_value_01 => '(Development)',
|
||||||
p_last_updated_by => 'MULLENM',
|
p_last_updated_by => 'PRIESTJ',
|
||||||
p_last_upd_yyyymmddhh24miss=> '20080310133500',
|
p_last_upd_yyyymmddhh24miss=> '20080310160008',
|
||||||
p_required_roles=> wwv_flow_utilities.string_to_table2(''));
|
p_required_roles=> wwv_flow_utilities.string_to_table2(''));
|
||||||
|
|
||||||
|
|
||||||
@@ -8624,8 +8624,8 @@ wwv_flow_api.create_page(
|
|||||||
p_step_template => '',
|
p_step_template => '',
|
||||||
p_required_role => 14572900838700208+ wwv_flow_api.g_id_offset,
|
p_required_role => 14572900838700208+ wwv_flow_api.g_id_offset,
|
||||||
p_required_patch=> null + wwv_flow_api.g_id_offset,
|
p_required_patch=> null + wwv_flow_api.g_id_offset,
|
||||||
p_last_updated_by => 'HARDYA',
|
p_last_updated_by => 'PRIESTJ',
|
||||||
p_last_upd_yyyymmddhh24miss => '20080227095107',
|
p_last_upd_yyyymmddhh24miss => '20080310140832',
|
||||||
p_page_is_public_y_n=> 'N',
|
p_page_is_public_y_n=> 'N',
|
||||||
p_protection_level=> 'C',
|
p_protection_level=> 'C',
|
||||||
p_page_comment => '');
|
p_page_comment => '');
|
||||||
@@ -8687,6 +8687,7 @@ wwv_flow_api.create_report_region (
|
|||||||
p_display_condition_type=> 'VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST',
|
p_display_condition_type=> 'VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST',
|
||||||
p_customized=> '0',
|
p_customized=> '0',
|
||||||
p_translate_title=> 'Y',
|
p_translate_title=> 'Y',
|
||||||
|
p_ajax_enabled=> 'N',
|
||||||
p_query_row_template=> 24743617611526775+ wwv_flow_api.g_id_offset,
|
p_query_row_template=> 24743617611526775+ wwv_flow_api.g_id_offset,
|
||||||
p_query_headings_type=> 'COLON_DELMITED_LIST',
|
p_query_headings_type=> 'COLON_DELMITED_LIST',
|
||||||
p_query_num_rows=> '15',
|
p_query_num_rows=> '15',
|
||||||
@@ -8694,7 +8695,7 @@ wwv_flow_api.create_report_region (
|
|||||||
p_query_break_cols=> '0',
|
p_query_break_cols=> '0',
|
||||||
p_query_no_data_found=> 'no data found',
|
p_query_no_data_found=> 'no data found',
|
||||||
p_query_num_rows_type=> 'ROW_RANGES_IN_SELECT_LIST',
|
p_query_num_rows_type=> 'ROW_RANGES_IN_SELECT_LIST',
|
||||||
p_query_row_count_max=> '500',
|
p_query_row_count_max=> '20000',
|
||||||
p_pagination_display_position=> 'BOTTOM_RIGHT',
|
p_pagination_display_position=> 'BOTTOM_RIGHT',
|
||||||
p_csv_output=> 'Y',
|
p_csv_output=> 'Y',
|
||||||
p_csv_output_link_text=> 'Export to Spreadsheet',
|
p_csv_output_link_text=> 'Export to Spreadsheet',
|
||||||
@@ -13327,8 +13328,8 @@ wwv_flow_api.create_page(
|
|||||||
p_html_page_header => '',
|
p_html_page_header => '',
|
||||||
p_step_template => '',
|
p_step_template => '',
|
||||||
p_required_patch=> null + wwv_flow_api.g_id_offset,
|
p_required_patch=> null + wwv_flow_api.g_id_offset,
|
||||||
p_last_updated_by => 'MULLENM',
|
p_last_updated_by => 'PRIESTJ',
|
||||||
p_last_upd_yyyymmddhh24miss => '20080227171313',
|
p_last_upd_yyyymmddhh24miss => '20080310155952',
|
||||||
p_page_is_public_y_n=> 'N',
|
p_page_is_public_y_n=> 'N',
|
||||||
p_protection_level=> 'C',
|
p_protection_level=> 'C',
|
||||||
p_page_comment => '');
|
p_page_comment => '');
|
||||||
@@ -13462,6 +13463,44 @@ wwv_flow_api.create_page_branch(
|
|||||||
p_branch_comment=> 'Created 14-FEB-2008 18:29 by MULLENM');
|
p_branch_comment=> 'Created 14-FEB-2008 18:29 by MULLENM');
|
||||||
|
|
||||||
|
|
||||||
|
end;
|
||||||
|
/
|
||||||
|
|
||||||
|
declare
|
||||||
|
h varchar2(32767) := null;
|
||||||
|
begin
|
||||||
|
wwv_flow_api.create_page_item(
|
||||||
|
p_id=>2862704982595445 + wwv_flow_api.g_id_offset,
|
||||||
|
p_flow_id=> wwv_flow.g_flow_id,
|
||||||
|
p_flow_step_id=> 31,
|
||||||
|
p_name=>'P31_URL',
|
||||||
|
p_data_type=> 'VARCHAR',
|
||||||
|
p_accept_processing=> 'REPLACE_EXISTING',
|
||||||
|
p_item_sequence=> 60,
|
||||||
|
p_item_plug_id => 15920930466653559+wwv_flow_api.g_id_offset,
|
||||||
|
p_use_cache_before_default=> 'YES',
|
||||||
|
p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS',
|
||||||
|
p_prompt=>'Url',
|
||||||
|
p_source_type=> 'STATIC',
|
||||||
|
p_display_as=> 'HIDDEN_PROTECTED',
|
||||||
|
p_lov_columns=> 1,
|
||||||
|
p_lov_display_null=> 'NO',
|
||||||
|
p_lov_translated=> 'N',
|
||||||
|
p_cSize=> 30,
|
||||||
|
p_cMaxlength=> 2000,
|
||||||
|
p_cHeight=> 5,
|
||||||
|
p_cAttributes=> 'nowrap',
|
||||||
|
p_begin_on_new_line => 'YES',
|
||||||
|
p_begin_on_new_field=> 'YES',
|
||||||
|
p_colspan => 1,
|
||||||
|
p_rowspan => 1,
|
||||||
|
p_label_alignment => 'RIGHT',
|
||||||
|
p_field_alignment => 'LEFT',
|
||||||
|
p_field_template => 24749138532526789+wwv_flow_api.g_id_offset,
|
||||||
|
p_is_persistent=> 'Y',
|
||||||
|
p_item_comment => '');
|
||||||
|
|
||||||
|
|
||||||
end;
|
end;
|
||||||
/
|
/
|
||||||
|
|
||||||
@@ -13740,10 +13779,16 @@ declare
|
|||||||
begin
|
begin
|
||||||
p:=p||'declare'||chr(10)||
|
p:=p||'declare'||chr(10)||
|
||||||
' l_ret_str varchar2(250) := '''';'||chr(10)||
|
' l_ret_str varchar2(250) := '''';'||chr(10)||
|
||||||
|
' l_session number := v(''APP_SESSION'');'||chr(10)||
|
||||||
|
' l_new_url varchar2(500) := '''';'||chr(10)||
|
||||||
'begin'||chr(10)||
|
'begin'||chr(10)||
|
||||||
' l_ret_str :=mip_enquiry.copy_enquiry(p_enquiry_id => :P31_ENQUIRY_ID, p_enqu_owner => :P31_AGENT, p_enqu_supp =>:P31_SUPPLIER);'||chr(10)||
|
' l_ret_str :=mip_enquiry.copy_enquiry(p_enquiry_id => :P31_ENQUIRY_ID, p_enqu_owner => :P31_AGENT, p_enqu_supp =>:P31_SUPPLIER);'||chr(10)||
|
||||||
''||chr(10)||
|
''||chr(10)||
|
||||||
' :P31_NEW_ID := l_ret_str;'||chr(10)||
|
' :P31_NEW_ID := l_ret_str;'||chr(10)||
|
||||||
|
' l_new_url := apex_util.prepare_url(''f?p=''||v(''APP_ID'')||'':32:''||v(''APP_SESSION'')||''::::P32_ID:''||l_ret_str);'||chr(10)||
|
||||||
|
' ';
|
||||||
|
|
||||||
|
p:=p||' :P31_URL := l_new_url;'||chr(10)||
|
||||||
'end;';
|
'end;';
|
||||||
|
|
||||||
wwv_flow_api.create_page_process(
|
wwv_flow_api.create_page_process(
|
||||||
@@ -13757,9 +13802,11 @@ wwv_flow_api.create_page_process(
|
|||||||
p_process_sql_clob => p,
|
p_process_sql_clob => p,
|
||||||
p_process_error_message=> '',
|
p_process_error_message=> '',
|
||||||
p_process_when_button_id=>15921311862653561 + wwv_flow_api.g_id_offset,
|
p_process_when_button_id=>15921311862653561 + wwv_flow_api.g_id_offset,
|
||||||
p_process_success_message=> 'Enquiry &P31_ENQUIRY_ID. copied successfully as &P31_NEW_ID.. Click <a href="f?p=&APP_ID.:32:&SESSION.::::P32_ID:&P31_NEW_ID.">here</a> to open ',
|
p_process_success_message=> 'Enquiry &P31_ENQUIRY_ID. copied successfully as &P31_NEW_ID.. Click <a href="&P31_URL.">here</a> to open',
|
||||||
p_process_is_stateful_y_n=>'N',
|
p_process_is_stateful_y_n=>'N',
|
||||||
p_process_comment=>'');
|
p_process_comment=>'f?p=&APP_ID.:32:&SESSION.::::P32_ID:&P31_NEW_ID.'||chr(10)||
|
||||||
|
'apex_util.prepare_url(''f?p=''||v(''APP_ID'')||'':32:''||v(''APP_SESSION'')||''::::''||:P32_ID||'':''||l_ret_str);'||chr(10)||
|
||||||
|
'');
|
||||||
end;
|
end;
|
||||||
null;
|
null;
|
||||||
|
|
||||||
@@ -45599,7 +45646,7 @@ wwv_flow_api.create_page(
|
|||||||
p_step_template => 24734011047526756+ wwv_flow_api.g_id_offset,
|
p_step_template => 24734011047526756+ wwv_flow_api.g_id_offset,
|
||||||
p_required_patch=> null + wwv_flow_api.g_id_offset,
|
p_required_patch=> null + wwv_flow_api.g_id_offset,
|
||||||
p_last_updated_by => 'HARDYA',
|
p_last_updated_by => 'HARDYA',
|
||||||
p_last_upd_yyyymmddhh24miss => '20080305172524',
|
p_last_upd_yyyymmddhh24miss => '20080310145933',
|
||||||
p_page_is_public_y_n=> 'Y',
|
p_page_is_public_y_n=> 'Y',
|
||||||
p_protection_level=> 'C',
|
p_protection_level=> 'C',
|
||||||
p_page_comment => '');
|
p_page_comment => '');
|
||||||
@@ -45689,7 +45736,7 @@ wwv_flow_api.create_page_item(
|
|||||||
p_item_plug_id => 11076809493541525+wwv_flow_api.g_id_offset,
|
p_item_plug_id => 11076809493541525+wwv_flow_api.g_id_offset,
|
||||||
p_use_cache_before_default=> 'YES',
|
p_use_cache_before_default=> 'YES',
|
||||||
p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS',
|
p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS',
|
||||||
p_prompt=>'The Terms and Conditions for using this site are defined <a href="www.nationalgrid.com/uk/metering/mip/tc.htm" color=red>here</a>',
|
p_prompt=>'The Terms and Conditions for using this site are defined <a href="http://www.nationalgrid.com/uk/metering/mip/tc.htm" target="_blank">here</a>',
|
||||||
p_source_type=> 'STATIC',
|
p_source_type=> 'STATIC',
|
||||||
p_display_as=> 'RADIOGROUP',
|
p_display_as=> 'RADIOGROUP',
|
||||||
p_lov => 'STATIC2:I accept the Terms and Conditions of using this site;YES,I do NOT accept the Terms and Conditions of using this site;NO',
|
p_lov => 'STATIC2:I accept the Terms and Conditions of using this site;YES,I do NOT accept the Terms and Conditions of using this site;NO',
|
||||||
|
|||||||
Reference in New Issue
Block a user