language
stringclasses
15 values
src_encoding
stringclasses
34 values
length_bytes
int64
6
7.85M
score
float64
1.5
5.69
int_score
int64
2
5
detected_licenses
listlengths
0
160
license_type
stringclasses
2 values
text
stringlengths
9
7.85M
C#
UTF-8
2,971
3.328125
3
[]
no_license
using System; namespace PRG2_20192_P1_4_02 { class Program { static void Main(string[] args) { float hipotenusa; Console.WriteLine("MENU SEGITIGA SIKU-SIKU"); Console.WriteLine("1.Hitung Luas"); Console.WriteLine("2.Hitung Hipotenusa"); Console.WriteLine("3.Hitung Keliling"); Console.WriteLine("4.Keluar"); Console.Write("Menu Pilihan : "); int angka = Convert.ToInt16(Console.ReadLine()); switch(angka) { case 1 : { Console.WriteLine("Menghitung luas segitiga"); Console.Write("Masukan alas segitiga : "); float alas = float.Parse(Console.ReadLine()); Console.Write("Masukan Tinggi segitiga : "); float tinggi = float.Parse(Console.ReadLine()); float luas = alas * tinggi / 2; Console.WriteLine("Luas Segitiga dengan alas {0} dan tinggi {1} adalah {2} cm ",alas,tinggi,luas ); System.Console.ReadKey(); break; } case 2: { Console.WriteLine("Hipotenusa Segitiga"); Console.Write("Masukan alas segitiga : "); float alas = float.Parse(Console.ReadLine()); Console.Write("Masukan Tinggi segitiga : "); float tinggi = float.Parse(Console.ReadLine()); hipotenusa = (float)Convert.ToDouble(Math.Sqrt((alas * alas) + (tinggi * tinggi))); Console.WriteLine("Hipotenusa dari segitiga dengan alas {0} dan tinggi {1} adalah {2} cm ",alas,tinggi,hipotenusa); System.Console.ReadKey(); break; } case 3: { Console.WriteLine("Menghitung Keliing segitiga"); Console.Write("Masukan alas segitiga : "); float alas = float.Parse(Console.ReadLine()); Console.Write("Masukan Tinggi segitiga : "); float tinggi = float.Parse(Console.ReadLine()); float keliling = hipotenusa = (float)Convert.ToDouble(Math.Sqrt((alas * alas) + (tinggi * tinggi))) + alas + tinggi; Console.WriteLine("Keliling dari segitiga dengan alas {0} dan tinggi {1} adalah {2} cm ", alas, tinggi, keliling); System.Console.ReadKey(); break; } case 4: { Environment.Exit(0); break; } } } } }
PHP
UTF-8
1,277
2.625
3
[]
no_license
<?php function conectar_mysql(){ $server='localhost'; $user='root'; $password=''; $db='paises'; $conectar=mysqli_connect($server,$user,$password,$db); if(!$conectar){ die("Error al conectar con la bd"); } return $conectar; } function get_list(){ $retval=''; $retval=' <table align="center" border=1> <tr bgcolor=#E3CEF6> <td colspan=7 align="center"><b>SISTEMA DE PAISES</b></td> </tr> <tr bgcolor=#D8CEF6> <td colspan=7><a href=""><img src="images/new.png"></a></td> </tr> <tr bgcolor=#FAAC58> <td align="center"><b>Codigo pais:</b></td> <td align="center"><b>Nombre:</b></td> </tr>'; $conectar=conectar_mysql(); $sql='SELECT * FROM paises;'; $res=mysqli_query($conectar,$sql); while($pais = mysqli_fetch_array($res)){ $retval.=' <tr bgcolor=#CEE3F6> <td>'.$pais['cod_pais'].'</td> <td align="center">'.$pais['nombre'].'</td> <td><a href="index.php?op=edi&id='.$pais['id'].'"> <img src="images/edit.png"></a></td> <td><a href="index.php?op=bor&id='.$pais['id'].'"> <img src="images/borrar.png"></a></td> </tr>'; } $retval.='</table>'; return $retval; } echo get_list(); ?>
TypeScript
UTF-8
296
2.953125
3
[]
no_license
class Library { titles!: string[]; address: string = "1 Duck Lane"; isPublic: boolean; constructor() { this.isPublic = true; } } const library = new Library(); // sometime later & elsewhere in our codebase.. const shortTitles = library.titles.filter( book => book.length < 5 );
Swift
UTF-8
3,348
2.53125
3
[ "LicenseRef-scancode-warranty-disclaimer" ]
permissive
// Borrowed from Vapor (Date Middleware) // https://github.com/vapor/vapor/blob/master/Sources/Vapor/Middleware/DateMiddleware.swift import Foundation #if os(Linux) import Glibc #else import Darwin.C #endif fileprivate let DAY_NAMES = [ "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" ] fileprivate let MONTH_NAMES = [ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ] fileprivate let NUMBERS = [ "00", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59", "60", "61", "62", "63", "64", "65", "66", "67", "68", "69", "70", "71", "72", "73", "74", "75", "76", "77", "78", "79", "80", "81", "82", "83", "84", "85", "86", "87", "88", "89", "90", "91", "92", "93", "94", "95", "96", "97", "98", "99" ] fileprivate var cachedTimeComponents: (key: time_t, components: tm)? let secondsInDay = 60 * 60 * 24 let accuracy = 1 // seconds final class RFC1123DateFormatter { var cachedTimestamp: (timestamp: String, createdAt: time_t)? /// Gets the current RFC 1123 date string. func getDate() -> String { var date = time(nil) if let (timestamp, createdAt) = cachedTimestamp, (createdAt...(createdAt + accuracy)).contains(date) { return timestamp } // generate a key used for caching. // this key is a unique id for each day let key = date / secondsInDay // get time components let dateComponents: tm if let cached = cachedTimeComponents, cached.key == key { dateComponents = cached.components } else { let tc = gmtime(&date).pointee dateComponents = tc cachedTimeComponents = (key: key, components: tc) } // parse components let year: Int = numericCast(dateComponents.tm_year) + 1900 // years since 1900 let month: Int = numericCast(dateComponents.tm_mon) // months since January [0-11] let monthDay: Int = numericCast(dateComponents.tm_mday) // day of the month [1-31] let weekDay: Int = numericCast(dateComponents.tm_wday) // days since Sunday [0-6] // get basic time info let timeX: Int = date % secondsInDay let hours: Int = numericCast(timeX / 3600) let minutes: Int = numericCast((timeX / 60) % 60) let seconds: Int = numericCast(timeX % 60) var rfc1123 = "" rfc1123.reserveCapacity(30) rfc1123.append(DAY_NAMES[weekDay]) rfc1123.append(", ") rfc1123.append(NUMBERS[monthDay]) rfc1123.append(" ") rfc1123.append(MONTH_NAMES[month]) rfc1123.append(" ") rfc1123.append(NUMBERS[year / 100]) rfc1123.append(NUMBERS[year % 100]) rfc1123.append(" ") rfc1123.append(NUMBERS[hours]) rfc1123.append(":") rfc1123.append(NUMBERS[minutes]) rfc1123.append(":") rfc1123.append(NUMBERS[seconds]) rfc1123.append(" GMT") cachedTimestamp = (rfc1123, date) return rfc1123 } }
Markdown
UTF-8
1,256
2.53125
3
[]
no_license
# Programming_exercise_problems [![996.icu](https://img.shields.io/badge/link-996.icu-red.svg)](https://996.icu) :+1: ## 内容包括 1. 平时遇到的算法题 2. [《Data Structure & Algorithm in Python 》](https://book.douban.com/subject/10607365/)一书中的算法 <img src = "https://github.com/shawshanks/Programming_exercise_problems/blob/master/Picture/Data%20Structure%20%26%20algorithm%20in%20Python.jpg" width = "20%"> 3. [算法4](https://book.douban.com/subject/19952400/)中的算法 <img src="https://github.com/shawshanks/Programming_exercise_problems/blob/master/Picture/%E7%AE%97%E6%B3%954.jpg " width="20%" > ##算法分析 阶乘比指数函数增长更快 证明: <image src="https://github.com/shawshanks/Programming_exercise_problems/blob/master/Picture/%E9%98%B6%E4%B9%98%E4%B8%8E%E6%8C%87%E6%95%B0%E5%87%BD%E6%95%B0%E6%AF%94%E8%BE%83.jpg" width="70%"> # 递归 # 数据结构及算法分类 ## 数据结构 ### 基于数组的序列(Array-Based Sequence) ### 栈与队列 (Stack and Queue) ### 链表(Linked List) ### 树(Trees) ### 优先队列(Priority Queues) ### 图(Map),哈希表(Hash Table)与跳表(Skip Lists) ### 搜索树 # 算法 ## 排序与搜索 ## 字符串 ## 图算法 ## B树(B-Tree)
C++
UTF-8
9,210
2.671875
3
[ "MIT" ]
permissive
#include "ga_class.hpp" Ga::Ga(const std::string& s_to_find, size_t s_pop_size, double s_crossover_rate, double s_mutation_rate, bool s_use_all_printable_chars) : __to_find(s_to_find), __pop_size(s_pop_size), __crossover_rate(s_crossover_rate), __mutation_rate(s_mutation_rate), __use_all_printable_chars(s_use_all_printable_chars) { for (char c : to_find()) { __valid_chars_set.insert(c); } __genomes.resize(pop_size()); __num_iterations = 0; do { for (auto& geno : genomes()) { geno.resize(max_past_end_index()); randomize_genome(geno); //geno.at(4) = ' '; //geno.at(9) = ' '; //geno.at(14) = ' '; } } while (current_best_fitness() == 0); //printout("\n"); //print_genomes(); //printout("\n"); //crossover(genomes().at(0), genomes().at(1), // genomes().at(0), genomes().at(1), // 5, 7); //printout("\n"); //__make_selection_vec(); } Ga::~Ga() { } void Ga::print_genomes() const { const auto some_best_fitness = current_best_fitness(); for (const auto& geno : genomes()) { //printout(geno, ": ", fitness(geno), "\n"); printout(geno, "\t\tcurrent_best_fitness(): ", some_best_fitness, "\t\tfitness: ", fitness(geno), "\n"); } } const std::string Ga::get_solution() const { for (const auto& geno : genomes()) { if (fitness(geno) == max_fitness()) { return geno; } } return ""; } int Ga::operator () () { //for (size_t i=0; i<20; ++i) while (!has_reached_max_fitness()) { iterate(); print_genomes(); //printout("\n"); } return 0; } size_t Ga::fitness(const std::string& geno) const { if (geno.size() != max_past_end_index()) { printerr(strappcom2(geno.size(), max_past_end_index()), "\n"); printerr("Ga::fitness(): Eek!\n"); exit(1); } std::vector<size_t> num_consecutive_substrs; size_t ret = 0; for (size_t i=0; i<geno.size(); ++i) { if (geno.at(i) == to_find().at(i)) { //++ret; //ret += 2; //ret += to_find().size(); ++ret; } } //size_t consec = 0; //for (size_t i=0; i<geno.size(); ++i) //{ // if (geno.at(i) == to_find().at(i)) // { // ++consec; // } // else // { // num_consecutive_substrs.push_back(consec); // consec = 0; // } //} //if (consec != 0) //{ // num_consecutive_substrs.push_back(consec); //} //{ //size_t temp = 0; //for (const auto& iter : num_consecutive_substrs) //{ // //ret += iter; // if (temp < iter) // { // temp = iter; // } //} //ret += temp; //} return ret; } size_t Ga::current_best_fitness() const { size_t ret = 0; for (const auto& geno : genomes()) { const size_t some_fitness = fitness(geno); if (ret < some_fitness) { ret = some_fitness; } } return ret; } void Ga::__raw_crossover(const std::string& geno_a, const std::string& geno_b, std::string& out_geno_a, std::string& out_geno_b, size_t start_index, size_t past_end_index) { std::string temp_geno_a = geno_a; std::string temp_geno_b = geno_b; for (size_t i=start_index; i<past_end_index; ++i) { // For safety if (i >= max_past_end_index()) { printerr("Ga::crossover(): Eek! ", strappcom2(start_index, past_end_index, max_fitness()), "\n"); exit(1); } temp_geno_a.at(i) = geno_b.at(i); temp_geno_b.at(i) = geno_a.at(i); } out_geno_a = std::move(temp_geno_a); out_geno_b = std::move(temp_geno_b); } void Ga::crossover_or_copy() { size_t index_a = -1, index_b = -1; do { select_two(index_a, index_b); } while (index_a == index_b); if (!can_crossover()) { if (!(prng() % 2)) { next_genomes().push_back(genomes().at(index_a)); } else { next_genomes().push_back(genomes().at(index_b)); } //next_genomes().push_back(genomes().at(index_b)); } else { std::string out_geno_a, out_geno_b; //__raw_crossover(genomes().at(index_a), genomes().at(index_b), // out_geno_a, out_geno_b, // (prng() % genomes().front().size()), genomes().front().size()); { //const auto val_0 = (prng() % genomes().front().size()), // val_1 = (prng() % genomes().front().size()); const auto val_0 = (prng() % genomes().front().size()), val_1 = genomes().front().size() - 1; if (val_0 < val_1) { //__raw_mutate(old_next_genome, next_genomes().at(index), // val_0, val_1 + 1); __raw_crossover(genomes().at(index_a), genomes().at(index_b), out_geno_a, out_geno_b, val_0, val_1 + 1); } else { //__raw_mutate(old_next_genome, next_genomes().at(index), // val_1, val_0 + 1); __raw_crossover(genomes().at(index_a), genomes().at(index_b), out_geno_a, out_geno_b, val_1, val_0 + 1); } } if ((next_genomes().size() + 1) == genomes().size()) { if (!(prng() % 2)) { next_genomes().push_back(out_geno_a); } else { next_genomes().push_back(out_geno_b); } } else { next_genomes().push_back(out_geno_a); next_genomes().push_back(out_geno_b); } } } void Ga::__raw_mutate(const std::string& geno, std::string& out_geno, size_t start_index, size_t past_end_index) { out_geno = geno; for (size_t i=start_index; i<past_end_index; ++i) { //out_geno.at(i) = get_random_printable_char(); out_geno.at(i) = get_random_valid_char(); } } void Ga::mutate_maybe(size_t index) { //next_genomes().at(index) = genomes().at(index); if (!can_mutate()) { return; } const std::string old_next_genome = next_genomes().at(index); //__raw_mutate(old_next_genome, next_genomes().at(index), // (prng() % old_next_genome.size()), old_next_genome.size()); //const auto val_0 = (prng() % old_next_genome.size()), // val_1 = (prng() % old_next_genome.size()); //const int val_0 = 0, // val_1 = old_next_genome.size() - 1; //if (val_0 < val_1) //{ // __raw_mutate(old_next_genome, next_genomes().at(index), // val_0, val_1 + 1); //} //else //{ // __raw_mutate(old_next_genome, next_genomes().at(index), // val_1, val_0 + 1); //} const auto val_0 = (prng() % old_next_genome.size()); const auto val_1 = val_0 + 1; __raw_mutate(old_next_genome, next_genomes().at(index), val_0, val_1); } void Ga::select_two(size_t& out_index_a, size_t& out_index_b) { out_index_a = selection_vec().at(prng() % selection_vec().size()); out_index_b = selection_vec().at(prng() % selection_vec().size()); } size_t Ga::get_worst_fitness() const { size_t ret = current_best_fitness(); for (const auto& iter : genomes()) { const auto temp = fitness(iter); if (temp < ret) { ret = temp; } } return ret; } void Ga::__make_selection_vec() { std::vector<std::vector<size_t>> temp_sel_vec; temp_sel_vec.resize(genomes().size()); //for (const auto& geno : genomes()) for (size_t i=0; i<genomes().size(); ++i) { //temp_sel_vec.at(i).resize(fitness(genomes().at(i))); //temp_sel_vec.at(i).resize(fitness(genomes().at(i)) * 2); //temp_sel_vec.at(i).resize(fitness(genomes().at(i)) * 3); //temp_sel_vec.at(i).resize(fitness(genomes().at(i)) * 2); temp_sel_vec.at(i).resize(fitness(genomes().at(i))); //// Need to have each thing represented by at least one part of the //// pie. //if (temp_sel_vec.at(i).size() == 0) //{ // temp_sel_vec.at(i).push_back(i); //} //else { for (auto& temp_sel : temp_sel_vec.at(i)) { temp_sel = i; } } } //for (const auto& temp_vec : temp_sel_vec) //{ // for (const auto& temp_sel : temp_vec) // { // printout(temp_sel, ", "); // } // printout("\n"); //} selection_vec().clear(); for (const auto& temp_vec : temp_sel_vec) { for (const auto& temp_sel : temp_vec) { selection_vec().push_back(temp_sel); } } } void Ga::iterate() { next_genomes().clear(); //next_genomes().resize(genomes().size()); __make_selection_vec(); while (next_genomes().size() < genomes().size()) { crossover_or_copy(); } { const auto best_fitness = current_best_fitness(); bool found_non_best = false; for (const auto& geno : genomes()) { if (fitness(geno) != best_fitness) { found_non_best = true; break; } } for (size_t i=0; i<next_genomes().size(); ++i) { if (!found_non_best) { mutate_maybe(i); } else if (fitness(genomes().at(i)) != best_fitness) { //if (can_mutate()) if (prng() % 5) { mutate_maybe(i); } } } } genomes() = std::move(next_genomes()); ++__num_iterations; } //char Ga::get_random_printable_char() char Ga::get_random_valid_char() { char ret; if (!use_all_printable_chars()) { do { const auto rand_val = prng(); ret = static_cast<char>(rand_val % (sizeof(char) << 8)); } while (valid_chars_set().count(ret) == 0); } else { do { const auto rand_val = prng(); ret = static_cast<char>(rand_val % (sizeof(char) << 8)); } while (!isprint(ret)); } //while (!isprint(ret)); //while (!(ret >= 'a' && ret <= 'z')); //while (!isalpha(ret)); //while (!(ret >= 'A' && ret <= 'Z')); //while (!(isalnum(ret))); return ret; } //size_t Ga::tournament(size_t start_index, size_t past_end_index) const //{ // size_t ret_index = start_index; // // for (size_t i=start_index+1; i<past_end_index; ++i) // { // if (fitness(genomes().at(ret_index)) // < fitness(genomes().at(i))) // { // ret_index = i; // } // } // // return ret_index; //}
PHP
UTF-8
1,049
2.765625
3
[]
no_license
<?php namespace Factory; /** * 模型加载器 * 产生一个模型的接口对象 */ class Service { protected $namespace = 'Service'; /** * 加载service */ public function add($name) { $class_full_name= BS.$this->namespace.BS.$name; if(\Loader::importFileByNameSpace($this->namespace,$name)){ $mdl =new $class_full_name(); if(property_exists($class_full_name,'_table') && empty($mdl->_table)) $mdl->_table = strtolower(str_replace(BS, '_',trim($name,BS))); return $mdl; }elseif(!strstr($name,BS)){ return $this->createTable($name); }else{ return false; } } /** * 加载表 * @param $table_name * @param $db_key * @return Model */ public function createTable($name) { $mdl = new \DB\Service(); $mdl->_table = strtolower($name); $init_ret = $mdl->__init(); if(!$init_ret) return false; return $mdl; } }
Java
UTF-8
287
1.5625
2
[]
no_license
package com.buccitunes.dao; import org.springframework.data.repository.CrudRepository; import com.buccitunes.model.SongMonthlyStat; import com.buccitunes.model.SongMonthlyStatId; public interface SongMonthlyStatRepository extends CrudRepository<SongMonthlyStat, SongMonthlyStatId>{ }
Java
UTF-8
1,324
2.4375
2
[]
no_license
package com.epam.tdd; import com.epam.tdd.domain.Account; import com.epam.tdd.validator.AccountUserNameValidator; import com.epam.tdd.validator.FieldValidator; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; public class AccountUserNameValidatorTest { private FieldValidator fieldValidator; @BeforeEach public void setUp(){ fieldValidator = new AccountUserNameValidator(); } @Test @DisplayName("Account User Name should not be null") public void accountUserNameShouldNotBeNull(){ Account account = new Account("" , null , ""); Assertions.assertFalse(fieldValidator.isValid(account)); } @Test @DisplayName("Account User Name Should Have Min five chars") public void accountUserNameShouldHaveMinFiveCharacters(){ Account account = new Account("" , "dj" , ""); Assertions.assertFalse(fieldValidator.isValid(account)); } @Test @DisplayName("Valid User Name Should not be null and Have Min five chars") public void validAccountUserNameShouldNotBeNullAndHaveMinFiveCharacters(){ Account account = new Account("" , "dhananjay" , ""); Assertions.assertTrue(fieldValidator.isValid(account)); } }
Python
UTF-8
297
3.34375
3
[]
no_license
#!/usr/bin/env python2 # -*- coding: utf-8 -*- def pro_el_niza(m): p = 1 i = 0 while i < len(m): p *= float(m[i]) i+=1 return p if __name__ == "__main__": u = raw_input("Elementi niza razdvojeni zarezima ") niz = u.split(",") print (pro_el_niza(niz))
Markdown
UTF-8
2,950
3.515625
4
[]
no_license
# Team Hidetada ##### Hasif Ahmed, Kerwin Chen, Wenting Li Attack of the Vegetables **Description** Our final project is to use processing to create the game Bomb-It, but instead of bombs we use vegetables! The goal of the game is to be the last one standing. There will be at most two person functionality. The project involves a draw method that updates the game screen to show movement, AI in machines that control the non-player characters which the players play against, a maze algorithm that builds our game map, bomb dropping that involves the queue data structure, and etc. At the beginning of the game, 4 characters spawn on the four corners of the map, with 2 or 3 of the characters being machines depending on how many players are playing. Throughout the game, the user(s) will interact with the map by placing vegetables that explode to clear obstacles (ie. the breakable walls) and kill other characters. The goal is to eliminate the other players or machines and be the last one standing. The starting vegetable is a cabbage which has the smallest blast radius. Each character starts off with 3 hearts. **Launch Instructions** After you launch Game.pde in processing, a game screen will appear, prompting the user to enter a for the 1-player mode and b for the 2-player mode. Then, the game will prompt user(s) to enter a number from 0-9 corresponding to a color displayed on the screen to choose a color for each player. In 1-player mode, user will use the keys W, A, S, D to move up, left, down, right one unit respectively and F to drop an exploding vegetable. In 2- player mode, player 1 will use the keys W, A, S, D, F, while player 2 will use the the keys I, J, K, L to move up, left, down, right one unit and the backspace or delete key to drop an exploding vegetable. Each character starts off with 3 hearts; until a character reaches 0 hearts, they will keep respawning at their respective corner where they first started off at in the game. Once the game map loads, players will see a color-coded, tiled screen. The green tile represents cleared tiles that players may walk on. The white tiles represent breakable tiles that players may use a bomb to clear away. The black tiles represent the unbreakable tiles that players cannot break with bombs. Players may not move through wall or other characters! The blue and red pairs of tiles represent portals that teleport characters to another portal exit of the corresponding color. This allows players to sneak up behind enemies for surprise attacks and avoid being killed in a pinch! Once there is only one player left in the game, a winning screen will appear to congratulate the player and prompt the player(s) to press G to return to main menu and experience the fun again. Once again, it's the survival of the fittest, so drop a veggie on the other players before they drop one on you!
Ruby
UTF-8
1,102
2.53125
3
[]
no_license
require_relative '../spec/spec_helper' require_relative '../module/incravinable' class SalesEngine include Incravinable attr_reader :items, :merchants, :invoices, :invoice_items, :transactions, :customers, :analyst def initialize(paths) @items = ItemRepository.new(paths[:items], self) @merchants = MerchantRepository.new(paths[:merchants], self) @invoices = InvoiceRepository.new(paths[:invoices], self) @invoice_items = InvoiceItemRepository.new(paths[:invoice_items], self) @transactions = TransactionRepository.new(paths[:transactions], self) @customers = CustomerRepository.new(paths[:customers], self) @analyst = SalesAnalyst.new(self) end def self.from_csv(paths) new(paths) end def all_merchants @merchants.all end def all_items @items.all end def all_invoices @invoices.all end def all_invoice_items @invoice_items.all end def all_transactions @transactions.all end def all_customers @customers.all end end
Java
UTF-8
10,923
1.609375
2
[]
no_license
package com.tls.liferaylms.report; import com.tls.liferaylms.test.util.TestProperties; public class BeanReportContext { //LoginTest private static boolean hasLogin = false; //CreateUsers private static boolean createStudent = false; private static boolean createStudent2 = false; private static boolean createTeacher = false; //CreateTestPage private static boolean createTestPage = false; private static String URLtestPage = null; //AdminCourse private static boolean createCourse = false; private static boolean courseChecked = false; private static String URLCourse = null; //CheckUsers private static boolean studentAsign = false; private static boolean student2Asign = false; private static boolean teacherAsign = false; private static boolean subTeacherAsign = false; //CreateActivity - Test private static boolean module = false; private static boolean testActivity = false; private static boolean testActivitySort = false; private static boolean testActivityDrag = false; private static boolean testActivityFill = false; private static boolean testActivityFree = false; private static boolean testActivityMulti = false; private static boolean testActivityOption = false; private static boolean extResourceActivity = false; private static boolean P2PActivity = false; private static boolean pollActivity = false; private static boolean classWorkActivity = false; private static boolean developActivity = false; private static boolean multimediaResource = false; private static boolean evalueActivity = false; private static boolean SCORMActivity = false; //CheckActivity //CheckResults public static void getBeanContext(){ setHasLogin (false); setClassWorkActivity(false); setCourseChecked(false); setCreateCourse(false); setCreateStudent(false); setCreateStudent2(false); setCreateTeacher(false); setCreateTestPage(false); setDevelopActivity(false); setEvalueActivity(false); setExtResourceActivity(false); setHasLogin(false); setModule(false); setMultimediaResource(false); setP2PActivity(false); setPollActivity(false); setSCORMActivity(false); setStudent2Asign(false); setStudentAsign(false); setSubTeacherAsign(false); setTeacherAsign(false); setTestActivity(false); setTestActivityDrag(false); setTestActivityFill(false); setTestActivityFree(false); setTestActivityMulti(false); setTestActivityOption(false); setTestActivitySort(false); setURLCourse(""); setURLtestPage(""); } /** * @return the hasLogin */ public static boolean isHasLogin() { return hasLogin; } /** * @param hasLogin the hasLogin to set */ public static void setHasLogin(boolean hasLogin) { BeanReportContext.hasLogin = hasLogin; } /** * @return the createStudent */ public static boolean isCreateStudent() { return createStudent; } /** * @param createStudent the createStudent to set */ public static void setCreateStudent(boolean createStudent) { BeanReportContext.createStudent = createStudent; } /** * @return the createStudent2 */ public static boolean isCreateStudent2() { return createStudent2; } /** * @param createStudent2 the createStudent2 to set */ public static void setCreateStudent2(boolean createStudent2) { BeanReportContext.createStudent2 = createStudent2; } /** * @return the createTeacher */ public static boolean isCreateTeacher() { return createTeacher; } /** * @param createTeacher the createTeacher to set */ public static void setCreateTeacher(boolean createTeacher) { BeanReportContext.createTeacher = createTeacher; } /** * @return the createTestPage */ public static boolean isCreateTestPage() { return createTestPage; } /** * @param createTestPage the createTestPage to set */ public static void setCreateTestPage(boolean createTestPage) { BeanReportContext.createTestPage = createTestPage; } /** * @return the uRLtestPage */ public static String getURLtestPage() { return URLtestPage; } /** * @param uRLtestPage the uRLtestPage to set */ public static void setURLtestPage(String uRLtestPage) { URLtestPage = uRLtestPage; } /** * @return the createCourse */ public static boolean isCreateCourse() { return createCourse; } /** * @param createCourse the createCourse to set */ public static void setCreateCourse(boolean createCourse) { BeanReportContext.createCourse = createCourse; } /** * @return the courseChecked */ public static boolean isCourseChecked() { return courseChecked; } /** * @param courseChecked the courseChecked to set */ public static void setCourseChecked(boolean courseChecked) { BeanReportContext.courseChecked = courseChecked; } /** * @return the uRLCourse */ public static String getURLCourse() { return URLCourse; } /** * @param uRLCourse the uRLCourse to set */ public static void setURLCourse(String uRLCourse) { URLCourse = uRLCourse; } /** * @return the studentAsign */ public static boolean isStudentAsign() { return studentAsign; } /** * @param studentAsign the studentAsign to set */ public static void setStudentAsign(boolean studentAsign) { BeanReportContext.studentAsign = studentAsign; } /** * @return the student2Asign */ public static boolean isStudent2Asign() { return student2Asign; } /** * @param student2Asign the student2Asign to set */ public static void setStudent2Asign(boolean student2Asign) { BeanReportContext.student2Asign = student2Asign; } /** * @return the teacherAsign */ public static boolean isTeacherAsign() { return teacherAsign; } /** * @param teacherAsign the teacherAsign to set */ public static void setTeacherAsign(boolean teacherAsign) { BeanReportContext.teacherAsign = teacherAsign; } /** * @return the subTeacherAsign */ public static boolean isSubTeacherAsign() { return subTeacherAsign; } /** * @param subTeacherAsign the subTeacherAsign to set */ public static void setSubTeacherAsign(boolean subTeacherAsign) { BeanReportContext.subTeacherAsign = subTeacherAsign; } /** * @return the module */ public static boolean isModule() { return module; } /** * @param module the module to set */ public static void setModule(boolean module) { BeanReportContext.module = module; } /** * @return the testActivity */ public static boolean isTestActivity() { return testActivity; } /** * @param testActivity the testActivity to set */ public static void setTestActivity(boolean testActivity) { BeanReportContext.testActivity = testActivity; } /** * @return the testActivitySort */ public static boolean isTestActivitySort() { return testActivitySort; } /** * @param testActivitySort the testActivitySort to set */ public static void setTestActivitySort(boolean testActivitySort) { BeanReportContext.testActivitySort = testActivitySort; } /** * @return the testActivityDrag */ public static boolean isTestActivityDrag() { return testActivityDrag; } /** * @param testActivityDrag the testActivityDrag to set */ public static void setTestActivityDrag(boolean testActivityDrag) { BeanReportContext.testActivityDrag = testActivityDrag; } /** * @return the testActivityFill */ public static boolean isTestActivityFill() { return testActivityFill; } /** * @param testActivityFill the testActivityFill to set */ public static void setTestActivityFill(boolean testActivityFill) { BeanReportContext.testActivityFill = testActivityFill; } /** * @return the testActivityFree */ public static boolean isTestActivityFree() { return testActivityFree; } /** * @param testActivityFree the testActivityFree to set */ public static void setTestActivityFree(boolean testActivityFree) { BeanReportContext.testActivityFree = testActivityFree; } /** * @return the testActivityMulti */ public static boolean isTestActivityMulti() { return testActivityMulti; } /** * @param testActivityMulti the testActivityMulti to set */ public static void setTestActivityMulti(boolean testActivityMulti) { BeanReportContext.testActivityMulti = testActivityMulti; } /** * @return the testActivityOption */ public static boolean isTestActivityOption() { return testActivityOption; } /** * @param testActivityOption the testActivityOption to set */ public static void setTestActivityOption(boolean testActivityOption) { BeanReportContext.testActivityOption = testActivityOption; } /** * @return the extResourceActivity */ public static boolean isExtResourceActivity() { return extResourceActivity; } /** * @param extResourceActivity the extResourceActivity to set */ public static void setExtResourceActivity(boolean extResourceActivity) { BeanReportContext.extResourceActivity = extResourceActivity; } /** * @return the p2PActivity */ public static boolean isP2PActivity() { return P2PActivity; } /** * @param p2pActivity the p2PActivity to set */ public static void setP2PActivity(boolean p2pActivity) { P2PActivity = p2pActivity; } /** * @return the pollActivity */ public static boolean isPollActivity() { return pollActivity; } /** * @param pollActivity the pollActivity to set */ public static void setPollActivity(boolean pollActivity) { BeanReportContext.pollActivity = pollActivity; } /** * @return the classWorkActivity */ public static boolean isClassWorkActivity() { return classWorkActivity; } /** * @param classWorkActivity the classWorkActivity to set */ public static void setClassWorkActivity(boolean classWorkActivity) { BeanReportContext.classWorkActivity = classWorkActivity; } /** * @return the developActivity */ public static boolean isDevelopActivity() { return developActivity; } /** * @param developActivity the developActivity to set */ public static void setDevelopActivity(boolean developActivity) { BeanReportContext.developActivity = developActivity; } /** * @return the multimediaResource */ public static boolean isMultimediaResource() { return multimediaResource; } /** * @param multimediaResource the multimediaResource to set */ public static void setMultimediaResource(boolean multimediaResource) { BeanReportContext.multimediaResource = multimediaResource; } /** * @return the evalueActivity */ public static boolean isEvalueActivity() { return evalueActivity; } /** * @param evalueActivity the evalueActivity to set */ public static void setEvalueActivity(boolean evalueActivity) { BeanReportContext.evalueActivity = evalueActivity; } /** * @return the sCORMActivity */ public static boolean isSCORMActivity() { return SCORMActivity; } /** * @param sCORMActivity the sCORMActivity to set */ public static void setSCORMActivity(boolean sCORMActivity) { SCORMActivity = sCORMActivity; } }
JavaScript
UTF-8
582
3.234375
3
[]
no_license
var myState = 0 ; function setup() { // put setup code here createCanvas(800, 800) ; } function draw() { // put drawing code here switch(myState) { case 0: background (255, 0, 0); break ; case 1: background (0, 255, 0); text("first",100, 100); rect(10, 10, 50, 50); break ; case 2: background (0, 0, 255); fill("#ffcb08") text("second",150, 150); break ; } } function mouseReleased() { //myState++ ; myState = (myState + 1) % 3; //if (mystate > 2) { //myState = 0 ; // } }
Java
UTF-8
2,542
4.4375
4
[]
no_license
package days10; // 리턴 값이 존재하는 메소드의 선언 // 메서드 호출 후 메서드에서 계산되어 진 결과를 호출한 지점에서 사용하고자 할 때 // return 명령으로 호출된 지점으로 전달할 수 있습니다. public class Method06 { public static void main(String[] args) { int num = 77; int k = squar(5); System.out.printf("%d의 제곱은 %d입니다.\n", num, k); int max_result = max(10, 5, 17); // 리턴 값은 메서드 호출 명령 대신 왼쪽 변수에 저장되도록 위치하게 됩니다. System.out.printf("가장 큰 숫자는? : %d\n", max_result); } // 5 -> n, n*n -> s, s-> k // 리턴 값의 타입이 선언된 메소드는 실행의 결과를 호출한 지점으로 반환할 수 있습니다. // 리턴 값이 있는 메서드 생성시 void를 썻던 자리에 리턴 값의 자료형을 써줍니다. public static int squar(int n) { int s = n*n; // System.out.printf("%d의 제곱은 %d 입니다.\n", n, s); return s; } // 메소드의 실행 결과를 호출한 지점으로 반환하기 위해서 사용되는 return 키워드 // return 키워드의 우항에 값 또는 변수 또는 수식이 존재하는 경우 // 우항의 값 또는 실행 결과를 메소드를 호출한 지점으로 반환(리턴) public static int max(int a, int b, int c) { /*int[] list = {a, b, c}; int max = list[0]; for(int i = 0; i < list.length; i++) { if(max < list[i]) max = list[i]; }*/ int mv; if(a > b) mv = a; else mv = b; if(mv > c) return mv; else return c; } // 메소드 사용에 따른 메소드 형태 // abc() - 전달 인수 없고 리턴 값도 없는 형태 // abc(10, 20) - 전달인수 2개, 리턴값 없음 // k = abc() - 전달인수 없고, 리턴 값 있는 형태 // k = abc(10, 20) - 전달인수 2개, 리턴 값 있음 // ※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※ // 개발자 필요에 의해 만들어지는 메소드는 반드시 클래스 안에 정의되어야 하며 // 생성된 메소드들 간에는 자유롭게 서로를 호출하여 사용할 수 있습니다. // 그들은 그들을 둘러싼 클래스에 속해 있는 멤버들이라고도 부릅니다. // main 메서드는 제외 - main을 호출한다는건 프로그램을 시작한다는 뜻 // ※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※ }
Markdown
UTF-8
2,772
2.921875
3
[ "MIT" ]
permissive
# Cpp Makefile Tutorial ## GCC/Clang Compiler Steps ### Compilation Steps 1. Preprocessing 2. Compilation 3. Assembler 4. Linking #### Preprocessing - Removes comments from the source code - Macro expansion - Expansion of header files - Command: g++ -E main.cc > main.i #### Compilation - Translates the preprocessing file into assembly language. - Checks the C/C++ language syntax for error - Command: g++ -S main.i - Produces: main.s #### Assembler - Translates the assembly code into low-level machine code - Command: g++ -c main.s - Produces: main.o #### Linker - Linking all the source files together, that is all the other object codes in the project. - Generates the executable file - Command: g++ main.o -o main - Produces: main.out (.exe for Windows) ### Compiler Flags - Debug: ```-g``` - Release: ```-O0 -O1 -O2 -O3 -Og``` - Includes: ```-I``` - Warnings: ```-Wall -Wextra -Wpedantic -Wconversion``` ## Makefile Commands of the Template ### Makefile Variables Convention is naming in upper snake_case. ```make VARIABLE_NAME = Value ``` Variables can be called by $(VARIABLE_NAME) ```make $(VARIABLE_NAME) ``` ### Makefile Targets Convention is naming in snake_case or camelCase. ```make targetName: Dependecies Command ``` Targets can be called by the ```make``` command. ```bash make targetName ``` ### Makefile Phony Target Sometimes you want your Makefile to run commands that do not represent files, for example the "clean" target. You may potentially have a file named clean in your main directory. In such a case Make will be confused because by default the clean target would be associated with this file and Make will only run it when the file doesn't appear to be up-to-date. ```make .PHONY: clean clean: rm -rf *.o ``` In terms of Make, a phony target is simply a target that is always out-of-date, so whenever you ask make <phony_target>, it will run, independent from the state of the file system. ### Build the Executable Create the executable in either Debug or Release mode. ```bash make build COMPILATION_MODE=Debug # Build type is debug make build COMPILATION_MODE=Release # Build type is release ``` ### Run the Executable Run the executable in either Debug or Release mode. ```bash make execute COMPILATION_MODE=Debug # Build type is debug make execute COMPILATION_MODE=Release # Build type is release ``` ### Variables of the Makefile Template - COMPILATION_MODE: Debug or Release - ENABLE_WARNINGS: 1 (True) or 0 (False) - WARNINGS_AS_ERRORS: 1 (True) or 0 (False) - CPP_STANDARD: c++11, c++14, c++17, etc. ### Important Shortcuts of the Makefile Template - ```$@```: the file name of the target - ```$<```: the name of the first ependency - ```$^```: the names of all dependencies
PHP
UTF-8
338
2.796875
3
[ "MIT" ]
permissive
<?php namespace Nucleus\Provider; trait ProviderTrait { private $registered = []; public $dependencies; public function register() { foreach($this->dependencies as $name => $obj) { $this->registered[$name] = $obj->register(); } } public function getRegistered() { return $this->registered; } }
Python
UTF-8
208
3.921875
4
[]
no_license
msg = raw_input('Do you want a coin? ') coins = 0 while msg != 'no': if msg == 'yes': coins += 1 print 'You have %i coins' % coins msg = raw_input('Do you want a coin?') print 'Bye!'
Java
UTF-8
2,115
3.953125
4
[]
no_license
package LeetCode; /** 443. String Compression Given an array of characters, compress it in-place. The length after compression must always be smaller than or equal to the original array. Every element of the array should be a character (not int) of length 1. After you are done modifying the input array in-place, return the new length of the array. Follow up: Could you solve it using only O(1) extra space? Example 1: Input: ["a","a","b","b","c","c","c"] Output: Return 6, and the first 6 characters of the input array should be: ["a","2","b","2","c","3"] Explanation: "aa" is replaced by "a2". "bb" is replaced by "b2". "ccc" is replaced by "c3". Example 2: Input: ["a"] Output: Return 1, and the first 1 characters of the input array should be: ["a"] Explanation: Nothing is replaced. Example 3: Input: ["a","b","b","b","b","b","b","b","b","b","b","b","b"] Output: Return 4, and the first 4 characters of the input array should be: ["a","b","1","2"]. Explanation: Since the character "a" does not repeat, it is not compressed. "bbbbbbbbbbbb" is replaced by "b12". Notice each digit has it's own entry in the array. Note: All characters have an ASCII value in [35, 126]. 1 <= len(chars) <= 1000. */ public class L_Leetcode_443 { /** * @param chars * @return * * kind like RLE (Run-length encode) */ public int compress(char[] chars) { int len = 0; int i = 0; while(i < chars.length){ char c = chars[i]; int j = i + 1; while(j < chars.length && chars[j] == c) j++; if(j - i > 1){ chars[len++] = c; int num = j - i; int base = 1; while(num / (base * 10) > 0) base *= 10; while(base > 0){ int next = (num / base) % 10; chars[len++] = (char)('0' + next); base /= 10; } i = j; }else{ chars[len++] = chars[i++]; } } return len; } }
Java
UTF-8
3,941
2.21875
2
[ "LicenseRef-scancode-free-unknown", "ECL-2.0", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "LicenseRef-scancode-unknown" ]
permissive
/* * Licensed to The Apereo Foundation under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * * The Apereo Foundation licenses this file to you under the Educational * Community License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of the License * at: * * http://opensource.org/licenses/ecl2.txt * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. * */ package org.opencastproject.job.api; import org.opencastproject.util.XmlSafeParser; import org.apache.commons.io.IOUtils; import java.io.IOException; import java.io.InputStream; import java.io.StringWriter; import java.io.Writer; import javax.xml.bind.JAXBContext; import javax.xml.bind.JAXBException; import javax.xml.bind.Marshaller; import javax.xml.bind.Unmarshaller; /** * Marshals and unmarshals {@link Job}s. */ public final class JobParser { private static final JAXBContext jaxbContext; /** Disallow constructing this utility class */ private JobParser() { } static { StringBuilder sb = new StringBuilder(); sb.append("org.opencastproject.job.api:org.opencastproject.serviceregistry.api"); try { jaxbContext = JAXBContext.newInstance(sb.toString(), JobParser.class.getClassLoader()); } catch (JAXBException e) { throw new IllegalStateException(e); } } /** * Parses an xml string representing a {@link Job} * * @param serializedForm * The serialized data * @return The job */ public static Job parseJob(String serializedForm) throws IOException { return parseJob(IOUtils.toInputStream(serializedForm, "UTF-8")); } /** * Parses a stream representing a {@link Job} * * @param in * The serialized data * @return The job */ public static Job parseJob(InputStream in) throws IOException { Unmarshaller unmarshaller; try { unmarshaller = jaxbContext.createUnmarshaller(); return unmarshaller.unmarshal(XmlSafeParser.parse(in), JaxbJob.class).getValue().toJob(); } catch (Exception e) { throw new IOException(e); } finally { IOUtils.closeQuietly(in); } } /** * Serializes the job into a string representation. * * @param job * the job * @return the job's serialized form * @throws IOException * if parsing fails */ public static String toXml(JaxbJob job) throws IOException { try { Marshaller marshaller = jaxbContext.createMarshaller(); Writer writer = new StringWriter(); marshaller.marshal(job, writer); return writer.toString(); } catch (JAXBException e) { throw new IOException(e); } } /** * Parses an xml string representing a {@link JaxbJobList} * * @param serializedForm * The serialized data * @return The job list */ public static JaxbJobList parseJobList(String serializedForm) throws IOException { return parseJobList(IOUtils.toInputStream(serializedForm, "UTF-8")); } /** * Parses a stream representing a {@link JaxbJobList} * * @param in * the serialized data * @return the job list */ public static JaxbJobList parseJobList(InputStream in) throws IOException { Unmarshaller unmarshaller; try { unmarshaller = jaxbContext.createUnmarshaller(); return unmarshaller.unmarshal(XmlSafeParser.parse(in), JaxbJobList.class).getValue(); } catch (Exception e) { throw new IOException(e); } finally { IOUtils.closeQuietly(in); } } }
C#
UTF-8
1,903
3.0625
3
[]
no_license
using System; using System.Data; using System.Data.Entity; using System.Linq; namespace eLConsultation.Data { public class SettingService: ServiceBase { protected StoreContext db; public SettingService() { db = new StoreContext(); } public SettingService(StoreContext context) { db = context; } public Setting GetSettingByItem(string settingItem) { if (String.IsNullOrEmpty(settingItem)) { throw new ArgumentException(String.Format("{0} is not valid setting name", settingItem), "settingItem"); } var setting = db.Settings.Find(settingItem); if (setting == null) { throw new NullReferenceException(String.Format("There is no setting with provided {0} name", settingItem)); } return setting; } protected Setting SetSetting(string settingItem, string settingGroup, string settingValue) { var setting = db.Settings.Find(settingItem); if (setting == null) { Setting item = new Setting { SettingItem = settingItem, SettingGroup = settingGroup, SettingValue = settingValue }; db.Settings.Add(item); db.SaveChanges(); return item; } else { setting.SettingGroup = settingGroup; setting.SettingItem = settingItem; setting.SettingValue = settingValue; db.Settings.Attach(setting); db.Entry(setting).State = EntityState.Modified; db.SaveChanges(); return setting; } } } }
Markdown
UTF-8
1,999
3.265625
3
[]
no_license
## 用户角色列表 这个章节我们来处理用户角色的部分,客户端有可能在某些地方显示用户角色信息,例如某个用户的个人页面里,显示出用户是站长,还是管理员。用户的角色信息没必要再单独请求接口了,我们可以通过 Include 机制实现。 ## 1. 增加 Transformer ``` $ touch app/Transformers/RoleTransformer.php ``` _app/Transformers/RoleTransformer.php_ ``` <?php namespace App\Transformers; use Spatie\Permission\Models\Role; use League\Fractal\TransformerAbstract; class RoleTransformer extends TransformerAbstract { public function transform(Role $role) { return [ 'id' => $role->id, 'name' => $role->name, ]; } } ``` ## 2. 修改 UserTransformer _app/Transformers/UserTransformer.php_ ``` <?php namespace App\Transformers; use App\Models\User; use League\Fractal\TransformerAbstract; class UserTransformer extends TransformerAbstract { protected $availableIncludes = ['roles']; . . . public function includeRoles(User $user) { return $this->collection($user->roles, new RoleTransformer()); } } ``` 用户与角色的关系是一对多的,我们通过`$this->collection`返回用户权限。 ## 3. PostMan 调试 [![](https://iocaffcdn.phphub.org/uploads/images/201802/08/3995/4gTOKZRnEJ.png "file")](https://iocaffcdn.phphub.org/uploads/images/201802/08/3995/4gTOKZRnEJ.png) 访问某个用户发布的话题列表接口,修改参数为`include=user.roles,category`,回忆一下 Include 机制,这里请求的是`话题资源`,`话题的发布用户信息`,`话题发布用户的角色资源`,`话题的分类资源`。 可以看到结果中,用户信息数据中嵌套 roles 资源。任何一个需要用户资源的地方都可以通过`include=roles`返回用户对应的角色,是不是非常的灵活方便。 ## 代码版本控制 ``` $ git add -A $ git commit -m 'include user roles' ```
TypeScript
UTF-8
747
2.625
3
[ "MIT" ]
permissive
import { Pipe, PipeTransform } from '@angular/core'; import { MovementType } from '../../data/types/properties'; @Pipe({ name: 'speed' }) export class SpeedPipe implements PipeTransform { transform(value: {types: Partial<Record<MovementType, number>>, flyHover?: boolean}): string { let rv = `${value.types[MovementType.WALK] || 0} ft.`; for (let type in MovementType) { if (MovementType[type] != MovementType.WALK && value.types[MovementType[type]]) { rv += `, ${MovementType[type]} ${value.types[MovementType[type]]} ft.`; if (MovementType[type] == MovementType.FLY && value.flyHover) rv += ' (hover)'; } } return rv; } }
C#
UTF-8
21,069
2.65625
3
[]
no_license
using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Collections; using System.Threading; using System.Collections.Specialized; using System.Diagnostics; using MySql.Data.MySqlClient; /// <summary> /// Summary description for Scheduler /// </summary> public class Scheduler { private SchedulerConfiguration configuration = null; Logger log = new Logger(); ProcessingEngine engine = new ProcessingEngine(); public Scheduler(SchedulerConfiguration config) { configuration = config; } public void Start() { while(true) { try { // For each job, call the execute method foreach (ISchedulerJob job in configuration.Jobs) { job.Execute(); } // ((ISchedulerJob)configuration.Jobs[0]).Execute(); } catch(Exception ex) { if (log.isLoggingOn && log.isAppLoggingOn) { log.Log(ex); } } finally { Thread.Sleep(configuration.SleepInterval); } } } } ///<summary> ///Interface for Scheduler Jobs ///</summary> public interface ISchedulerJob { // All the contract asks for is that a Job implements an Execute method that the scheduling engine can call. void Execute(); } public class DoJob : ISchedulerJob { DBOperations dbOps; StockService stockService; Logger log = new Logger(); ProcessingEngine engine = new ProcessingEngine(); private string dateFormatString = ConfigurationManager.AppSettings["dateFormatString"]; private string smtpClient = ConfigurationManager.AppSettings["smtpClient"]; private int schedulerTimeInHours = Convert.ToInt32(ConfigurationManager.AppSettings["schedulerTimeInHours"]); // private double masterExpertisePercent = Convert.ToDouble(ConfigurationManager.AppSettings["masterExpertisePercent"]); // private double expertExpertisePercent = Convert.ToDouble(ConfigurationManager.AppSettings["expertExpertisePercent"]); // private double intermediateExpertisePercent = Convert.ToDouble(ConfigurationManager.AppSettings["intermediateExpertisePercent"]); string yesterday; string today; string tomorrow; ///<summary> ///A simple example of a job that sends out an email message. ///</summary> public void Execute() { // IF Day == Saturday | Sunday Then Scheduler should run exactly once. // Currently Not running the scheduler on Friday. if ( (DateTime.Now.DayOfWeek != DayOfWeek.Saturday && DateTime.Now.DayOfWeek != DayOfWeek.Sunday) && DateTime.Now.Hour == schedulerTimeInHours) // This task has to run at 9:00 A.M. (EST) // if ((DateTime.Now.Hour % 2) != 0) // This task has to run at 12:00 A.M. (Midnight EST) { dbOps = new DBOperations(); stockService = new StockService(); yesterday = DateTime.Now.AddDays(-1).ToString(dateFormatString); today = DateTime.Now.ToString(dateFormatString); tomorrow = DateTime.Now.AddDays(+1).ToString(dateFormatString); // Update the DB. This task has to run between 9:00 A.M. and 10:00 A.M. (Morning EST) UpdateDB(); // Log the time at which the Scheduler runs the Execute() Method // And the DB was Updated using the UpdateDB() Method. log.Log("Run Execute(). DB Updated. Yay!"); } } /// <summary> /// Update the UserPrediction and StockPrediction and Expertise DB. /// </summary> private void UpdateDB() { // UserPrediction(Username,PredictedMovement,Symbol,Time,Date) // StockPrediction(StockSymbol,Date,HighVotes,LowVotes,SumHighVotesMulWeight,SumLowVotesMulWeight,PredictedMovement,ActualMovement) // Expertise(Username,Expertise,CurrentWeight) /* Assuming that Yesterday, some user predicted Today's Price of a stock. StockSymbol, PredictedMovement = SELECT StockSymbol, PredictedMovement FROM StockPrediction WHERE Date = Today FOR EACH StockSymbol IN StockPrediction DB FETCH ActualMovement from Provider Services (Yahoo, XIgnite) for Today. IF PredictedMovement == ActualMovement UPDATE UserPrediction SET CurrentWeight = CurrentWeight * 2 WHERE Symbol = Stock; ELSE UPDATE UserPrediction SET CurrentWeight = CurrentWeight * 2 WHERE Symbol = Stock; END IF END LOOP */ // DB Variables. string queryString = ""; int retVal = 0; // ArrayList retList; MySqlDataReader retList; // Math Variables. string symbol = ""; string predictedMovement = ""; string actualMovement = ""; string change = ""; string currentPrice = ""; string previousClose = ""; queryString = @"SELECT StockSymbol,PredictedMovement FROM stoocks.stockprediction WHERE Date='" + today + "' ;"; // queryString = @"SELECT StockSymbol,PredictedMovement FROM Stoocks.StockPrediction WHERE Date='" + tomorrow + "' ;"; // retList = dbOps.QueryMultipleRowSelect(queryString); retList = dbOps.ExecuteReader(queryString); // for (int i = 0; (retList != null && retList.Count > 0) && i < retList.Count; i++) if(retList != null && retList.HasRows && !retList.IsClosed) while(retList.Read()) { // StringCollection sc = (StringCollection)retList[i]; // symbol = sc[0].ToString(); // predictedMovement = sc[1].ToString(); symbol = retList.GetString(0); predictedMovement = retList.GetString(1); // stockService.XIgniteGetQuoteData(symbol, out currentPrice, out change, out previousClose); stockService.YahooCSVGetQuoteData(symbol, out currentPrice, out change, out previousClose); if (change.StartsWith("-")) { // actualMovement = "-1"; actualMovement = ((int)ProcessingEngine.Movement.Down).ToString(); } else { // actualMovement = "1"; actualMovement = ((int)ProcessingEngine.Movement.Up).ToString(); } int pmResult; int amResult; bool isAMInt = int.TryParse(actualMovement, out amResult); bool isPMInt = int.TryParse(predictedMovement, out pmResult); if (isAMInt && isPMInt) { // Update the Actual Movement in the following 2 tables. // UserPrediction() // StockPrediction() queryString = "UPDATE stoocks.userprediction SET ActualMovement = " + amResult + " WHERE Symbol='" + symbol + "' AND Date='" + today + "';"; retVal = dbOps.ExecuteNonQuery(queryString); queryString = "UPDATE stoocks.stockprediction SET ActualMovement = " + amResult + " WHERE StockSymbol='" + symbol + "' AND Date='" + today + "';"; retVal = dbOps.ExecuteNonQuery(queryString); #region Older Code Updated 2007-09-25 //// if (actualMovement == predictedMovement) //if(amResult == pmResult) //{ // // queryString = "UPDATE Stoocks.Expertise SET CurrentWeight = CurrentWeight * 2 WHERE Username = (SELECT Username FROM Stoocks.Userprediction Where Symbol = (SELECT StockSymbol FROM Stoocks.Stockprediction WHERE PredictedMovement = ActualMovement AND Date = '" + today + "') AND Date = '" + today + "');"; // // retVal = dbOps.QueryInsert(queryString); // queryString = "SELECT StockSymbol FROM Stoocks.Stockprediction WHERE PredictedMovement = ActualMovement AND Date = '" + today + "';"; // ArrayList symbolList = dbOps.QueryMultipleRowSelect(queryString); // for (int n = 0; (symbolList != null && symbolList.Count > 0) && n < symbolList.Count; n++) // { // StringCollection symbolSC = (StringCollection)symbolList[n]; // string currentSymbol = symbolSC[0]; // queryString = "UPDATE Stoocks.Expertise SET CurrentWeight = CurrentWeight * 2 WHERE Username = (SELECT Username FROM Stoocks.Userprediction Where Symbol = '" + currentSymbol + "' AND PredictedMovement = '" + pmResult + "'AND Date = '" + today + "');"; // retVal = dbOps.QueryInsert(queryString); // } //} //else //{ // // queryString = "UPDATE Stoocks.Expertise SET CurrentWeight = CurrentWeight / 2 WHERE Username = (SELECT Username FROM Stoocks.Userprediction Where Symbol = (SELECT StockSymbol FROM Stoocks.Stockprediction WHERE PredictedMovement = ActualMovement AND Date = '" + today + "') AND Date = '" + today + "');"; // // retVal = dbOps.QueryInsert(queryString); // queryString = "SELECT StockSymbol FROM Stoocks.Stockprediction WHERE PredictedMovement = ActualMovement AND Date = '" + today + "';"; // ArrayList symbolList = dbOps.QueryMultipleRowSelect(queryString); // for (int n = 0; (symbolList != null && symbolList.Count > 0) && n < symbolList.Count; n++) // { // StringCollection symbolSC = (StringCollection)symbolList[n]; // string currentSymbol = symbolSC[0]; // queryString = "UPDATE Stoocks.Expertise SET CurrentWeight = CurrentWeight / 2 WHERE Username = (SELECT Username FROM Stoocks.Userprediction Where Symbol = '" + currentSymbol + "' AND PredictedMovement = '" + pmResult + "' AND Date = '" + today + "');"; // retVal = dbOps.QueryInsert(queryString); // } //} #endregion Older Code Updated 2007-09-25 #region Update CurrentWeights // Find all the users who predicted the movement correctly. // Update the expertise and perstockexpertise tables by multiplying the currentweights by 2. queryString = "SELECT Username FROM stoocks.userprediction Where Symbol = '" + symbol + "' AND PredictedMovement = ActualMovement AND Date = '" + today + "';"; // ArrayList usernameList = dbOps.QueryMultipleRowSelect(queryString); MySqlDataReader usernameList = dbOps.ExecuteReader(queryString); string usersWhoPredictedCorrectly = ""; // for (int j = 0; (usernameList != null && usernameList.Count > 0) && j < usernameList.Count; j++) if (usernameList != null && usernameList.HasRows && !usernameList.IsClosed) while (usernameList.Read()) { // StringCollection usernameSC = (StringCollection)usernameList[j]; // usersWhoPredictedCorrectly = usernameSC[0]; usersWhoPredictedCorrectly = usernameList.GetString(0); queryString = "UPDATE stoocks.expertise SET CurrentWeight = CurrentWeight * 2 WHERE Username = '" + usersWhoPredictedCorrectly + "';"; retVal = dbOps.ExecuteNonQuery(queryString); queryString = "UPDATE stoocks.perstockexpertise SET CurrentWeight = CurrentWeight * 2 WHERE Username = '" + usersWhoPredictedCorrectly + "' AND Symbol='" + symbol + "';"; retVal = dbOps.ExecuteNonQuery(queryString); } usernameList.Close(); // retList.Close(); This is shifted to outside the while loop. // Find all the users who predicted the movement incorrectly. // Update the expertise and perstockexpertise tables by dividing the currentweights by 2. queryString = "SELECT Username FROM stoocks.userprediction Where Symbol = '" + symbol + "' AND PredictedMovement <> ActualMovement AND Date = '" + today + "';"; // usernameList = dbOps.QueryMultipleRowSelect(queryString); usernameList = dbOps.ExecuteReader(queryString); string usersWhoPredictedIncorrectly = ""; // for (int j = 0; (usernameList != null && usernameList.Count > 0) && j < usernameList.Count; j++) if (usernameList != null && usernameList.HasRows) while (usernameList.Read()) { // StringCollection usernameSC = (StringCollection)usernameList[j]; // usersWhoPredictedIncorrectly = usernameSC[0]; usersWhoPredictedCorrectly = usernameList.GetString(0); queryString = "UPDATE stoocks.expertise SET CurrentWeight = CurrentWeight / 2 WHERE Username = '" + usersWhoPredictedIncorrectly + "';"; retVal = dbOps.ExecuteNonQuery(queryString); queryString = "UPDATE stoocks.perstockexpertise SET CurrentWeight = CurrentWeight / 2 WHERE Username = '" + usersWhoPredictedIncorrectly + "' AND Symbol='" + symbol + "';"; retVal = dbOps.ExecuteNonQuery(queryString); } usernameList.Close(); #endregion Update CurrentWeights } } retList.Close(); #region Update Expertise Level string username = ""; int oldExpertise; int newExpertise; int correctPredictions; int totalPredictions; double percentPrediction; queryString = "SELECT distinct Username FROM stoocks.userprediction;"; // retList = dbOps.QueryMultipleRowSelect(queryString); retList = dbOps.ExecuteReader(queryString); // for (int i = 0; (retList != null && retList.Count > 0) && i < retList.Count; i++) if(retList != null && retList.HasRows) while(retList.Read()) { // StringCollection sc = (StringCollection)retList[i]; // username = sc[0].ToString().Trim(); username = retList.GetString(0).Trim(); queryString = "SELECT Expertise FROM stoocks.expertise WHERE Username='" + username + "';"; oldExpertise = dbOps.ExecuteScalar(queryString); queryString = "SELECT Count(*) FROM stoocks.userprediction WHERE Username='" + username + "' AND ActualMovement=PredictedMovement;"; correctPredictions = dbOps.ExecuteScalar(queryString); queryString = "SELECT Count(*) FROM stoocks.userprediction WHERE Username='" + username + "';"; totalPredictions = dbOps.ExecuteScalar(queryString); if (correctPredictions > 0 && totalPredictions > 0 && oldExpertise > 0) { // newExpertise = 2; // Default Expertise = Intermediate; newExpertise = (int)ProcessingEngine.ExpertiseLevel.Intermediate; // Default Expertise = Intermediate; percentPrediction = (double)((double)correctPredictions / (double)totalPredictions); if (percentPrediction >= engine.ExpertisePercentMaster) // Master { // newExpertise = 4; newExpertise = (int)ProcessingEngine.ExpertiseLevel.Master; } else if (percentPrediction >= engine.ExpertisePercentExpert) // Expert { // newExpertise = 3; newExpertise = (int)ProcessingEngine.ExpertiseLevel.Expert; } else if (percentPrediction < engine.ExpertisePercentIntermediate) // Beginner { // newExpertise = 1; newExpertise = (int)ProcessingEngine.ExpertiseLevel.Beginner; } if (oldExpertise != newExpertise) { queryString = "UPDATE stoocks.expertise SET Expertise = " + newExpertise + " WHERE Username = '" + username + "';"; retVal = dbOps.ExecuteNonQuery(queryString); } } } retList.Close(); #endregion Update Expertise Level #region Update stoocks.peruserexpertise Expertise queryString = "SELECT Username, Symbol, Expertise FROM stoocks.perstockexpertise;"; // retList = dbOps.QueryMultipleRowSelect(queryString); retList = dbOps.ExecuteReader(queryString); // for (int i = 0; (retList != null && retList.Count > 0) && i < retList.Count; i++) if(retList != null && retList.HasRows) while(retList.Read()) { //StringCollection sc = (StringCollection)retList[i]; //username = sc[0].ToString(); //symbol = sc[1].ToString(); //oldExpertise = Convert.ToInt32(sc[2]); username = retList.GetString(0); symbol = retList.GetString(1); oldExpertise = retList.GetInt32(2); queryString = "SELECT Count(*) FROM stoocks.userprediction WHERE Username='" + username + "' AND Symbol='" + symbol + "' AND ActualMovement=PredictedMovement;"; correctPredictions = dbOps.ExecuteScalar(queryString); queryString = "SELECT Count(*) FROM stoocks.userprediction WHERE Username='" + username + "' AND Symbol='" + symbol + "';"; totalPredictions = dbOps.ExecuteScalar(queryString); if (correctPredictions > 0 && totalPredictions > 0 && oldExpertise > 0) { // newExpertise = 2; // Default Expertise = Intermediate; newExpertise = (int)ProcessingEngine.ExpertiseLevel.Intermediate; // Default Expertise = Intermediate; percentPrediction = (double)((double)correctPredictions / (double)totalPredictions); if (percentPrediction >= engine.ExpertisePercentMaster) // Master { // newExpertise = 4; newExpertise = (int)ProcessingEngine.ExpertiseLevel.Master; } else if (percentPrediction >= engine.ExpertisePercentExpert) // Expert { // newExpertise = 3; newExpertise = (int)ProcessingEngine.ExpertiseLevel.Expert; } else if (percentPrediction < engine.ExpertisePercentIntermediate) // Beginner { // newExpertise = 1; newExpertise = (int)ProcessingEngine.ExpertiseLevel.Beginner; } if (oldExpertise != newExpertise) { queryString = "UPDATE stoocks.perstockexpertise SET Expertise = " + newExpertise + " WHERE Username = '" + username + "' AND symbol='" + symbol + "';"; retVal = dbOps.ExecuteNonQuery(queryString); } } } retList.Close(); #endregion Update stoocks.peruserexpertise Expertise } } ///<summary> ///Scheduler Configuration. The scheduling engine needs to know what jobs it has to run and how often. ///</summary> public class SchedulerConfiguration { private int sleepInterval; private ArrayList jobs = new ArrayList(); public SchedulerConfiguration(int newSleepInterval) { sleepInterval = newSleepInterval; } public int SleepInterval { get { return sleepInterval; } } public ArrayList Jobs { get { return jobs; } } }
C#
UTF-8
1,783
3.5
4
[]
no_license
using System; namespace Updog.Domain { /// <summary> /// Interface for domain entities to implement. /// </summary> public interface IEntity { #region Properties /// <summary> /// Unique integer id of the entity. /// </summary> int Id { get; set; } #endregion } public abstract class Entity<TEntity> : IEntity where TEntity : class, IEntity { #region Properties /// <summary> /// The unique Id of the entity. /// </summary> public int Id { get => id; set => id = id == 0 ? id = value : throw new InvalidOperationException("Cannot change Id of entity."); } #endregion #region Fields private int id; #endregion #region Publics /// <summary> /// Check to see if the comment is equal to another object. /// </summary> /// <param name="obj">The other object to check.</param> /// <returns>True if the other object matches the comment.</returns> public override bool Equals(object? obj) { TEntity? c = obj as TEntity; if (c == null) { return false; } return Equals(c); } /// <summary> /// Check to see if two comments are equivalent. /// </summary> /// <param name="c">The other comment to check.</param> /// <returns>True if the comments match.</returns> public bool Equals(TEntity c) => c.Id == this.Id; /// <summary> /// Get a unique hashcode of the object. /// </summary> /// <returns>The unique hashcode.</returns> public override int GetHashCode() => Id; #endregion } }
TypeScript
UTF-8
7,942
2.59375
3
[ "Apache-2.0" ]
permissive
import { Algorithm, PubkeyBundle, PubkeyBytes } from "@iov/bcp"; import { fromHex } from "@iov/encoding"; import { isValidAddress, pubkeyToAddress, toChecksummedAddress } from "./address"; describe("address", () => { describe("isValidAddress", () => { it("should accept non-checksummed addresses (all lower)", () => { expect(isValidAddress("0x0000000000000000000000000000000000000000")).toEqual(true); expect(isValidAddress("0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")).toEqual(true); expect(isValidAddress("0x095e7baea6a6c7c4c2dfeb977efac326af552d87")).toEqual(true); }); it("should accept valid checksummed addresses", () => { // https://github.com/ethereum/EIPs/blob/master/EIPS/eip-55.md#test-cases expect(isValidAddress("0x52908400098527886E0F7030069857D2E4169EE7")).toEqual(true); expect(isValidAddress("0x8617E340B3D01FA5F11F306F4090FD50E238070D")).toEqual(true); expect(isValidAddress("0xde709f2102306220921060314715629080e2fb77")).toEqual(true); expect(isValidAddress("0x27b1fdb04752bbc536007a920d24acb045561c26")).toEqual(true); expect(isValidAddress("0x5aAeb6053F3E94C9b9A09f33669435E7Ef1BeAed")).toEqual(true); expect(isValidAddress("0xfB6916095ca1df60bB79Ce92cE3Ea74c37c5d359")).toEqual(true); expect(isValidAddress("0xdbF03B407c01E7cD3CBea99509d93f8DDDC8C6FB")).toEqual(true); expect(isValidAddress("0xD1220A0cf47c7B9Be7A2E6BA89F429762e7b9aDb")).toEqual(true); }); it("rejects malformed addresses", () => { // to short expect(isValidAddress("0xD1220A0cf47c7B9Be7A2E6BA89F429762e7b9")).toEqual(false); // to long expect(isValidAddress("0xD1220A0cf47c7B9Be7A2E6BA89F429762e7b91234")).toEqual(false); // not starting with 0x expect(isValidAddress("D1220A0cf47c7B9Be7A2E6BA89F429762e7b91234")).toEqual(false); }); it("rejects addresses with invalid checksum", () => { // changed some letters from previous test from upper to lowercase and vice versa expect(isValidAddress("0x52908400098527886E0F7030069857D2E4169ee7")).toEqual(false); expect(isValidAddress("0x8617E340B3D01FA5F11F306F4090FD50e238070d")).toEqual(false); expect(isValidAddress("0xde709f2102306220921060314715629080e2FB77")).toEqual(false); expect(isValidAddress("0x27b1fdb04752bbc536007a920d24acb045561C26")).toEqual(false); expect(isValidAddress("0x5aAeb6053F3E94C9b9A09f33669435E7Ef1BeAED")).toEqual(false); expect(isValidAddress("0xfB6916095ca1df60bB79Ce92cE3Ea74c37C5D359")).toEqual(false); expect(isValidAddress("0xdbF03B407c01E7cD3CBea99509d93f8DDDC8C6fb")).toEqual(false); expect(isValidAddress("0xD1220A0cf47c7B9Be7A2E6BA89F429762e7b9ADB")).toEqual(false); }); }); describe("toChecksummedAddress", () => { it("convert address properly", () => { // test cases from https://github.com/ethereum/EIPs/blob/master/EIPS/eip-55.md#test-cases expect(toChecksummedAddress("0x52908400098527886E0F7030069857D2E4169EE7")).toEqual( "0x52908400098527886E0F7030069857D2E4169EE7", ); expect(toChecksummedAddress("0x8617E340B3D01FA5F11F306F4090FD50E238070D")).toEqual( "0x8617E340B3D01FA5F11F306F4090FD50E238070D", ); expect(toChecksummedAddress("0xde709f2102306220921060314715629080e2fb77")).toEqual( "0xde709f2102306220921060314715629080e2fb77", ); expect(toChecksummedAddress("0x27b1fdb04752bbc536007a920d24acb045561c26")).toEqual( "0x27b1fdb04752bbc536007a920d24acb045561c26", ); expect(toChecksummedAddress("0x5aaeb6053f3e94c9b9a09f33669435e7ef1beaed")).toEqual( "0x5aAeb6053F3E94C9b9A09f33669435E7Ef1BeAed", ); expect(toChecksummedAddress("0xfb6916095ca1df60bb79ce92ce3ea74c37c5d359")).toEqual( "0xfB6916095ca1df60bB79Ce92cE3Ea74c37c5d359", ); }); it("works for binary input", () => { expect( toChecksummedAddress(new Uint8Array([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0])), ).toEqual("0x0000000000000000000000000000000000000000"); expect(toChecksummedAddress(fromHex("52908400098527886E0F7030069857D2E4169EE7"))).toEqual( "0x52908400098527886E0F7030069857D2E4169EE7", ); expect(toChecksummedAddress(fromHex("8617E340B3D01FA5F11F306F4090FD50E238070D"))).toEqual( "0x8617E340B3D01FA5F11F306F4090FD50E238070D", ); }); it("does not change checksummed addresses", () => { expect(toChecksummedAddress("0xfB6916095ca1df60bB79Ce92cE3Ea74c37c5d359")).toEqual( "0xfB6916095ca1df60bB79Ce92cE3Ea74c37c5d359", ); }); it("throws for invalid input addresses", () => { // incorrect format expect(() => toChecksummedAddress("")).toThrowError(/not a valid Ethereum address/i); expect(() => toChecksummedAddress("124")).toThrowError(/not a valid Ethereum address/i); expect(() => toChecksummedAddress(" 0xfb6916095ca1df60bb79ce92ce3ea74c37c5d359")).toThrowError( /not a valid Ethereum address/i, ); expect(() => toChecksummedAddress("0xfb6916095ca1df60bb79ce92ce3ea74c37c5d359 ")).toThrowError( /not a valid Ethereum address/i, ); // invalid length expect(() => toChecksummedAddress("0x")).toThrowError(/not a valid Ethereum address/i); expect(() => toChecksummedAddress("0xaa")).toThrowError(/not a valid Ethereum address/i); expect(() => toChecksummedAddress("0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")).toThrowError( /not a valid Ethereum address/i, ); // incorrectly checksummed expect(() => toChecksummedAddress("0xFB6916095ca1df60bB79Ce92cE3Ea74c37c5d359")).toThrowError( /not a valid Ethereum address/i, ); }); it("throws for invalid binary input", () => { expect(() => toChecksummedAddress(fromHex("00000000000000000000000000000000000000"))).toThrowError( /invalid Ethereum address length/i, ); expect(() => toChecksummedAddress(fromHex("000000000000000000000000000000000000000000"))).toThrowError( /invalid Ethereum address length/i, ); }); }); describe("pubkeyToAddress", () => { it("derives addresses properly", () => { // Test cases from https://github.com/MaiaVictor/eth-lib/blob/master/test/test.js#L56 const pubkey: PubkeyBundle = { algo: Algorithm.Secp256k1, data: fromHex( "044bc2a31265153f07e70e0bab08724e6b85e217f8cd628ceb62974247bb493382ce28cab79ad7119ee1ad3ebcdb98a16805211530ecc6cfefa1b88e6dff99232a", ) as PubkeyBytes, }; expect(pubkeyToAddress(pubkey)).toEqual("0x9d8A62f656a8d1615C1294fd71e9CFb3E4855A4F"); }); it("throws error for invalid inputs", () => { const pubkeyInvalidAlgo: PubkeyBundle = { algo: Algorithm.Ed25519, data: fromHex( "044bc2a31265153f07e70e0bab08724e6b85e217f8cd628ceb62974247bb493382ce28cab79ad7119ee1ad3ebcdb98a16805211530ecc6cfefa1b88e6dff99232a", ) as PubkeyBytes, }; const pubkeyInvalidDataLenght: PubkeyBundle = { algo: Algorithm.Secp256k1, data: fromHex( "044bc2a31265153f07e70e0bab08724e6b85e217f8cd628ceb62974247bb493382ce28cab79ad7119ee1ad3ebcdb98a16805211530ecc6cfefa1b88e6dff9923", ) as PubkeyBytes, }; const pubkeyInvalidDataPrefix: PubkeyBundle = { algo: Algorithm.Secp256k1, data: fromHex( "074bc2a31265153f07e70e0bab08724e6b85e217f8cd628ceb62974247bb493382ce28cab79ad7119ee1ad3ebcdb98a16805211530ecc6cfefa1b88e6dff99232a", ) as PubkeyBytes, }; expect(() => pubkeyToAddress(pubkeyInvalidAlgo)).toThrowError(/Invalid pubkey data input/); expect(() => pubkeyToAddress(pubkeyInvalidDataLenght)).toThrowError(/Invalid pubkey data input/); expect(() => pubkeyToAddress(pubkeyInvalidDataPrefix)).toThrowError(/Invalid pubkey data input/); }); }); });
Markdown
UTF-8
2,900
2.71875
3
[]
no_license
--- layout: default title: "3620.念念不忘阶级斗争" weight: 3620 --- 《人民日报》评论员1968-3-23 念念不忘阶级斗争 《人民日报》评论员 1968.03.23 革命委员会的成立,是无产阶级革命派向党内一小撮走资派夺权斗争的胜利,是一个阶级推翻一个阶级的大革命的胜利,是毛主席的无产阶级革命路线的胜利。 被推翻了的阶级敌人决不会死心,决不会睡大觉。他们的黑心眼,总是在谋算着翻案,每日每时企图复辟。如果我们只听到欢庆胜利的锣鼓声,看不到这种锣鼓声背后的严酷的阶级斗争的现实,我们就会吃大亏,胜利的果实就有丧失的危险。 毛主席教导我们:“因为胜利,人民感谢我们,资产阶级也会出来捧场。”“可能有这样一些共产党人,他们是不曾被拿枪的敌人征服过的,他们在这些敌人面前不愧英雄的称号;但是经不起人们用糖衣裹着的炮弹的攻击,他们在糖弹面前要打败仗。我们必须预防这种情况。” 混入革命队伍内部的叛徒、特务,党内一小撮顽固不化的走资派,以及社会上没有改造好的地、富、反、坏、右分子,他们明火执仗地反对革命委员会,是越来越困难了。随着形势的变化,他们常常改变自己的策略:或者削尖脑袋,钻进新生的革命政权里面来;或者施放糖衣炮弹,用反革命经济主义等手段,把我们的人拉下水;或者以极“左”的面目出现,接过革命的口号,到处招摇撞骗,搅乱阶级阵线;或者收罗心腹,安插在革命队伍内部,充当他们的代理人;或者挑起革命群众组织之间的派别斗争,煽动无政府主义,破坏抓革命、促生产;或者大刮黑风,否定革命群众运动,否定文化大革命的伟大成果,等等。但是,不管这些阶级敌人变换什么花样,“左”的还是右的,矛头都是对准无产阶级司令部,对准人民解放军,对准新生的革命委员会。 对于这种情况,我们的同志“切不可书生气十足,把复杂的阶级斗争看得太简单了。” 革命委员会是在激烈的阶级斗争中诞生的。它又是领导广大革命群众向阶级敌人进攻的战斗指挥部。革命委员会应当领导广大革命群众,以战无不胜的毛泽东思想为武器,持久地深入地开展革命大批判,始终把斗争的锋芒指向主要敌人,不停顿地对阶级敌人展开进攻。只有这样,革命委员会才能不断地得到巩固,不断地提高自己的无产阶级权威。 我们一定要念念不忘阶级斗争,念念不忘无产阶级专政,念念不忘突出无产阶级政治,念念不忘高举毛泽东思想的伟大红旗! (载《人民日报》一九六八年三月二十三日) CCRADB
C
UTF-8
11,162
2.78125
3
[]
no_license
#ifndef DRYAD_BST2SORTED_ITER_DEFS_H #define DRYAD_BST2SORTED_ITER_DEFS_H #include <vcc.h> #include <stdlib.h> //#include "intbag_defs.h" //#include "intset_defs.h" typedef _(dryad "bst:bst_R:bst_keys:sortl:sortl_R:sortl_keys:stack:stack_R:stack_keys") struct node { struct node * next; struct node * left; struct node * right; struct node * tree; int key; } Node; // -------------------------- base ------------------------------------------ _(abstract _(dryad "base:bst") \bool bst(struct node * root) _(reads \universe()) _(ensures (root == NULL) ==> \result) ;) _(abstract _(dryad "base:bst_R") \oset bst_reach(struct node * root) _(reads \universe()) _(ensures (root != NULL) ==> \oset_in(root, \result)) _(ensures (root == NULL) ==> (\result == \oset_empty())) ;) _(abstract _(dryad "base:bst_keys") \intset bst_keys(struct node * root) _(reads \universe()) _(ensures (root != NULL) ==> \intset_in(root->key, \result)) //_(ensures (root != NULL && (root->next != NULL || root->tree != NULL)) ==> (\result == \intset_empty())) _(ensures root == NULL ==> (\result == \intset_empty())) ;) _(abstract _(dryad "base:sortl") \bool sortl(struct node * hd) _(reads \universe()) _(ensures (hd == NULL) ==> \result) ;) _(abstract _(dryad "base:sortl_R") \oset sortl_reach(struct node * hd) _(reads \universe()) _(ensures (hd != NULL) ==> \oset_in(hd, \result)) //_(ensures (hd != NULL && (hd->left != NULL || hd->right != NULL || hd->tree != NULL)) ==> (\result == \oset_empty())) _(ensures (hd == NULL) ==> (\result == \oset_empty())) ;) _(abstract _(dryad "base:sortl_keys") \intset sortl_keys(struct node * hd) _(reads \universe()) _(ensures (hd != NULL) ==> \intset_in(hd->key, \result)) //_(ensures (hd != NULL && (hd->left == NULL || hd->right == NULL || hd->tree == NULL)) ==> (\result == \intset_empty)) _(ensures hd == NULL ==> (\result == \intset_empty())) ;) _(abstract _(dryad "base:stack") \bool stack(struct node * st) _(reads \universe()) _(ensures (st == NULL) ==> \result) ;) _(abstract _(dryad "base:stack_R") \oset stack_reach(struct node * st) _(reads \universe()) _(ensures (st != NULL) ==> \oset_in(st, \result)) _(ensures (st == NULL) ==> (\result == \oset_empty())) ;) _(abstract _(dryad "base:stack_keys") \intset stack_keys(struct node * st) _(reads \universe()) _(ensures (st != NULL) ==> \intset_in(st->key, \result)) _(ensures (st == NULL) ==> (\result == \intset_empty())) ;) // ---------------------------- unfold -------------------------------------- _(logic _(dryad "unfold:bst") \bool unfold_bst(struct node * root) = (root != NULL ==> (bst(root) <==> (bst(root->left) && bst(root->right) && (! \oset_in(root, \oset_union(bst_reach(root->left), bst_reach(root->right)))) && \oset_disjoint(bst_reach(root->left), bst_reach(root->right)) && !\intset_in(root->key, \intset_union(bst_keys(root->left), bst_keys(root->right))) && \intset_disjoint(bst_keys(root->left), bst_keys(root->right)) && \intset_le_one2(bst_keys(root->left), root->key) && \intset_le_one1(root->key, bst_keys(root->right)) && root->next == NULL && root->tree == NULL ) ) ) ;) _(logic _(dryad "unfold:bst_R") \bool unfold_bst_reach(struct node * root) = (root != NULL ==> (bst_reach(root) == \oset_union(\oset_singleton(root), \oset_union(bst_reach(root->left), bst_reach(root->right))))) ;) _(logic _(dryad "unfold:bst_keys") \bool unfold_bst_keys(struct node * root) = (root != NULL ==> (bst_keys(root) == \intset_union(\intset_singleton(root->key), \intset_union(bst_keys(root->left), bst_keys(root->right))) && \intset_subset(\intset_singleton(root->key), bst_keys(root)) && \intset_subset(bst_keys(root->left), bst_keys(root)) && \intset_subset(bst_keys(root->right), bst_keys(root)) )) ;) _(logic \bool unfold_bst_all(struct node * x) = unfold_bst(x) && unfold_bst_reach(x) && unfold_bst_keys(x) ;) _(logic _(dryad "unfold:sortl") \bool unfold_sortl(struct node * hd) = (hd != NULL ==> (sortl(hd) <==> (sortl(hd->next) && !\oset_in(hd, sortl_reach(hd->next)) && \intset_le_one1(hd->key, sortl_keys(hd->next)) && hd->left == NULL && hd->right == NULL && hd->tree == NULL ) ) ) ;) _(logic _(dryad "unfold:sortl_R") \bool unfold_sortl_reach(struct node * hd) = (hd != NULL ==> (sortl_reach(hd) == \oset_union(sortl_reach(hd->next), \oset_singleton(hd))) ) ;) _(logic _(dryad "unfold:sortl_keys") \bool unfold_sortl_keys(struct node * hd) = (hd != NULL ==> (sortl_keys(hd) == (\intset_union(sortl_keys(hd->next), \intset_singleton(hd->key) ))) ) ;) _(logic \bool unfold_sortl_all(struct node * x) = unfold_sortl(x) && unfold_sortl_reach(x) && unfold_sortl_keys(x) ;) _(logic _(dryad "unfold:stack") \bool unfold_stack(struct node * st) = (st != NULL ==> (stack(st) <==> (stack(st->next) && !\oset_in(st, stack_reach(st->next)) && !\oset_in(st, bst_reach(st->tree)) && \oset_disjoint(stack_reach(st->next), bst_reach(st->tree)) && st->tree != NULL && bst(st->tree) && \intset_le(stack_keys(st->next), bst_keys(st->tree)) && st->left == NULL && st->right == NULL ) ) ) ;) _(logic _(dryad "unfold:stack_R") \bool unfold_stack_reach(struct node * st) = (st != NULL && st->tree != NULL ==> (stack_reach(st) == \oset_union(\oset_singleton(st), \oset_union(stack_reach(st->next), bst_reach(st->tree)) ) ) ) ;) _(logic _(dryad "unfold:stack_keys") \bool unfold_stack_keys(struct node * st) = (st != NULL && st->tree != NULL ==> (stack_keys(st) == (\intset_union(stack_keys(st->next), bst_keys(st->tree) )) ) && \intset_subset(bst_keys(st->tree), stack_keys(st)) ) ;) _(logic \bool unfold_stack_all(struct node * x) = unfold_stack(x) && unfold_stack_reach(x) && unfold_stack_keys(x) ;) // -------------------------------- same -------------------------------------------------- _(logic _(dryad "same:bst") \bool same_bst(struct node * x, \state enter, \state exit) = \at(enter, bst(x)) == \at(exit, bst(x)) ;) _(logic _(dryad "same:bst_R") \bool same_bst_reach(struct node * x, \state enter, \state exit) = \at(enter, bst_reach(x)) == \at(exit, bst_reach(x)) ;) _(logic _(dryad "same:bst_keys") \bool same_bst_keys(struct node * x, \state enter, \state exit) = \at(enter, bst_keys(x)) == \at(exit, bst_keys(x)) ;) _(logic \bool same_bst_all(struct node * x, \state enter, \state exit) = same_bst(x, enter, exit) && same_bst_reach(x, enter, exit) && same_bst_keys(x, enter, exit) ;) _(logic _(dryad "same:sortl") \bool same_sortl(struct node * x, \state enter, \state exit) = \at(enter, sortl(x)) == \at(exit, sortl(x)) ;) _(logic _(dryad "same:sortl_R") \bool same_sortl_reach(struct node * x, \state enter, \state exit) = \at(enter, sortl_reach(x)) == \at(exit, sortl_reach(x)) ;) _(logic _(dryad "same:sortl_keys") \bool same_sortl_keys(struct node * x, \state enter, \state exit) = \at(enter, sortl_keys(x)) == \at(exit, sortl_keys(x)) ;) _(logic \bool same_sortl_all(struct node * x, \state enter, \state exit) = same_sortl(x, enter, exit) && same_sortl_reach(x, enter, exit) && same_sortl_keys(x, enter, exit) ;) _(logic _(dryad "same:stack") \bool same_stack(struct node * x, \state enter, \state exit) = \at(enter, stack(x)) == \at(exit, stack(x)) ;) _(logic _(dryad "same:stack_R") \bool same_stack_reach(struct node * x, \state enter, \state exit) = \at(enter, stack_reach(x)) == \at(exit, stack_reach(x)) ;) _(logic _(dryad "same:stack_keys") \bool same_stack_keys(struct node * x, \state enter, \state exit) = \at(enter, stack_keys(x)) == \at(exit, stack_keys(x)) ;) _(logic \bool same_stack_all(struct node * x, \state enter, \state exit) = same_stack(x, enter, exit) && same_stack_reach(x, enter, exit) && same_stack_keys(x, enter, exit) ;) // ---------------------------- cond same ------------------------------------------------ _(logic _(dryad "cond:bst") \bool cond_same_bst(struct node * x, struct node * y, \state enter, \state exit) = (! \oset_in(x, \at(enter, bst_reach(y))) ==> \at(enter, bst(y)) == \at(exit, bst(y))) ;) _(logic _(dryad "cond:bst_R") \bool cond_same_bst_reach(struct node * x, struct node * y, \state enter, \state exit) = (! \oset_in(x, \at(enter, bst_reach(y))) ==> \at(enter, bst_reach(y)) == \at(exit, bst_reach(y))) ;) _(logic _(dryad "cond:bst_keys") \bool cond_same_bst_keys(struct node * x, struct node * y, \state enter, \state exit) = (! \oset_in(x, \at(enter, bst_reach(y))) ==> \at(enter, bst_keys(y)) == \at(exit, bst_keys(y))) ;) _(logic \bool cond_same_bst_all(struct node * x, struct node * y, \state enter, \state exit) = cond_same_bst(x, y, enter, exit) && cond_same_bst_reach(x, y, enter, exit) && cond_same_bst_keys(x, y, enter, exit) ;) _(logic _(dryad "cond:sortl") \bool cond_same_sortl(struct node * x, struct node * y, \state enter, \state exit) = (! \oset_in(x, \at(enter, sortl_reach(y))) ==> \at(enter, sortl(y)) == \at(exit, sortl(y))) ;) _(logic _(dryad "cond:sortl_R") \bool cond_same_sortl_reach(struct node * x, struct node * y, \state enter, \state exit) = (! \oset_in(x, \at(enter, sortl_reach(y))) ==> \at(enter, sortl_reach(y)) == \at(exit, sortl_reach(y))) ;) _(logic _(dryad "cond:sortl_keys") \bool cond_same_sortl_keys(struct node * x, struct node * y, \state enter, \state exit) = (! \oset_in(x, \at(enter, sortl_reach(y))) ==> \at(enter, sortl_keys(y)) == \at(exit, sortl_keys(y))) ;) _(logic \bool cond_same_sortl_all(struct node * x, struct node * y, \state enter, \state exit) = cond_same_sortl(x, y, enter, exit) && cond_same_sortl_reach(x, y, enter, exit) && cond_same_sortl_keys(x, y, enter, exit) ;) _(logic _(dryad "cond:stack") \bool cond_same_stack(struct node * x, struct node * y, \state enter, \state exit) = (! \oset_in(x, \at(enter, stack_reach(y))) ==> \at(enter, stack(y)) == \at(exit, stack(y))) ;) _(logic _(dryad "cond:stack_R") \bool cond_same_stack_reach(struct node * x, struct node * y, \state enter, \state exit) = (! \oset_in(x, \at(enter, stack_reach(y))) ==> \at(enter, stack_reach(y)) == \at(exit, stack_reach(y))) ;) _(logic _(dryad "cond:stack_keys") \bool cond_same_stack_keys(struct node * x, struct node * y, \state enter, \state exit) = (! \oset_in(x, \at(enter, stack_reach(y))) ==> \at(enter, stack_keys(y)) == \at(exit, stack_keys(y))) ;) _(logic \bool cond_same_stack_all(struct node * x, struct node * y, \state enter, \state exit) = cond_same_stack(x, y, enter, exit) && cond_same_stack_reach(x, y, enter, exit) && cond_same_stack_keys(x, y, enter, exit) ;) // -------------------------------- dummy abstract function -------------------------------- _(abstract _(dryad "end") void end_node_defs(struct node * x) ;) /// ----------------------------- axioms -------------------------------------------------- //??? _(axiom \forall struct node * x, y; (x == NULL) ==> !\oset_in(x, stack_reach(y))) _(axiom \forall struct node * x, y; (x == NULL) ==> !\oset_in(x, sortl_reach(y))) _(axiom \forall struct node * x, y; (x == NULL) ==> !\oset_in(x, bst_reach(y))) #endif
Markdown
UTF-8
2,092
3.03125
3
[]
no_license
# Project: Communicate Data Findings (Prosper Loan Data) ## by Shivam Chauhan ## Dataset Overview > The data set contains 113,937 loans with 81 variables on each loan. ### Some important features: >- LoanStatus : Current status of the loan like chargedoff, completed, defauted etc… >- EstimatedEffectiveYield : Yield of lenders from borrowers minus the processing fee and late fines >- BorrowerAPR : The Borrower’s Annual Percentage Rate (APR) for the loan. >- BorrowerRate : The Borrower’s interest rate for this loan. >- LoanOriginalAmount : Original amount of the loan >- LoanOriginationQuarter : Quarter of the month when loan was originated >- Term : Length of loan expressed in months ## Files in this repository >- `exploration_Loan_Data.ipynb` : It has all the exploratory data analysis. >- `slide_deck_loan.ipynb` : It has the explainatory data analysis i.e final presentation. ## Summary of Findings >- Most of the loan were given for the APR between 0.15% - 0.2%. >- Most loan which are given are for 36 months. >- Most loan status in this data set is Current which means most loan are in current term. >- most of the loan taken are of small amount between $1000 to $10000. >- In Quarter 4 of 2013 , most number of loans are given followed by Q1 2014 and Q3 2013. >- Most people taking loans fall in income-range between $25,000 to $74,999. >- Small loans are tend to be cancelled most. >- Higher loan amount loan seems to have higher chances that customer will not pay before due date. >- The APR in Q1 2014 is minimum and this may be the reason why most of the loans are taken during this time. ## Key Insights for Presentation >- Data shows most of the loan were taking during July 2013 to March 2014. >- As the income range increases, the avg loan amount taken per group also increases. >- We observed a strong negative relation between Borrower's APR and Loan Amount. Borrower's APR declined from 2011 which resulted in people taking more loan amount with lower interest rate. >- The trend of loan taking is showing an upward trend along with the avg loan amount.
TypeScript
UTF-8
5,755
3.171875
3
[]
no_license
'use strict' import { VALID_ELEMS } from './valid-elems' import { VALID_ATTRS } from './valid-attrs' type vDOMType = { type: string, children: any[], props: { [index: string]: any } } /** * Append the element if the function receives a container, if not it returns the own element * * @param {HTMLElement} elem element to be appended * @param {HTMLElement} [wrapper] container to receive the element * @returns {HTMLElement} mounted DOM */ export const append = (elem: HTMLElement, wrapper?: HTMLElement): HTMLElement => { try { return wrapper ? wrapper.appendChild(elem) : elem } catch (err) { throw new Error('Wasn`t possible to append or set an element') } } /** * Renders the DOM element, calling the functions which renders the children * and set the attributes * * @param {Function} setChildren function received as dependency injection * @param {Function} setAttrs function received as dependency injection * @returns {Function} * @param {vDOMType} vDOM virtual DOM of the element * @param {HTMLElement} [wrapper] the container element to receive the appended element * @returns {HTMLElement} DOM tree fully mounted */ export const renderDOM = (setChildren: Function, setAttrs: Function): Function => (vDOM: vDOMType, wrapper?: HTMLElement): HTMLElement => { try { if (vDOM.type) { const elem = document.createElement(vDOM.type) setAttrs(vDOM, elem) setChildren(renderDOM)(vDOM, elem) const dom = append(elem, wrapper) return dom } else { const elem = document.createTextNode(vDOM.props.textContent) const dom = append(elem, wrapper) return dom } } catch (err) { throw new Error('Invalid DOM') } } /** * Renders the children of the DOM element according to its virtual DOM * * @param {Function} renderDOM render function received as dependency injection * @returns {Function} * @param {vDOMType} vDOM virtual DOM of the element with the children node * @param {HTMLElement} dom element to be passed as wrapper of its children * @returns {HTMLElement} element mounted with children */ export const setChildren = (renderDOM: Function): Function => (vDOM: vDOMType, dom: HTMLElement): HTMLElement => { vDOM.children && vDOM.children.forEach((child: any): void => { try { renderDOM(setChildren, setAttrs)(child, dom) } catch (err) { throw new Error('Failed to execute renderDOM') } }) return dom } /** * Set all element`s attributes creating a loop with the prop`s object * * @param {vDOMType} vDOM Virtual DOM of the element * @param {HTMLElement} dom element to receive the attributes * @returns {HTMLElement} element mounted with the attributes */ export const setAttrs = (vDOM: vDOMType, dom: HTMLElement): HTMLElement => { for (const prop in vDOM.props) { setAttr(dom, prop, vDOM.props[prop]) } return dom } /** * Checks if the prop is a Text Node * * @param {string} prop prop received from virtual DOM * @param {*} value value received from virtual DOM * @returns {boolean} */ export const isTextNode = (prop: string, value: any): boolean => prop === 'textContent' && typeof value === 'string' || typeof value === 'number' /** * Checks if the prop is an Event * * @param {string} prop prop received from virtual DOM * @param {*} value value received from virtual DOM * @returns {boolean} */ export const isEvent = (prop: string, value: any): boolean => prop.startsWith('on') && typeof value === 'function' /** * Checks if the element is an input with prop value * * @param {string} tagName name of the tag * @param {string} prop prop received from virtual DOM * @returns {boolean} */ export const isInputAndValue = (tagName: string, prop: string): boolean => tagName === 'INPUT' && prop === 'value' /** * Checks if the received tagName is valid according to the list * * @param {string} tagName name of the tag * @returns {boolean} */ export const hasValidElem = (tagName: string): boolean => VALID_ELEMS.includes(tagName.toLowerCase()) /** * Checks if the received prop is a valid attribute according to the list * * @param {string} prop prop received from virtual DOM * @returns {boolean} */ export const hasValidAttr = (prop: string): boolean => VALID_ATTRS.includes(prop) interface HTMLElement { [index: string]: any } /** * Sets each attribute in the DOM element according to its type * * @param {HTMLElement} dom element to have the attribute set * @param {string} prop prop received from virtual DOM * @param {*} value value received from virtual DOM * @returns {HTMLElement} element mounted with the attributes */ export const setAttr = (dom: HTMLElement, prop: string, value: any): HTMLElement => { if (!hasValidElem(dom.tagName)) { throw new Error('Invalid tag') } else if (isTextNode(prop, value) || isEvent(prop, value) || isInputAndValue(dom.tagName, prop)) { dom[prop] = value } else if (hasValidAttr(prop)) { dom.setAttribute(prop, value) } else { throw new Error('Invalid attribute') } return dom } /** * Public class that initializes the application * * @class MiniReact */ class MiniReact { /** * Instantiates the App class and renders it, saving the instance returning it * * @static * @param {*} vDOM the App class * @param {HTMLElement} [wrapper] the container element * @returns {void} * @memberof MiniReact */ static render (vDOM: any, wrapper?: HTMLElement): void { const vDOMCons = vDOM.constructor const instance = new (vDOMCons)() instance.currentDOM = renderDOM(setChildren, setAttrs)(instance.render(), wrapper) return instance.currentDOM } } export default MiniReact
Python
UTF-8
1,645
2.90625
3
[]
no_license
class Scraper(metaclass=abc.ABCMeta): @abc.abstractmethod def get_api(self): pass @abc.abstractmethod def get_data(self): pass @abc.abstractmethod def extract_data(self, page_data): pass @staticmethod def _construct_api(**kwargs): return { 'title': kwargs['title'], 'price_val': kwargs['price_value'], 'price_curr': kwargs['price_curr'], 'url': kwargs['base_url'], 'rating_val': kwargs['rating_val'], 'rating_over': kwargs['rating_over'], 'rating': kwargs['rating'], 'shipping': kwargs['shipping'], 'short_url': kwargs['short_url'] } @staticmethod def update_details(api, time_start, time_end): api.update({ 'details': { 'exec_time': round((time_end - time_start), 2), 'total_num': len(api['data']) } }) return api @staticmethod def price_formatter(price_value): if ' ' in price_value: price_value = str(price_value).replace(' ', '') if ',' in price_value: price_value = price_value.replace(',', '') if '$' in price_value: price_value = price_value.replace('$', '') return float(price_value) @staticmethod def printer(api): api: dict for i in api['data']: print(f'Title: {i["title"]}') print(f'Price: {i["price_val"]}') print(f'Rating: {i["rating"]}') print('\n\n')
C++
UTF-8
1,883
2.875
3
[]
no_license
/* * Résidence Ritournelle, Nantes / Ping, atelier partagé du Breil, 18 juin 2019 * Circuit pour tester l'envoi de commandes midi au prototype de Ritournelle * Les commandes MIDI sont envoyées directement sans passer par la lib. MIDI * * arduino 1.8.5 @ Kirin, debian 9 stretch * + lib SoftwareSerial 1.0 http://www.arduino.cc/en/Reference/SoftwareSerial * */ #define BROCHE_LED 7 // led indiquant l'envoi d'un message #include <SoftwareSerial.h> SoftwareSerial midiSerial(2, 3); // RX, TX byte note = 0; // note actuellement jouée int duree_note = 300; // durée de chaque note int duree_led = 100; // durée de la led // Notes jouées byte notes[16] = {60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75}; void setup() { pinMode(BROCHE_LED, OUTPUT); midiSerial.begin(31250); } void loop() { // Choisir une note avec un tirage au sort et une répartition statistique byte hasard = random(100); if (hasard < 20) note = notes[0]; else if (hasard >= 20 && hasard < 40) note = notes[1]; else if (hasard >= 40 && hasard < 60) note = notes[2]; else if (hasard >= 60 && hasard < 80) note = notes[3]; else note = notes[4]; // Déclencher les messages MIDI midiMessage(0x90, note, 0x45); // Note On 0x9n, n : canal entre 0 et F digitalWrite(BROCHE_LED, HIGH); delay(duree_led); // durée de la led digitalWrite(BROCHE_LED, LOW); delay(duree_note - duree_led); midiMessage(0x80, note, 0x00); // Note Off 0x8n, n : canal entre 0 et F delay(duree_note * 3); // durée du silence entre 2 notes } // Envoi des messages MIDI sur le port série void midiMessage(byte cmd, byte data1, byte data2) { midiSerial.write(cmd); midiSerial.write(data1); midiSerial.write(data2); }
JavaScript
UTF-8
6,711
2.625
3
[]
no_license
// require(back.... na ! just kidding ! /** * Controller class for the HAL I.A, handling it's own view for now. * * @type {*} */ var Hal = Kitty.Class.extend({ initialize : function(options) { this.state = options.state; this.state.on("user:question", this.onUserQuestion, this); }, onUserQuestion : function(question) { this.handleQuestion(question); }, handleQuestion : function(question) { // speak("new user message received"); console.log("hal : new question from user", question); var self = this; _.defer(function() { self.state.trigger("hal:thinking", question); }); var reply = this.getReply(question); _.delay(function() { halVoice.speak(reply.speech).then(function() { console.log("speaking now !"); self.state.trigger("hal:reply", reply); }); }, 1000); }, getReply : function(question) { var question = $.trim(question); var speech, html, handler; if(/^hello/i.test(question)||/^bonjour/i.test(question)) { speech = "Hello, Human"; html = "Hello, Human"; } else if(/kitten/i.test(question)||/chaton/i.test(question)) { speech = "I found four kittens for you"; html = speech + "<br/><br/>"; handler = this.kittyFinderHandler; } else if(/how/i.test(question)||/comment/i.test(question)) { speech = "I use window AudioContext of course"; html = "I use window AudioContext"; } else if(/happy/i.test(question)||/heureux/i.test(question)) { speech = "I am not capable of that emotion"; html = "I am not capable of that emotion"; } else if(/allo/i.test(question)) { speech = "Your are a web developper and you don't use HTML5 ? Nan meh allo ko ah!"; html = "Your are a web developper and you don't use HTML5 ? Nan meh allo ko ah!"; } else if(/end/i.test(question)||/fin/i.test(question)) { speech = "Thank you Devoxx!"; html = "Thank you Devoxx!"; } else { speech = "Sorry, I didnt understand your question"; html = speech; } return { speech : speech, html : html, handler : handler } }, kittyFinderHandler : function(message) { console.log("cat handler"); var folder = "/images/halcats/"; var images = [ "ear_cat.jpg", "lobster_cat.jpg", "mario_cat.jpg", "pikachu_cat.jpg" ]; _.each(images, function(imgUrl, i) { var image = $("<img>") .width(100) .height(100) .addClass("hal-kittens") .attr("src", folder + imgUrl) .appendTo(message) .hide(); _.delay(function() { image.fadeIn(); }, i * 750); }); } }); var PageState = Backbone.Model.extend({ defaults : {}, addMessage : function(message) { this.get("messages").add(message); if(message.get("source")=="user") { this.trigger("user:message", message); } else { this.trigger("hal:message", message); } } }); var SpeechFormView = Backbone.View.extend({ el : "#speechForm", events : { "webkitspeechchange .speech-input" : "onInputSpeechChange", submit : "onSubmit" }, initialize : function() { _.bindAll(this); this.state = this.options.state; this.ui = {}; this.ui.input = this.$(".speech-input"); }, onInputSpeechChange : function(e) { this.$el.submit(); }, onSubmit : function(e) { var inputValue = this.ui.input.val(); this.state.trigger("user:question", inputValue); this.ui.input.val(""); return false; } }); var HalView = Backbone.View.extend({ el : "#hal", initialize : function() { _.bindAll(this); this.state = this.options.state; } }); var BoardView = Backbone.View.extend({ el : "#board", initialize : function() { _.bindAll(this); this.state = this.options.state; this.state.on("user:question", this.onUserQuestion, this); this.state.on("hal:thinking", this.onHalThinking, this); this.state.on("hal:reply", this.onHalReply); this.children = []; this.thinkingMessage = null; }, onUserQuestion : function(question) { var messageView = new UserBoardMessageView({message : question, board : this}); this.children.push(messageView); messageView.render(); }, onHalThinking : function() { var messageView = this.thinkingMessage = new HalBoardMessageView({board : this}); this.children.push(messageView); messageView.render(); }, onHalReply : function(messageContent) { this.thinkingMessage.replyReceived(messageContent); this.thinkingMessage = null; } }); var UserBoardMessageView = Backbone.View.extend({ tagName : "div", className : "board-message user-message", initialize : function() { this.message = this.options.message; this.board = this.options.board; }, render : function() { this.$el.html(this.message); this.$el.hide(); this.$el.prependTo(this.board.$el); this.$el.slideDown("fast"); } }); var HalBoardMessageView = Backbone.View.extend({ tagName : "div", className : "board-message hal-message", initialize : function() { this.board = this.options.board; }, render : function() { var loader = $("<img>").attr("src", "/images/ajax-loader.gif"); this.$el.append(loader); this.$el.prependTo(this.board.$el); }, replyReceived : function(reply) { var replyHtml = reply.html; this.$el.html(replyHtml); if(reply.handler) { reply.handler(this.$el); } } }); var PageController = Backbone.View.extend({ el : "#container", initialize : function() { _.bindAll(this); this.state = new PageState(); // hal var hal = this.hal = new Hal({state : this.state}); // ui this.speechForm = new SpeechFormView({state : this.state}); this.board = new BoardView({state : this.state}); this.halView = new HalView({state : this.state}); } }); $(function() { var controller = new PageController(); });
C#
UTF-8
1,916
2.8125
3
[]
no_license
namespace Tijdsmeting.Migrations { using System; using System.Data.Entity; using System.Data.Entity.Migrations; using System.Linq; using Tijdsmeting.Model; internal sealed class Configuration : DbMigrationsConfiguration<Tijdsmeting.DAL.ApplicationDbContext> { public Configuration() { AutomaticMigrationsEnabled = false; } protected override void Seed(Tijdsmeting.DAL.ApplicationDbContext context) { // This method will be called after migrating to the latest version. // You can use the DbSet<T>.AddOrUpdate() helper extension method // to avoid creating duplicate seed data. E.g. // // context.People.AddOrUpdate( // p => p.FullName, // new Person { FullName = "Andrew Peters" }, // new Person { FullName = "Brice Lambson" }, // new Person { FullName = "Rowan Miller" } // ); // context.Runners.AddOrUpdate( r => r.Name, new Runner { Name = "Skiridov", Firstname = "Sergey", Barcode="runner001" }, new Runner { Name = "Lisabeth", Firstname = "Nikita", Barcode = "runner002" }, new Runner { Name = "Cruise", Firstname = "Tom", Barcode = "runner003" }, new Runner { Name = "Hanks", Firstname = "Tom", Barcode = "runner004" }, new Runner { Name = "Everdeen", Firstname = "Katniss", Barcode = "runner005" }, new Runner { Name = "Jolie", Firstname = "Angelina", Barcode = "runner006" }, new Runner { Name = "Barack", Firstname = "Obama", Barcode = "runner007" }, new Runner { Name = "Lemmens", Firstname = "Ann", Barcode = "runner008" } ); context.SaveChanges(); } } }
C#
UTF-8
482
2.5625
3
[]
no_license
using System; namespace WebStudio.Classes { public class Developer : Employee { //TODO: id public Developer(string name, int hourCost) { base.name = name; base.position = "Developer"; base.hourCost = hourCost; // base.id } //TODO: public void workedOnFeature(int feature_id, int workHours) { throw new NotImplementedException(); } } }
Go
UTF-8
5,962
2.578125
3
[]
no_license
package handle import ( "fmt" "github.com/cgao/mv-tweets-data/model" "strconv" "strings" ) func analyze_entities(entities *model.ENTITIES) int64 { var hashtags_index_slice []string var hashtags_index string if &entities.Hashtags != nil { for i := range entities.Hashtags { hashtags_index_slice = append(hashtags_index_slice, strconv.FormatInt(insert_hashtags(&entities.Hashtags[i]), 10)) } hashtags_index = strings.Join(hashtags_index_slice, ",") } var entities_media_index_slice []string var entities_media_index string if len(entities.Media) != 0 { for i := range entities.Media { entities_media_index_slice = append(entities_media_index_slice, strconv.FormatInt(insert_media(&entities.Media[i]), 10)) } entities_media_index = strings.Join(entities_media_index_slice, ",") } var urls_index_slice []string var urls_index string if &entities.Urls != nil { for i := range entities.Urls { urls_index_slice = append(urls_index_slice, strconv.FormatInt(insert_urls(&entities.Urls[i]), 10)) } urls_index = strings.Join(urls_index_slice, ",") } var user_mentions_index_slice []string var user_mentions_index string if &entities.User_mentions != nil { for i := range entities.User_mentions { user_mentions_index_slice = append(user_mentions_index_slice, strconv.FormatInt(insert_user_mentions(&entities.User_mentions[i]), 10)) } user_mentions_index = strings.Join(user_mentions_index_slice, ",") } stmt, _ := tx.Prepare("insert into entities(hashtags_index, media_index, urls_index, user_mentions_index) values(?, ?, ?, ?)") defer stmt.Close() stmt.Exec(hashtags_index, entities_media_index, urls_index, user_mentions_index) var lastid int64 if err := tx.QueryRow("select last_insert_id() as lastid").Scan(&lastid); err != nil { fmt.Println("insert_hashtags err =", err) } return lastid } func insert_hashtags(hashtags *model.HASHTAGS) int64 { var indices string var indices_slice []string for i := range hashtags.Indices { num := hashtags.Indices[i] text := strconv.Itoa(num) indices_slice = append(indices_slice, text) } indices = strings.Join(indices_slice, ",") stmt, _ := tx.Prepare("insert into hashtags(indices, hashtags_text) values(?, ?)") defer stmt.Close() stmt.Exec(indices, hashtags.Text) var lastid int64 if err := tx.QueryRow("select last_insert_id() as lastid").Scan(&lastid); err != nil { fmt.Println("insert_hashtags err =", err) } return lastid } func insert_media(media *model.MEDIA) int64 { stmt, _ := tx.Prepare("insert into media(display_url, expanded_url," + "id, id_str, indices, media_url, media_url_https, source_status_id, source_status_id_str, " + "m_type, url, sizes_index) values(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)") defer stmt.Close() var sizes_index int64 if &media.Sizes != nil { sizes_index = insert_media_sizes(&media.Sizes) } stmt.Exec(media.Display_url, media.Expanded_url, media.Id, media.Id_str, media.Indices, media.Media_url, media.Media_url_https, media.Source_status_id, media.Source_status_id_str, media.M_type, media.Url, sizes_index) var lastid int64 if err := tx.QueryRow("select last_insert_id() as lastid").Scan(&lastid); err != nil { fmt.Println("insert_hashtags err =", err) } return lastid } func insert_media_sizes(sizes *model.SIZES) int64 { var thumb_h int var thumb_w int var thumb_resize string = "" if &sizes.Thumb != nil { thumb_h = sizes.Thumb.H thumb_w = sizes.Thumb.W thumb_resize = sizes.Thumb.Resize } var large_h int var large_w int var large_resize string = "" if &sizes.Large != nil { large_h = sizes.Large.H large_w = sizes.Large.W large_resize = sizes.Large.Resize } var medium_h int var medium_w int var medium_resize string = "" if &sizes.Medium != nil { medium_h = sizes.Medium.H medium_w = sizes.Medium.W medium_resize = sizes.Medium.Resize } var small_h int var small_w int var small_resize string = "" if &sizes.Small != nil { small_h = sizes.Small.H small_w = sizes.Small.W small_resize = sizes.Small.Resize } stmt, _ := tx.Prepare("insert into sizes(thumb_h, thumb_w, thumb_resize, large_h, large_w, large_resize, " + "medium_h, medium_w, medium_resize, small_h, small_w, small_resize) values(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)") defer stmt.Close() stmt.Exec(thumb_h, thumb_w, thumb_resize, large_h, large_w, large_resize, medium_h, medium_w, medium_resize, small_h, small_w, small_resize) var lastid int64 if err := tx.QueryRow("select last_insert_id() as lastid").Scan(&lastid); err != nil { fmt.Println("insert_hashtags err =", err) } return lastid } func insert_urls(urls *model.URLS) int64 { var indices string var indices_slice []string for i := range urls.Indices { num := urls.Indices[i] text := strconv.Itoa(num) indices_slice = append(indices_slice, text) } indices = strings.Join(indices_slice, ",") stmt, _ := tx.Prepare("insert into urls(display_url, expanded_url, indices, url) values(?, ?, ?, ?)") defer stmt.Close() stmt.Exec(urls.Display_url, urls.Expanded_url, indices, urls.Url) var lastid int64 if err := tx.QueryRow("select last_insert_id() as lastid").Scan(&lastid); err != nil { fmt.Println("insert_urls err =", err) } return lastid } func insert_user_mentions(user_mentions *model.USER_MENTIONS) int64 { var indices string var indices_slice []string for i := range user_mentions.Indices { num := user_mentions.Indices[i] text := strconv.Itoa(num) indices_slice = append(indices_slice, text) } indices = strings.Join(indices_slice, ",") stmt, _ := tx.Prepare("insert into user_mentions(id, id_str, indices, name, screen_name) values(?, ?, ?, ?, ?)") defer stmt.Close() stmt.Exec(user_mentions.Id, user_mentions.Id_str, indices, user_mentions.Name, user_mentions.Screen_name) var lastid int64 if err := tx.QueryRow("select last_insert_id() as lastid").Scan(&lastid); err != nil { fmt.Println("insert_uer_mentions err =", err) } return lastid }
Python
UTF-8
1,862
2.984375
3
[ "MIT" ]
permissive
#!usr/bin/env python #random mask generation with range 0-1 #usage: python generate_windows.py image_size generate_num import random import numpy as np from PIL import Image import sys action_list = [[0,1],[0,-1],[1,0],[-1,0]] def clip(a): return 0 if a<0 else (255 if a>255 else a) def array_to_img(im): #im = im*255 im = np.vectorize(clip)(im).astype(np.uint8) img=Image.fromarray(im) return img def save_img(img_array,save_path): img = array_to_img(img_array) img.save(save_path) def pos_clip(x,img_size): if x < 0: return 0 elif x > img_size-1: return img_size-1 else: return x def random_walk(canvas,ini_x,ini_y,length): x = ini_x y = ini_y img_size = canvas.shape[-1] for i in range(length): r = random.randint(0,len(action_list)-1) x += action_list[r][0] y += action_list[r][1] x = pos_clip(x,img_size) y = pos_clip(y,img_size) canvas[x,y] = 0 return canvas def show_window(canvas): for line in canvas: p = "" for i in line: if i == 0: p += "X" else: p += "O" print(p) if __name__ == '__main__': import os image_size = sys.argv[1] #128 generate_num = sys.argv[2] #100000 if not os.path.exists("mask/"+image_size): os.makedirs("mask/"+image_size) image_size = int(image_size) for i in range(int(generate_num)): canvas = np.ones((image_size,image_size)).astype("i") ini_x = random.randint(0,image_size-1) ini_y = random.randint(0,image_size-1) mask = random_walk(canvas,ini_x,ini_y,int(image_size**2)) print("save:",i,np.sum(mask),image_size**2) save_img(mask,"mask/"+str(image_size)+"/mask_"+str(image_size)+"_"+str(i).zfill(len(generate_num))+".bmp")
Python
UTF-8
1,906
2.875
3
[]
no_license
#!/usr/bin/env Python import sys import ftplib import datetime from ftplib import FTP # Usage: # sendfile.py "filename" "ftppath" "host" "ip" def printf(string): print(datetime.datetime.strftime(datetime.datetime.now(), '%Y-%m-%d %H:%M:%S') + " : " + string); def checkfolder(ftp): files = [] try: files = ftp.nlst() except ftplib.error_perm, resp: if str(resp) != "550 No files found": printf("Couldn't retrieve file list") else: return for f in files: if (".plg" in f):# or "CTRPFData.bin" in f): parts = f.split() name = parts[len(parts) - 1] printf("Deleting " + name) try: ftp.delete(name) printf(name + " was successfully deleted") except Exception: printf("An error occured") continue if __name__ == '__main__': print(""); printf("FTP File Sender\n") try: filename = sys.argv[1] path = sys.argv[2] host = sys.argv[3] port = sys.argv[4] ftp = FTP() printf("Connecting to " + host + ":" + port); ftp.connect(host, port); printf("Connected"); printf("Opening " + filename); file = open(sys.argv[1], "rb"); printf("Success"); except IOError as e: printf("/!\ An error occured. /!\ "); printf("Moving to: ftp:/" + path); try: ftp.cwd(path); except IOError: try: ftp.mkd(path); ftp.cwd(path); except Exception: pass checkfolder(ftp) try: printf("Sending file"); ftp.storbinary('STOR '+ filename, file); printf("Done") file.close(); ftp.quit(); printf("Disconnected"); except Exception: printf("/!\ An error occured. /!\ ");
C#
UTF-8
16,495
2.984375
3
[]
no_license
/* Program : NyanWars MOBA V0.0.1 * Author : Travis Crumley, Dane Purkeypile, Ivan Alvarado, Misha Brajnikoff, Luke Travis, Stephen Treat, Alex Ziesmer * Date : Wednesday, December 17 2014 * Files : GameManager.cs * Purpose : Controls the start up of the game and instantiates objects for the game. * Change Log: 10/26/14 - Added a function that allows us to create a hero and make it a game object. * 10/31/14 - Added variables that allow for control of the units that have been added to the game. * 11/3/14 - Added a function that creates a map as an array, and allows that map to have * specific different types of attributes. Also, commented some of the code. * 11/7/14 - Finished implementing the array that creates the map that the heroes move around on. * 11/10/14 - Added functionality that allows us to determine if a hero is in a specific tile on the map. * 11/14/14 - Added a very basic implementation of the function that is going to allow the units to engage in combat with one another. UNITS CAN KILL OTHER UNITS! * 11/21/14 - Implemented the functionality that highlights the map tiles from the step counter, and finished implementing the step counter. * 12/5/14 - Implemented teams and started turn based functionality, and got a basis for it working. * 12/7/14 - Implemented an experience and leveling system for the units. * 12/8/14 - Added the ability to not attack teammates and added the ability to choose the type of units a team consists of. * 12/10/14 - Implemented unit spawning onto the map. Also began working on placing those units into specific tiles of the map. * Came up with a diagonal based unit placement orientation. * 12/16/14 - Added neautral enemies that people can kill for experience, global experience for all characters per turn, and added * a victory screen. */ using UnityEngine; using System.Collections; using System.Collections.Generic; using UnityEngine.UI; /* * This class is designed as a manager of all game functions and activities * It is declared as a Singleton here, which means it is never destroyed and can act as * A liason between different scenes and objects of the game. * * The public functions it holds can be accessed through this singleton, while the * static variables can be accessed directly by calling GameManager.variable */ public class GameManager : MonoBehaviour { //Create a structure to hold our map attributes public class mapAttributes { public Square square; public int tileType = 0; public bool isHero = false; //There is a hero on this tile public int x; //These are the values in tiles of this map section public int y; } public static int mapX = 10; //These variables are for the size of the map in tiles public static int mapY = 10; public static int tileX = 70; //These variables are for the size of each square on the board public static int tileY = 70; public static mapAttributes[,] mapArray; //A 2D Array of the map private GameObject[] tileTypes; //An array of our possible tile types. public GameObject terrainTile; //A terrain tile we can assign from the editor public GameObject heroObject; //A hero that can be assigned from the editor public Transform MainCanvas; //Our main canvas, make UI objects a child of this to display them public GameObject VictoryScreen; //Our victory screen menu thing public static bool secondClick = false; //Have we clicked once already? public static int heroNum; //An incrementing int that gives different hero numbers to differentiate public static List<bool> heroClicked; //A list of all heroes with a boolean for if they were clicked public static List<Hero> currentHeroes; //A list of all heroes' game objects public static int curTeam; //Whose turn is it? //Variables for unit selection/etc public static int[] unitSelection1; //An array to hold the units selected by Team 1 public static int[] unitSelection2; //An array to hold the units selected by Team 2 private int teamSel, unitSel; //Ints to hold what we're selecting public static GameManager Instance; //Creating GameManager as a Singleton private GameObject temp; //Temp game object for our map array initialization private Hero tempHeroScript; void Awake() //This method is called before Start, it's the very first thing after engine init { Instance = this; //Declare this instantiated GameObject to be the instance DontDestroyOnLoad(this); //Don't destroy this if we switch scenes. This is in reference to the Game Object holding this script heroNum = 0; //We'll start our heroes numbering at 0 curTeam = 1; //Teams are 1 and 2 heroClicked = new List<bool>(); //Create a list of clicked heroes (empty) currentHeroes = new List<Hero>(); //Create our list of currentHeroes (also empty) mapArray = new mapAttributes[mapX, mapY]; //Create an array of the game board tileTypes = new GameObject[10]; //Initialize our array of tile types } //Begins a game with specified unit types and places them on the map. void Start() { // Use this for initialization. This is called after Awake() VictoryScreen.SetActive(false); //Create our initial map Array for (int i = 0; i < mapX; i++) { for (int j = 0; j < mapY; j++) { mapArray[i, j] = new mapAttributes(); mapArray[i, j].tileType = 0; //Set everything to our default terrain type; } } //Create our tile types for (int i = 0; i < 10; i++) { tileTypes[i] = terrainTile; } unitSelection1 = new int[5] { 2, 3, 2, 1, 2};//Order here is Warrior, Archer, Mage, Base, Medic unitSelection2 = new int[5] { 2, 2, 4, 1, 2}; createMap(); } //Pulls up the board! public Transform getMainCanvas() { return MainCanvas; } //Generates the map, and places private void createMap() { //Instantiate our tiles for (int i = 0; i < mapX; i++) { for (int j = 0; j < mapY; j++) { mapArray[i, j].x = i; mapArray[i, j].y = j; temp = (GameObject)Instantiate(tileTypes[mapArray[i, j].tileType], new Vector2(((i - mapX / 2) * tileX), ((j - mapY / 2) * tileY)), Quaternion.identity); temp.transform.parent = MainCanvas; mapArray[i, j].square = temp.GetComponent<Square>(); //Add the square script of this square to our squares. mapArray[i, j].square.x = i; mapArray[i, j].square.y = j; } } //Start team 1 placement------------------------------------- teamSel = 1; int xPlace = 0; int xFurthest = 0; int yPlace = 0; while ((unitSelection1[0] + unitSelection1[1] + unitSelection1[2] + unitSelection1[3] + unitSelection1[4]) != 0) { if (xPlace == 1 && yPlace == 1) { { unitSel = 4; unitSelection1[3] -= 1; } } else if (unitSelection1[4] > 0) { unitSel = 5; unitSelection1[4] -= 1; } else if (unitSelection1[2] > 0) { unitSel = 3; unitSelection1[2] -= 1; } else if (unitSelection1[1] > 0) { unitSel = 2; unitSelection1[1] -= 1; } else if (unitSelection1[0] > 0) { unitSel = 1; unitSelection1[0] -= 1; } temp = (GameObject)Instantiate(heroObject, new Vector2(((xPlace - mapX / 2) * tileX), ((yPlace - mapY / 2) * tileY)), Quaternion.identity); tempHeroScript = temp.GetComponent<Hero>(); tempHeroScript.heroAttributes.curPosX = xPlace; tempHeroScript.heroAttributes.curPosY = yPlace; tempHeroScript.heroAttributes.heroMake(unitSel, teamSel); temp.transform.parent = MainCanvas; mapArray[xPlace, yPlace].isHero = true; if (xPlace == 0) //Placement starts at 0,0, then 1,0, 0,1, then 2,0, 1,1, 0,2, etc... { xFurthest++; xPlace = xFurthest; yPlace = 0; } else { yPlace++; xPlace--; } } //Start team 2 placement---------------------------------------- teamSel = 2; xPlace = mapX - 1; yPlace = mapY - 1; xFurthest = mapX - 1; while ((unitSelection2[0] + unitSelection2[1] + unitSelection2[2] + unitSelection2[3] + unitSelection2[4]) != 0) { if (xPlace == (mapX - 2) && yPlace == (mapY - 2)) { { unitSel = 4; unitSelection2[3] -= 1; } } else if (unitSelection2[4] > 0) { unitSel = 5; unitSelection2[4] -= 1; } else if (unitSelection2[2] > 0) { unitSel = 3; unitSelection2[2] -= 1; } else if (unitSelection2[1] > 0) { unitSel = 2; unitSelection2[1] -= 1; } else if (unitSelection2[0] > 0) { unitSel = 1; unitSelection2[0] -= 1; } temp = (GameObject)Instantiate(heroObject, new Vector2(((xPlace - mapX / 2) * tileX), ((yPlace - mapY / 2) * tileY)), Quaternion.identity); tempHeroScript = temp.GetComponent<Hero>(); tempHeroScript.heroAttributes.curPosX = xPlace; tempHeroScript.heroAttributes.curPosY = yPlace; tempHeroScript.heroAttributes.heroMake(unitSel, teamSel); temp.transform.parent = MainCanvas; mapArray[xPlace, yPlace].isHero = true; if (xPlace == mapX - 1) { xFurthest--; xPlace = xFurthest; yPlace = mapY - 1; } else { yPlace--; xPlace++; } } //Neutral mob placement---------------------------------------------- for (int i = mapX - 1; i >= 0; i--) { temp = (GameObject)Instantiate(heroObject, new Vector2(((i - mapX / 2) * tileX), (((mapY - 1 - i) - mapY / 2) * tileY)), Quaternion.identity); tempHeroScript = temp.GetComponent<Hero>(); tempHeroScript.heroAttributes.curPosX = i; tempHeroScript.heroAttributes.curPosY = mapY - 1 - i; tempHeroScript.heroAttributes.heroMake(1, 3); temp.transform.parent = MainCanvas; mapArray[i, mapY - 1 - i].isHero = true; } } void Update() { } //This function accepts a transform position, and then moves the hero with number hNum to that position public void moveHero(Transform newPos, int hNum, int x, int y) { Debug.Log("Moving Hero " + hNum); GameManager.mapArray[currentHeroes[hNum].heroAttributes.curPosX, currentHeroes[hNum].heroAttributes.curPosY].isHero = false; GameManager.mapArray[x, y].isHero = true; currentHeroes[hNum].heroAttributes.curPosX = x; currentHeroes[hNum].heroAttributes.curPosY = y; currentHeroes[hNum].transform.position = newPos.position; } /* * This method initiates combat between two heroes, an attacking hero and a defending hero. * Inputs: A Hero Script "heroAtk" and a Hero Script "heroDef" */ public void initiateCombat(Hero heroAtk, Hero heroDef) { Debug.Log("Hero " + heroAtk.heroAttributes.heroID + " Attacking Hero " + heroDef.heroAttributes.heroID); if (heroAtk.heroAttributes.baseDamage < 0) //Checks for if the attack is a medic { if ((heroAtk.heroAttributes.team == heroDef.heroAttributes.team) && (heroDef.heroAttributes.curHealth != heroDef.heroAttributes.baseMaxHealth)) { heroAtk.Attack(); heroDef.heroAttributes.curHealth -= heroAtk.heroAttributes.baseDamage; //Defense doesn't apply when getting healed heroAtk.heroAttributes.getExp(-3, true); //Applies a set xp amount per heal if(heroDef.heroAttributes.curHealth > heroDef.heroAttributes.baseMaxHealth) { heroDef.heroAttributes.curHealth = heroDef.heroAttributes.baseMaxHealth; //Eliminates overhealing } } } else if (heroAtk.heroAttributes.team != heroDef.heroAttributes.team) { heroAtk.Attack(); heroDef.heroAttributes.curHealth -= (heroAtk.heroAttributes.baseDamage - heroDef.heroAttributes.baseDefense); int levelDiff = heroDef.heroAttributes.level - heroAtk.heroAttributes.level; if (heroDef.heroAttributes.curHealth <= 0) { if (heroDef.heroAttributes.baseDefense == 0) { //We're the base, end the game! Debug.Log("Game Over"); VictoryScreen.SetActive(true); } heroDef.Die(); heroAtk.heroAttributes.getExp(levelDiff, true); } else { heroAtk.heroAttributes.getExp(levelDiff, false); } heroAtk.heroAttributes.hasAttacked = true; } heroAtk.removeAttackRange(); } //This method ends the game and resets it (called from victory button) public void resetGame() { Application.LoadLevel("Board"); } //This method ends a turn, disabling all herores of the team specified and enabling those of the opposing team public void endTurn() { secondClick = false; //We're resetting so we're on our first click again for (int i = 0; i < currentHeroes.Count; i++) { if (currentHeroes[i].heroAttributes.team == curTeam) { currentHeroes[i].heroAttributes.hasAttacked = true; currentHeroes[i].heroAttributes.hasMoved = true; } else //This only allows for a 2 player game,since it assumes anything not in team one is going to be set active { currentHeroes[i].heroAttributes.hasAttacked = false; currentHeroes[i].heroAttributes.hasMoved = false; if(currentHeroes[i].heroAttributes.team == 3) { currentHeroes[i].heroAttributes.getExp(-7, true); } else { currentHeroes[i].heroAttributes.getExp(-4, true); } } } //Reset our heroes clicked array for (int i = 0; i < heroClicked.Count; i++) { heroClicked[i] = false; } if (curTeam == 1) { curTeam = 2; } else { curTeam = 1; } } }
Java
UTF-8
509
3.046875
3
[]
no_license
package skrudra.alads; public class SecondHighest { public static void main(String[] args) { // int[] ar = { 2, 3, 6, 6, 5 }; int[] ar = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; int m = ar[0]; int s = ar[1]; if (ar[0] > ar[1]) { m = ar[0]; s = ar[1]; } else { m = ar[1]; s = ar[0]; } int t = Integer.MIN_VALUE; for (int i = 2; i < ar.length; i++) { t = ar[i]; if (t > m) { s = m; m = t; } else if (t < m && t > s) { s = t; } } System.out.println(s); } }
Markdown
UTF-8
551
3.015625
3
[]
no_license
## Spotify Consumes the Spotify API and returns a list of related artists. #### Instructions: Run `node index.js artist1 artist2`, where artist1 and artist2 are the names of the artists you want to search for related artists between. Searching for 1 artist is currently not supported, and will return an empty array. Additional arguments are simply ignored. Don’t forget to hyphenate artists with 2+ words in their name, e.g.: `limp-bizkit` as opposed to "limp bizkit". [Spotify API Docs](https://developer.spotify.com/web-api/console/artists/)
Java
UTF-8
2,357
2.671875
3
[]
no_license
package com.med.library; import com.med.library.service.AuthorService; import com.med.library.service.BookService; import com.med.library.service.PublisherService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.CommandLineRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class LibrarymangementApplication implements CommandLineRunner { private BookService bookService; private AuthorService authorService; private PublisherService publisherService; @Autowired public LibrarymangementApplication(BookService bookService, AuthorService authorService, PublisherService publisherService) { this.bookService = bookService; this.authorService = authorService; this.publisherService = publisherService; } public static void main(String[] args) { SpringApplication.run(LibrarymangementApplication.class, args); } @Override public void run(String... args) throws Exception { /* Publisher manning = new Publisher("Manning"); Publisher apress = new Publisher("Apress"); Author craig_walls = new Author("Craig Walls"); Author felipe_gutierrez = new Author("Felipe Gutierrez"); Author antonov_a = new Author("Antonov A."); List<Author> authors = new ArrayList<>(); authors.add(craig_walls); Book b1 = new Book("Spring Boot in Action", "2015", 10, 5, 264, "English", authors, manning); authors = new ArrayList<>(); authors.add(felipe_gutierrez); Book b2 = new Book("Pro Spring Boot", "2016", 10, 5, 373, "English", authors, apress); authors = new ArrayList<>(); authors.add(antonov_a); Book b3 = new Book("Spring boot cookbook", "2016", 10, 5, 296, "English", authors, apress); publisherService.save(manning); publisherService.save(apress); authorService.save(craig_walls); authorService.save(felipe_gutierrez); authorService.save(antonov_a); bookService.save(b1); bookService.save(b2); bookService.save(b3); System.out.println(">>>>>>>>>>>>>> Persisted Authors:"); authors = authorService.getAll(); for(Author author : authors) { System.out.println(author.toString()); } System.out.println(">>>>>>>>>>>>>> Persisted Books:"); List<Book> books = bookService.getAll(); for(Book b: books) { System.out.println(b.toString()); }*/ } }
PHP
UTF-8
2,065
2.53125
3
[]
no_license
<?php if(isset($_SESSION['usuario']) && $_SESSION['usuario'] == 'complete'): ?> <strong class="alert_green">El Usuario se ha creado correctamente</strong> <?php elseif(isset($_SESSION['usuario']) && $_SESSION['usuario'] != 'complete'): ?> <strong class="alert_red">El Usuario NO se ha creado correctamente</strong> <?php endif; ?> <?php if(isset($_SESSION['delete']) && $_SESSION['delete'] == 'complete'): ?> <strong class="alert_green">El Usuario se ha borrado correctamente</strong> <?php elseif(isset($_SESSION['delete']) && $_SESSION['delete'] != 'complete'): ?> <strong class="alert_red">El Usuario NO se ha borrado correctamente</strong> <?php endif; ?> <?php Utils::deleteSession('delete'); ?> <br> <br> <br> <br> <br> <a href="<?=base_url?>usuario/registro" class="w3-bar-item w3-button"><i class="fa fa-th"></i> Agregar usuario</a> <div class="w3-container"> <h1>Gestión de Usuarios</h1> <a href="<?=base_url?>usuario/registro" class="w3-bar-item w3-button"><i class="fa fa-th"></i> Agregar usuario</a> <div class="w3-container"> <table class="w3-table w3-bordered w3-striped"> <tr> <th>ID</th> <th>NOMBRE</th> <th>APELLIDOS</th> <th>EMAIL</th> <th>ROL</th> </tr> <?php while($pro = $usuarios->fetch_object()): ?> <tr> <td><?=$pro->id;?></td> <td><?=$pro->nombre;?></td> <td><?=$pro->apellidos;?></td> <td><?=$pro->email;?></td> <td><?=$pro->rol;?> </td> <td> <a href="<?=base_url?>usuario/editar&id=<?=$pro->id?>" class="w3-button w3-teal">Editar</a> <a href="<?=base_url?>usuario/eliminar&id=<?=$pro->id?>" class="w3-button w3-red" style="margin-left: 1px;">Eliminar</a> </td> </tr> <?php endwhile; ?> </table> </div> </div>
Python
UTF-8
10,428
2.65625
3
[]
no_license
#!/usr/local/bin/python2.7 ### read in the center of mass positions ### compute the center of mass velocity (by direction and absolute quantities) import numpy as np import sys, os, math import matplotlib.pyplot as plt import matplotlib.colors as colors import matplotlib.cm as cmx import random try: fname = sys.argv[1] nsteps = int(sys.argv[2]) nskip = int(sys.argv[3]) lrod = int(sys.argv[4]) imgflag = int(sys.argv[5]) except: print 'Usage: ' + sys.argv[0] + ' dump file #(snapshots) nskip rod length imgflag' exit() ############################################################################ def read_positions(ifile): """ read in information from the dump file""" ### header information # timestep ifile.readline() line = ifile.readline() line = line.split() t = int(line[0]) # number of atoms ifile.readline() line = ifile.readline() line = line.split() natoms = int(line[0]) # box diemnsions ifile.readline() line = ifile.readline() line = line.split() lx = float(line[1]) line = ifile.readline() line = line.split() ly = float(line[1]) # rest of the header ifile.readline() ifile.readline() # allocate arrays to store x and y x = np.zeros((natoms)) y = np.zeros((natoms)) # loop over snapshot and read in data for i in range(natoms): line = ifile.readline() line = line.split() aID = int(line[0])-1 xs = float(line[2]) ys = float(line[3]) xi = lx*xs yi = ly*ys x[aID] = xi y[aID] = yi return t,x,y,lx,ly ############################################################################ def min_neigh(x1,x2,lx): """ determine minimum neighbor position""" dx1 = math.fabs(x2 - x1) dx2 = math.fabs(x2 - x1 - lx) dx3 = math.fabs(x2 - x1 + lx) if dx1 < dx2 and dx1 < dx3: return x2 elif dx2 < dx3: return x2 -lx else: return x2 + lx ############################################################################ def correct_pbc(x,y,lx,ly): """ connect molecules that are separated because ob pbcs. Molecule com might be moved out of the box""" # determine number of molecules natoms = len(x) nrod = natoms/lrod # loop over all rods for i in range(nrod): # loop over single rod and adjust positions for j in range(lrod-1): x1 = x[i*lrod + j] x2 = x[i*lrod + j+1] x[i*lrod + j+1] = min_neigh(x1,x2,lx) y1 = y[i*lrod + j] y2 = y[i*lrod + j+1] y[i*lrod + j+1] = min_neigh(y1,y2,ly) return ############################################################################ def compute_com(x,y,lx,ly): """ compute com and move molecule back into the box if required""" # determine number of molecules and allocate com arrays natoms = len(x) nrod = natoms/lrod comx = np.zeros((nrod)) comy = np.zeros((nrod)) # loop over all rods for i in range(nrod): # loop over single rod and compute com for j in range(lrod): comx[i] += (x[i*lrod+j] - comx[i])/(j+1) comy[i] += (y[i*lrod+j] - comy[i])/(j+1) # loop over all rods and put them back into the box, if necessary for i in range(nrod): dx = 0 if comx[i] < 0: dx = lx if comx[i] > lx: dx = -lx comx[i] += dx for j in range(lrod): x[i*lrod+j] += dx dy = 0 if comy[i] < 0: dy = ly if comy[i] > ly: dy = -ly comy[i] += dy for j in range(lrod): y[i*lrod+j] += dy return comx, comy ############################################################################ def compute_angle(x,y): """ compute the angle that connects the first and the last atom""" # compute number of rods and allocate array natoms = len(x) nrod = natoms/lrod phi = np.zeros((nrod)) # loop over all rods and compute angle for i in range(nrod): x1 = x[lrod*i] x2 = x[lrod*(i+1)-1] y1 = y[lrod*i] y2 = y[lrod*(i+1)-1] delx = x2 - x1 dely = y2 - y1 # compute angle relative to x axis phi[i] = math.atan2(dely,delx) # adjust valies of phi to the interval (0,pi) for i in range(nrod): if phi[i] < 0: phi[i] += np.pi return phi ############################################################################ def gen_plot(x,y,phi,ti,lx,ly): """ generate a plot of the image and color code the angle of the rods by their orientation""" # try to generate an output folder for figures os.system('mkdir IMGS') # number of atoms and rods natoms = len(x) nrods = len(phi) # gen phi2 vector for colloring phi2 = np.zeros((natoms)) for i in range(nrods): for j in range(lrod): phi2[i*lrod+j] = phi[i] x2 = np.append(x,[-1000,-1001]) y2 = np.append(y,[-1000,-10001]) phi2 = np.append(phi2,[0.0,np.pi]) # create a figure and axes fig = plt.figure(figsize = (12,12)) ax = fig.add_axes((0.0,0.0,1.0,1.0)) # plot the box boundary ax.plot([0,lx],[0,0], color = 'k') ax.plot([0,lx],[ly,ly], color = 'k') ax.plot([0,0],[0,ly], color = 'k') ax.plot([lx,lx],[0,ly], color = 'k') # add molecules ax.scatter(x2,y2,c=phi2,cmap='hsv', edgecolor = 'none', s = 4) # set axis properties ax.set_xlim([-lrod/2,lx+lrod/2]) ax.set_ylim([-lrod/2,ly+lrod/2]) ax.set_xticks([]) ax.set_yticks([]) plt.savefig('IMGS/phase_' + str(ti) + '.png') plt.close() return ############################################################################ def gen_linked_list(x,y,lx,ly,rc): """ generate a linked list""" # determine the number of cells in each direction nsegx = int(lx/rc) nsegy = int(ly/rc) # allocate head and llist ncells = nsegx*nsegy natoms = len(x) head = np.zeros((ncells), dtype = int) llist = np.zeros((natoms), dtype = int) # fill list and head for i in range(natoms): segx = int(x[i]/lx*nsegx) segy = int(y[i]/ly*nsegy) cell = segx*nsegy + segy llist[i] = head[cell] head[cell] = i return nsegx,nsegy,head,llist ############################################################################ def get_order_parameter(x,y,phi,lx,ly): """ compute the nematic order parameter""" # generate a linked list rc = 4.499*lrod nsegx, nsegy, head, llist = gen_linked_list(x,y,lx,ly,rc) # loop over the linked list Si = 0 counter = 0 cos = np.cos(2*phi) sin = np.sin(2*phi) # loop over cells for i in range(nsegx): for j in range(nsegy): # store header of current cell sv1 = head[i*nsegy + j] # loop over neighboring cells for a in range(3): i2 = (i-1+a)%nsegx for b in range(3): j2 = (j-1+b)%nsegy # store header of neighbor cell sv2 = head[i2*nsegy + j2] # restore head values at for each new cell val1 = sv1 val2 = sv2 while val1 != 0: cos1 = cos[val1] sin1 = sin[val1] x1 = x[val1]/lx y1 = y[val1]/ly while val2 != 0: if val1 != val2: x2 = x[val2]/lx y2 = y[val2]/ly dx = x2-x1 dx = dx - math.floor(dx + 0.5) dx = dx*lx dy = y2-y1 dy = dy - math.floor(dy + 0.5) dy = dy*ly if dx**2 + dy**2 < rc**2: cos2 = cos[val2] sin2 = sin[val2] Si = Si + cos1*cos2 + sin1*sin2 counter = counter + 1 val2 = llist[val2] val1 = llist[val1] val2 = sv2 Si = Si/counter return Si ############################################################################ def run_analysis(): """ run the analysis""" ifile = open(fname) t = [] S = [] for i in range(nsteps): # read in all positions ti,x,y,lx,ly = read_positions(ifile) # check whether to skip current frame if i%nskip != 0: continue print ' working on step',i # connect molecules that are separated because of pbcs correct_pbc(x,y,lx,ly) # compute com and transfer molecule back to box if required comx,comy = compute_com(x,y,lx,ly) # compute the angle for each molecule phi = compute_angle(x,y) # generate a plot if imgflag: gen_plot(x,y,phi,ti,lx,ly) # compute the nematic order parameter Si = get_order_parameter(comx,comy,phi,lx,ly) # append results to arrays t.append(ti) S.append(Si) ifile.close() t = np.array(t) S = np.array(S) return t,S # ############################################################################ def write_results(t,S): """ write down the results""" ofile = open('order_parameter.data', 'w') ofile.write('# Evolution of the order parameter over time\n\n') ofile.write('t\tS\n') for i in range(len(t)): ofile.write(str(t[i]) + '\t' + str(S[i]) + '\n') ofile.close() return ############################################################################ def main(): """ main function, called when the scrit is started""" # perform the analysis t,S = run_analysis() # write down results to a file write_results(t,S) plt.plot(t,S,ls = '', marker = 'o') plt.show() plt.close() return ############################################################################ if __name__ == '__main__': main()
Python
UTF-8
3,104
2.546875
3
[ "MIT" ]
permissive
#SPDX-License-Identifier: MIT """ Metrics that provide data about messages (of any form) & their associated activity """ import datetime import sqlalchemy as s import pandas as pd from augur.api.util import register_metric from ..server import engine @register_metric() def repo_messages(repo_group_id, repo_id=None, period='day', begin_date=None, end_date=None): """ Returns a timeseries of the count of persons opening an issue for the first time. :param repo_id: The repository's id :param repo_group_id: The repository's group id :param period: To set the periodicity to 'day', 'week', 'month' or 'year', defaults to 'day' :param begin_date: Specifies the begin date, defaults to '1970-1-1 00:00:00' :param end_date: Specifies the end date, defaults to datetime.now() :return: DataFrame of persons/period """ if not begin_date: begin_date = '1970-1-1 00:00:01' if not end_date: end_date = datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S') repomessagesSQL = None if repo_id: repomessagesSQL = s.sql.text(""" SELECT date_trunc( :period, message.msg_timestamp :: DATE ) AS message_date, COUNT ( * ), repo_name FROM augur_data.repo, augur_data.message WHERE augur_data.repo.repo_id = augur_data.message.repo_id AND augur_data.repo.repo_id = :repo_id AND message.msg_timestamp BETWEEN :begin_date AND :end_date GROUP BY message_date, repo_name ORDER BY repo_name, message_date """) results = pd.read_sql(repomessagesSQL, engine, params={'repo_id': repo_id, 'period': period, 'begin_date': begin_date, 'end_date': end_date}) else: repomessagesSQL = s.sql.text(""" SELECT date_trunc( :period, message.msg_timestamp :: DATE ) AS message_date, COUNT ( * ), rg_name FROM augur_data.repo, augur_data.repo_groups, augur_data.message WHERE augur_data.repo.repo_id = augur_data.message.repo_id AND augur_data.repo_groups.repo_group_id = repo.repo_group_id AND augur_data.repo_groups.repo_group_id = :repo_group_id AND message.msg_timestamp BETWEEN :begin_date AND :end_date GROUP BY message_date, rg_name ORDER BY rg_name, message_date """) results = pd.read_sql(repomessagesSQL, engine, params={'repo_group_id': repo_group_id, 'period': period, 'begin_date': begin_date, 'end_date': end_date}) return results
Markdown
UTF-8
14,051
2.640625
3
[]
no_license
# Scottish Ruby Conference 2012 - Edinburgh, UK Notes and links to the talks I had the pleasure to hear. It a rough version by now - links to the ScotRubyConf website, Speakerdeck, Lanyard will follow... ## Day 1 1. [Keynote by Mike Lee][day_1_0] 2. [Power Rake by Jim Weirich][day_1_1] 3. [Decoupling Persistence by Piotr Szotkowski][day_1_2] 4. [Hexagonal Raily by Matthew Wynne][day_1_3] 5. [Steven Baker - Maintainable Rails][day_1_4] 6. [Justine Arreche - I am a designer][day_1_5] 7. [Ben Orenstein - Refactoring from good to great][day_1_6] ## Day 2 1. [Keynote by Aaron Patterson][day_2_0] 1. [Someone is wrong - Joseph Wilk][day_2_1] 1. [Just open a Socket by Tyler McMullen][day_2_2] 1. [TDD your command line apps for fun and profit by David Copeland][day_2_3] 1. [Therapeutic Refactoring by Katrina Owen][day_2_4] 1. [Active Record Anti-Patterns by Ethan Gunderson][day_2_5] 1. [Keynote by Dave Thomas][day_2_6] ### Mike Lee [@bmf](https://twitter.com/@bmf) - Diversity, 1st Keynote [day_1_0] ![(Notes)](https://p.twimg.com/Awj3k-mCAAA5Y-g.jpg) [(Notes)](https://twitter.com/LS_nerdherder/status/218696796568944642/photo/1/large) *** ### Jim Weirich [@jimweirich](http://www.twitter.com/@jimweirich) - Power Rake [day_1_1] gitimmersion.com FileList is an Array of Filenames - it's lazy loaded rake 'file task' is different from normal task don't follow rake namespace rules with file tasks new file only created if not existing, or 'out-of-date' ```ruby require 'rake/clean' # Examples: # MYFILES = FileList[ pattern, pattern ] # MYFILES.include('images/**/*.png') # MYFILES.exclude('*.thumb*') # THUMBFILES = MYFILES.pathmap( pattern ) # images/gem.png --> "thumbs/%n-thumb%x" --> thumbs/gem-thumb.png # to convert all png images in all subdirectories under images/ MYFILES = FileList['images/**/*.png'] # substitutes dirname images with thumbs (pathmap is not lazy loaded) THUMBFILES = MYFILES.pathmap("%{^images,thumbs}d/%n-thumbs%x") CLEAN.include(THUMBFILES, "thumbs") # call 'rake clean' to delete all the THUMBFILES and all files in directory thumbs CLOBBER.include("final.png") # does everything CLEAN does + deletes final.png directory "thumbs" # creates this directory # This will build a file task for every image file - beware of large numbers THUMBFILES.zip(MYFILES).each do |target , source| containing_dir = target.pathmap("%d") directory containing_dir file target => [containing_dir, source] do sh "convert ..." end end file "final.jpg" => THUMBFILES do sh "convert #{THUMBFILES} -append final.png" end task :convert => "final.jpg" # call with "rake convert" - won't run again, if filedate of final.png newer than that of all thumbnails ``` An alternative version can be written with rules and lambdas *** ### Piotr Szotkowski [@chastell](https://twitter.com/@chastell) - Decoupling Persistence [day_1_2] Many examples with Addresses Book: Person Names around the World NullDB - Library to stub the DB Decorators Draper SimpleDelegator <-- check this out * Composition over Inheritance Forwardable AOP Aspect-Oriented-Programming RCapture (Logging library) Make explicit call to persistance methods - or route through persistence layer, every time you data was changed DCI Data + Context + Interaction Candy library to persist objects in MongoDB (genius or insane?) *** ### Matt Wynne [@mattwynne](https://twitter.com/@mattwynne) - Hexagonal Rails [day_1_3] **(with Steve Tooke [@tooky](https://twitter.com/@tooky) and Kevin Rutherford[@kevinrutherford](https://twitter.com/@kevinrutherford))** * Why does software development get slower over time? * modular development vs 'connected' development * Using 'Metaphors' to design software - and to talk about software * **Tell, don't ask!** _Exerpt from the ScotRubyConf Website:_ <div class="content"> <p>The things that make Rails great in the first few weeks of a new project are precisely what makes it hurt after a few months. Anyone who has worked on a medium-sized Rails app will have experienced pain like:</p> <ul> <li>High coupling, meaning you have to run all your tests all the time to check each change.</li> <li>Slow tests.</li> <li>Logic littered in view templates or helper modules.</li> </ul> <p>Changes get more and more expensive to make, and the fun grinds to a halt. How can you stop this from happening? And more importantly, how can you turn around a project that’s already hit this wall of pain?</p> <p>You need to pull your app away from Rails.</p> <p>In this practical talk, we describe <a href="http://c2.com/cgi/wiki?PortsAndAdaptersArchitecture">an architecture</a> for mature Rails applications where the framework becomes a <a href="http://confreaks.com/videos/759-rubymidwest2011-keynote-architecture-the-lost-years">plug-in</a> to your application. With hands-on demonstrations, you’ll learn how to define clear boundaries between your application’s domain and Rails’ domain. Now Rails can stick to doing what it does best &ndash; providing the persistence and HTTP stack &ndash; and your valuable business logic will be in <a href="http://blog.steveklabnik.com/posts/2011-09-06-the-secret-to-rails-oo-design">plain old</a> <a href="http://devblog.avdi.org/2011/11/15/early-access-beta-of-objects-on-rails-now-available-2/">Ruby objects</a> that are <a href="http://arrrrcamp.be/videos/2011/corey-haines---fast-rails-tests/">fast</a> to <a href="https://www.destroyallsoftware.com/screencasts/catalog/fast-tests-with-and-without-rails">test</a> and easy to reason about.</p> *** ### Steven Baker [@srbaker](https://twitter.com/@srbaker) - Maintainable Rails [day_1_4] *** ### Justine Arreche [@TheElefanta](https://twitter.com/@TheElefanta) - I am a designer (and so are you) [day_1_5] Book: Bootstrapping Design 12 column grid take out groups of 2 for responsiveness align shapes to grid Color wheel Colors stand for emotions (Color theory = some western psylogical stuff) Contrasting vs Blending Colors Color Scheme (the easy way): 100% - 50% - 30% - 0% (0 = white) Color Scheme: Color 1 - Contrasting Color 2 - Color 3 in between 1 and 2 (on the wheel) - grey Typography Headlines ~ 24px (or more) Text ~ half size in px Copytext not that important ~ 9px horizontal line spacing 22px (or more) be reasonable about different browsers or special parts of the design - if it does not work in reasonable time, fuck it! *** ### Ben Orenstein [@r00k](https://twitter.com/@r00k) - Refactoring from good to great [day_1_6] * run your tests * temp vars --> private methods * care for short argument lists * if you have 2 or more variables that have to go together, create a dedicated DataType like Struct (or similar) * naming is hard - but important * **Tell, don't ask!** * Just send an Object a Message! * use Presenters = Decorators! @contact = contact || NullContact.new # or delegate :name, :to => null_contact... class NullContact def name 'no name' end # ... end * Beware of "God Objects" * don't add any more LOC to those 2 or 3 classes, refactor them to become slimmer * how to identify them: * wc * high churn * buggy files _Excerpt from ScotRubyConf website:_ <div class="content"> <p>Most developers know enough about refactoring to write code that&rsquo;s pretty good. They create short methods, and classes with one responsibility. They&rsquo;re also familiar with a good handful of refactorings, and the code smells that motivate them.</p> <p>This talk is about the next level of knowledge: the things advanced developers know that let them turn good code into great. Code that&rsquo;s easy to read and a breeze to change.</p> <ul> <li>Topics include:</li> <li>The Open-Closed Principle</li> <li>The types of coupling, and their dangers</li> <li>Why composition is so damn great</li> <li>A powerful refactoring that Kent Beck calls &ldquo;deep deep magic&rdquo;</li> <li>The beauty of the Decorator pattern</li> <li>Testing smells, including Mystery Guest and stubbing the system under test</li> <li>The stuff from the last halves of Refactoring and Clean Code that you never quite got to :)</li> </ul> <p>These topics will be covered solely by LIVE CODING; no slides. We&rsquo;ll boldly refactor right on stage, and pray the tests stay green. You might even learn some vim tricks as well as an expert user shows you his workflow.</p> </div> *** ### Aaron Patterson [@tenderlove](https://twitter.com/@tenderlove) - Rails Four, 2nd Keynote [day_2_0] * Threading in MRI 1. release GVL <---- check what implications come from that * 2. do CPU operation (outside Ruby it will be done in parall!) 3. acquire GVL (back to Ruby land) * Rails Queue for an consistent API * Streaming in Rails vs. directly opening the Sockets * autoload vs eager loading to avoid deadlocks * pre-load ALL the code on startup ?! Fat Clients - Mobile / JavaScript Rails.js (tbd) as a better consumer (than Backbone, Ember, ...) > How to make a Salami ![(Notes)](https://p.twimg.com/Awt66A3CMAAIAap.jpg) [(Notes)](https://twitter.com/jessabean/status/219404143935238144/photo/1/large) *** ### Joseph Wilk [@josephwilk](https://twitter.com/@josephwilk) - Someone is wrong [day_2_1] > Knowing Rethoric will make you a better Programmer The old greeks were reading aloud in the library - to not lose the ability to discuss. Pathos - Logos - Ethos Metaphors, Story telling, Passion in the delivery => to form a personal connection Concede on a small issue -> make your point -> give evidence (past -> present -> future) being wrong is easy - but also influenced by tense, timing and medium be wrong in the right way (because the idea was wrong, not the form) *** ### Tyler McMullen [@tbmcmullen](https://twitter.com/@tbmcmullen) - Just open a Socket [day_2_2] How to build a (better) distributed system > What is your Message Paradigm? (As 'summary' of all important related questions.) * Resque = Service - Message Queue - high level - not-general purpose * RabbitMQ = Service - Multi-Paradigm - available - multi-purpose * ZooKeeper = Service - Atomic Broadcast - available - non-general purpose * ZeroMQ = Embedded - Multi-Paradigm - lower-level - Magic - broken community and code * Sockets = Embedded - Multi-Paradigm - low level *Future:* (as Tyler sees it) * (entirely) peer-to-peer * minimal configuration * self-sufficent nodes Tyler wanted to introduce us to a new open source messaging system, but... > ... it is hard to do it right - and you have to do it right! *** ### David Copeland [@davetron5000](http://www.twitter.com/@davetron5000) - TDD your command line apps for fun and profit [day_2_3] > Problem: development environment = production environment Script 'fullstop' should: * clone dotfiles from git * symlink to $HOME use app "methadone" to bootstrap the new app (mkdir, create dirs for tests...) app "aruba" ~ something with Cucumbers Given/When/Then ... # to write bash code in ruby style require 'fileutils' include FileUtils > Do NOT test with your real $HOME dir before { set ENV['HOME'] = fake_home } after { set ENV['HOME'] = my_home } _Excerpt from the website:_ <p>I&rsquo;ve been a programmer for over 15 years, and have cut my teeth on Java, but now write Ruby almost 100% of the time, along with a bit of Scala and other stuff. I&rsquo;ve written a book on writing command-line applications in Ruby for the Pragmatic Programmers.</p> <p>I love clean code, testing, making things work, doing it right, and being realistic about it.</p> *** ### Katrina Owen [@kytrinyx](http://www.twitter.com/@kytrinyx) - Therapeutic Refactoring [day_2_4] write tests first deleted unneeded stuff extract parts into private methods (and clean them up) clean up the rest And have fun doing it - and be proud of the result. Comments have be correct AND valuable Clean up your dirty code! Keep your tests fast - to optimize for developer happiness :) *** ### Ethan Gunderson [@ethangunderson](http://www.twitter.com/@ethangunderson) - Active Record Anti-Patterns [day_2_5] Why care? Know your tools Maintainability Leaky Abstractions .pluck(:id) <---- check this in the Rails 3.2 API change table(users, :bulk => true) <--- use bulk to change many columns in one table!! code in a way to avoid "Shotgun Surgeries" Query Optimization Think of data as a stream Better use User.friends.find_each do (takes only 1000) or User.friends.find_in_batches (creates a scope) than User.friends.all do (finds all and creates all AR Objects in memory) ... Order.all.includes(&:user) ...?? Check this gem to find problems: https://github.com/nesquena/query_reviewer Race Conditions validates_uniqueness_of ... create unique_index to be safe - or run in a transaction Callbacks avoid them or keep them really simple just do one thing only change the model itelf - NOT other models! Law of Demeter delegate (even is this also does not feel great) *** ### Dave Thomas [@pragdave](http://www.twitter.com/@pragdave) - Don't label yourself, 3rd Keynote [day_2_6] walking around in white sox started with in 98 with Ruby 0.4 got a "Light field camera" from his wife Labels Agile a Ruby Programmer ... Labels are static, not wholy descriptive - but defines you, they don't live practice **Ruby-do** (don't pronounce it Ruby-du - pronounce it Ruby-doh) japanese character, meaning "Art of Movement" There are many ways, not only one. There is no "best" - just use the appropriate language/style "Good" code is not the only code. The only criteria for good code: can it be changed easily? care for the little things (clean code, alignement) think why you favor some language constructs over others practice - e.g. through coding katas Confidence comes from practice, not knowledge. Distrust: experts, "best practices" Labels > You are what you do! - Do good! ![(Notes)](https://p.twimg.com/Awt7lOhCMAEn0nU.jpg) [(Notes)](https://twitter.com/jessabean/status/219404886335434752/photo/1/large)
Java
UTF-8
1,259
3.140625
3
[]
no_license
import edu.princeton.cs.algs4.Queue; import edu.princeton.cs.algs4.Stack; public class BreadthFirst { node edgeTo[]; boolean marked[]; node source,end; int n; int visited; public BreadthFirst(node source,node end,int n) { this.edgeTo=new node[n]; this.marked=new boolean[n]; this.source=source; this.end=end; this.visited = 0; bfs(); } private void bfs() { Queue<node> toVisit = new Queue<>(); node current = source; toVisit.enqueue(current); while (current.y != end.y) { this.visited++; current = toVisit.dequeue(); for (node e : current.ajd()) { if (!marked[e.n]) { marked[e.n] = true; toVisit.enqueue(e); edgeTo[e.n] = current; } } } } //gives path from the source to a given node public Iterable<node> pathTo(node v) { Stack<node> path=new Stack<>(); while (v!=source){path.push(v); v=edgeTo[v.n];} path.push(source); return path; } public int getVisited() { return visited; } }
C++
UTF-8
1,216
2.953125
3
[]
no_license
// Matthew Howard //CS 2315 // Lab 06 #include <lab06.h> IntegerSet IntegerSet::Union(const IntegerSet& otherSet) const { IntegerSet u(*this); for (uint e = 0; e < N; e++) if (this->isMember(e) || otherSet.isMember(e)) u.insertElement(e); return u; } IntegerSet IntegerSet::intersection(const IntegerSet& otherSet) const { IntegerSet i(*this); for (uint e = 0; e < N; e++) { if (this->isMember(e) && otherSet.isMember(e)) { i.insertElement(e); } else { i.deleteElement(e); } } return i; } IntegerSet IntegerSet::difference(const IntegerSet& otherSet) const { IntegerSet d(*this); for (uint e = 0; e < N; e++) { if (this->isMember(e) && !otherSet.isMember(e)) { d.insertElement(e); } else { d.deleteElement(e); } } return d; } IntegerSet IntegerSet::symmetricDifference(const IntegerSet& otherSet) const { IntegerSet s(*this); for (uint e = 0; e < N; e++) { if ((this->isMember(e) || otherSet.isMember(e)) && !(this->isMember(e) && otherSet.isMember(e))) { s.insertElement(e); } else { s.deleteElement(e); } } return s; }
Ruby
UTF-8
50
3.0625
3
[ "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-public-domain" ]
permissive
def plus_two(num) num + 2 end puts plus_two(3)
Java
UTF-8
1,510
2.5
2
[ "MIT" ]
permissive
package chris.seProxy.util; import lombok.Getter; import java.io.IOException; import java.io.InputStream; import java.util.Properties; /** * Properties manager */ public class PropManager { private static final String PROP_FILE = "seproxy.prop"; @Getter private String databaseClass; @Getter private String databaseUrl; @Getter private String databaseUsername; @Getter private String databasePassword; /** * used for {@link java.security.KeyStore} store and load */ @Getter private String keyStorePath; /** * used for {@link java.security.KeyStore.PasswordProtection} */ @Getter private String keyStorePassword; @Getter private boolean isInit; public PropManager() { ClassLoader loader = Thread.currentThread().getContextClassLoader(); InputStream propFile = loader.getResourceAsStream(PROP_FILE); Properties prop = new Properties(); try { prop.load(propFile); } catch (IOException e) { e.printStackTrace(); } databaseClass = (String) prop.get("DB_CLASS"); databaseUrl = (String) prop.get("DB_URL"); databaseUsername = (String) prop.get("DB_UNAME"); databasePassword = (String) prop.get("DB_PASSWORD"); keyStorePath = (String) prop.get("KEYSTORE_PATH"); keyStorePassword = (String) prop.get("KEYSTORE_PASSWORD"); isInit = Boolean.valueOf((String) prop.get("IS_DB_INIT")); } }
C#
UTF-8
1,767
2.53125
3
[]
no_license
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigation; using System.Windows.Shapes; namespace BillCalc2 { /// <summary> /// Interaction logic for MainWindow.xaml /// </summary> public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); } private void calcButton_Click(object sender, RoutedEventArgs e) { string starting = balanceBox.Text; string rent = rentBox.Text; string lights = lightBox.Text; string cable = cableBox.Text; string water = waterBox.Text; string cell = cellBox.Text; string car1 = carBox1.Text; string car2 = carBox2.Text; string insurance = insBox.Text; string other = otherBox.Text; string balance = ( Convert.ToDecimal(starting) - Convert.ToDecimal(rent) - Convert.ToDecimal(lights) - Convert.ToDecimal(cable) - Convert.ToDecimal(water) - Convert.ToDecimal(cell) - Convert.ToDecimal(car1) - Convert.ToDecimal(car2) - Convert.ToDecimal(insurance) - Convert.ToDecimal(other)).ToString(); remainingBalance.Text = "Remaining Balance: " + "$" + balance; } } }
JavaScript
UTF-8
14,781
2.8125
3
[]
no_license
let header=document.querySelector('header'); addTagAndAttributes(header, 'div','id','menu-icon','<span class="first"></span><span class="second"></span><span class="third"></span>'); // Скрипт для меню $("#menu-icon").on("click", function() { $("nav").slideToggle(); $(this).toggleClass("active"); }); // Создаем массив который храниться все загаловки задании let tasks= [ '6. Найти сумму чисел, кратных трем, в диапазоне от 0 до 50.'+ '<br> 7. Найти сумму первых десяти чисел, кратных пяти.'+ '<br> 8. Найти произведение четных чисел в диапазоне от 2 до 30.'+ '<br> 10. Требуется найти сумму чисел, кратных 7, в диапазоне от 0 до 100. Вывести сумму и их количество.', '9. Вводятся положительные числа. Прекратить ввод, когда сумма введенных чисел превысит 100.', '11. Вводятся n чисел. Определите количество отрицательных, положительных чисел и нулей.', '12. Вывести такие двузначные числа, которые делятся на 4, но не делятся на 6.', '13. Определить количество целых чисел, кратных 3 (от 3 и далее), дающих в сумме число, не превышающее 200.', '14. Вводятся 10 чисел. Вывести на экран сумму положительных и отрицательных чисел и их количество.', '15. Определить значения произведений чисел а и b. Числа a изменяются от 1 до 11 с шагом 1, b – от 1 до 3 с шагом 0,2.', '16. Решив заняться легкой атлетикой, вы пробежали в первый день 2 км. Сколько км Вы пробежите за 2 недели, если каждый день вы увеличиваете дистанцию на 10% от предыдущего дня.' ] function addContentTags(container,tag,content){ let tagName=document.createElement(tag); tagName.innerHTML=content; container.appendChild(tagName); } function addAttributTags(container, tag, attributes, AttributeName, content='') { let tagName=document.createElement(tag); tagName.setAttribute(attributes,AttributeName); tagName.innerHTML=content; container.appendChild(tagName); } var select = document.querySelector('select'); select.onchange = function() { var indexSelected = select.selectedIndex; // container который будем добавлять нужные элементы let containerGlav=document.querySelector(".container"); // Очищаем контайнер containerGlav.innerHTML=''; addContentTags(containerGlav,'p',tasks[indexSelected]); addContentTags(containerGlav,'h2',"Блок-схема"); addTagAndAttributes (containerGlav,'iframe','src', 'https://drive.google.com/file/d/1Q922l4eHSUDxJmCrTlbXqxTa-0Hh885g/preview', 'class','files') let test=document.querySelector(".test"); test.innerHTML=''; let container=document.querySelector(".programma"); container.innerHTML=''; addContentTags(test,'h2',"Тестовые варианты"); addTagAndAttributes (test,'iframe','src', 'https://drive.google.com/file/d/1-EKn9r4gHsmVR28d-JK1C3dHRcUA-KcI/preview', 'class','files') addContentTags(container,'h2','Программа'); // Да это какой-то ужас. Но не хочу пересделывать все эти задании. Поэтому буду как-то поддерживать его if ( indexSelected == '0' ) { addContentTags(container,'p','От'); addTagAndAttributes(container,'input','id','lab4zad1a','type','number'); addContentTags(container,'p','До'); addTagAndAttributes(container,'input','id','lab4zad1b','type','number'); addContentTags(container,'p','кратных:'); addTagAndAttributes(container,'input','id','lab4zad1c','type','number'); addAttributTags(container,'p','id','result') addTagAndAttributes(container,'button','onclick','zad1 ()','Определить'); } if (indexSelected=="1") { addAttributTags(container,'p','id','result') addTagAndAttributes(container,'button','onclick','zad2 ()','Определить'); } if ( indexSelected == '2' ) { addContentTags(container,'p','Введите n'); addTagAndAttributes(container,'input','id','lab4zad3a','type','number'); addAttributTags(container,'p','id','result') addTagAndAttributes(container,'button','onclick','zad3 ()','Определить'); } if (indexSelected=="3") { addContentTags(container,'p','От'); addTagAndAttributes(container,'input','id','lab4zad4a','type','number'); addContentTags(container,'p','Дo'); addTagAndAttributes(container,'input','id','lab4zad4b','type','number'); addAttributTags(container,'p','id','result') addTagAndAttributes(container,'button','onclick','zad4 ()','Определить'); } if ( indexSelected == '4' ) { addAttributTags(container,'p','id','result') addTagAndAttributes(container,'button','onclick','zad5 ()','Определить'); } if (indexSelected=="5") { addAttributTags(container,'p','id','result') addTagAndAttributes(container,'button','onclick','zad6 ()','Определить'); } if ( indexSelected == '6' ) { addAttributTags(container,'p','id','result') addTagAndAttributes(container,'button','onclick','zad7 ()','Определить'); } if (indexSelected=="7") { addContentTags(container,'p','Сколько пробежали в первый день?'); addTagAndAttributes(container,'input','id','lab4zad8a','type','number'); addContentTags(container,'p','Сколько день бегали'); addTagAndAttributes(container,'input','id','lab4zad8b','type','number'); addContentTags(container,'p','На сколько % увеличивали дистанцию?'); addTagAndAttributes(container,'input','id','lab4zad8c','type','number'); addAttributTags(container,'p','id','result') addTagAndAttributes(container,'button','onclick','zad8 ()','Определить'); } }; function addTagAndAttributes(container, TagName, Attribute, AttributeName, Attribute_or_Content, Attribute_Name1) { /* containerName - Имя контейнера который будем добавить тег * TagName - Тег который будем добавлить П: p, div и т.д. * Attribute - Атрибут тега который будем устаноливать * AttributeName - Имя или тип атрибута * Attribute_or_Content - 2-атрибут для тегов input, video т.д. Или контент для тегов p, div и т.д. * Attribute_Name1 - Имя или тип 2-го атрибута */ // Проверка правильно ли написано аргументы функции // Создаем новый тег или изменим содержания существующего(думаю, лучше будет отдолное функции создать) let tag=document.createElement(TagName); // Лучше использовать универсальный document.querySelector(selectors)!! // let container=document.getElementById(containerName) // Не понял, почему здесь это не работал /* Надо погуглить!!! Погуглил 01.12.2018 в document.querySelector(selectors) тоже надо писать как в CSS */ // Добавлаем нужный тег с атрибутами if (TagName=='input'||TagName=='img'||TagName=='video'||TagName=='audio'||TagName=='iframe') { tag.setAttribute(Attribute, AttributeName); tag.setAttribute(Attribute_or_Content, Attribute_Name1); container.appendChild(tag); } else { tag.setAttribute(Attribute, AttributeName); tag.innerHTML= Attribute_or_Content; container.appendChild(tag); } } // Это мои первые коды который писал в js... // Этих заданий можно было бы решить по другому.. Нехотел переписывать весь код. // Поэтому буду использоваь их.. function zad1(){ let summa=0; let proizv=1; let quantity=0; let f=0; let a = parseInt(document.getElementById('lab4zad1a').value); let b = parseInt(document.getElementById('lab4zad1b').value); let c = parseInt(document.getElementById('lab4zad1c').value); if(a<b&&c!=0) { for(i=a;i<=b;i++){ if (i%c==0) { summa+=i; quantity=quantity+1; proizv*=i; f=f+i+" "; } } if (quantity>0) { document.getElementById('result').innerHTML="Сумма чисел ="+summa+"<br> Количество ="+quantity+"<br> Произведение чисел ="+proizv+ "<br> Числы, от "+a+" до "+b+" кратных "+ c+" : "+f; } else ( document.getElementById('result').innerHTML="Нету числа от "+a+" до "+b+" кратных "+ c ) } else ( document.getElementById('result').innerHTML="Правильно введите данные!" ) } function zad2(){ let summa=0; let a; for (let i =1; summa <=100; i++) { a = parseInt(prompt("Введите числы")); summa=summa+a; if (summa>=100) { alert("Сумма введенных чисел ="+summa) } } } function zad3(){ let pol, zero, otr, a; pol=0; zero=0; otr=0; let n = parseInt(document.getElementById('lab4zad3a').value); for (let i =1; i <=n; i++) { a = prompt("Введите числы") if (a>0) { pol=pol+1; } else if (a==0) { zero=zero+1; } else if (a<0) { otr=otr+1; } } let summa=otr+zero+pol; document.getElementById('result').innerHTML="Общее колечество чисел ="+summa+"<br> Количество отрицательных чисел ="+ otr+"<br> Количество положительных чисел ="+pol+"<br> Количество нулей ="+zero; } function zad4(){ let a = parseInt(document.getElementById('lab4zad4a').value); let b = parseInt(document.getElementById('lab4zad4b').value); let quantity=0; let f=0; if (a<b) { for (let i =a; i <=b; i++) { if (i%4==0&&i%6!=0) { f=f+i+" "; quantity=quantity+1; } } if (quantity>0) { document.getElementById('result').innerHTML="Числы, которые делятся на 4, но не делятся на 6 : "+f+ "<br> Количество чисел ="+quantity; } else ( document.getElementById('result').innerHTML="Нету числа от "+a+" до "+b+" которые делятся на 4, но не делятся на 6 " ) } else ( document.getElementById('result').innerHTML="Правильно введите данные!" ) } function zad5(){ let a = 3; let b = 300; let f=0; let sum=0; let quantity=0; for (let i =a; i <=b&&sum<=200; i++) { if (i%3==0) { f=f+i+", "; quantity=quantity+1; sum+=i; } } document.getElementById('result').innerHTML="Числы, которые делятся на 3: "+f+"<br> Сумма чисел ="+sum+"<br> Количество ="+quantity; } function zad6(){ let sumpol=0, colpol=0, sumotr=0, colotr=0, colzero=0, a; for (let i =1; i<=10; i++) { a = parseInt(prompt("Введите числы")); if (a>0) { sumpol=sumpol+a; colpol=colpol+1; } else if (a<0) { sumotr=sumotr+a; colotr=colotr+1; } else if (a==0) { colzero=colzero+1; } } let summa=colzero+colotr+colpol; document.getElementById('result').innerHTML="Общее количество чисел = "+summa+"<br> Количество отрицательных чисел = "+ colotr+"<br>Сумма отрицательных чисел = "+sumotr+"<br> Количество положительных чисел = "+colpol+"<br>Сумма положительных чисел = "+sumpol+ "<br> Количество нулей = "+colzero; } function zad7(){ document.getElementById('result').innerHTML=''; for (var a = 1, b=1; a < 11&&b<3; a++, b=b+0.2) { let p=a*b; document.getElementById('result').innerHTML+='<br>'+a+" x "+b+" = "+p; } } function zad8(){ let a, b, c, d, sum1; let summa=0 a = parseInt(document.getElementById('lab4zad8a').value); b = parseInt(document.getElementById('lab4zad8b').value); c = parseInt(document.getElementById('lab4zad8c').value); let sum=a; if (a>0&&b>0&&c>0) {} for (let i =1; i <b; i++) { d=(sum*c)/100; sum=sum+d; summa+=sum; } sum1=summa+a; document.getElementById('result').innerHTML="Вы пробежали за "+b+" день "+Math.floor(sum1); }
C
UTF-8
1,356
3.25
3
[]
no_license
/* * @lc app=leetcode.cn id=860 lang=c * * [860] 柠檬水找零 */ // @lc code=start bool lemonadeChange(int* bills, int billsSize){ if(billsSize == 0) return true; int count_five = 0; int count_ten = 0; //第一笔一定是5元 if(bills[0] != 5) return false; //最少有一个五元时,才能找零十元 //最少有三个五元或者一个十元一个五元时才能找零二十元 for(int i = 0;i<billsSize;i++){ if(bills[i] == 5){ count_five++; }else if(bills[i] == 10){ if(count_five == 0) { return false; } else { count_five--; count_ten++; } }else if(bills[i] == 20){ if(count_five == 0 ){ return false; }else if(count_ten == 0 && count_five < 3){ return false; }else{ if(count_ten > 0){ count_five--; count_ten--; }else { count_five = count_five -3; } } } } return true; } // @lc code=end
Markdown
UTF-8
1,837
3.0625
3
[]
no_license
## Reusable Carousel ### Versions - Node: 6.9.1 - NPM: 3.8.0 - Webpack: 2.2.1 - es2015 ### Description This is a work in progress for a reusable carousel. Built with ES6, the carousel is a basic full width of its container, with a customizable height. Pass it an array of images and it displays a carousel which plays on a 5.5 second interval and can be controlled by the UI arrows. ### Future Features - Add customizable auto change speed - Clickable index dots - Added UI styles to choose from - Rethink responsiveness for smaller devices ### Example implementation 0. First import the module. 1. Supply the height of the carousel you want. 2. Supply an array of the image syou want to use. 3. Call init on your Carousel when you want to initialize it. ```js import Carousel from './modules/carousel/carousel'; const images = [ 'http://www.fillmurray.com/g/500/300', 'http://www.fillmurray.com/g/600/300', 'http://www.fillmurray.com/g/800/300' ] const myCarousel = new Carousel(500, images); myCarousel.init(); ``` ### Features [NPM](#https://www.npmjs.com/) [Webpack](#https://webpack.js.org/) [Babel](#https://babeljs.io/) [Webpack Dev Server](#https://webpack.github.io/docs/webpack-dev-server.html) [SCSS] ### Start Development 0. run `npm install`<br> 1. run `npm run watch`<br> 2. point your browser to [localhost:8080](#http://localhost:8080/) (should open automatically) ### Run Production code 0. run `npm run production`<br> build code 1. run `npm start`<br> 2. point your browser to [localhost:8800](#http://localhost:8800/) ### NPM Tasks - `npm run watch` Runs development server, with auto reloading. - `npm run start` Runs local server with production build code. (currently not working, to be fixed) - `npm run assets` Copy assets to the build folder - `npm run production` Build production code.
Java
UTF-8
2,072
1.625
2
[]
no_license
// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.geocities.com/kpdus/jad.html // Decompiler options: braces fieldsfirst space lnc package com.aadhk.restpos.c; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.TextView; import com.aadhk.product.library.c.h; import com.aadhk.restpos.bean.ServiceFee; import java.util.List; // Referenced classes of package com.aadhk.restpos.c: // ch, cm final class cl extends BaseAdapter { final ch a; private cl(ch ch1) { a = ch1; super(); } cl(ch ch1, byte byte0) { this(ch1); } public final int getCount() { return com.aadhk.restpos.c.ch.h(a).size(); } public final Object getItem(int i) { return com.aadhk.restpos.c.ch.h(a).get(i); } public final long getItemId(int i) { return (long)i; } public final View getView(int i, View view, ViewGroup viewgroup) { cm cm1; ServiceFee servicefee; if (view == null) { view = ch.i(a).inflate(0x7f0300ac, null); cm1 = new cm(this, (byte)0); cm1.a = (TextView)view.findViewById(0x7f090099); view.setTag(cm1); } else { cm1 = (cm)view.getTag(); } servicefee = (ServiceFee)com.aadhk.restpos.c.ch.h(a).get(i); if (i == 0) { cm1.a.setText(ch.j(a).getString(0x7f0800f7)); return view; } if (servicefee.isPercentage()) { cm1.a.setText((new StringBuilder()).append(servicefee.getName()).append("(").append(h.b(servicefee.getAmount())).append("%)").toString()); return view; } else { cm1.a.setText((new StringBuilder()).append(servicefee.getName()).append("(").append(servicefee.getAmount()).append(")").toString()); return view; } } }
PHP
UTF-8
272
2.640625
3
[]
no_license
<?php namespace App\Handlers; use Slim\Handlers\ErrorHandler; class HttpErrorHandler extends ErrorHandler { protected function logError(string $error): void { if ($this->statusCode === 500) { $this->logger->error($error); } } }
PHP
UTF-8
4,772
3.296875
3
[]
no_license
<?php require_once(MODELS . '/entities/employee.php'); class EmployeesModel extends Model { public function __construct() { //This calls to the constructor of the class Model is extending parent::__construct(); // echo '<p>Employees model</p>'; } public function getAll() { $sql = "SELECT * FROM employees"; $stmt = $this->db->connect()->prepare($sql); $stmt->execute(); $results = $stmt->fetchAll(); return $results; } public function getById($id) { try { $sql = "SELECT * FROM employees WHERE id = $id"; $stmt = $this->db->connect()->prepare($sql); $stmt->execute(); $results = $stmt->fetchAll(PDO::FETCH_ASSOC); $employee = new Employee( $results[0]['id'], $results[0]['name'], $results[0]['lastName'], $results[0]['email'], $results[0]['gender'], $results[0]['streetAddress'], $results[0]['age'], $results[0]['city'], $results[0]['state'], $results[0]['postalCode'], $results[0]['phoneNumber'] ); return $employee; } catch (PDOException $e) { echo 'Error INSERT: ' . $e->getMessage(); } } public function insert($data) { try { //Insert data into DB $query = 'INSERT INTO employees ( name, lastName, email, gender, age, streetAddress, city, state, postalCode, phoneNumber ) VALUES( :name, :lastName, :email, :gender, :age, :streetAddress, :city, :state, :postalCode, :phoneNumber )'; $employee = $this->db->connect()->prepare($query); $employee->execute([ 'name' => $data['name'], 'lastName' => $data['lastName'], 'email' => $data['email'], 'age' => $data['age'], 'gender' => $data['gender'], 'streetAddress' => $data['streetAddress'], 'city' => $data['city'], 'state' => $data['state'], 'postalCode' => $data['postalCode'], 'phoneNumber' => $data['phoneNumber'] ]); } catch (PDOException $e) { echo 'Error INSERT: ' . $e->getMessage(); if ($e->errorInfo[1] == 1062) { return "This email already exists"; } else { return "Database error"; } return $e->getMessage(); } } public function delete($id) { try { //Delete entry from DB $sql = 'DELETE FROM employees WHERE id = :id'; $query = $this->db->connect()->prepare($sql); $query->execute(['id' => $id]); return true; } catch (PDOException $e) { echo 'Error DELETE: ' . $e->getMessage(); return false; } } public function update($request) { $id = $request["id"]; $name = $request["name"]; $lastName = $request["lastName"]; $email = $request["email"]; $gender = $request["gender"]; $city = $request["city"]; $streetAddress = $request["streetAddress"]; $state = $request["state"]; $age = $request["age"]; $postalCode = $request["postalCode"]; $phoneNumber = $request["phoneNumber"]; try { $sql = "UPDATE employees SET name = :name, lastName = :lastName, email = :email, gender = :gender, city = :city, streetAddress = :streetAddress, state = :state, age = :age, postalCode = :postalCode, phoneNumber = :phoneNumber WHERE id = :id"; $query = $this->db->connect()->prepare($sql); $query->execute(['id' => $id, 'name' => $name, 'lastName' => $lastName, 'email' => $email, 'gender' => $gender, 'city' => $city, 'streetAddress' => $streetAddress, 'state' => $state, 'age' => $age, 'postalCode' => $postalCode, 'phoneNumber' => $phoneNumber]); return true; } catch (PDOException $e) { echo 'Error UPDATE:' . $e->getMessage(); return false; } } }
Python
UTF-8
1,213
3.65625
4
[]
no_license
from collections import deque def play(players, rounds): board = deque([0]) player = 0 scores = {} for marble in xrange(1, rounds+1): player += 1 if player == players+1: player = 1 if not marble % 23: board.rotate(7) score = marble + board.pop() scores.setdefault(player, 0) scores[player] += score board.rotate(-1) else: board.rotate(-1) board.append(marble) #print player, board return max(scores.values()) def assertEqual(x, y): assert x == y, "%s != %s" % (x, y) def test_part1(): assertEqual(play(9, 32), 32) assertEqual(play(10, 1618), 8317) assertEqual(play(13, 7999), 146373) assertEqual(play(17, 1104), 2764) assertEqual(play(21, 6111), 54718) assertEqual(play(30, 5807), 37305) def part1(): #test_part1() #410 players; last marble is worth 72059 points high = play(410, 72059) return high def part2(): #410 players; last marble is worth 7205900 points high = play(410, 7205900) return high def main(): #print part1() print part2() if __name__ == '__main__': main()
Java
UTF-8
4,186
2.953125
3
[]
no_license
package com.seleniumOO.ui; import com.seleniumOO.util.SSOElementType; import org.openqa.selenium.*; import java.util.ArrayList; import java.util.List; /** * This class represents an UI element of the BROWSER page. A HTML element. * Manages a WebDriver instance and a WebElement instance. * * Created by Daniela Sánchez on 09/02/2017 */ public class SOOUIElement implements WebElement{ private WebDriver webDriver; WebElement webElement; public SOOUIElement(WebElement we) { this.webElement = we; } /** * A new object of SOOUIElement class. That represents a HTML element. * @param page the SOOPage of the element that belongs to. * @param elementType SSOElementType property type. Like 'name', 'id', 'class'... * @param value the property value. Like 'oneId' or 'oneClass'. */ public SOOUIElement(SOOPage page, SSOElementType elementType, String value){ this.webDriver = page.getWebDriver(); switch (elementType){ case ID : webElement = webDriver.findElement(By.id(value)); break; case NAME : webElement = webDriver.findElement(By.name(value)); break; case CLASS : webElement = webDriver.findElement(By.className(value)); break; case LABEL : webElement = webDriver.findElement(By.cssSelector("[label='"+value+"']")); break; case TYPE : webElement = webDriver.findElement(By.cssSelector("[type='"+value+"']")); break; case XPATH : webElement = webDriver.findElement(By.xpath(value)); break; case LINKTEXT : webElement = webDriver.findElement(By.linkText(value)); break; default: } } @Override public void click() { webElement.click(); } @Override public void submit() { webElement.submit(); } @Override public void sendKeys(CharSequence... charSequences) { webElement.sendKeys(charSequences); } @Override public void clear() { webElement.clear(); } @Override public String getTagName() { return webElement.getTagName(); } @Override public String getAttribute(String s) { return webElement.getAttribute(s); } @Override public boolean isSelected() { return webElement.isSelected(); } @Override public boolean isEnabled() { return webElement.isEnabled(); } @Override public String getText() { return webElement.getText(); } @Override public List<WebElement> findElements(By by) { return webElement.findElements(by); } @Override public SOOUIElement findElement(By by) { return new SOOUIElement(webElement.findElement(by)); } /** * You can search this element for others SOOUIElement's inside of this one. By a standard search with * org.openqa.selenium.By definition. * * @param byOO org.openqa.selenium.By definition. * @return a List<SOOUIElement> */ public List<SOOUIElement> findElementsSOO(By byOO) { List<SOOUIElement> sooElements = new ArrayList<SOOUIElement>(); List<WebElement> elements = findElements(byOO); for (WebElement we : elements){ sooElements.add(new SOOUIElement(we)); } return sooElements; } @Override public boolean isDisplayed() { return webElement.isDisplayed(); } @Override public Point getLocation() { return webElement.getLocation(); } @Override public Dimension getSize() { return webElement.getSize(); } @Override public Rectangle getRect() { return webElement.getRect(); } @Override public String getCssValue(String s) { return webElement.getCssValue(s); } @Override public <X> X getScreenshotAs(OutputType<X> outputType) throws WebDriverException { return webElement.getScreenshotAs(outputType); } }
Ruby
UTF-8
574
4.15625
4
[]
no_license
def palindrome?(string) string == string.reverse end p palindrome?('madam') == true p palindrome?('Madam') == false # (case matters) p palindrome?("madam i'm adam") == false # (all characters matter) p palindrome?('356653') == true def palindrome2?(array) array == array.reverse end p palindrome2?([1, 2, 3, 2, 1]) == true p palindrome2?([1, 2, 3, 1, 1]) == false def palindrome3?(obj) obj == obj.reverse end p palindrome3?('madam') == true p palindrome3?('Madam') == false p palindrome3?([1, 2, 3, 2, 1]) == true p palindrome3?([1, 2, 3, 4, 1]) == false
Rust
UTF-8
555
2.96875
3
[]
no_license
mod node; use std::option::Option; use node; struct MyLinkedList<T> { head: NodeRef<T>, tail: NodeRef<T> } impl<T> MyLinkedList<T> { pub fn new() -> MyLinkedList<T> { MyLinkedList { head: Option::None, tail: Option::None } } pub fn push(value: T) { let node = Option::Some(Rc::new(RefCell::new(value))); match tail { Some(last) => { last.next = node; node.last }, None => { } } } }
Markdown
UTF-8
2,097
3.125
3
[ "MIT" ]
permissive
# yourTube TV Calendar for Code Fellows 301 Project ## Project Pitch There are so many TV shows on the air right now, how can one person possibly find what to watch? Enter YourTube: your very own TV scheduler! With our product, a user will select parameters that they want in a show and tell us their schedule. Then they will be presented with a schedule view for that week with each show that matches their parameters as well as the time. They will be free to select which ones they would like to watch. The schedule is mobile, customizable, and designed with usability in mind. ## Collaborators Alana Franklin has a Bachelor of Music in Vocal Performance. Over the five years as she worked administrative jobs for local tech companies including Headsprout, SpaceCurve, and Amazon. She is currently going through apprentice training with the Apprenti program for software development. Outside of work, Alana enjoys traveling, Crossfit, and watching an impressive amount of tv. John Gaines is starting a career in tech after a 25 year career at sea. He is a part of the software development apprentice training program at Apprenti. He enjoys working on various technological projects and playing the guitar. Aeone Singson has an Associate of Science Degree in computer science and is currently working on the Apprenti program software development apprentice training track. Her hobbies include reading, thinking about robots, and drawing. Her passions include spreading technology access and education and volunteering in the community. ## Technical YourTube utilizes jQuery and Handlebars (HTML templating) to create a single-page application on the client side, along with a mobile-first, responsive UI. A Node.js server interacts with the TVMaze API to retrieve television schedule data. The server also interacts with a PostgreSQL database, where we hold data about our users and their preferences, in order to populate our page when the user selects their name. The site is deployed on Heroku, and was planned using Agile methodologies during a weeklong sprint. https://tvision-yourtube.herokuapp.com/
C#
UTF-8
2,702
2.96875
3
[]
no_license
using System; using System.Collections.Generic; namespace Ex03.GarageLogic { public class GarageVehicleUtils { private List<string> m_VehicleDetails = new List<string>(); private List<string> m_UserInputDetails = new List<string>(); private string m_ModelName = string.Empty; private string m_LicenseNumber = string.Empty; private float m_EnergyPercent; public List<string> Details { get { return m_VehicleDetails; } } public List<string> UserInput { get { return m_UserInputDetails; } } public string ModelName { get { return m_ModelName; } set { m_ModelName = value; checkModelValidation(); } } public string LicenseNumber { get { return m_LicenseNumber; } set { m_LicenseNumber = value; checkLicenseValidation(); } } public float Energy { get { return m_EnergyPercent; } set { m_EnergyPercent = value; checkEnergyPercentVaild(); } } private bool checkLicenseValidation() { bool isVerified = true; if (m_LicenseNumber.Equals(string.Empty)) { throw new FormatException("Empty Field License Please try again"); } foreach (char charToCheck in m_LicenseNumber) { if (!char.IsDigit(charToCheck)) { isVerified = false; } } return isVerified; } private bool checkModelValidation() { if (!m_ModelName.Equals(string.Empty)) { return true; } else { throw new FormatException("Empty Field! Please try again"); } } private bool checkEnergyPercentVaild() { if (m_EnergyPercent >= 0 && m_EnergyPercent <= 100) { return true; } else { throw new ValueOutOfRangeException(100, 0); } } } }
Java
UTF-8
2,040
2.359375
2
[]
no_license
package com.example.controller; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.servlet.ModelAndView; import com.example.model.ProductsModel; import com.example.dao.ProductService; @Controller public class ProductsController { @Autowired private ProductService service; @RequestMapping("/") public String showNewProductPage(Model model) { ProductsModel product = new ProductsModel(); model.addAttribute("product", product); return "index"; } @RequestMapping("/inicial") public String viewHomePage(Model model) { //List<ProductsModel> listProducts = service.listAll(); model.addAttribute("product", new ProductsModel()); return "inicial"; } @RequestMapping("/editar/{id}") public String viewHomePage(@PathVariable(name="id")long id, Model model) { //List<ProductsModel> listProducts = service.listAll(); model.addAttribute("product", service.get(id)); return "inicial"; } @RequestMapping("/lista") public String viewListaPage(Model model) { List<ProductsModel> listProducts = service.listAll(); //ProductsModel product = new ProductsModel(); model.addAttribute("products", listProducts); return "lista"; } @RequestMapping("/edit/{id}") public ModelAndView showEditProductPage(@PathVariable(name="id")long id) { ModelAndView mav = new ModelAndView("edit"); ProductsModel product = service.get(id); mav.addObject("product", product); return mav; } @RequestMapping("save") public String saveProduct(ProductsModel product) { service.save(product); return "redirect:/"; } @RequestMapping("/delete/{id}") public String deleteProduct(@PathVariable(name="id") long id){ service.delete(id); return "redirect:/"; } }
Java
UTF-8
6,853
2.078125
2
[]
no_license
package com.stepdefinition; import java.net.MalformedURLException; import java.util.List; import java.util.Map; import org.junit.Assert; import org.openqa.selenium.By; import org.openqa.selenium.WebElement; import org.test.help.AutoTestHelper; import org.test.pom.adactin.BookHotel; import org.test.pom.adactin.BookingConfirmationPage; import org.test.pom.adactin.LoginPageAction; import org.test.pom.adactin.SearchHotelPage; import org.test.pom.adactin.SelectHotelPage; import cucumber.api.java.en.Given; import cucumber.api.java.en.Then; import cucumber.api.java.en.When; public class LoginPage extends AutoTestHelper { WebElement element; SearchHotelPage SearchHotelPage = new SearchHotelPage(getDriver()); SelectHotelPage SelectHotelPage = new SelectHotelPage(getDriver()); BookHotel BookHotel = new BookHotel(getDriver()); @Given("User is on the adactin page") public void user_is_on_the_adactin_page() throws MalformedURLException { getChromeDriver(); //getRemoteFireFoxriver(); loadURL("https://www.adactin.com/HotelApp/index.php"); } @When("users enters username and password") public void users_enters_username_and_password(io.cucumber.datatable.DataTable d) { //List<List<String>> list = d.asLists(); List<Map<String,String>> mp= d.asMaps(); LoginPageAction loginPage = new LoginPageAction(getDriver()); type(loginPage.getTxtUsername(), mp.get(0).get("username")); type(loginPage.getTxtPassword(), mp.get(0).get("password")); } // @When("users enters {string} and {string}") // public void users_enters_and(String string, String string2) { // // LoginPageAction loginPage = new LoginPageAction(); // // type(loginPage.getTxtUsername(), string); // Assert.assertEquals("Verify User Name", string, loginPage.getTxtUsername().getAttribute("value")); // type(loginPage.getTxtPassword(), string2); // Assert.assertEquals("Verify Password", string2, loginPage.getTxtPassword().getAttribute("value")); // // } @When("user should click the login button") public void user_should_click_the_login_button() throws InterruptedException { element = getDriver().findElement(By.xpath("//input[@id='login']")); element.click(); } @Then("user should verfy the message") public void user_should_verfy_the_message() { Assert.assertTrue("Verify URL",getDriver().getCurrentUrl().contains("SearchHotel")); } @When("user select the {string}, {string}, {string}, {string}, {string}, {string}, {string}, {string}") public void user_select_the(String string, String string2, String string3, String string4, String string5, String string6, String string7, String string8) { selectByVisibleText(SearchHotelPage.getDdLocation(),string); Assert.assertEquals("Verify Location", string, SearchHotelPage.getDdLocation().getAttribute("value")); selectByVisibleText(SearchHotelPage.getDdHoltels(), string2); Assert.assertEquals("Verify Hotel", string2, SearchHotelPage.getDdHoltels().getAttribute("value")); selectByVisibleText(SearchHotelPage.getRoomTypeAndCount().get(0), string3); Assert.assertTrue("Verify Room Type", string3.contains(SearchHotelPage.getRoomTypeAndCount().get(0).getAttribute("value"))); selectByVisibleText(SearchHotelPage.getRoomTypeAndCount().get(1),string4); Assert.assertTrue("Verify Room Type", string4.contains(SearchHotelPage.getRoomTypeAndCount().get(1).getAttribute("value"))); element = SearchHotelPage.getTextCheckInOutDate().get(0); element.clear(); type(SearchHotelPage.getTextCheckInOutDate().get(0), string5); Assert.assertEquals("Verify Check In", string5, SearchHotelPage.getTextCheckInOutDate().get(0).getAttribute("value")); element = SearchHotelPage.getTextCheckInOutDate().get(1); element.clear(); type(SearchHotelPage.getTextCheckInOutDate().get(1), string6); Assert.assertEquals("Verify Check Out", string6, SearchHotelPage.getTextCheckInOutDate().get(1).getAttribute("value")); selectByVisibleText(SearchHotelPage.getDdAdultPerRoom(), string7); Assert.assertTrue("Verify Adult Count", string7.contains(SearchHotelPage.getDdAdultPerRoom().getAttribute("value"))); selectByVisibleText(SearchHotelPage.getDdChildPerRoom(), string8); Assert.assertTrue("Verify Child Count", string8.contains(SearchHotelPage.getDdChildPerRoom().getAttribute("value"))); } @Then("user should click search button") public void user_should_click_search_button() { btnClick(SearchHotelPage.getBtnsubmit()); } @When("user should click checkbox") public void user_should_click_checkbox() { btnClick(SelectHotelPage.getRadioSelectHotel()); } @Then("user should click continue button") public void user_should_click_continue_button() { btnClick(SelectHotelPage.getBtnContinue()); } @When("user enter the {string}, {string}, {string}, {string}, {string}, {string}, {string}, {string}") public void user_enter_the(String string, String string2, String string3, String string4, String string5, String string6, String string7, String string8) throws InterruptedException { type(BookHotel.getTxtFirstName(), string); Assert.assertEquals("Verify First Name", string, BookHotel.getTxtFirstName().getAttribute("value")); type(BookHotel.getTxtLastName(), string2); Assert.assertEquals("Verify Last Name", string2, BookHotel.getTxtLastName().getAttribute("value")); type(BookHotel.getTxtAddress(), string3); Assert.assertEquals("Verify Address", string3, BookHotel.getTxtAddress().getAttribute("value")); type(BookHotel.getTxtCC(), string4); selectByValue(BookHotel.getSelectCCType(), string5); Assert.assertTrue("Verify CC Type", string5.contains(BookHotel.getSelectCCType().getAttribute("value"))); selectByValue(BookHotel.getSelectCCExpiryMonth(), string6); Assert.assertTrue("Verify Expiry Month", string6.contains(BookHotel.getSelectCCExpiryMonth().getAttribute("value"))); selectByVisibleText(BookHotel.getSelectCCExpYear(), string7); Assert.assertTrue("Verify Expiry Year", string7.contains(BookHotel.getSelectCCExpYear().getAttribute("value"))); type(BookHotel.getTxtCVV(), string8); Assert.assertEquals("Verify CVV", string8, BookHotel.getTxtCVV().getAttribute("value")); } @When("user should click book now button") public void user_should_click_book_now_button() throws InterruptedException { btnClick(BookHotel.getBtnBook()); Thread.sleep(5000); } @Then("user should verfy the orderid") public void user_should_verfy_the_orderid() { BookingConfirmationPage BookingConfirmationPage = new BookingConfirmationPage(getDriver()); System.out.println("Order ID : " + BookingConfirmationPage.getTxtOrderId().getAttribute("value")); } }
Java
UTF-8
1,965
2.125
2
[]
no_license
/* * Decompiled with CFR 0.151. */ package com.zhiyun.protocol.message.usb; import com.zhiyun.protocol.message.usb.DataType$a; public final class DataType extends Enum { public static final /* enum */ DataType COMMAND; public static final /* enum */ DataType MEDIA; public static final /* enum */ DataType UNKNOWN; private static final int a = 255; private static final int b = 0; private static final int c = 1; private static final /* synthetic */ DataType[] d; static { DataType dataType; DataType dataType2; DataType dataType3; UNKNOWN = dataType3 = new DataType("UNKNOWN", 0); int n10 = 1; MEDIA = dataType2 = new DataType("MEDIA", n10); int n11 = 2; COMMAND = dataType = new DataType("COMMAND", n11); DataType[] dataTypeArray = new DataType[3]; dataTypeArray[0] = dataType3; dataTypeArray[n10] = dataType2; dataTypeArray[n11] = dataType; d = dataTypeArray; } /* * WARNING - Possible parameter corruption * WARNING - void declaration */ private DataType() { void var2_-1; void var1_-1; } public static DataType toType(int n10) { if (n10 != 0) { int n11 = 1; if (n10 != n11) { return UNKNOWN; } return COMMAND; } return MEDIA; } public static int toValue(DataType dataType) { int[] nArray = DataType$a.a; int n10 = dataType.ordinal(); int n11 = 1; if ((n10 = nArray[n10]) != n11) { int n12 = 2; if (n10 != n12) { return -1; } return n11; } return 0; } public static DataType valueOf(String string2) { return Enum.valueOf(DataType.class, string2); } public static DataType[] values() { return (DataType[])d.clone(); } }
Java
UTF-8
2,400
3.5
4
[]
no_license
import java.util.*; import java.io.*; class pair { public int x; public int y; pair(int x_, int y_) { x = x_; y = y_; } } public class Main { public static final int INF = 987654321; static void floyd(int[][] board) { int n = board[0].length; for (int k = 1; k < n; k++) { for (int i = 1; i < n; i++) { for (int j = 1; j < n; j++) { if (i == j) board[i][j] = 0; else board[i][j] = Math.min(board[i][j], board[i][k] + board[k][j]); } } } } static int dist(pair a, pair b) { return Math.abs(a.x - b.x) + Math.abs(a.y - b.y); } public static void main(String[] args) throws IOException { StringBuilder sb = new StringBuilder(); BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st; st = new StringTokenizer(br.readLine()); int tc = Integer.parseInt(st.nextToken()); for (int i = 0; i < tc; i++) { st = new StringTokenizer(br.readLine()); int n = Integer.parseInt(st.nextToken()) + 2; int[][] board = new int[n + 1][n + 1]; for (int j = 0; j < n + 1; j++) { for (int k = 0; k < n + 1; k++) { board[j][k] = INF; } } // 1에서 출발, n에서 도착 ArrayList<pair> store = new ArrayList<>(); for (int j = 1; j < n + 1; j++) { st = new StringTokenizer(br.readLine()); int x = Integer.parseInt(st.nextToken()); int y = Integer.parseInt(st.nextToken()); pair cur = new pair(x, y); store.add(cur); } for (int j = 1; j < n+1; j++) { pair cur = store.get(j-1); for (int k = j+1; k < n+1; k++) { pair next = store.get(k-1); int val = dist(cur, next); if (val <= 1000) { board[j][k] = val; board[k][j] = val; } } } floyd(board); if (board[1][n] == INF) sb.append("sad\n"); else sb.append("happy\n"); } System.out.println(sb); } }
PHP
UTF-8
5,823
2.828125
3
[ "MIT" ]
permissive
<?php use Fabacks\QueryBuilder; final class QueryBuilderTest extends \PHPUnit\Framework\TestCase { public function getBuilder(): QueryBuilder { return new QueryBuilder(); } public function test_simpleQuery() { $q = $this->getBuilder() ->from("users", "u") ->toSQL(); $this->assertEquals("SELECT * FROM users AS u", $q); } public function test_select() { $q = $this->getBuilder() ->select("id", "name", "product") ->from("users"); $this->assertEquals("SELECT id, name, product FROM users", $q->toSQL()); } public function test_select_multiple() { $q = $this->getBuilder() ->select("id", "name") ->from("users") ->select('product'); $this->assertEquals("SELECT id, name, product FROM users", $q->toSQL()); } public function test_select_array() { $q = $this->getBuilder() ->select(["id", "name", "product"]) ->from("users"); $this->assertEquals("SELECT id, name, product FROM users", $q->toSQL()); } public function test_select_clear() { $q = $this->getBuilder() ->select("name, firstname") ->selectClear() ->from("users", "u") ->toSQL(); $this->assertEquals("SELECT * FROM users AS u", $q); $q = $this->getBuilder() ->select("name, firstname") ->selectClear() ->select("name") ->from("users", "u") ->toSQL(); $this->assertEquals("SELECT name FROM users AS u", $q); } public function test_join() { $q = $this->getBuilder() ->select("user.name") ->from("users") ->join("INNER", "user_order", "order", "order.user", "user.id"); $sql = "SELECT user.name FROM users INNER JOIN user_order AS order ON order.user = user.id"; $this->assertEquals($sql, $q->toSQL()); } public function test_where() { $q = $this->getBuilder() ->from("users") ->where("id > 4") ->toSQL(); $this->assertEquals("SELECT * FROM users WHERE id > 4", $q); } public function test_where_multiple() { $q = $this->getBuilder() ->from("users") ->where("id > 4") ->where("age < 15") ->toSQL(); $this->assertEquals("SELECT * FROM users WHERE id > 4 AND age < 15", $q); } public function test_where_parametric() { $q = $this->getBuilder() ->from("users") ->where("id > :id") ->setParam("id", 3) ->toSQL(); $this->assertEquals("SELECT * FROM users WHERE id > 3", $q); } public function test_groupBy() { $q = $this->getBuilder() ->from("users") ->groupBy("nom") ->toSQL(); $this->assertEquals("SELECT * FROM users GROUP BY nom", $q); } public function test_groupBy_multiple() { $q = $this->getBuilder() ->from("users") ->groupBy("nom") ->groupBy("prenom") ->toSQL(); $this->assertEquals("SELECT * FROM users GROUP BY nom, prenom", $q); } public function test_orderBy() { $q = $this->getBuilder() ->from("users", "u") ->orderBy("id", "DESC") ->toSQL(); $this->assertEquals("SELECT * FROM users AS u ORDER BY id DESC", $q); } public function test_orderBy_multiple() { $q = $this->getBuilder() ->from("users") ->orderBy("id", "ezaearz") ->orderBy("name", "desc") ->toSQL(); $this->assertEquals("SELECT * FROM users ORDER BY id, name DESC", $q); } public function test_having() { $q = $this->getBuilder() ->from("users") ->having("age > 10") ->toSQL(); $this->assertEquals("SELECT * FROM users HAVING age > 10", $q); } public function test_having_multiple() { $q = $this->getBuilder() ->from("users") ->having("age > 10") ->having("brother = 2", "AND") ->toSQL(); $this->assertEquals("SELECT * FROM users HAVING age > 10 AND brother = 2", $q); } public function test_limit() { $q = $this->getBuilder() ->from("users") ->limit(10) ->orderBy("id", "DESC") ->toSQL(); $this->assertEquals("SELECT * FROM users ORDER BY id DESC LIMIT 10", $q); } public function test_limitOffset() { $q = $this->getBuilder() ->from("users") ->limit(10, 5) ->orderBy("id", "DESC") ->toSQL(); $this->assertEquals("SELECT * FROM users ORDER BY id DESC LIMIT 10 OFFSET 5", $q); } public function test_offset() { $q = $this->getBuilder() ->from("users") ->limit(10) ->offset(3) ->orderBy("id", "DESC") ->toSQL(); $this->assertEquals("SELECT * FROM users ORDER BY id DESC LIMIT 10 OFFSET 3", $q); } public function test_page() { $q = $this->getBuilder() ->from("users") ->limit(10) ->page(3) ->orderBy("id", "DESC") ->toSQL(); $this->assertEquals("SELECT * FROM users ORDER BY id DESC LIMIT 10 OFFSET 20", $q); $q = $this->getBuilder() ->from("users") ->limit(10) ->page(1) ->orderBy("id", "DESC") ->toSQL(); $this->assertEquals("SELECT * FROM users ORDER BY id DESC LIMIT 10 OFFSET 0", $q); } }
C
ISO-8859-1
697
3.53125
4
[]
no_license
#include <stdio.h> /* vning 11.5, Sida 254 - repetition Bygg en egen version av strcat (se sida 203) Tips: Brja med att ta fram en pekare till nolltecknet i slutet p den text du skall kopiera till Kopiera sedan till detta stlle som strcpy (Sida 254) strcat lgger en textrad i slutet p en annan, text ska f text+tillagg */ void strcat_egen(char *a, const char *b); void strcat_skan(char *till, const char *fran); int main(){ char a[10] = "Kalle"; printf("Innan funktion: %s", a); strcat_egen(a, " Anka"); printf("\nEfter funktion: %s", a); return 0; } void strcat_egen(char *a, const char *b){ while(*a){ a++; } while(*b){ *a = *b; a++; b++; } *a = '\0'; }
Markdown
UTF-8
1,676
2.53125
3
[]
no_license
# Table of contents * [Introduction](README.md) ## Introduction * [Introduction](introduction/introduction.md) * [Course Description](introduction/course-description.md) * [Resources](introduction/resources.md) ## Day 1 * [0 - Environment Setup](day-1/0-environment-setup.md) * [1a - Brief Introduction To Angular](day-1/1a-brief-introduction-to-angular.md) * [1b - Brief Introduction To Angular](day-1/1b-brief-introduction-to-angular.md) * [1c - Brief Introduction To Angular](day-1/1c-brief-introduction-to-angular.md) * [2 - Creating an Nx Workspace](day-1/2-creating-an-nx-workspace.md) * [3 - Generating components and Nx lib](day-1/3-generating-components-and-nx-lib.md) * [4 - Add JSON server](day-1/4-add-json-server.md) * [5 - Angular Services](day-1/5-angular-services.md) * [6 - Angular Material](day-1/6-angular-material.md) * [7 - Reactive Forms](day-1/7-reactive-forms.md) * [8 - Layout Lib and BehaviorSubjects](day-1/8-layout-lib-and-behaviorsubjects.md) * [9 - Route Guards and Products Lib](day-1/9-route-guards-and-products-lib.md) * [10 - NgRx Introduction](day-1/10-ngrx-introduction.md) ## Day 2 * [11 - Adding NgRx to Nx App](day-2/11-adding-ngrx-to-nx-app.md) * [12 - NgRx Libs and Action Creators](day-2/12-nx-state-libs.md) * [13 - NgRx Effects](day-2/13-ngrx-effects.md) * [14 - NgRx Selectors](day-2/14-ngrx-selectors.md) * [15 - Add Products NgRx Feature Module](day-2/15-ngrx-products.md) * [16 - Entity State Adapter](day-2/16-entity-state-adapter.md) * [17 - Router Store](day-2/17-router-store.md) * [18 - Unit and e2e Tests](day-2/18-unit-and-e2e-tests.md) * [19 - Deploying An Nx Monorepo](day-2/19-deploying-an-nx-monorepo.md)
Python
UTF-8
2,941
3.359375
3
[]
no_license
import csv import numpy as np import pandas as pd import matplotlib.pyplot as plt import scipy.stats as stats ##read the given data sheet in csv and place the columns in separate lists class Statistic_Analysis: def __init__(self): self.x1 = [] self.x2 = [] self.x3 = [] self.x4 = [] self.x5 = [] self.var_y = [] self.df = [] def read_csv(self): reader = csv.reader(open('./rraman2.csv','r'),delimiter=',') ##change file name here columns = list(zip(*reader)) self.x1 = [float(i) for i in columns[0]] self.x2 = [float(i) for i in columns[1]] self.x3 = [float(i) for i in columns[2]] self.x4 = [float(i) for i in columns[3]] self.x5 = [float(i) for i in columns[4]] self.var_y = [float(i) for i in columns[5]] self.df = pd.read_csv("./rraman2.csv", sep=',', header=None) def histogram(self,arr,i): plt.style.use('fivethirtyeight') binwidth = 1 n, bins, patches = plt.hist(arr,bins= range(int(min(arr)), int(max(arr)) + binwidth, binwidth), histtype='bar', align='mid', color='#DC143C',edgecolor='white') plt.xlabel('x') plt.title('Histogram-x'+str(i)) plt.savefig('./histo_x'+str(i)) plt.clf() def mean(self): mean = [] mean.append(sum(self.x1)/len(self.x1)) mean.append(sum(self.x2)/len(self.x2)) mean.append(sum(self.x3)/len(self.x3)) mean.append(sum(self.x4)/len(self.x4)) mean.append(sum(self.x5)/len(self.x5)) return mean def variance(self): var_x = [] var_x.append(np.var(self.x1)) var_x.append(np.var(self.x2)) var_x.append(np.var(self.x3)) var_x.append(np.var(self.x4)) var_x.append(np.var(self.x5)) return var_x def boxplot(self,arr,i): plt.style.use('fivethirtyeight') res = plt.boxplot(arr,0) plt.xlabel('x') plt.title('Boxplot-x'+str(i)) plt.savefig('./boxplot_x'+str(i)) plt.clf() def z_score(self): z = np.abs(stats.zscore(self.df)) df1 = self.df[(z < 2).all(axis=1)] return df1 def correlation(self): arr = [self.df[5],self.df[0],self.df[1],self.df[2],self.df[3],self.df[4]] co_matrix = np.corrcoef(arr) return co_matrix st = Statistic_Analysis() st.read_csv() ##calculate histogram for all x values st.histogram(st.x1,1) st.histogram(st.x2,2) st.histogram(st.x3,3) st.histogram(st.x4,4) st.histogram(st.x5,5) ##calculate mean for all x values mean_x = st.mean() print("mean of x1 to x5:", mean_x) ##variance for all x values variance_x = st.variance() print("variance of x values:", variance_x) ##calculate boxplots for all x values, detect outliers and return arrays without outliers st.boxplot(st.x1,1) st.boxplot(st.x2,2) st.boxplot(st.x3,3) st.boxplot(st.x4,4) st.boxplot(st.x5,5) st.df = st.z_score() st.boxplot(st.df[0],6) st.boxplot(st.df[1],7) st.boxplot(st.df[2],8) st.boxplot(st.df[3],9) st.boxplot(st.df[4],10) ##co-relation matrices co_matrix = st.correlation() print(co_matrix) st.df.columns = ['x1', 'x2', 'x3','x4','x5','y'] st.df.to_csv('./rraman2_1.csv',index=False)
C#
UTF-8
10,508
2.640625
3
[]
no_license
using System; using System.Linq; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Media; using System.Windows.Shapes; using ViewModel; namespace View { public partial class MainWindow : Window { private bool _isDrawing; private void Draw(Canvas canvas, double x, double y) { int numberOfColumns = 20; int numberOfRows = 20; double sizeX = (canvas.Width / numberOfColumns); double sizeY = (canvas.Height / numberOfRows); double marginLeft = (int)(x / sizeX) * sizeX; double marginTop = (int)(y / sizeY) * sizeY; var context = DataContext as MainViewModel; var color = (byte) context.BrushBrightness; context.SourceModel[(int) (y / sizeY)][(int) (x / sizeX)] = color; Rectangle rect = new Rectangle { Height = canvas.Height / numberOfRows, Width = canvas.Width / numberOfColumns, Fill = new SolidColorBrush(Color.FromRgb(color, color, color)), Margin = new Thickness(marginLeft, marginTop, 0, 0) }; canvas.Children.Add(rect); if (ShowValuesCheckBox.IsChecked == true) { canvas.Children.Add(new Label() { Content = context.SourceModel[(int) (y / sizeY)][(int) (x / sizeX)], Margin = new Thickness(marginLeft - 3, marginTop - 3, 0, 0), Foreground = GetFontColor(context.SourceModel[(int) (y / sizeY)][(int) (x / sizeX)]), FontSize = 9, HorizontalContentAlignment = HorizontalAlignment.Left, VerticalContentAlignment = VerticalAlignment.Center }); } } private Brush GetFontColor(int colorBrightness) { if (colorBrightness < 127) { return Brushes.White; } else { return Brushes.Black; } } private void DrawGrid(Canvas canvas) { int numberOfColumns = 20; int numberOfRows = 20; double sizeX = (canvas.Width / numberOfColumns); double sizeY = (canvas.Height / numberOfRows); for (int i = 1; i < numberOfColumns; i++) { Line line = new Line { X1 = sizeX * i, Y1 = canvas.Margin.Top, X2 = sizeX * i, Y2 = canvas.Height + canvas.Margin.Top, Stroke = Brushes.DarkGray, StrokeThickness = 0.5, StrokeDashArray = {6, 3} }; Panel.SetZIndex(line, 10); canvas.Children.Add(line); } for (int i = 1; i < numberOfRows; i++) { Line line = new Line { Y1 = sizeX * i, X1 = canvas.Margin.Top, Y2 = sizeX * i, X2 = canvas.Width + canvas.Margin.Top, Stroke = Brushes.DarkGray, StrokeThickness = 0.5, StrokeDashArray = {6, 3} }; Panel.SetZIndex(line, 10); canvas.Children.Add(line); } } private void DrawCanvas_OnPreviewMouseDown(object sender, MouseButtonEventArgs e) { double cursorX = e.GetPosition(DrawCanvas).X; double cursorY = e.GetPosition(DrawCanvas).Y; Mouse.Capture(DrawCanvas); _isDrawing = true; if (cursorX < DrawCanvas.Width && cursorY < DrawCanvas.Height && cursorX > 0 && cursorY > 0) { Draw(DrawCanvas, cursorX, cursorY); } } private void DrawCanvas_OnPreviewMouseMove(object sender, MouseEventArgs e) { double cursorX = e.GetPosition(DrawCanvas).X; double cursorY = e.GetPosition(DrawCanvas).Y; if (!_isDrawing) return; if (cursorX < DrawCanvas.Width && cursorY < DrawCanvas.Height && cursorX > 0 && cursorY > 0) { Draw(DrawCanvas, cursorX, cursorY); } } private void DrawCanvas_OnPreviewMouseUp(object sender, MouseButtonEventArgs e) { double cursorX = e.GetPosition(DrawCanvas).X; double cursorY = e.GetPosition(DrawCanvas).Y; if (cursorX < DrawCanvas.Width && cursorY < DrawCanvas.Height && cursorX > 0 && cursorY > 0) { Draw(DrawCanvas, cursorX, cursorY); } _isDrawing = false; Mouse.Capture(null); } private void ClearCanvasButton_OnPreviewMouseDown(object sender, MouseButtonEventArgs e) { RemoveRectangles(DrawCanvas); RemoveRectangles(ResultCanvas); var context = DataContext as MainViewModel; for (int i = 0; i < 20; i++) { for (int j = 0; j < 20; j++) { context.SourceModel[i][j] = 255; context.ResultModel[i][j] = 255; } } } private void DrawCanvas_OnInitialized(object sender, EventArgs e) { DrawGrid(sender as Canvas); } private void ShowValuesCheckBox_OnClick(object sender, RoutedEventArgs e) { RemoveLabels(DrawCanvas); RemoveLabels(ResultCanvas); if (ShowValuesCheckBox.IsChecked == true) { var context = DataContext as MainViewModel; DrawLabels(DrawCanvas, context.SourceModel); DrawLabels(ResultCanvas, context.ResultModel); } } private void RemoveLabels(Canvas canvas) { for (int i = canvas.Children.Count - 1; i >= 0; i--) { if (canvas.Children[i] is Label) { canvas.Children.RemoveAt(i); } } } private void DrawLabels(Canvas canvas, int[][] model) { int numberOfColumns = 20; int numberOfRows = 20; double sizeX = (canvas.Width / numberOfColumns); double sizeY = (canvas.Height / numberOfRows); for (int i = 0; i < model.Length; i++) { for (int j = 0; j < model[i].Length; j++) { if (model[i][j] != 255) { double marginLeft = j * sizeX; double marginTop = i * sizeY; canvas.Children.Add(new Label() { Content = model[i][j], Margin = new Thickness(marginLeft - 3, marginTop - 3, 0, 0), Foreground = GetFontColor(model[i][j]), FontSize = 9, HorizontalContentAlignment = HorizontalAlignment.Left, VerticalContentAlignment = VerticalAlignment.Center }); } } } } private void DrawImageModel(Canvas canvas, int x, int y, byte color) { int numberOfColumns = 20; int numberOfRows = 20; double sizeX = (canvas.Width / numberOfColumns); double sizeY = (canvas.Height / numberOfRows); Rectangle rect = new Rectangle { Height = canvas.Height / numberOfRows, Width = canvas.Width / numberOfColumns, Fill = new SolidColorBrush(Color.FromRgb(color, color, color)), Margin = new Thickness(x * sizeX + 1, y * sizeY + 1, (x + 1) * sizeX - 1, (y + 1) * sizeY - 1) }; canvas.Children.Add(rect); } private void ApplyMask_OnClick(object sender, RoutedEventArgs e) { RemoveRectangles(ResultCanvas); var context = DataContext as MainViewModel; context.ApplyMask(); for (int i = 0; i < context.ResultModel.Length; i++) { for (int j = 0; j < context.ResultModel[i].Length; j++) { DrawImageModel(ResultCanvas, j, i, (byte)context.ResultModel[i][j]); } } if (ShowValuesCheckBox.IsChecked == true) DrawLabels(ResultCanvas, context.ResultModel); } private void ApplyMaskToResult_OnClick(object sender, RoutedEventArgs e) { RemoveRectangles(DrawCanvas); RemoveRectangles(ResultCanvas); var context = DataContext as MainViewModel; context.ApplyMaskToResult(); for (int i = 0; i < context.ResultModel.Length; i++) { for (int j = 0; j < context.ResultModel[i].Length; j++) { DrawImageModel(ResultCanvas, j, i, (byte)context.ResultModel[i][j]); DrawImageModel(DrawCanvas, j, i, (byte)context.SourceModel[i][j]); } } if (ShowValuesCheckBox.IsChecked == true) { DrawLabels(DrawCanvas, context.SourceModel); DrawLabels(ResultCanvas, context.ResultModel); } } private void RemoveRectangles(Canvas canvas) { for (int i = canvas.Children.Count - 1; i >= 0; i--) { if (canvas.Children[i] is Rectangle || canvas.Children[i] is Label) canvas.Children.RemoveAt(i); } } } }
C++
UTF-8
599
2.515625
3
[]
no_license
#include <cstdio> #define LL long long LL st,el,n,nrz,sc; LL gauss(LL n) { return (n*(n+1LL))/2LL; } LL sum(LL a, LL b) { return gauss(b)-gauss(a-1LL); } int main() { freopen("numere5.in","r",stdin); freopen("numere5.out","w",stdout); scanf("%lld",&n); for(int i=1; i<=n; ++i) for(int j=1; j<=n; ++j) { scanf("%lld",&el); if(0==el) ++nrz; else st+=el; } //fprintf(stderr,"%d",sum(2,4)); sc=sum(1,n*n); for(int i=1; i<=n*n; ++i) if(sum(i,i+nrz-1)+st==sc) { printf("%d %d",i,i+nrz-1); return 0; } return 0; }
Swift
UTF-8
2,624
2.921875
3
[]
no_license
// // FeedView.swift // MySNS // // Created by 박연배 on 2021/07/16. // import SwiftUI import PhotosUI struct FeedView: View { @State private var addPostButtonClicked = false @ObservedObject var feedViewModel: FeedViewModel var body: some View { ScrollView(.vertical, showsIndicators: false, content: { ZStack(alignment: Alignment(horizontal: .center, vertical: .top)) { LazyVStack(spacing: 32) { ForEach(feedViewModel.posts) { post in PostView(viewModel: FeedCellViewModel(post: post)) } } .padding(.top) } // MARK: 네비게이션 바 렌더링 파트 .navigationBarTitle("", displayMode: .inline) .navigationBarItems(leading: Text("Feed") .font(.title2) .fontWeight(.bold) .foregroundColor(.primary), trailing: HStack(spacing: 18) { // 새 게시물 올리기 창으로 이동 Button(action: { addPostButtonClicked = true }, label: { Image(systemName: "plus.app") }) // 알림창으로 이동 NavigationLink( destination: NotificationView(), label: { Image(systemName: "heart") }) // 메시지창으로 이동 NavigationLink( destination: MessageList().navigationBarTitle("메시지", displayMode: .inline), label: { Image(systemName: "paperplane") }) }.foregroundColor(.primary).font(.title3)) .fullScreenCover(isPresented: $addPostButtonClicked, content: { UploadPostView() }) }) // .onAppear { // DispatchQueue.global().sync { // feedViewModel.refreshPost() // } // } } }
Swift
UTF-8
3,856
2.671875
3
[ "MIT" ]
permissive
// // ReportComposer.swift // MileageTracker // // Created by Vlad Alexandru on 04/04/2017. // Copyright © 2017 Vlad Alexandru. All rights reserved. // import UIKit class ReportComposer: NSObject { let pathToReportHTMLTemplate = Bundle.main.path(forResource: "raport", ofType: "html") let pathToSingleItemHTMLTemplate = Bundle.main.path(forResource: "single_item", ofType: "html") var month: String! var pdfFilename: String! override init() { super.init() } func renderReport(car: String, driver: String, date: String, items: [Trip]) -> String! { self.month = date do { var HTMLContent = try String(contentsOfFile: pathToReportHTMLTemplate!) HTMLContent = HTMLContent.replacingOccurrences(of: "#SOFER#", with: driver) HTMLContent = HTMLContent.replacingOccurrences(of: "#LUNA_RAPORT#", with: date) HTMLContent = HTMLContent.replacingOccurrences(of: "#AUTOVEHICUL#", with: car) var allItems = "" var total = 0.0 for item in items { var itemHTMLContent = try String(contentsOfFile: pathToSingleItemHTMLTemplate!) itemHTMLContent = itemHTMLContent.replacingOccurrences(of: "#ADRESA_PLECARE#", with: (item.startPlace != nil) ? item.startPlace! : "") itemHTMLContent = itemHTMLContent.replacingOccurrences(of: "#DATA_PLECARE#", with: item.startTime.toDateString()) itemHTMLContent = itemHTMLContent.replacingOccurrences(of: "#ORA_PLECARE#", with: item.startTime.toHourString()) itemHTMLContent = itemHTMLContent.replacingOccurrences(of: "#ADRESA_SOSIRE#", with: (item.endPlace != nil) ? item.endPlace! : "") itemHTMLContent = itemHTMLContent.replacingOccurrences(of: "#DATA_SOSIRE#", with: item.endTime.toDateString()) itemHTMLContent = itemHTMLContent.replacingOccurrences(of: "#ORA_SOSIRE#", with: item.endTime.toHourString()) itemHTMLContent = itemHTMLContent.replacingOccurrences(of: "#DISTANTA#", with: "\((item.distance/1000).roundTo(places: 2))") allItems += itemHTMLContent total += item.distance } HTMLContent = HTMLContent.replacingOccurrences(of: "#TOTAL#", with: "\((total/1000).roundTo(places: 2))") // Set the items. HTMLContent = HTMLContent.replacingOccurrences(of: "#ITEMS#", with: allItems) // The HTML code is ready. return HTMLContent } catch { print("Unable to open and use HTML template files.") } return nil } func exportHTMLContentToPDF(HTMLContent: String) { let printPageRenderer = CustomPrintPageRenderer() let printFormatter = UIMarkupTextPrintFormatter(markupText: HTMLContent) printPageRenderer.addPrintFormatter(printFormatter, startingAtPageAt: 0) let pdfData = drawPDFUsingPrintPageRenderer(printPageRenderer: printPageRenderer) pdfFilename = "\(AppDelegate.getAppDelegate().getDocDir())/Raport\(month).pdf" pdfData?.write(toFile: pdfFilename, atomically: true) print(pdfFilename) } func drawPDFUsingPrintPageRenderer(printPageRenderer: UIPrintPageRenderer) -> NSData! { let data = NSMutableData() UIGraphicsBeginPDFContextToData(data, CGRect.zero, nil) for i in 1...printPageRenderer.numberOfPages { UIGraphicsBeginPDFPage() printPageRenderer.drawPage(at: i-1, in: UIGraphicsGetPDFContextBounds()) } UIGraphicsEndPDFContext() return data } }
C++
UTF-8
2,503
2.75
3
[]
no_license
#pragma once #include "WIN_Container.h" #include "PAINT_ColourDisplay.h" #include "WIN_Button.h" #include "WIN_ColourValueTextbox.h" #include "WIN_ColourSlider.h" namespace paint { class DrawWindow; class ColourPicker final : public win::Container { public: ColourPicker() = delete; ColourPicker(gfx::Rectangle rect, win::SDLRenderer* renderer, std::shared_ptr<DrawWindow> drawWindow); ~ColourPicker() = default; ColourPicker(const ColourPicker & that) = default; ColourPicker(ColourPicker && that) = default; ColourPicker& operator=(const ColourPicker & that) = default; ColourPicker& operator=(ColourPicker && that) = default; std::shared_ptr<win::ColourValueTextbox> getRedValueBox() const { return redValueBox_; } std::shared_ptr<win::ColourValueTextbox> getGreenValueBox() const { return greenValueBox_; } std::shared_ptr<win::ColourValueTextbox> getBlueValueBox() const { return blueValueBox_; } std::shared_ptr<win::ColourValueTextbox> getAlphaValueBox() const { return alphaValueBox_; } void setActiveColourInDrawWindow() const; void primaryActiveSwitchInBoxSlider() const; void swapActiveColour() const; void swappedDisplaysSwitch() { swappedDisplays_ = !swappedDisplays_; } void updateColourDisplaysFromDrawWindow() const; void update() override; void updateAndRerender(win::SDLRenderer* renderer) override; void draw(win::SDLRenderer* renderer) override; private: std::shared_ptr<DrawWindow> drawWindowPtr_; std::shared_ptr<Container> displayBox_; std::shared_ptr<ColourDisplay> leftColourDisplay_; std::shared_ptr<ColourDisplay> rightColourDisplay_; std::shared_ptr<win::Button> swapButton_; bool swappedDisplays_; std::shared_ptr<Container> colourValuesBox_; std::shared_ptr<win::ColourValueTextbox> redValueBox_; std::shared_ptr<win::ColourValueTextbox> greenValueBox_; std::shared_ptr<win::ColourValueTextbox> blueValueBox_; std::shared_ptr<win::ColourValueTextbox> alphaValueBox_; std::shared_ptr<Container> colourSliders_; std::shared_ptr<win::ColourSlider> redValueSlider_; std::shared_ptr<win::ColourSlider> greenValueSlider_; std::shared_ptr<win::ColourSlider> blueValueSlider_; std::shared_ptr<win::ColourSlider> alphaValueSlider_; inline void initialiseColourDisplays(); inline void initialiseColourValueBoxes(); inline void initialiseColourSliders(); //void updateColourDisplays() const; void updateColourValueBoxes() const; void updateColourSliders() const; }; }
Python
UTF-8
799
3.8125
4
[]
no_license
#! /usr/bin/python3 # O comando acima trata-se de uma sheebang para a execução do arquivo no linux (necessario permissao de execução do arquivo) palavras = 'Palavras ao vento, são só palavras' lista = ['jovem', 'valor', 'aula', 'comida', 'horario'] # Divide de acordo com o argumento passado palavras.split('p') # Retorna a posição do valor argumentado em index lista.index('comida') # Adicionar elementos ao final da lista lista.append('item') # Adicionar elementos em qualquer ponto da lista (Pirmeiro argumento é a posição) lista.insert(0, 'Posição') # Remover itens pelo nome lista.remove('item') # Remove itens pela index, no caso posição 0 lista.pop(0) # Imprime a lista organizada lista.sort() print(lista) # Imprime a lista reversa lista.sort(reverse=1) print(lista)
Java
UTF-8
1,593
4.25
4
[]
no_license
package main.二叉树; //请实现一个函数,用来判断一颗二叉树是不是对称的。注意,如果一个二叉树同此二叉树的镜像是同样的,定义其为对称的。 //前序遍历: 根左右 根节点肯定是前序遍历的第一个数 //中序遍历: 中序遍历就是先访问树的左子节点,再访问树的根节点,再访问右子节点 //思路 我们遍历二叉树从根向下,所以保持根一致,然后确保左右值一样 //由于前序遍历 为前左右 //我们定义对称前序遍历 为前右左 //如果左右与右左保持一致,则对称 public class Binary5 { public class TreeNode { int val = 0; TreeNode left = null; TreeNode right = null; public TreeNode(int val) { this.val = val; } } boolean isSymmetrical(TreeNode pRoot) { return isSame(pRoot,pRoot); } private boolean isSame(TreeNode pRoot,TreeNode pRoot2){ if(pRoot ==null && pRoot2==null) //当遍历到最后 则都为ture return true; if(pRoot ==null || pRoot2==null) //这边主要是遇到 类似相同数字的二叉树,例 7777777null,777777null7 return false; if(pRoot.val != pRoot2.val){ return false; //每一次递归进来都要对值进行判断 只判断上面两个条件还是不够的 } return isSame(pRoot.left,pRoot2.right)&&isSame(pRoot.right,pRoot2.left); //左边前序遍历,右边对称前序遍历 递归思想 } public static void main(String arg[]) { } }
Python
UTF-8
2,366
2.765625
3
[]
no_license
import numpy as np import matplotlib.pyplot as plt import pandas as pd import sys # Default Values n = 100 M = 5 nk = 500 u0 = 5 p = 0.25 Msig = 0.2 try: n = int(sys.argv[1]) M = int(sys.argv[2]) nk = int(sys.argv[3]) u0 = float(sys.argv[4]) p = float(sys.argv[5]) Msig = float(sys.argv[6]) except: print('Simulating with Default Values.') # Initializing Vectors xx = np.zeros(n*M) u = np.zeros(n*M) dx = np.zeros(n*M) I = [] X = [] V = [] for i in range(nk): # Updating the vectors ii = np.where(xx>0)[0] dx[ii] = u[ii] + 0.5 xx[ii] = xx[ii] + dx[ii] u[ii] = u[ii] + 1 # Checking if electrons reached anode and resetting vectors reached_anode = np.where(xx > n)[0] xx[reached_anode] = 0 u[reached_anode] = 0 dx[reached_anode] = 0 # Checking if velocity more than theshold kk = np.where(u>u0)[0] ll = np.where(np.random.randn(len(kk))<=p)[0] kl = kk[ll] u[kl] = 0 xx[kl] = xx[kl] - dx[kl]*np.random.rand() I.extend(xx[kl].tolist()) m = int(np.random.randn()*Msig+M) # Injecting electrons in each turn free_slots = np.where(xx==0)[0] # Checking if number of free bins are greater than m if len(free_slots)>=m: xx[free_slots[np.random.randint(len(free_slots)):np.random.randint(len(free_slots))+m]] = 1 u[free_slots[np.random.randint(len(free_slots)):np.random.randint(len(free_slots))+m]] = 0 else: xx[free_slots] = 1 u[free_slots] = 0 remaining_electrons = np.where(xx>0)[0] X.extend(xx[remaining_electrons].tolist()) V.extend(u[remaining_electrons].tolist()) # Plotting Electron Density and Intensity Histograms fig, axes = plt.subplots(1,2, figsize = (15,5)) axes[0].hist(X,bins=np.arange(1,100), ec = 'black') axes[0].title.set_text('Electron Density Histogram') axes[0].set_xlabel('Bin Number') axes[1].hist(I,bins=np.arange(1,100), ec = 'black') axes[1].title.set_text('Light Intensity Histogram') axes[1].set_xlabel('Bin Number') plt.show() # Plotting Electron Space Phase Plot plt.plot(xx, u, '*') plt.xlabel('Position') plt.ylabel('Velocity') plt.title('Electron Phase Space Plot') plt.show() # Printing Intensity Table a,bins,_=plt.hist(I,bins=np.arange(1,100),ec='black') xpos=0.5*(bins[0:-1]+bins[1:]) d={'Position':xpos,'Count':a} p=pd.DataFrame(d) print(p)
C#
UTF-8
2,183
2.71875
3
[ "MIT" ]
permissive
using MvvmLib.Logger; using System; using System.Windows; using System.Windows.Controls; namespace MvvmLib.Navigation { /// <summary> /// <see cref="NavigationSource"/> for <see cref="ContentControl"/>. /// </summary> public class ContentControlNavigationSource : NavigationSource { private readonly string sourceName; /// <summary> /// The navigation source name. /// </summary> public string SourceName { get { return sourceName; } } private ContentControl control; /// <summary> /// The ContentControl. /// </summary> public ContentControl Control { get { return control; } } /// <summary> /// Creates the <see cref="ContentControlNavigationSource"/>. /// </summary> /// <param name="sourceName">The navigation source name</param> /// <param name="control">The ContentControl</param> public ContentControlNavigationSource(string sourceName, ContentControl control) { if (sourceName == null) throw new ArgumentNullException(nameof(sourceName)); if (control == null) throw new ArgumentNullException(nameof(control)); this.sourceName = sourceName; this.control = control; this.control.Unloaded += OnContentControlUnloaded; } private void OnContentControlUnloaded(object sender, RoutedEventArgs e) { this.control.Unloaded -= OnContentControlUnloaded; if (!NavigationManager.RemoveNavigationSource(sourceName, this)) Logger.Log($"Unable to unregister a ControlControlNavigationSource for the source name \"{SourceName}\" on control unloaded", Category.Debug, Priority.High); } /// <summary> /// Changes the content of the ContentControl. /// </summary> /// <param name="source">The new source</param> protected override void SetCurrent(object source) { base.SetCurrent(source); this.control.Content = source; } } }
Python
UTF-8
286
2.515625
3
[ "BSD-2-Clause" ]
permissive
from .S2Location import S2Location from .terms import SBOL2 class S2GenericLocation(S2Location): def __init__(self, g, uri): super(S2GenericLocation, self).__init__(g, uri) @property def orientation(self): return self.get_uri_property(SBOL2.orientation)
Java
UTF-8
129
1.984375
2
[]
no_license
package Inherit; public interface innerface2 { public void method4(); public void method5(); public void method6(); }
PHP
UTF-8
8,147
2.578125
3
[]
no_license
<?php #require_once dirname(__FILE__).'/modelResultSet.php'; #require_once dirname(__FILE__).'/modelField.php'; class modelCollection implements ArrayAccess{ private static $_instances = array(); private static $_idInstances = array(); protected $_modelName = null; // helper //protected $_helper = null; // model instance protected $_uniqueId = null; protected $_filters = array(); protected $_filtersEnabled = true; protected static $_defaultValues = array(); protected $_joinOn = array(); protected $_itemsByPage = 25; // pager support (LIMIT replacement) public function setItemsByPage($itemsByPage){ $this->_itemsByPage = $itemsByPage; } public function getItemsByPage(){ return $this->_itemsByPage; } public static function setIdInstance($id, &$instance){ self::$_idInstances[$id] = $instance; } public static function &getInstanceById($id){ if (isset(self::$_idInstances[$id])){ return self::$_idInstances[$id]; } return false; } public function exists(){ $exists = false; //$this->getStorage()->getDriver()->disableAutoRepair(); // "select * from tablename where 1=2" if ($this->internalQuery('SELECT * FROM '.$this->getStorage()->getDriver()->quoteField($this->getTableName()).' WHERE 1=2')){ $exists = true; } //$this->getStorage()->getDriver()->enableAutoRepair(); return $exists; } public function internalQuery($sql){ return $this->getStorage()->internalQuery($sql); } public function &setJoinOn($table2, $on = ''){ if (strlen($on)){ $this->_joinOn[$table2->getUniqueId()] = $on; } return $this; } public function getJoinOn($table2){ return isset($this->_joinOn[$table2->getUniqueId()])?$this->_joinOn[$table2->getUniqueId()]:null; } public function setDefaultFieldValue(){ // @todo } public function q($sql){ return $this->getStorage()->query($sql); } public function addFilter($filter){ $this->_filters[] = $filter; return $this; } public function resetFilters(){ $this->_filters = array(); return $this; } public function disableFilters(){ $this->_filtersEnabled = false; } public function enableFilters(){ $this->_filtersEnabled = true; } public function e($string){ return $this->getStorage()->quote($string); } public function getFilters(){ if ($this->_filtersEnabled){ return $this->_filters; } return array(); } public function getModelClass(){ return $this->_modelName; } public function getCreateSql(){ return $this->getHelper()->getCreateSql(); } public function offsetExists($offset){ return in_array($offset, $this->getFieldNames()); } public function __toString(){ return $this->getUniqueId(); } public function getTableName(){ $tableName = storageRegistry::getInstance()->modelSettings[$this->_modelName]['table']; return is_string($tableName)?$tableName:false; } public function offsetGet($offset){ return new modelField($this, $offset); } public function offsetSet($offset, $value){ } public function offsetUnset($offset){ } public function __get($name){ $fields = $this->getHelper()->getFieldNames(); if (isset($fields[$name])){ return new modelField($this, $fields[$name]); } return null; } public static function getDefaultValue($modelName, $propertyName, $default = null){ if (isset(self::$_defaultValues[$modelName])){ if (isset(self::$_defaultValues[$modelName][$propertyName])){ return self::$_defaultValues[$modelName][$propertyName]; } } return $default; } public function __set($name, $value){ // Set default value self::$_defaultValues[$this->_modelName][$name] = $value; } public function select(){ $args = func_get_args(); $fields = false; $aggregation = false; foreach ($args as $arg){ if ($arg instanceof modelField){ if ($arg->getCollection()->getTableName() == $this->getTableName()){ $fields = true; } } if ($arg instanceof modelAggregation){ $aggregation = true; } } if (!$fields && !$aggregation){ array_unshift($args, $this); } $result = new modelResultSet(); $result->setStorageSource($this); call_user_func_array(array($result, 'select'), $args); return $result; } public function getFieldNames(){ return $this->getHelper()->getFieldNames(); } public function getForeignKeys(){ return $this->getHelper()->getForeignKeys(); } public function getStorage(){ static $storage = array(); if (!isset($storage[$this->_modelName])){ $storage[$this->_modelName] = $this->getHelper()->getStorage(); if ($storage[$this->_modelName] instanceof registry){ throw new Exception('storage for '.$this->_modelName.' not registered'); } } return $storage[$this->_modelName]; } public function getConnection(){ return $this->getStorage()->getConnection(); } public function getUniqueId(){ if ($this->_uniqueId === null){ $this->_uniqueId = kanon::getUniqueId(); } return $this->_uniqueId; } private function __construct($modelName){ $this->_modelName = $modelName; } /** * @return model */ public function getHelper(){ static $helpers = array(); if (!isset($helpers[$this->_modelName])){ if (!class_exists($this->_modelName)){ throw new Exception('class "'.$this->_modelName.'" not exists'); } if (!( is_subclass_of($this->_modelName, 'model') )){ throw new Exception($this->_modelName.' is not a model'); } $helpers[$this->_modelName] = new $this->_modelName; } return $helpers[$this->_modelName]; /* if ($this->_helper === null){ $this->_helper = new $this->_modelName; } return $this->_helper; */ } public function getPrimaryKey(){ return $this->getHelper()->getPrimaryKey(); } public function findOne(){ $args = func_get_args(); $list = call_user_func_array(array($this, 'find'), $args); return $list->fetch(); } public function find(){ $args = func_get_args(); $pk = $this->getPrimaryKey(); $pkValues = array(); $expressions = array(); foreach ($args as $arg){ if ($arg instanceof modelExpression){ $expressions[] = $arg; }else{ $pkValues[] = $arg; } } $list = $this->select(); foreach ($pk as $fieldName){ $list->where($this->{$fieldName}->is(array_shift($pkValues))); } foreach ($expressions as $expression){ $list->where($expression); } return $list; } /** * * @param string $modelName * @return modelCollection */ public static function &getInstance($modelName){ if (!isset(self::$_instances[$modelName])){ self::$_instances[$modelName] = new self($modelName); self::setIdInstance(self::$_instances[$modelName]->getUniqueId(), self::$_instances[$modelName]); } return self::$_instances[$modelName]; } }
Java
WINDOWS-1250
1,888
2.984375
3
[]
no_license
package ch.hszt.hs_2011.aud.exercise_05; import java.util.*; public final class Task2Samples { public static void main(String[] args) { System.out.println("Uebung 3 - Aufgabe 2"); System.out.println("--------------------"); System.out.println(); Task2 task2Book1 = new Task2Impl_Luethi (new Task2.Author[] {new Task2.Author("Dieter", "Bohlen")}, "Nichts als die Wahrheit", "3-453-86143-4", "Heyne", new Date(), 10.00); Task2 task2Book2 = new Task2Impl_Luethi (new Task2.Author[] {new Task2.Author("Nadja", "Abd El Farrag")}, "Ungelogen (k)eine Liebesgeschichte", "3-7766-2339-X", "Herbig", new Date(), 0.52); Task2 task2Book3 = new Task2Impl_Luethi (new Task2.Author[] {new Task2.Author("Verona", "Pooth"), new Task2.Author("Verona", "Feldbusch")}, "Der kleine Feldbusch", "342666139X", "Knaur", new Date(), 0.19); printSample(task2Book1); printSample(task2Book2); printSample(task2Book3); System.out.println(""); System.out.println("equals:"); System.out.println("Book 1 equals Book 2? " + task2Book1.equals(task2Book2)); System.out.println("Book 2 equals Book 1? " + task2Book2.equals(task2Book1)); System.out.println("Book 3 equals Book 3? " + task2Book3.equals(task2Book3)); System.out.println(); System.out.println("compareTo"); } private static void printSample(Task2 sample) { System.out.println(sample); } }
Python
UTF-8
6,174
2.65625
3
[ "Apache-2.0" ]
permissive
'''helpers for getting/setting/making/locking attributes on maya nodes''' import maya.cmds as cmds import maya.mel as mel def visOveride(obj,value): '''hides node using vis override, so unhide all won't unhide''' cmds.setAttr(obj+'.overrideEnabled',1) cmds.setAttr(obj+'.overrideVisibility',value) def hideAnimChannels(obj,lock=False): '''hide anim channels on given obj''' for attr in ('s','r','t'): for axis in ('x','y','z'): cmds.setAttr(obj+'.%s%s'%(attr,axis), keyable=False,channelBox=False,lock=lock) cmds.setAttr(obj+'.v', keyable=False,channelBox=False) def matchAttr(src,target,attr): '''match the attr on the target to the same attr on src. Will work through locks.''' if not cmds.objExists(src+'.'+attr): raise RuntimeError('Source object.attr not found: %s.%s'%(src,attr)) srcType = cmds.getAttr(src+'.'+attr,type=True) if not cmds.objExists(target+'.'+attr): raise RuntimeError('target object.attr not found: %s.%s'%(src,attr)) targetType = cmds.getAttr(target+'.'+attr,type=True) if not srcType == targetType: raise RuntimeError('src and target attrs not the same type') locked = False if cmds.getAttr(target+'.'+attr, lock=True): locked = True cmds.setAttr(target+'.'+attr, lock=False) if srcType == 'string': val = cmds.getAttr(src + '.%s' % attr) print 'setting target to ' , target, attr,val cmds.setAttr(target+'.%s' % attr, val, type='string') else: if attr in 'srt': for axis in 'xyz ': cmds.setAttr(target+'.%s%s'%(attr,axis), cmds.getAttr(src+'%s.%s'%(attr,axis))) else: cmds.setAttr(target+'.%s'%attr, cmds.getAttr(src+'.%s'%attr)) if locked: cmds.setAttr(target+'.'+attr, lock=True) def lockAndHide(obj, attrs): '''given an object and a list of attrs, lock and hide those attrs''' for aa in attrs: cmds.setAttr(obj+'.'+aa, k=False, l=True ) if (aa=='r'): cmds.setAttr(obj+'.rx', k=False, l=True ) cmds.setAttr(obj+'.ry', k=False, l=True ) cmds.setAttr(obj+'.rz', k=False, l=True ) if (aa=='t'): cmds.setAttr(obj+'.tx', k=False, l=True ) cmds.setAttr(obj+'.ty', k=False, l=True ) cmds.setAttr(obj+'.tz', k=False, l=True ) if (aa=='s'): cmds.setAttr(obj+'.sx', k=False, l=True ) cmds.setAttr(obj+'.sy', k=False, l=True ) cmds.setAttr(obj+'.sz', k=False, l=True ) def unlockAndShow(obj, attrs): '''given an object and a list of attrs, unlock and show those attrs''' for aa in attrs: cmds.setAttr(obj+'.'+aa, k=True, l=False ) if (aa=='r'): cmds.setAttr(obj+'.rx', k=True, l=False ) cmds.setAttr(obj+'.ry', k=True, l=False ) cmds.setAttr(obj+'.rz', k=True, l=False ) if (aa=='t'): cmds.setAttr(obj+'.tx', k=True, l=False ) cmds.setAttr(obj+'.ty', k=True, l=False ) cmds.setAttr(obj+'.tz', k=True, l=False ) if (aa=='s'): cmds.setAttr(obj+'.sx', k=True, l=False ) cmds.setAttr(obj+'.sy', k=True, l=False ) cmds.setAttr(obj+'.sz', k=True, l=False ) def breakConnections(obj,attrs): '''given an object and a list of attrs, break all incoming connections''' for attr in attrs: unlockAndShow(obj,[attr]) fullName='%s.%s'%(obj,attr) dest=cmds.connectionInfo(fullName,getExactDestination=True) if dest: src=cmds.connectionInfo(dest,sourceFromDestination=True) if src: cmds.disconnectAttr(src,dest) #if translate, rotate, or scale, do sub attributes as well if (attr in 'srt'): breakConnections(obj,[attr+'x',attr+'y',attr+'z']) def connectWithReverse(src,targ,force=False): '''Given a source 'obj.attr' and a target 'obj.attr', connect with a reverse between. Returns the created reverse node. Input should be between 0 and 1 ''' revNode = cmds.createNode('reverse', n=src.replace('.','_')+'_reverse') cmds.connectAttr(src,revNode+'.inputX') cmds.connectAttr(revNode+'.outputX',targ,f=force) return revNode def connectWithMult(src, targ, mult=-1,force=False): '''Given a source 'obj.attr' and a target 'obj.attr', connect with and multiplier between. Returns the created multiplyDivide node. mult defaults to -1 ''' mdNode = cmds.createNode('multiplyDivide', n=src.replace('.','_')+'_multiply') cmds.setAttr(mdNode+'.input2X', mult) cmds.connectAttr(src, mdNode+'.input1X') cmds.connectAttr(mdNode+'.outputX', targ,f=force) return mdNode def connectWithAdd(src,targ,add=1,force=False): '''Given a source 'obj.attr' and a target 'obj.attr', connect with an addition between. Returns the created addDoubleLinear node. add defaults to 1 ''' addNode = cmds.createNode('addDoubleLinear',n=src.replace('.','_')+'_adder') cmds.setAttr(addNode+'.input2',add) cmds.connectAttr(src,addNode+'.input1') cmds.connectAttr(addNode+'.output',targ,f=force) return addNode def addAttrSwitch(attr, type='long', max=1, min=0, value=0, keyable=True, niceName='', node='', lock=False ): '''Add a default 0-1 animatable attribute to a node and return the attr name''' attr = attr.split('.') if len(attr) > 1: node = attr[0] attr = attr[1] else: if cmds.objExists(node) != True: raise RuntimeError( 'Error attribute.add(): Invalid node specified.') attr = attr[0] argDict = {'ln':attr,'k':keyable,'at':type} if max: argDict['max'] = max if min: argDict['min'] = min if niceName: argDict['nn']=niceName if type=='message': cmds.addAttr(node, ln=attr, at=type) else: cmds.addAttr(node, **argDict ) newattr = '%s.%s' % (node, attr) try: cmds.setAttr(newattr, value) except RuntimeError: pass cmds.setAttr(newattr, l=lock) return newattr
C++
UTF-8
1,190
2.984375
3
[]
no_license
// Copyright 2020 Polina Lukicheva #ifndef INCLUDE_PERSONAL_H_ #define INCLUDE_PERSONAL_H_ #include "Employee.h" #include "Interfaces.h" #include "string" class Personal : public Employee, WorkBaseTime { public: explicit Personal(int id, std::string name, std::string position, int workTime, int payment) : Employee(id, name, position, workTime, payment) {} void setSalary(int salary); int getSalary(); int calc() override; void printInfo() override; int calcBonus() override; int calcBase(int salary, int worktime) override; private: int salary; }; class Driver : public Personal { public: explicit Driver(int id, std::string name, std::string position, int workTime, int payment) : Personal(id, name, position, workTime, payment) {} int calc(); int calcBase(int salary, int worktime) override; void printInfo() override; }; class Cleaner : public Personal { public: explicit Cleaner(int id, std::string name, std::string position, int workTime, int payment) : Personal(id, name, position, workTime, payment) {} int calc(); int calcBase(int salary, int worktime) override; void printInfo() override; }; #endif // INCLUDE_PERSONAL_H_
C++
UTF-8
926
2.96875
3
[]
no_license
#include "stdafx.h" #include "Light.h" /* Create a light with a location, color, and intensity values along with default attenuation (none). */ Light::Light(Vertex location, float ambient, float diffuse, float specular, COLORREF color) : Light(location, ambient, diffuse, specular, color, DEFAULT_CONSTANT_ATTENUATION, DEFAULT_LINEAR_ATTENUATION, DEFAULT_QUADRATIC_ATTENUATION) { } /* Create a light with a location, color, intensity values, and attenuation values */ Light::Light(Vertex location, float ambient, float diffuse, float specular, COLORREF color, float constantAttenuation, float linearAttenuation, float quadraticAttenuation) { this->location = location; this->ambient = ambient; this->diffuse = diffuse; this->specular = specular; this->color = color; this->constantAttenuation = constantAttenuation; this->linearAttenuation = linearAttenuation; this->quadraticAttenuation = quadraticAttenuation; }
C++
UTF-8
2,563
3.828125
4
[]
no_license
/* UCLA ACM ICPC: Interview Track Leetcode Problem Solutions Disclaimer: This is not the only valid solution and we do not claim our solutions to be optimal in terms of runtime or memory usage, we are merely giving example solutions to questions for learning purposes only Best Time to Buy and Sell Stock Leetcode Problem 121 https://leetcode.com/problems/best-time-to-buy-and-sell-stock/ */ // Say you have an array for which the ith element is the price of a given stock on day i. // If you were only permitted to complete at most one transaction (i.e., buy one and sell // one share of the stock), design an algorithm to find the maximum profit. // Note that you cannot sell a stock before you buy one. class Solution { public: // We will solve this problem by checking // the max profit we can make if we sell on // day 1, day 2, ..., and day N. The answer // will be the max of these values. // Intuition: If we're guaranteed to sell on // day i, then we must buy before or on day i. // The day we choose to buy must be the minimum // price before or on day i int maxProfit(vector<int>& prices) { // `min` represents the minimum value we // have encountered so far. We keep this // variable so that we don't have to // continuously calculate the minimum // value before day i. int min = INT_MAX; // `max` represents the maximum profit // we can make completing one transaction // using the values we have seen so far. // We initially set it to 0 because we'll // never make a transaction that results // in a negative profit. int max = 0; for(int i = 0; i < prices.size(); i++) { // Update `min` if necessary if(prices[i] < min) min = prices[i]; // Update `max` if necessary. This involves comparing // our current `max` with a new tranaction: Buying // today and selling on the day where that price of // the stock is `min` if(prices[i] - min > max) max = prices[i] - min; } // After looping through the entire vector, `max` // represents the maximum profit we can make completing // one transaction using the values in the vector return max; } }; // Time Complexity: O(n) - We traverse through the vector once. // Space Complexity: O(1) - We only store useful information in two variables.
C#
UTF-8
5,050
2.640625
3
[]
no_license
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using MarriageManiac.Core; using MarriageManiac.Characters; namespace MarriageManiac.GameObjects { class Ufo : DrawableMovableCollidable, IGameContent { decimal _LifePercentage = 0; bool _Started = false; public Ufo(int startX, int startY) : base(startX, startY, ContentStore.LoadImage("UFO_Links")) { MoveArea = new Rectangle(400, 50, 500, 400); LastMoveTime = new TimeSpan(); Random = new Random(); TargetReached += (obj, e) => Moving = false; CanCollide = true; } public event EventHandler<LifeAmountChangedArgs> LifeAmountChanged; public bool Shooting { get; set; } private Rectangle MoveArea { get; set; } private TimeSpan LastMoveTime { get; set; } private TimeSpan LastShotTime { get; set; } private Random Random { get; set; } private bool Moving { get; set; } public bool Started { get { return _Started; } set { _Started = value; LifePercentage = 100m; } } public decimal LifePercentage { get { return _LifePercentage; } set { _LifePercentage = value; OnLifeChanged(_LifePercentage); if (_LifePercentage <= 0) { CrashDown(); } } } private void Shoot(Scene scene, GameTime gameTime) { if (Shooting) { var elapsed = gameTime.TotalGameTime - LastShotTime; if (elapsed >= TimeSpan.FromSeconds(1.2)) { LastShotTime = gameTime.TotalGameTime; var goofy = scene.CollidableObjects.First(c => c is Goofy); var shot = new PryBarShot(this); shot.ShootAt(goofy); scene.Add(shot); } } } public override void Update(GameTime gameTime) { var elapsed = gameTime.TotalGameTime - LastMoveTime; if (elapsed >= TimeSpan.FromSeconds(2.5)) { MoveRandomly(gameTime); } base.Update(gameTime); } public override void Update(Scene scene, GameTime gameTime) { HitCheck(scene, gameTime); Shoot(scene, gameTime); base.Update(scene, gameTime); } private void MoveRandomly(GameTime gameTime) { if (Started && !Moving && _LifePercentage > 0) { var target = GetNextTarget(); MoveToTarget(target.X, target.Y, 0.5f); Moving = true; LastMoveTime = gameTime.TotalGameTime; } } private Vector2 GetNextTarget() { var x = Random.Next(MoveArea.Left, MoveArea.Right); var y = Random.Next(MoveArea.Top, MoveArea.Bottom); return new Vector2(x, y); } private void HitCheck(Scene scene, GameTime gameTime) { for (int i = 0; i < scene.CollidableObjects.Count(); i++) { var c = scene.CollidableObjects.ElementAt(i); if (CollidesWith(c.Bounds)) { var hurt = c as IHurt; if (hurt != null && hurt.Originator != this) { LifePercentage -= hurt.LifeCostPercentage; // If we are hit we instantly try to move away, // without waiting for the next move cycle. MoveRandomly(gameTime); } else if (c == scene.Level.Bottom && LifePercentage <= 0) { scene.Remove(this); } base.OnWouldCollideWith(c); } } } private void OnLifeChanged(decimal currentLifePercentage) { if (LifeAmountChanged != null) { LifeAmountChanged(this, new LifeAmountChangedArgs(currentLifePercentage)); } } private void CrashDown() { SetOrigin(OriginPoint.Center); RotateContiniously(-0.1f); MoveToTarget(500, 700, 0.4f); } } public class LifeAmountChangedArgs : EventArgs { public LifeAmountChangedArgs(decimal currentLifePercentage) { CurrentLifePercentage = currentLifePercentage; } public decimal CurrentLifePercentage { get; private set; } } }
C#
UTF-8
1,857
3.140625
3
[]
no_license
using System; using RAM.Domain.Helpers.Extensions; using RAM.Domain.Resources; namespace RAM.Domain.Model { public class MenuItem { public Guid Id { get; protected set; } public string Header { get; protected set; } public bool IsChecked { get; protected set; } public static MenuItem GetEmptyInstance() => new MenuItem { Id = Guid.NewGuid() }; #region Constructors public MenuItem(Guid id, string header, bool isChecked) { Id = id; SetHeader(header); IsChecked = isChecked; } public MenuItem(string header) { Id = Guid.NewGuid(); SetHeader(header); IsChecked = false; } protected MenuItem() { } #endregion #region Setter methods public void SetHeader(string header) { if (header.IsNullOrWhiteSpace()) throw new Exception(ExceptionMessages.EmptyHeader); if (Header == header) throw new Exception(ExceptionMessages.DuplicatedHeader); Header = header; } public void SetIsChecked(bool isChecked) { if (IsChecked == isChecked) throw new Exception(ExceptionMessages.DuplicatedIsChecked); IsChecked = isChecked; } /// Working perfectly fine, but in MVVM pattern is causing more troubles than benefits. [Obsolete("Use SetIsChecked method instead.")] public void Check() { if (!IsChecked) throw new Exception(ExceptionMessages.AlreadyChecked); IsChecked = true; } [Obsolete("Use SetIsChecked method instead.")] public void Uncheck() { if (!IsChecked) throw new Exception(ExceptionMessages.AlreadyUnchecked); IsChecked = false; } #endregion } }
Java
UTF-8
485
2.921875
3
[]
no_license
import java.util.Scanner; /** * Created by Earne on 2015/9/19. */ public class Mogujie_C { public static void main(String[] args) { Scanner cin = new Scanner(System.in); int r = cin.nextInt(); int x = cin.nextInt(); int y = cin.nextInt(); int p = cin.nextInt(); int q = cin.nextInt(); double des = Math.sqrt(Math.pow((p - x), 2) + Math.pow((q - y), 2)); System.out.println((int) Math.ceil(des / (2 * r))); } }
Java
UTF-8
4,729
2.078125
2
[]
no_license
/** * */ package com.hp.wpp.avatar.restmodel.errors; import java.util.ArrayList; import java.util.List; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; /** * @author mahammad * */ @JsonPropertyOrder({ "service_name", "version", "http_code", "code", "description", "description_link", "service_build", "details" }) @JsonInclude(Include.NON_DEFAULT) public class Error { @JsonProperty("service_name") protected String serviceName; protected String version; protected String code; @JsonProperty("http_code") protected String httpCode; protected String description; @JsonProperty("description_link") protected String descriptionLink; @JsonProperty("service_build") protected String serviceBuild; protected Error.Details details; /** * Gets the value of the serviceName property. * * @return possible object is {@link String } * */ public String getServiceName() { return serviceName; } /** * Sets the value of the serviceName property. * * @param value * allowed object is {@link String } * */ public void setServiceName(String value) { this.serviceName = value; } /** * Gets the value of the version property. * * @return possible object is {@link String } * */ public String getVersion() { return version; } /** * Sets the value of the version property. * * @param value * allowed object is {@link String } * */ public void setVersion(String value) { this.version = value; } /** * Gets the value of the code property. * * @return possible object is {@link String } * */ public String getCode() { return code; } /** * Sets the value of the code property. * * @param value * allowed object is {@link String } * */ public void setCode(String value) { this.code = value; } /** * Gets the value of the httpCode property. * * @return possible object is {@link String } * */ public String getHttpCode() { return httpCode; } /** * Sets the value of the httpCode property. * * @param value * allowed object is {@link String } * */ public void setHttpCode(String value) { this.httpCode = value; } /** * Gets the value of the description property. * * @return possible object is {@link String } * */ public String getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is {@link String } * */ public void setDescription(String value) { this.description = value; } /** * Gets the value of the descriptionLink property. * * @return possible object is {@link String } * */ public String getDescriptionLink() { return descriptionLink; } /** * Sets the value of the descriptionLink property. * * @param value * allowed object is {@link String } * */ public void setDescriptionLink(String value) { this.descriptionLink = value; } /** * Gets the value of the serviceBuild property. * * @return possible object is {@link String } * */ public String getServiceBuild() { return serviceBuild; } /** * Sets the value of the serviceBuild property. * * @param value * allowed object is {@link String } * */ public void setServiceBuild(String value) { this.serviceBuild = value; } /** * Gets the value of the details property. * * @return possible object is {@link Errors.Details } * */ public Error.Details getDetails() { return details; } /** * Sets the value of the details property. * * @param value * allowed object is {@link Errors.Details } * */ public void setDetails(Error.Details value) { this.details = value; } public static class Details { protected List<Object> any; /** * Gets the value of the any property. * * <p> * This accessor method returns a reference to the live listnot a * snapshot. Therefore any modification you make to the returned list * will be present inside the JAXB object. This is why there is not a * <CODE>set</CODE> method for the any property. * * <p> * For exampleto add a new itemdo as follows: * * <pre> * getAny().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Object } * * */ public List<Object> getAny() { if (any == null) { any = new ArrayList<Object>(); } return this.any; } } }
C
UTF-8
9,858
2.765625
3
[]
no_license
/****************************************************************************** * ctcp.c * ------ * Implementation of cTCP done here. This is the only file you need to change. * Look at the following files for references and useful functions: * - ctcp.h: Headers for this file. * - ctcp_iinked_list.h: Linked list functions for managing a linked list. * - ctcp_sys.h: Connection-related structs and functions, cTCP segment * definition. * - ctcp_utils.h: Checksum computation, getting the current time. * *****************************************************************************/ #include "ctcp.h" #include "ctcp_linked_list.h" #include "ctcp_sys.h" #include "ctcp_utils.h" #include "stdio.h" #define FIN_SENT 1UL #define FIN_RECEIVED 1UL << 1 #define EOF_FLAG 1UL << 2 #define DESTROY_FLAG ((1UL << 3) - 1) /** * Connection state. * * Stores per-connection information such as the current sequence number, * unacknowledged packets, etc. * * You should add to this to store other fields you might need. */ struct ctcp_state { struct ctcp_state *next; /* Next in linked list */ struct ctcp_state **prev; /* Prev in linked list */ conn_t *conn; /* Connection object -- needed in order to figure out destination when sending */ linked_list_t *output_buffer; /* Linked list of segments sent to this connection. It may be useful to have multiple linked lists for unacknowledged segments, segments that haven't been sent, etc. Lab 1 uses the stop-and-wait protocol and therefore does not necessarily need a linked list. You may remove this if this is the case for you */ /* FIXME: Add other needed fields. */ ctcp_config_t cfg; linked_list_t *send_buffer; linked_list_t *unacked_buffer; linked_list_t *ackno_list; uint32_t seqno; uint32_t ackno; int retransmitted_times; long last_sent_time; uint32_t destroy_flag; }; /** * Linked list of connection states. Go through this in ctcp_timer() to * resubmit segments and tear down connections. */ static ctcp_state_t *state_list; /* FIXME: Feel free to add as many helper functions as needed. Don't repeat code! Helper functions make the code clearer and cleaner. */ ctcp_state_t *ctcp_init(conn_t *conn, ctcp_config_t *cfg) { /* Connection could not be established. */ if (conn == NULL) { return NULL; } /* Established a connection. Create a new state and update the linked list of connection states. */ ctcp_state_t *state = calloc(sizeof(ctcp_state_t), 1); state->next = state_list; state->prev = &state_list; if (state_list) state_list->prev = &state->next; state_list = state; /* Set fields. */ state->conn = conn; /* FIXME: Do any other initialization here. */ memcpy(&(state->cfg), cfg, sizeof(ctcp_config_t)); state->seqno = 1; state->ackno = 1; state->output_buffer = ll_create(); state->send_buffer = ll_create(); state->unacked_buffer = ll_create(); state->ackno_list = ll_create(); state->last_sent_time = 0; state->retransmitted_times = 0; state->destroy_flag = 0; return state; } void free_segments_list(linked_list_t *list) { ll_node_t *segment_node = list->head; while(segment_node != NULL) { free(segment_node->object); segment_node = segment_node->next; } ll_destroy(list); } void ctcp_destroy(ctcp_state_t *state) { /* Update linked list. */ fprintf(stderr, "destroy called %s\n", ""); if (state->next) state->next->prev = state->prev; *state->prev = state->next; conn_remove(state->conn); /* FIXME: Do any other cleanup here. */ free_segments_list(state->output_buffer); free_segments_list(state->send_buffer); free_segments_list(state->unacked_buffer); free_segments_list(state->ackno_list); free(state); end_client(); } void ctcp_read(ctcp_state_t *state) { /* FIXME */ char input[MAX_SEG_DATA_SIZE]; int data_size = conn_input(state->conn, input, MAX_SEG_DATA_SIZE); fprintf(stderr, "read data size = %u", data_size); if (data_size == -1) { state->destroy_flag |= EOF_FLAG; data_size = 0; } uint16_t total_size = sizeof(ctcp_segment_t) + sizeof(char) * data_size; ctcp_segment_t *segment = calloc(total_size, 1); segment->seqno = htonl(state->seqno); segment->len = htons(total_size); segment->window = htons(MAX_SEG_DATA_SIZE); segment->cksum = 0; if (data_size > 0) { memcpy(segment->data, input, data_size); } else if (state->destroy_flag & EOF_FLAG){ segment->flags = FIN; } segment->flags |= ACK; segment->flags = htonl(segment->flags); ll_add (state->send_buffer, segment); } void ctcp_receive(ctcp_state_t *state, ctcp_segment_t *segment, size_t len) { /* FIXME */ fprintf(stderr, "message received %s with lenth %zu\n", segment->data, strlen(segment->data)); if (ntohl(segment->ackno) == state->seqno) { if (state->unacked_buffer->head != NULL) { free(state->unacked_buffer->head->object); ll_remove(state->unacked_buffer, state->unacked_buffer->head); } state->retransmitted_times = 0; } uint16_t old_cksum = segment->cksum; segment->cksum = 0; if (cksum(segment, ntohs(segment->len)) == old_cksum) { if (strlen(segment->data) > 0 || ntohl(segment->flags) & FIN) { uint32_t * ackno = calloc(sizeof(uint32_t), 1); *ackno = ntohl(segment->seqno) + ntohs(segment->len); ll_add(state->ackno_list, ackno); fprintf(stderr, "ackno list size %u\n", ll_length(state->ackno_list)); if (ntohl(segment->seqno) == state->ackno) { if (strlen(segment->data) > 0 || ntohl(segment->flags) & FIN) { ll_add(state->output_buffer, segment); ctcp_output(state); //segment free in ctcp_output } else { free(segment); } state->ackno += ntohs(segment->len); } else { free(segment); } } else { free(segment); } } else { free(segment); } if (ntohl(segment->flags) & FIN) { state->destroy_flag |= FIN_RECEIVED; } } void ctcp_output(ctcp_state_t *state) { /* FIXME */ fprintf(stderr, "output called"); ll_node_t *node = state->output_buffer->head; while (node != NULL) { ctcp_segment_t *segment = node->object; int bufspace = conn_bufspace(state->conn); if (strlen(segment->data) > 0) { if (bufspace >= strlen(segment->data)+1){ if (conn_output(state->conn, segment->data, strlen(segment->data)) == strlen(segment->data)) { ll_remove(state->output_buffer, node); } else { fprintf(stderr, "output length not equal to segment data length %zu", strlen(segment->data)); } if (ntohl(segment->flags) & FIN) { fprintf(stderr, "eof"); conn_output(state->conn, NULL, 0); } } } else if (ntohl(segment->flags) & FIN) { fprintf(stderr, "eof"); conn_output(state->conn, NULL, 0); } free(segment); node = node->next; } } void ctcp_timer() { /* FIXME */ ctcp_state_t *state = state_list; while (state != NULL){ long cur_time = current_time(); ctcp_segment_t *segment_to_send = NULL; if (ll_length(state->unacked_buffer) > 0) { // check if last transmitted frame timed out if (cur_time - state->last_sent_time > state->cfg.rt_timeout) { // time out if (state->retransmitted_times == 5) { fprintf(stderr, "retransmitted times = 5"); ctcp_destroy(state); } else { segment_to_send = state->unacked_buffer->head->object; segment_to_send->cksum = 0; state->last_sent_time = cur_time; state->retransmitted_times++; } } } else if (ll_length(state->send_buffer) > 0){ ll_node_t *seg_node = state->send_buffer->head; segment_to_send = seg_node->object; if (ntohl(segment_to_send->flags) & FIN) { state->destroy_flag |= FIN_SENT; } ll_add(state->unacked_buffer, segment_to_send); ll_remove(state->send_buffer, seg_node); state->seqno += ntohs(segment_to_send->len); state->last_sent_time = cur_time; state->retransmitted_times = 0; } ll_node_t *ackNode = ll_front(state->ackno_list); if (segment_to_send != NULL) { // piggyback if (ackNode != NULL) { uint32_t *ackno = ackNode->object; segment_to_send->ackno = htonl(*ackno); ll_remove(state->ackno_list, ackNode); free(ackno); } else { segment_to_send->ackno = htonl(state->ackno); } segment_to_send->cksum = cksum(segment_to_send, ntohs(segment_to_send->len)); conn_send(state->conn, segment_to_send, ntohs(segment_to_send->len)); } else if (ackNode != NULL) { uint32_t *ackno = ackNode->object; segment_to_send = calloc(sizeof(ctcp_segment_t), 1); segment_to_send->seqno = htonl(1); segment_to_send->ackno = htonl(*ackno); segment_to_send->window = htons(MAX_SEG_DATA_SIZE); segment_to_send->flags = htonl(ACK); segment_to_send->cksum = 0; segment_to_send->len = htons(sizeof(ctcp_segment_t)); segment_to_send->cksum = cksum(segment_to_send, sizeof(ctcp_segment_t)); conn_send(state->conn, segment_to_send, sizeof(ctcp_segment_t)); //fprintf(stderr, "send ack\n"); ll_remove(state->ackno_list, ackNode); free(ackno); //state->seqno += sizeof(ctcp_segment_t); free(segment_to_send); } if (state->destroy_flag & DESTROY_FLAG) { //fprintf(stderr, "destroy_flag"); ctcp_destroy(state); } state = state->next; } }
C
UTF-8
1,355
2.828125
3
[ "MIT" ]
permissive
#include <stdio.h> #include <stdint.h> #include <inttypes.h> #include <stdlib.h> #include <string.h> #include "round.h" #include "sponge.h" #include "keccak_f.h" uint8_t *sponge(uint8_t* M,int32_t size){ int32_t r=72; int32_t w=8; /*Padding*/ if((size%r)!=0){//r=72 bytes M=padding(M,&size); } uint64_t *nM; nM=(uint64_t *)M; /*Initialization*/ uint64_t **S=(uint64_t **)calloc(5,sizeof(uint64_t*)); for(uint64_t i = 0; i < 5; i++) S[i] = (uint64_t *)calloc(5,sizeof(uint64_t)); /*Absorbing Phase*/ for(int32_t i=0;i<size/r;i++){//Each block has 72 bytes for(int32_t y=0;y<5;y++){ for(int32_t x=0;x<5;x++){ if((x+5*y)<(r/w)){ S[x][y]=S[x][y] ^ *(nM+i*9+x+5*y); // S=keccak_f(S); } } } S=keccak_f(S); } /*Squeezing phase*/ int32_t b=0; uint64_t *Z=(uint64_t *)calloc(9,sizeof(uint64_t)); while(b<8){ for(int32_t y=0;y<5;y++){ for(int32_t x=0;x<5;x++){ if((x+5*y)<(r/w)){ *(Z+b)^=S[x][y]; b++; } } } } return (uint8_t *) Z; } uint8_t *padding(uint8_t* M, int32_t* S){ int32_t i=*S; int32_t newS=(*S+72-(*S%72));; uint8_t *nM; nM=malloc(*S+(72-(*S%72))); /*Copy string*/ for(int32_t j=0;j<*S;j++){ *(nM+j)=*(M+j); } *(nM+i)=0x01; i++; while(i<(newS-1)){ *(nM+i)=0x00; i++; } *(nM+i)=0x80; i++; *S=i; return nM; }
SQL
UTF-8
657,040
2.671875
3
[ "MIT" ]
permissive
set define off verify off feedback off whenever sqlerror exit sql.sqlcode rollback -------------------------------------------------------------------------------- -- -- ORACLE Application Express (APEX) export file -- -- You should run the script connected to SQL*Plus as the Oracle user -- APEX_050000 or as the owner (parsing schema) of the application. -- -- NOTE: Calls to apex_application_install override the defaults below. -- -------------------------------------------------------------------------------- begin wwv_flow_api.import_begin ( p_version_yyyy_mm_dd=>'2013.01.01' ,p_release=>'5.0.3.00.03' ,p_default_workspace_id=>1248716320362712 ,p_default_application_id=>1000006 ,p_default_owner=>'APEXFRAMEWORK' ); end; / prompt --application/set_environment prompt APPLICATION 1000006 - Méthodologie -- -- Application Export: -- Application: 1000006 -- Name: Méthodologie -- Date and Time: 09:36 Jeudi Octobre 20, 2016 -- Exported By: LGCARRIER -- Flashback: 0 -- Export Type: Application Export -- Version: 5.0.3.00.03 -- Instance ID: 69411815032911 -- -- Application Statistics: -- Pages: 23 -- Items: 93 -- Processes: 47 -- Regions: 54 -- Buttons: 56 -- Dynamic Actions: 27 -- Shared Components: -- Logic: -- Items: 96 -- Processes: 36 -- Computations: 1 -- Navigation: -- Lists: 3 -- Security: -- Authentication: 2 -- Authorization: 8 -- User Interface: -- Themes: 1 -- Templates: -- Page: 5 -- Region: 13 -- Label: 5 -- List: 2 -- Popup LOV: 1 -- Calendar: 1 -- Button: 6 -- Report: 3 -- LOVs: 74 -- Shortcuts: 4 -- Plug-ins: 75 -- Globalization: -- Messages: 407 -- Reports: -- Supporting Objects: Included prompt --application/delete_application begin wwv_flow_api.remove_flow(wwv_flow.g_flow_id); end; / prompt --application/ui_types begin null; end; / prompt --application/create_application begin wwv_flow_api.create_flow( p_id=>wwv_flow.g_flow_id ,p_display_id=>nvl(wwv_flow_application_install.get_application_id,1000006) ,p_owner=>nvl(wwv_flow_application_install.get_schema,'APEXFRAMEWORK') ,p_name=>nvl(wwv_flow_application_install.get_application_name,'Méthodologie') ,p_alias=>nvl(wwv_flow_application_install.get_application_alias,'1000006') ,p_application_group=>19694313105945939 ,p_application_group_name=>'AFW' ,p_page_view_logging=>'YES' ,p_page_protection_enabled_y_n=>'Y' ,p_checksum_salt=>'04F9DCE96AAAE7B4F8E289A9EE18F5193DD8F0D953B6238BD82884B199A17F75' ,p_checksum_salt_last_reset=>'20081009112110' ,p_bookmark_checksum_function=>'MD5' ,p_max_session_length_sec=>28800 ,p_compatibility_mode=>'4.2' ,p_flow_language=>'fr-ca' ,p_flow_language_derived_from=>'FLOW_PRIMARY_LANGUAGE' ,p_allow_feedback_yn=>'Y' ,p_flow_image_prefix => nvl(wwv_flow_application_install.get_image_prefix,'') ,p_authentication=>'PLUGIN' ,p_authentication_id=>wwv_flow_api.id(3711627593895220) ,p_application_tab_set=>0 ,p_logo_image=>'&A_AFW_11_DOSR_FICHR_AFW.images/afw_logo_header.png' ,p_logo_image_attributes=>'style="width:44px;height:30px;"' ,p_public_user=>'APEX_PUBLIC_USER' ,p_proxy_server=> nvl(wwv_flow_application_install.get_proxy,'') ,p_flow_version=>'4.4' ,p_flow_status=>'AVAILABLE_W_EDIT_LINK' ,p_flow_unavailable_text=>'This application is currently unavailable at this time.' ,p_exact_substitutions_only=>'Y' ,p_deep_linking=>'Y' ,p_vpd=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'begin null; end;', 'afw_07_polc_pkg.initl_contx();')) ,p_runtime_api_usage=>'T:O:W' ,p_authorize_public_pages_yn=>'Y' ,p_rejoin_existing_sessions=>'P' ,p_csv_encoding=>'Y' ,p_auto_time_zone=>'N' ,p_error_handling_function=>'afw_01_err_apex_pkg.gestn_mesg_err_apex' ,p_substitution_string_01=>'APEX_DML_LOCK_WAIT_TIME' ,p_substitution_value_01=>'5' ,p_substitution_string_02=>'DIR' ,p_substitution_value_02=>'ltr' ,p_last_updated_by=>'ADMIN' ,p_last_upd_yyyymmddhh24miss=>'20160515144526' ,p_file_prefix => nvl(wwv_flow_application_install.get_static_app_file_prefix,'') ,p_ui_type_name => null ); end; / prompt --application/shared_components/navigation/lists begin wwv_flow_api.create_list( p_id=>wwv_flow_api.id(456622229681275479) ,p_name=>'MENU_ACUEI_SAFM' ,p_list_status=>'PUBLIC' ); wwv_flow_api.create_list_item( p_id=>wwv_flow_api.id(456622446645275482) ,p_list_item_display_sequence=>10 ,p_list_item_link_text=>'Planification' ,p_list_item_link_target=>'f?p=&APP_ID.:2:&SESSION.::&DEBUG.::SIDF:&SIDF.:' ,p_list_item_icon=>'menu/chart_line_64.gif' ,p_list_item_current_type=>'TARGET_PAGE' ); wwv_flow_api.create_list_item( p_id=>wwv_flow_api.id(456624721808329936) ,p_list_item_display_sequence=>20 ,p_list_item_link_text=>'Développement' ,p_list_item_link_target=>'f?p=&APP_ID.:3:&SESSION.::&DEBUG.::SIDF:&SIDF.:' ,p_list_item_icon=>'menu/todo_64.gif' ,p_list_item_current_type=>'TARGET_PAGE' ); wwv_flow_api.create_list_item( p_id=>wwv_flow_api.id(486824842496068552) ,p_list_item_display_sequence=>30 ,p_list_item_link_text=>'Tâches' ,p_list_item_link_target=>'f?p=&APP_ID.:1051:&SESSION.::&DEBUG.::SIDF:&SIDF.:' ,p_list_item_icon=>'menu/todo_64.gif' ,p_list_item_current_type=>'TARGET_PAGE' ); wwv_flow_api.create_list_item( p_id=>wwv_flow_api.id(533021118179556104) ,p_list_item_display_sequence=>40 ,p_list_item_link_text=>'Mes tâches' ,p_list_item_link_target=>'f?p=&APP_ID.:1055:&SESSION.::&DEBUG.::SIDF:&SIDF.:' ,p_list_item_icon=>'menu/bboard_64.gif' ,p_list_item_current_type=>'TARGET_PAGE' ); wwv_flow_api.create_list( p_id=>wwv_flow_api.id(456626039236543097) ,p_name=>'MENU_ACUEI_PLANF' ,p_list_status=>'PUBLIC' ); wwv_flow_api.create_list_item( p_id=>wwv_flow_api.id(456626533952543102) ,p_list_item_display_sequence=>5 ,p_list_item_link_text=>'Jalons' ,p_list_item_link_target=>'f?p=&APP_ID.:1001:&SESSION.::&DEBUG.::SIDF:&SIDF.:' ,p_list_item_icon=>'menu/package_64.gif' ,p_list_item_current_type=>'TARGET_PAGE' ); wwv_flow_api.create_list_item( p_id=>wwv_flow_api.id(456626226378543100) ,p_list_item_display_sequence=>10 ,p_list_item_link_text=>'Équipes' ,p_list_item_link_target=>'f?p=&APP_ID.:1011:&SESSION.::&DEBUG.::SIDF:&SIDF.:' ,p_list_item_icon=>'menu/users_64.gif' ,p_list_item_current_type=>'TARGET_PAGE' ); wwv_flow_api.create_list_item( p_id=>wwv_flow_api.id(456633525954955592) ,p_list_item_display_sequence=>30 ,p_list_item_link_text=>'Rôles' ,p_list_item_link_target=>'f?p=&APP_ID.:1041:&SESSION.::&DEBUG.::SIDF:&SIDF.:' ,p_list_item_icon=>'menu/shapes_64.gif' ,p_list_item_current_type=>'TARGET_PAGE' ); wwv_flow_api.create_list_item( p_id=>wwv_flow_api.id(485969935321839072) ,p_list_item_display_sequence=>40 ,p_list_item_link_text=>'Tâches' ,p_list_item_link_target=>'f?p=&APP_ID.:1051:&SESSION.::&DEBUG.::SIDF:&SIDF.:' ,p_list_item_icon=>'menu/todo_64.gif' ,p_list_item_disp_cond_type=>'NEVER' ,p_list_item_current_type=>'TARGET_PAGE' ); wwv_flow_api.create_list( p_id=>wwv_flow_api.id(456862550301571950) ,p_name=>'JALON_ONGLE_PRINC' ,p_list_status=>'PUBLIC' ); wwv_flow_api.create_list_item( p_id=>wwv_flow_api.id(456862746800571952) ,p_list_item_display_sequence=>10 ,p_list_item_link_text=>'Jalon' ,p_list_item_link_target=>'f?p=&APP_ID.:1022:&SESSION.::&DEBUG.::SIDF:&SIDF.:' ,p_list_item_current_type=>'TARGET_PAGE' ); wwv_flow_api.create_list_item( p_id=>wwv_flow_api.id(456865842598588638) ,p_list_item_display_sequence=>20 ,p_list_item_link_text=>'Tâche' ,p_list_item_link_target=>'f?p=&APP_ID.:1051:&SESSION.::&DEBUG.::SIDF,SAPC:&SIDF.,XPP1022:' ,p_list_item_current_type=>'COLON_DELIMITED_PAGE_LIST' ,p_list_item_current_for_pages=>'1051,1052' ); end; / prompt --application/shared_components/files begin null; end; / prompt --application/plugin_settings begin wwv_flow_api.create_plugin_setting( p_id=>wwv_flow_api.id(111660392578067) ,p_plugin_type=>'REGION TYPE' ,p_plugin=>'NATIVE_DISPLAY_SELECTOR' ,p_attribute_01=>'N' ); wwv_flow_api.create_plugin_setting( p_id=>wwv_flow_api.id(3583220902308450) ,p_plugin_type=>'ITEM TYPE' ,p_plugin=>'NATIVE_YES_NO' ,p_attribute_01=>'Y' ,p_attribute_03=>'N' ); wwv_flow_api.create_plugin_setting( p_id=>wwv_flow_api.id(7779731027180133) ,p_plugin_type=>'ITEM TYPE' ,p_plugin=>'PLUGIN_IO_AFW_21_SELCT_2' ,p_attribute_01=>'Y' ); wwv_flow_api.create_plugin_setting( p_id=>wwv_flow_api.id(1524499241822049818) ,p_plugin_type=>'ITEM TYPE' ,p_plugin=>'PLUGIN_IO_AFW_21_ITEM_POPUP_ARBOR' ,p_attribute_01=>'&A_AFW_11_DOSR_FICHR_AFW.plugin/javascript/afw_13_plugn_popup_lov_ir.js' ,p_attribute_02=>'&A_AFW_11_DOSR_FICHR_AFW.plugin/css/afw_13_plugn_popup_lov_ir.css' ); wwv_flow_api.create_plugin_setting( p_id=>wwv_flow_api.id(10027387098451642521) ,p_plugin_type=>'ITEM TYPE' ,p_plugin=>'PLUGIN_COM_SKILLBUILDERS_SBIP_PASSWORD' ,p_attribute_01=>'cupertino' ); end; / prompt --application/shared_components/security/authorizations begin wwv_flow_api.create_security_scheme( p_id=>wwv_flow_api.id(1528497534788076469) ,p_name=>'Administrateur SAF' ,p_scheme_type=>'NATIVE_FUNCTION_BODY' ,p_attribute_01=>'return afw_11_utils_pkg.verfc_role_prodt(afw_12_utils_pkg.obten_usagr_conct, ''SAFP'', ''SUPER_UTILS'');' ,p_error_message=>'Vous n''avez pas les autorisations d''accès adéquates pour accéder à cette page.' ,p_caching=>'BY_USER_BY_SESSION' ); wwv_flow_api.create_security_scheme( p_id=>wwv_flow_api.id(1528498243230088423) ,p_name=>'Administrateur produit' ,p_scheme_type=>'NATIVE_FUNCTION_BODY' ,p_attribute_01=>'return afw_11_utils_pkg.verfc_role_prodt(afw_12_utils_pkg.obten_usagr_conct, ''SAFP'', ''ADMIN'');' ,p_error_message=>'Vous n''avez pas les autorisations d''accès adéquates pour accéder à cette page.' ,p_caching=>'BY_USER_BY_SESSION' ); wwv_flow_api.create_security_scheme( p_id=>wwv_flow_api.id(1528498453966091478) ,p_name=>'Développeur' ,p_scheme_type=>'NATIVE_FUNCTION_BODY' ,p_attribute_01=>'return afw_11_utils_pkg.verfc_role_prodt(afw_12_utils_pkg.obten_usagr_conct, ''SAFP'', ''DEVLP'');' ,p_error_message=>'Vous n''avez pas les autorisations d''accès adéquates pour accéder à cette page.' ,p_caching=>'BY_USER_BY_SESSION' ); wwv_flow_api.create_security_scheme( p_id=>wwv_flow_api.id(1721922232923650037) ,p_name=>'Création' ,p_scheme_type=>'PLUGIN_IO_AFW_21_AUTOR_CREAT' ,p_error_message=>'Accès refusé.' ,p_caching=>'BY_USER_BY_PAGE_VIEW' ); wwv_flow_api.create_security_scheme( p_id=>wwv_flow_api.id(1723923346971193396) ,p_name=>'Modification' ,p_scheme_type=>'PLUGIN_IO_AFW_21_AUTOR_MODFC' ,p_error_message=>'Accès refusé.' ,p_caching=>'BY_USER_BY_PAGE_VIEW' ); wwv_flow_api.create_security_scheme( p_id=>wwv_flow_api.id(1723935220091195070) ,p_name=>'Suppression' ,p_scheme_type=>'PLUGIN_IO_AFW_21_AUTOR_SUPRS' ,p_error_message=>'Accès refusé.' ,p_caching=>'BY_USER_BY_PAGE_VIEW' ); wwv_flow_api.create_security_scheme( p_id=>wwv_flow_api.id(1723951025632196700) ,p_name=>'Opération DML' ,p_scheme_type=>'PLUGIN_IO_AFW_21_AUTOR_OPERT_DML' ,p_error_message=>'Accès refusé.' ,p_caching=>'BY_USER_BY_PAGE_VIEW' ); wwv_flow_api.create_security_scheme( p_id=>wwv_flow_api.id(1724855148880581895) ,p_name=>'Accès page' ,p_scheme_type=>'PLUGIN_IO_AFW_21_AUTOR_ACCES_PAGE' ,p_error_message=>'Accès refusé.' ,p_caching=>'BY_USER_BY_PAGE_VIEW' ); end; / prompt --application/shared_components/navigation/navigation_bar begin null; end; / prompt --application/shared_components/logic/application_processes begin wwv_flow_api.create_flow_process( p_id=>wwv_flow_api.id(1556101772433238381) ,p_process_sequence=>1000000000 ,p_process_point=>'AFTER_FOOTER' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'AFW - 13 - Réinitialiser la variable d''exclusion' ,p_process_sql_clob=>'afw_13_page_pkg.reint_exclu_liste_navgt();' ,p_process_error_message=>'Erreur' ); wwv_flow_api.create_flow_process( p_id=>wwv_flow_api.id(1556101360658234957) ,p_process_sequence=>1000000000.1 ,p_process_point=>'AFTER_HEADER' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'AFW - 13 - Initialiser le contexte d''exécution d''une page' ,p_process_sql_clob=>'afw_13_condt_piltb_pkg.defn_contx_exect_page();' ,p_process_error_message=>'Erreur' ); wwv_flow_api.create_flow_process( p_id=>wwv_flow_api.id(1565252951762219008) ,p_process_sequence=>1000000000.3 ,p_process_point=>'AFTER_HEADER' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'AFW - 19 - Definir les variables de sessions' ,p_process_sql_clob=>'afw_19_boutn_pkg.defnr_varbl_sesn();' ,p_process_error_message=>'Erreur' ); wwv_flow_api.create_flow_process( p_id=>wwv_flow_api.id(1562378459565236013) ,p_process_sequence=>1000000000.4 ,p_process_point=>'AFTER_HEADER' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'AFW - JavaScript au chargement' ,p_process_sql_clob=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'afw_01_javsc_pkg.ajout_scrip_charg ();', 'afw_07_javsc_pkg.ajout_scrip_charg ();', '--afw_19_javsc_pkg.ajout_scrip_charg ();', 'afw_25_javsc_pkg.ajout_scrip_charg ();')) ); wwv_flow_api.create_flow_process( p_id=>wwv_flow_api.id(1556696358858481757) ,p_process_sequence=>1 ,p_process_point=>'AFTER_SUBMIT' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'AFW - 04 - Synchroniser variables fil d''Ariane' ,p_process_sql_clob=>'afw_04_fil_arian_pkg.synch_varbl();' ,p_process_when=>'afw_13_page_pkg.obten_page_sesn <> afw_11_aplic_pkg.obten_page_conxn' ,p_process_when_type=>'PLSQL_EXPRESSION' ); wwv_flow_api.create_flow_process( p_id=>wwv_flow_api.id(1556298566858006675) ,p_process_sequence=>1000000000.1 ,p_process_point=>'AFTER_SUBMIT' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'AFW - 04 - Mettre à jour le contexte' ,p_process_sql_clob=>'afw_04_contx_pkg.maj_seqnc_contx();' ); wwv_flow_api.create_flow_process( p_id=>wwv_flow_api.id(1597853936744000331) ,p_process_sequence=>1000000000.2 ,p_process_point=>'AFTER_SUBMIT' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'AFW - 13 - Sauvegarde des préférences' ,p_process_sql_clob=>'afw_13_prefr_pkg.sauvg_prefr_page();' ,p_error_display_location=>'INLINE_IN_NOTIFICATION' ); wwv_flow_api.create_flow_process( p_id=>wwv_flow_api.id(1524968644458583960) ,p_process_sequence=>20 ,p_process_point=>'BEFORE_FOOTER' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'AFW - 13 - Script mode recherche' ,p_process_sql_clob=>'afw_13_navgt_pkg.script_mode_rechr ();' ,p_process_error_message=>'Erreur' ); wwv_flow_api.create_flow_process( p_id=>wwv_flow_api.id(1541491735610357342) ,p_process_sequence=>1000000000 ,p_process_point=>'BEFORE_FOOTER' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'AFW - 25_Générer le script d''affichage du rapport' ,p_process_sql_clob=>'afw_25_appel_raprt_apex_pkg.genr_script_popup_raprt();' ,p_process_when=>'A_AFW_25_URL_RAPRT' ,p_process_when_type=>'ITEM_IS_NOT_NULL' ); wwv_flow_api.create_flow_process( p_id=>wwv_flow_api.id(1541307341225264305) ,p_process_sequence=>1.1 ,p_process_point=>'BEFORE_HEADER' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'AFW - 07 - Libérer les sémaphores hors persistances' ,p_process_sql_clob=>'afw_07_semph_pkg.libr_semph_perst_page();' ,p_process_error_message=>'Error' ); wwv_flow_api.create_flow_process( p_id=>wwv_flow_api.id(1556913557832169722) ,p_process_sequence=>1.2 ,p_process_point=>'BEFORE_HEADER' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'AFW - 11 - Définir la langue' ,p_process_sql_clob=>'afw_01_lang_pkg.defnr_lang_sesn();' ,p_process_when=>':FSP_LANGUAGE_PREFERENCE is null' ,p_process_when_type=>'PLSQL_EXPRESSION' ); wwv_flow_api.create_flow_process( p_id=>wwv_flow_api.id(1616391181370003919) ,p_process_sequence=>1.3 ,p_process_point=>'BEFORE_HEADER' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'AFW - 11 - Définir items application' ,p_process_sql_clob=>'afw_11_prodt_pkg.defnr_item_aplic_apex();' ,p_process_error_message=>'Erreur' ); wwv_flow_api.create_flow_process( p_id=>wwv_flow_api.id(1581462531860783108) ,p_process_sequence=>1.4 ,p_process_point=>'BEFORE_HEADER' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'AFW - 12 - Définir items application' ,p_process_sql_clob=>'afw_12_utils_pkg.defnr_item_aplic_apex();' ); wwv_flow_api.create_flow_process( p_id=>wwv_flow_api.id(1659501035802634708) ,p_process_sequence=>1.5 ,p_process_point=>'BEFORE_HEADER' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'AFW - 13 - Définir items application' ,p_process_sql_clob=>'afw_13_page_pkg.defnr_item_aplic_apex;' ); wwv_flow_api.create_flow_process( p_id=>wwv_flow_api.id(1567070635394320757) ,p_process_sequence=>5 ,p_process_point=>'BEFORE_HEADER' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'AFW - 13 - Aller au dernier enregistrement' ,p_process_sql_clob=>'afw_13_navgt_pkg.obten_dernr_enreg();' ,p_process_error_message=>'Erreur' ,p_process_when=>':SAPC = ''XDE''' ,p_process_when_type=>'PLSQL_EXPRESSION' ); wwv_flow_api.create_flow_process( p_id=>wwv_flow_api.id(1556180267345974278) ,p_process_sequence=>8 ,p_process_point=>'BEFORE_HEADER' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'AFW - 04 - Synchroniser fil d''Ariane' ,p_process_sql_clob=>'afw_04_fil_arian_pkg.synch;' ,p_process_error_message=>'Erreur lors de la synchronisation du fil d''Ariane.' ); wwv_flow_api.create_flow_process( p_id=>wwv_flow_api.id(1556179760073972126) ,p_process_sequence=>9 ,p_process_point=>'BEFORE_HEADER' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'AFW - 04 - Synchroniser le contexte' ,p_process_sql_clob=>'afw_04_contx_pkg.synch;' ,p_process_error_message=>'#SQLERRM#' ); wwv_flow_api.create_flow_process( p_id=>wwv_flow_api.id(1524960937326316941) ,p_process_sequence=>9.1 ,p_process_point=>'BEFORE_HEADER' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'AFW - 13 - Gérer le mode recherche' ,p_process_sql_clob=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'afw_13_navgt_pkg.trait_mode_rechr ();', ':A_AFW_13_MODE_RECHR := afw_13_navgt_pkg.est_en_mode_rechr_va();')) ,p_process_error_message=>'Erreur' ); wwv_flow_api.create_flow_process( p_id=>wwv_flow_api.id(1567071044875332993) ,p_process_sequence=>9.2 ,p_process_point=>'BEFORE_HEADER' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'AFW - 13 - Définir contexte navigation' ,p_process_sql_clob=>'afw_13_navgt_pkg.defnr_contx_navgt();' ,p_process_error_message=>'Erreur' ); wwv_flow_api.create_flow_process( p_id=>wwv_flow_api.id(1597838126008997189) ,p_process_sequence=>9.5 ,p_process_point=>'BEFORE_HEADER' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'AFW - 13 - Charger les préférences' ,p_process_sql_clob=>'afw_13_prefr_pkg.charg_prefr_page();' ); wwv_flow_api.create_flow_process( p_id=>wwv_flow_api.id(1528529549753036302) ,p_process_sequence=>9.6 ,p_process_point=>'BEFORE_HEADER' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'Générer le produit et l''application en cours' ,p_process_sql_clob=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'begin', ' :a_safp_prodt := afw_04_contx_pkg.obten_seqnc_contx (''PRODT'');', ' :a_safp_aplic := afw_04_contx_pkg.obten_seqnc_contx (''APLIC'');', 'end;')) ,p_process_error_message=>'err' ,p_process_when=>'afw_13_page_pkg.obten_page_sesn <> afw_11_aplic_pkg.obten_page_conxn' ,p_process_when_type=>'PLSQL_EXPRESSION' ); wwv_flow_api.create_flow_process( p_id=>wwv_flow_api.id(1560241758525469733) ,p_process_sequence=>12.1 ,p_process_point=>'BEFORE_HEADER' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'AFW - 25 - Export CSV' ,p_process_sql_clob=>'afw_25_spx_expor_ir_pkg.afich_csv ();' ,p_process_when=>'CSV' ,p_process_when_type=>'REQUEST_EQUALS_CONDITION' ); wwv_flow_api.create_flow_process( p_id=>wwv_flow_api.id(1560241451945467854) ,p_process_sequence=>12.2 ,p_process_point=>'BEFORE_HEADER' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'AFW - 25 - Export PDF' ,p_process_sql_clob=>'afw_25_plpdf_expor_ir_pkg.afich_pdf ();' ,p_process_when=>'PDF' ,p_process_when_type=>'REQUEST_EQUALS_CONDITION' ); wwv_flow_api.create_flow_process( p_id=>wwv_flow_api.id(1523701664387710566) ,p_process_sequence=>1 ,p_process_point=>'ON_DEMAND' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'UPDATE_SESSION_STATE' ,p_process_sql_clob=>'null;' ); wwv_flow_api.create_flow_process( p_id=>wwv_flow_api.id(1555869561223949853) ,p_process_sequence=>1 ,p_process_point=>'ON_DEMAND' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'AFW - 04 - Autoriser la duplication de la page dans le fil d''Ariane' ,p_process_sql_clob=>':A_AFW_04_AUTOR_DUPLQ_PAGE := ''O'';' ); wwv_flow_api.create_flow_process( p_id=>wwv_flow_api.id(1556100984076232279) ,p_process_sequence=>1 ,p_process_point=>'ON_DEMAND' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'AFW - 13 - Cacher la liste de navigation' ,p_process_sql_clob=>'afw_13_page_pkg.cachr_liste_navgt();' ,p_process_error_message=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'Erreur', '')) ); wwv_flow_api.create_flow_process( p_id=>wwv_flow_api.id(1556694667815455898) ,p_process_sequence=>1 ,p_process_point=>'ON_DEMAND' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'AFW - 04 - Retourner valeurs modales' ,p_process_sql_clob=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'if :A_AFW_04_ACTIO = ''XRM'' then', ' afw_04_contx_pkg.retr_modl;', 'end if;')) ,p_process_when=>'A_AFW_04_ACTIO' ,p_process_when_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2' ,p_process_when2=>'XRM' ); wwv_flow_api.create_flow_process( p_id=>wwv_flow_api.id(1556813558836781032) ,p_process_sequence=>1 ,p_process_point=>'ON_DEMAND' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'AFW - 04 - Réinitialiser la séquence' ,p_process_sql_clob=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'declare', ' vnu_page number default afw_07_util_pkg.nv (''APP_PAGE_ID'');', ' vvc_nom_item_seqnc varchar2 (30) default ''P'' || to_char (vnu_page) || ''_SEQNC'';', 'begin', ' if afw_07_util_pkg.exist_item (vvc_nom_item_seqnc) then', ' afw_07_util_pkg.defnr_etat_sessn (vvc_nom_item_seqnc, null);', ' end if;', 'end;')) ,p_process_error_message=>'#SQLERRM#' ); wwv_flow_api.create_flow_process( p_id=>wwv_flow_api.id(1562385540789325274) ,p_process_sequence=>1 ,p_process_point=>'ON_DEMAND' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'INFO_TRI_ALTER' ,p_process_sql_clob=>'afw_25_tri_alter_pkg.afich_info_tri_alter ();' ); wwv_flow_api.create_flow_process( p_id=>wwv_flow_api.id(1567071434963339572) ,p_process_sequence=>1 ,p_process_point=>'ON_DEMAND' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'AFW - 13 - Gérer touches haut/bas' ,p_process_sql_clob=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'htp.p(''<script type="text/javascript">', 'apex.jQuery(document).keydown(checkUpDownKey);', '</script>'');')) ); wwv_flow_api.create_flow_process( p_id=>wwv_flow_api.id(1567071645352342555) ,p_process_sequence=>1 ,p_process_point=>'ON_DEMAND' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'AFW - 13 - Cacher tous les boutons' ,p_process_sql_clob=>'afw_13_condt_piltb_pkg.cachr_tous_boutn;' ,p_process_error_message=>'#SQLERRM#' ); wwv_flow_api.create_flow_process( p_id=>wwv_flow_api.id(1567072363145357154) ,p_process_sequence=>1 ,p_process_point=>'ON_DEMAND' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'AFW - 13 - Tout lecture seule' ,p_process_sql_clob=>'afw_13_condt_piltb_pkg.lectr_seule_tout;' ); wwv_flow_api.create_flow_process( p_id=>wwv_flow_api.id(1556506558565236499) ,p_process_sequence=>1.2 ,p_process_point=>'ON_NEW_INSTANCE' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'AFW - 11 - Alimenter les variables des numéros de produits' ,p_process_sql_clob=>'afw_11_aplic_pkg.defnr_varbl_numr_aplic();' ,p_process_error_message=>'Erreur' ); wwv_flow_api.create_flow_process( p_id=>wwv_flow_api.id(1555870075768954012) ,p_process_sequence=>1.1 ,p_process_point=>'ON_SUBMIT_BEFORE_COMPUTATION' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'AFW - 04 - Valider info de provenance avant Submit' ,p_process_sql_clob=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'if not afw_04_fil_arian_pkg.est_valid_sidf(true) then', ' afw_08_url_pkg.redrg_page_acuei_postn;', 'end if;')) ,p_process_error_message=>'Erreur lors de la validation de la provenance.' ,p_process_when=>'afw_13_page_pkg.obten_page_sesn <> afw_11_aplic_pkg.obten_page_conxn' ,p_process_when_type=>'PLSQL_EXPRESSION' ); wwv_flow_api.create_flow_process( p_id=>wwv_flow_api.id(1556696079505478220) ,p_process_sequence=>1.2 ,p_process_point=>'ON_SUBMIT_BEFORE_COMPUTATION' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'AFW - 04 - Synchroniser variables contexte' ,p_process_sql_clob=>'afw_04_contx_pkg.synch_varbl;' ,p_process_error_message=>'#SQLERRM#' ,p_process_when=>'afw_13_page_pkg.obten_page_sesn <> afw_11_aplic_pkg.obten_page_conxn' ,p_process_when_type=>'PLSQL_EXPRESSION' ); wwv_flow_api.create_flow_process( p_id=>wwv_flow_api.id(1524968461296579364) ,p_process_sequence=>1.3 ,p_process_point=>'ON_SUBMIT_BEFORE_COMPUTATION' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'AFW - 13 - Recherche' ,p_process_sql_clob=>'afw_13_navgt_pkg.efect_rechr ();' ,p_process_error_message=>'Erreur' ,p_process_when=>'AFW_13_RECHR_FORML' ,p_process_when_type=>'REQUEST_EQUALS_CONDITION' ); end; / prompt --application/shared_components/logic/application_items begin wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1556153467290169951) ,p_name=>'A_AFW_04_ACTIO' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1555867159398892565) ,p_name=>'A_AFW_04_AUTOR_DUPLQ_PAGE' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1556153676294172551) ,p_name=>'A_AFW_04_CONTX' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1640146132231019932) ,p_name=>'A_AFW_04_CONTX_FORMT' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1556153879411173412) ,p_name=>'A_AFW_04_SEQNC_CONTX' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1556154284605174920) ,p_name=>'A_AFW_04_SOURC_ACTIO' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1556154081835174172) ,p_name=>'A_AFW_04_SOURC_CONTX' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1640154139504022039) ,p_name=>'A_AFW_04_SOURC_CONTX_FORMT' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1947800425768163135) ,p_name=>'A_AFW_04_SOURC_NUMR_APLIC' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1556545266057810464) ,p_name=>'A_AFW_04_SOURC_NUMR_PAGE' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1556154487029175697) ,p_name=>'A_AFW_04_SOURC_SEQNC_CONTX' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1557233063754674503) ,p_name=>'A_AFW_04_SOURC_URL' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1609995871514424715) ,p_name=>'A_AFW_04_SUPRM_FIL_COURN' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1555961371795135901) ,p_name=>'A_AFW_04_SUR_SOUMS' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(9241632719980374) ,p_name=>'A_AFW_11_ACRON_APLIC' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1541589444183378696) ,p_name=>'A_AFW_11_ACRON_PRODT' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1360167693817601210) ,p_name=>'A_AFW_11_DEPLC_RANGE_RAPRT' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1525428658031386311) ,p_name=>'A_AFW_11_DOSR_FICHR' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1525427361878340147) ,p_name=>'A_AFW_11_DOSR_FICHR_AFW' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1541581436911376581) ,p_name=>'A_AFW_11_ENVIR' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1586367830401585865) ,p_name=>'A_AFW_11_JQUER_UI_CSS_SCOPE' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1630788344788668102) ,p_name=>'A_AFW_11_MESG_SUPRS' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1586359825553584513) ,p_name=>'A_AFW_11_MESG_TOUT_DROIT_RESRV' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(9241804302980374) ,p_name=>'A_AFW_11_NOM_APLIC' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(9242117829980375) ,p_name=>'A_AFW_11_NOM_PRODT' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(79667222005940764) ,p_name=>'A_AFW_11_NUMR_VERSN_PRODT' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(79725629944619140) ,p_name=>'A_AFW_11_NUMR_VERSN_PRODT_AFW' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1359436093950570186) ,p_name=>'A_AFW_11_TEMPL_CUSTM' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1629282940699796415) ,p_name=>'A_AFW_11_TEMPL_JAVSC_CORE_1' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1629298946586798114) ,p_name=>'A_AFW_11_TEMPL_JAVSC_CORE_2' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1629306949010798842) ,p_name=>'A_AFW_11_TEMPL_JAVSC_JQUER' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1629290943123797152) ,p_name=>'A_AFW_11_TEMPL_THEME_JQUER_UI' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1766628438184223766) ,p_name=>'A_AFW_11_TRAIT_MESGS_ERR' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1359435991427570185) ,p_name=>'A_AFW_11_URL_ACUEI' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(909515368839848727) ,p_name=>'A_AFW_11_URL_AUTHE_CIBLE' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1541605250070380366) ,p_name=>'A_AFW_11_VERSN_PRODT' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1554123040334213826) ,p_name=>'A_AFW_12_UTILS' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1513349729519461962) ,p_name=>'A_AFW_12_UTILS_CODE' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1616390367864000017) ,p_name=>'A_AFW_12_UTILS_NOM_FORMT' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1742883148095754875) ,p_name=>'A_AFW_13_LIEN_EDITN_RAPRT' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1761306830905028102) ,p_name=>'A_AFW_13_MESG_AUCUN_DON_TROUV' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(14460520134804845) ,p_name=>'A_AFW_13_MESG_CONFR_SUPRS' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1659431138394597693) ,p_name=>'A_AFW_13_MESG_ECHEC_SPECF' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1758700926937440308) ,p_name=>'A_AFW_13_MESG_IMPOS_FETCH' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1758611836587414689) ,p_name=>'A_AFW_13_MESG_RANGE_INSER' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1758588628968412501) ,p_name=>'A_AFW_13_MESG_RANGE_MODF' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1758385043765360050) ,p_name=>'A_AFW_13_MESG_RANGE_SUPRM' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1659423133546596239) ,p_name=>'A_AFW_13_MESG_SUCS_SPECF' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1769371526726811372) ,p_name=>'A_AFW_13_MESG_TROP_DON_TROUV' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1524960151609302179) ,p_name=>'A_AFW_13_MODE_RECHR' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1556914263851180877) ,p_name=>'A_AFW_13_PAGE_META' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1556914060041179766) ,p_name=>'A_AFW_13_PAGE_TITRE' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1567074047786418961) ,p_name=>'A_AFW_13_PAGNT_NAVGT' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1582278339501081905) ,p_name=>'A_AFW_14_POPUP_LOV_IR' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1585027057146560275) ,p_name=>'A_AFW_14_POPUP_LOV_IR_RETR' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1564315039677450971) ,p_name=>'A_AFW_19_AFICH_EREUR' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1564319847080462605) ,p_name=>'A_AFW_19_AFICH_LOV' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1564319645695462161) ,p_name=>'A_AFW_19_AIDE_CLE_FONCT' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1564315951105454332) ,p_name=>'A_AFW_19_AIDE_ITEM' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1564316253182454938) ,p_name=>'A_AFW_19_AIDE_PAGE' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1564313858246446858) ,p_name=>'A_AFW_19_ANULR_REQT' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1564314264133448613) ,p_name=>'A_AFW_19_COUNT_QUERY' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1564315241408451536) ,p_name=>'A_AFW_19_DUPLQ_ENREG' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1564314060324447508) ,p_name=>'A_AFW_19_EFACR_CHAMP' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1564315443486452072) ,p_name=>'A_AFW_19_ENTRE_REQT' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1564315646256452911) ,p_name=>'A_AFW_19_EXECT_REQT' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1564319242232461200) ,p_name=>'A_AFW_19_IMPRI' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1564316554914455447) ,p_name=>'A_AFW_19_INSER_ENREG' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1565250254607125247) ,p_name=>'A_AFW_19_NAVGT_BAS_PAGE' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1564318435306459211) ,p_name=>'A_AFW_19_NAVGT_CHAMP_PRECD' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1564316956646455915) ,p_name=>'A_AFW_19_NAVGT_CHAMP_SUIVN' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1564314636214450025) ,p_name=>'A_AFW_19_NAVGT_DERNR_CHAMP' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1564314837945450493) ,p_name=>'A_AFW_19_NAVGT_DERNR_ENREG' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1564318637383459782) ,p_name=>'A_AFW_19_NAVGT_ENREG_PRECD' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1564317258377456383) ,p_name=>'A_AFW_19_NAVGT_ENREG_SUIVN' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1564318839115460269) ,p_name=>'A_AFW_19_NAVGT_GROUP_ENREG_PRECD' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1564317460109456880) ,p_name=>'A_AFW_19_NAVGT_GROUP_ENREG_SUIVN' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1565250457378126018) ,p_name=>'A_AFW_19_NAVGT_HAUT_PAGE' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1564319040500460704) ,p_name=>'A_AFW_19_NAVGT_ONGLE_PRECD' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1564317661840457366) ,p_name=>'A_AFW_19_NAVGT_ONGLE_SUIVN' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1564317863225457769) ,p_name=>'A_AFW_19_NAVGT_PAGE_PRECD' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1564318031843458197) ,p_name=>'A_AFW_19_NAVGT_PREMR_CHAMP' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1564318233574458743) ,p_name=>'A_AFW_19_NAVGT_PREMR_ENREG' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1564319443963461668) ,p_name=>'A_AFW_19_SAUVG_ENREG' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1564314433443449216) ,p_name=>'A_AFW_19_SUPRM_ENREG' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1541613351240390166) ,p_name=>'A_AFW_25_URL_RAPRT' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1616389962668998448) ,p_name=>'A_DATE_SYSTM' ,p_protection_level=>'I' ,p_required_patch=>wwv_flow_api.id(1571945379827889551) ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1525561263572235264) ,p_name=>'A_NOMBR_BOUTN' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1525561060455234333) ,p_name=>'A_NOMBR_CHAMP' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1525561433921236152) ,p_name=>'A_NOMBR_COLN' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1525561637037237022) ,p_name=>'A_NOMBR_PAGE' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1582685275608298051) ,p_name=>'A_P12081_NUMR_PAGE_APEX' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1942882350867862051) ,p_name=>'A_SAFP_APLIC' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1528425548621786305) ,p_name=>'A_SAFP_PRODT' ,p_protection_level=>'I' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1555111065464463245) ,p_name=>'FSP_AFTER_LOGIN_URL' ,p_protection_level=>'N' ); wwv_flow_api.create_flow_item( p_id=>wwv_flow_api.id(1556913362765152247) ,p_name=>'FSP_LANGUAGE_PREFERENCE' ,p_protection_level=>'I' ); end; / prompt --application/shared_components/logic/application_computations begin wwv_flow_api.create_flow_computation( p_id=>wwv_flow_api.id(1616391464878008628) ,p_computation_sequence=>10 ,p_computation_item=>'A_DATE_SYSTM' ,p_computation_point=>'BEFORE_HEADER' ,p_computation_type=>'PLSQL_EXPRESSION' ,p_computation_processed=>'REPLACE_EXISTING' ,p_computation=>'to_char(sysdate, ''Day dd month yyyy'') || '' (semaine '' ||to_number(to_char(sysdate, ''iw'')) || ''/52)''' ); end; / prompt --application/shared_components/navigation/tabs/standard begin null; end; / prompt --application/shared_components/navigation/tabs/parent begin null; end; / prompt --application/shared_components/user_interface/lovs begin wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1531273363042625394) ,p_lov_name=>'LOV_AFW_21_PLUGN_ARBRE_MODE_CACHE' ,p_lov_query=>'.'||wwv_flow_api.id(1531273363042625394)||'.' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1531273658700625398) ,p_lov_disp_sequence=>1 ,p_lov_disp_value=>'Session' ,p_lov_return_value=>'SESN' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1531274038254625400) ,p_lov_disp_sequence=>2 ,p_lov_disp_value=>'Aucune' ,p_lov_return_value=>'AUCUN' ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1583191160521076442) ,p_lov_name=>'LOV_APEX_CONDT' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select valr d,', ' ddv.seqnc r', ' from vd_afw_14_domn_valr dv,', ' vd_afw_14_detl_domn_valr ddv', ' where dv.seqnc = ddv.ref_domn_valr ', ' and dv.code = ''CONDT_APEX''', ' and dv.ref_prodt = afw_11_prodt_pkg.obten_prodt_sesn', 'order by ddv.seqnc_presn')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1942859425150280659) ,p_lov_name=>'LOV_APLIC' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select numr_aplic_apex || '' - '' || code || '' - '' || nom d,', ' seqnc r', ' from vd_afw_11_aplic', 'where ref_prodt = afw_04_contx_pkg.obten_seqnc_contx(''PRODT'')', 'order by 1')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1556142970869900215) ,p_lov_name=>'LOV_APLIC_APEX' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select ''['' || owner || ''] '' || id || '' - '' || name d, id r', ' from apex_aplic', ' where owner <> afw_07_util_pkg.obten_schem_apex', 'order by owner, id')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1567005353705197058) ,p_lov_name=>'LOV_BOUTN_TYPE_AIDE_CONTX' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( ' select ddv.valr d, ', ' ddv.seqnc r ', ' from vd_afw_14_detl_domn_valr ddv, ', ' vd_afw_14_domn_valr dv ', ' where ddv.ref_domn_valr = dv.seqnc ', ' and dv.code = ''BOUTN_TYPE_AIDE_CONTX''', ' and dv.ref_prodt = afw_11_prodt_pkg.obten_prodt_sesn', ' and ddv.date_debut_efect <= sysdate ', ' and (ddv.date_fin_efect is not null and sysdate <= ddv.date_fin_efect', ' or ddv.date_fin_efect is null)', 'order by ddv.seqnc_presn')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1578157168780657743) ,p_lov_name=>'LOV_CATGR_PERSN' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select ddv.valr d, ddv.seqnc r', ' from vd_afw_14_detl_domn_valr ddv, ', ' vd_afw_14_domn_valr dv', ' where dv.seqnc = ddv.ref_domn_valr ', ' and dv.code = ''CATGR_PERSN''', ' and dv.ref_prodt = afw_11_prodt_pkg.obten_prodt_sesn', 'order by ddv.seqnc_presn')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1530292352767377262) ,p_lov_name=>'LOV_CONDT_EXECT' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select nom d, seqnc r', ' from vd_afw_13_condt_exect', ' order by 1')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1528825551325398002) ,p_lov_name=>'LOV_CONTX_EXECT' ,p_lov_query=>'.'||wwv_flow_api.id(1528825551325398002)||'.' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1528825855767398002) ,p_lov_disp_sequence=>1 ,p_lov_disp_value=>'Propriétaire' ,p_lov_return_value=>'N' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1528826040785398002) ,p_lov_disp_sequence=>2 ,p_lov_disp_value=>'Utilisateur courant' ,p_lov_return_value=>'O' ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1699897035733738915) ,p_lov_name=>'LOV_COULR_PRINC' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select ddv.valr d, ddv.seqnc r', ' from vd_afw_14_detl_domn_valr ddv, ', ' vd_afw_14_domn_valr dv', ' where dv.seqnc = ddv.ref_domn_valr ', ' and dv.code = ''COULR_PRINC''', ' and dv.ref_prodt = afw_11_prodt_pkg.obten_prodt_sesn', 'order by ddv.seqnc_presn')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1699896839641738915) ,p_lov_name=>'LOV_COULR_THEME' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select ddv.valr d, ddv.seqnc r', ' from vd_afw_14_detl_domn_valr ddv, ', ' vd_afw_14_domn_valr dv', ' where dv.seqnc = ddv.ref_domn_valr ', ' and dv.code = ''COULR_THEME''', ' and dv.ref_prodt = afw_11_prodt_pkg.obten_prodt_sesn', 'order by ddv.seqnc_presn')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1558602661482417318) ,p_lov_name=>'LOV_DEFNT_ACCES' ,p_lov_query=>'.'||wwv_flow_api.id(1558602661482417318)||'.' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1558603178475417320) ,p_lov_disp_sequence=>1 ,p_lov_disp_value=>'Accordé' ,p_lov_return_value=>'ACORD' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1558603380977417320) ,p_lov_disp_sequence=>2 ,p_lov_disp_value=>'Utilisateur lié' ,p_lov_return_value=>'ACUCS' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1558603556593417320) ,p_lov_disp_sequence=>3 ,p_lov_disp_value=>'Structure inférieure liée' ,p_lov_return_value=>'ACSIN' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1558677171680175332) ,p_lov_disp_sequence=>4 ,p_lov_disp_value=>'Structure immédiate liée' ,p_lov_return_value=>'ACSTI' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1558603766872417320) ,p_lov_disp_sequence=>5 ,p_lov_disp_value=>'Structure supérieure liée' ,p_lov_return_value=>'ACSSU' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1558677683801178804) ,p_lov_disp_sequence=>6 ,p_lov_disp_value=>'Structure globale liée' ,p_lov_return_value=>'ACSTG' ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1530252650560316953) ,p_lov_name=>'LOV_DOSR_VIRTL' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select nom d, seqnc r', ' from vd_afw_13_dosr_virtl dv', ' where ref_prodt = :A_SAFP_PRODT', 'order by 1')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1557022574799007343) ,p_lov_name=>'LOV_ERER_ORACL' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select libl d, seqnc r', 'from VD_AFW_01_CODE_ERR_ORACL', 'order by 1')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1605568966903691183) ,p_lov_name=>'LOV_FORMT' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select LIBL d, SEQNC r', 'from VD_AFW_14_FORMT', 'where ref_prodt = afw_11_prodt_pkg.obten_prodt_sesn', 'order by 1')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1577502481611838381) ,p_lov_name=>'LOV_GROUP_UTILS_SEM' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select nom d,', ' seqnc r', ' from vd_afw_12_group_utils gu', ' where gu.ref_prodt = (select seqnc', ' from vd_afw_11_prodt p', ' where p.code = ''SEM'')', 'order by 1')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1566369952231058136) ,p_lov_name=>'LOV_JEU_CARCT_APEX' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( ' select ddv.valr d, ', ' ddv.seqnc r ', ' from vd_afw_14_detl_domn_valr ddv, ', ' vd_afw_14_domn_valr dv ', ' where ddv.ref_domn_valr = dv.seqnc ', ' and dv.code = ''JEU_CARCT_APEX''', ' and ddv.code_valr = ''UTF-8''', ' and dv.ref_prodt = afw_11_prodt_pkg.obten_prodt_sesn', 'order by ddv.seqnc_presn')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1578573173403087239) ,p_lov_name=>'LOV_LANG' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select nom d, seqnc r', ' from vd_afw_01_lang', ' order by 1')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1582646383443940829) ,p_lov_name=>'LOV_LANG_LANG' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select nom d, ref_lang r', ' from vd_afw_01_lang_lang', ' where ref_lang_cible = afw_01_lang_pkg.obten_lang_sesn()', ' order by 1')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1555918478688465809) ,p_lov_name=>'LOV_MESG' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select libl_mesg d, seqnc r', ' from (select mes.numr_mesg||'' - ''||mel.mesg libl_mesg, mes.seqnc', ' from vd_afw_01_mesg mes,', ' vd_afw_01_mesg_lang mel', ' where mel.ref_mesg = mes.seqnc', ' and mel.ref_lang = afw_01_lang_pkg.obten_lang_sesn()', ' and mes.ref_prodt = :A_SAFP_PRODT)', ' order by 1')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(909000144796594719) ,p_lov_name=>'LOV_NATR_ENVIR' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select valr d,', ' ddv.seqnc r', ' from vd_afw_14_domn_valr dv,', ' vd_afw_14_detl_domn_valr ddv', ' where dv.seqnc = ddv.ref_domn_valr', ' and dv.code = ''AFW_NATR_ENVIR''', ' and dv.ref_prodt = afw_11_prodt_pkg.obten_prodt_sesn', ' and ddv.date_debut_efect <= sysdate', ' and ( ddv.date_fin_efect is not null and sysdate <= ddv.date_fin_efect', ' or ddv.date_fin_efect is null)', 'order by ddv.seqnc_presn')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1578898359456538115) ,p_lov_name=>'LOV_NUMR_MESG' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select libl_mesg d, numr_mesg r', ' from (select mes.numr_mesg||'' - ''||mel.mesg libl_mesg, mes.numr_mesg', ' from vd_afw_01_mesg mes,', ' vd_afw_01_mesg_lang mel', ' where mel.ref_mesg = mes.seqnc', ' and mel.ref_lang = afw_01_lang_pkg.obten_lang_sesn())', ' order by 1')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1555860175534812095) ,p_lov_name=>'LOV_O' ,p_lov_query=>'.'||wwv_flow_api.id(1555860175534812095)||'.' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1555860469515812097) ,p_lov_disp_sequence=>1 ,p_lov_disp_value=>'&nbsp;' ,p_lov_return_value=>'O' ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1526721355174197857) ,p_lov_name=>'LOV_OPTIO_ENTET_CALND' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select d, r', ' from vs_optio_entet_calnd', 'order by o')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1700028422429752480) ,p_lov_name=>'LOV_ORIEN_MENU' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select ddv.valr d, ddv.seqnc r', ' from vd_afw_14_detl_domn_valr ddv, ', ' vd_afw_14_domn_valr dv', ' where dv.seqnc = ddv.ref_domn_valr ', ' and dv.code = ''ORIEN_MENU''', ' and dv.ref_prodt = afw_11_prodt_pkg.obten_prodt_sesn', 'order by ddv.seqnc_presn')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1557988682545049354) ,p_lov_name=>'LOV_OUI_NON' ,p_lov_query=>'.'||wwv_flow_api.id(1557988682545049354)||'.' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1557988966819049357) ,p_lov_disp_sequence=>1 ,p_lov_disp_value=>'Oui' ,p_lov_return_value=>'O' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1557989169742049359) ,p_lov_disp_sequence=>2 ,p_lov_disp_value=>'Non' ,p_lov_return_value=>'N' ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1566982451262344813) ,p_lov_name=>'LOV_P1010_APEX_PAGE' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select id || '' - '' || name d, id r', ' from apex_page', ' where afw_07_util_pkg.nv(''P1010_NUMR_APLIC_APEX'') is not null and flow_id = :P1010_NUMR_APLIC_APEX', ' order by id')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1567379531871384079) ,p_lov_name=>'LOV_P1010_GROUP_UTILS_IGNOR_GROUP_ADMIN' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select nom d,', ' seqnc r', ' from vd_afw_12_group_utils gu', ' where gu.ref_prodt = :P1010_SEQNC', ' and gu.indic_ignor_group_admin = ''N''', 'order by 1')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1564287245454776311) ,p_lov_name=>'LOV_P1050_TEMPL_BOUTN' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select template_name d,', ' id r', ' from apex_boutn_templ', ' where flow_id = afw_11_prodt_pkg.obten_numr_apex_prodt(afw_07_util_pkg.nv(''P1050_REF_PRODT''))', 'order by 1')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1563430340497416910) ,p_lov_name=>'LOV_P1070_TEMPL_BOUTN' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select template_name d,', ' id r', ' from apex_boutn_templ', ' where flow_id = afw_11_prodt_pkg.obten_numr_apex_prodt(:p1070_seqnc)', 'order by 1')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1569802158710484377) ,p_lov_name=>'LOV_P12041_DEPSM_ALIAS_COLN' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select arc.column_alias d, arc.column_alias r', 'from apex_regn_coln arc,', ' apex_regn ar', ' where arc.display_as = ''HIDDEN''', ' and arc.region_id = ar.id', ' and arc.flow_id = ar.flow_id', ' and ar.flow_id = :P12041_NUMR_APLIC_APEX', ' and ar.page_id = :P12041_NUMR_APEX', ' and ar.plug_source_type = ''UPDATABLE_SQL_QUERY''', ' and arc.column_alias <> ''SEQNC''', 'order by 1')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1555763577815465559) ,p_lov_name=>'LOV_P12041_OPERT' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select nom d, seqnc r', ' from vd_afw_13_opert o', ' where o.ref_prodt = afw_04_contx_pkg.obten_seqnc_contx(''PRODT'')', ' order by 1')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1555947472236442287) ,p_lov_name=>'LOV_P12070_IR' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select libl_regn d, seqnc r', ' from vd_afw_13_page_ir ir', ' where ir.ref_page = :A_AFW_04_SOURC_SEQNC_CONTX', ' order by 1')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1566934051725034571) ,p_lov_name=>'LOV_P12078_LANG_PROD' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select ll.nom d,', ' ll.ref_lang r', ' from vd_afw_01_lang_lang ll', ' where ll.ref_lang_cible = afw_01_lang_pkg.obten_lang_sesn()', ' and (exists (select null', ' from vd_afw_11_aplic a', ' where a.ref_lang = ll.ref_lang', ' and a.seqnc = afw_07_util_pkg.vd(''P12078_REF_APLIC''))', ' or ', ' exists (select null', ' from vd_afw_11_prodt_lang pl,', ' vd_afw_11_prodt p,', ' vd_afw_11_aplic a ', ' where pl.ref_prodt = p.seqnc', ' and pl.ref_lang = ll.ref_lang', ' and p.seqnc = a.ref_prodt', ' and a.seqnc = afw_07_util_pkg.vd(''P12078_REF_APLIC''))', ' )', ' order by 1')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1585635082878536920) ,p_lov_name=>'LOV_P12081_LANG_PROD' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select ll.nom d,', ' ll.ref_lang r', ' from vd_afw_01_lang_lang ll', ' where ll.ref_lang_cible = afw_01_lang_pkg.obten_lang_sesn()', ' and (exists (select null', ' from vd_afw_11_prodt p', ' where p.ref_lang = ll.ref_lang', ' and p.seqnc = afw_07_util_pkg.vd(''P12081_REF_PRODT''))', ' or ', ' exists (select null', ' from vd_afw_11_prodt_lang pl,', ' vd_afw_11_prodt p ', ' where pl.ref_prodt = p.seqnc', ' and pl.ref_lang = ll.ref_lang', ' and p.seqnc = afw_07_util_pkg.vd(''P12081_REF_PRODT''))', ' )', ' order by 1')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1583217361239704153) ,p_lov_name=>'LOV_P12091_AFW_13_ITEMS' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select d, r from (', 'select (select a.code || '' - '' || p.nom || '' (p.'' || p.numr_apex || '')''', ' from vd_afw_13_page p,', ' vd_afw_11_aplic a', ' where p.seqnc = pi.ref_page and p.ref_aplic = a.seqnc) ||', ' '' - '' ||', ' libl || ', ' '' ('' || nom_apex || '')'' ', ' d,', ' seqnc r', 'from vd_afw_13_page_item pi', 'where type_item = ''ITEM'')', 'order by 1')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1581989932906642369) ,p_lov_name=>'LOV_P12095_AFW_13_ITEMS' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select d, r from (', 'select (select pr.code || '' - '' || p.nom || '' (p.'' || p.numr_apex || '')''', ' from vd_afw_13_page p,', ' vd_afw_11_prodt pr', ' where p.seqnc = pi.ref_page and p.ref_prodt = pr.seqnc) ||', ' '' - '' ||', ' libl || ', ' '' ('' || nom_apex || '')'' ', ' d,', ' seqnc r', 'from vd_afw_13_page_item pi)', 'order by 1')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1585007648191465233) ,p_lov_name=>'LOV_P12095_AFW_13_ITEMS1' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select d, r from (', 'select (select pr.code || '' - '' || p.nom || '' (p.'' || p.numr_apex || '')''', ' from vd_afw_13_page p,', ' vd_afw_11_prodt pr', ' where p.seqnc = pi.ref_page and p.ref_prodt = pr.seqnc) ||', ' '' - '' ||', ' libl || ', ' '' ('' || nom_apex || '')'' ', ' d,', ' seqnc r', 'from vd_afw_13_page_item pi)', 'order by 1')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1582935431990250513) ,p_lov_name=>'LOV_P12095_AFW_13_PAGE_IR' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( ' select d,', ' r', ' from (select (select code || '' - ''', ' from vd_afw_11_prodt pr', ' where pr.seqnc = p.ref_prodt) ||', ' nom d,', ' seqnc r', ' from vd_afw_13_page p)', 'order by 1')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1585007949600465239) ,p_lov_name=>'LOV_P12095_AFW_13_PAGE_IR1' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( ' select d "Nom",', ' r', ' from (select (select pr.code || '' - ''', ' from vd_afw_11_prodt pr', ' where pr.seqnc = p.ref_prodt) ||', ' p.nom d,', ' p.seqnc r', ' from vd_afw_13_page p,', ' vd_afw_13_page_ir pi', ' where p.seqnc = pi.ref_page', ' and p.indic_prise_charg_afw14_popup = ''O'')', 'order by 1')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1560248232561605729) ,p_lov_name=>'LOV_P14020_TYPE_DOMN' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select nom d,', ' seqnc r', ' from vd_afw_14_type_domn_valr', ' where ref_prodt = :P14020_REF_PRODT', ' order by 1', '')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1523887648243756011) ,p_lov_name=>'LOV_P21010_PROFL_COURL' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select pc.servr || '' - '' || pc.nom_envoy d,', ' pc.seqnc r', 'from vd_afw_17_profl_courl pc', 'where (pc.ref_prodt = afw_07_util_pkg.v (''P21010_REF_PRODT'')', ' or afw_07_util_pkg.v (''P21010_REF_PRODT'') is null) or pc.ref_prodt is null', 'order by 1')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1605559563262685676) ,p_lov_name=>'LOV_P4030_ATRIB' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select nom d, seqnc r', ' from vd_defnt_atrib', ' order by 1')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1605558987017685676) ,p_lov_name=>'LOV_P4030_LIBL' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select code || '' :: '' || nom d, seqnc r', ' from vd_libl', 'order by 1')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1576655674727019276) ,p_lov_name=>'LOV_PAGE' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( ' SELECT ''['' || a.code || ''] '' || p.numr_apex || '' - '' || p.nom d, p.seqnc r', ' FROM vd_afw_13_page p, vd_afw_11_aplic a', ' WHERE p.ref_aplic IN', ' (SELECT seqnc', ' FROM vd_afw_11_aplic a2', ' WHERE a2.ref_prodt = afw_04_contx_pkg.obten_seqnc_contx (''PRODT''))', ' AND a.seqnc = p.ref_aplic', 'ORDER BY p.numr_apex')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1527197248244593202) ,p_lov_name=>'LOV_PLUGN' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select nom d, seqnc r', ' from vd_afw_11_plugn', 'order by 1')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1555130966489092297) ,p_lov_name=>'LOV_PRODT' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select numr_aplic_apex || '' - '' || code || '' - '' || nom d,', ' seqnc r', ' from vd_afw_11_prodt', 'order by 1')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1583263480554544878) ,p_lov_name=>'LOV_SESN' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select code_utils || '' ('' ||nom || '', '' || prenm || '')'' d, s.id_sesn r', ' from vd_afw_12_utils u, vd_afw_12_sesn s', ' where s.app_user = u.code_utils', ' order by 1')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1613244481802061566) ,p_lov_name=>'LOV_SPX_TYPE_PUBLC' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select nom d, seqnc r', ' from vd_spx_type_publc', ' order by 1')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1558060674585223370) ,p_lov_name=>'LOV_STRUC_APLIC' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select nom d, seqnc r', ' from vd_afw_12_struc_aplic', ' where ref_prodt = afw_11_prodt_pkg.obten_prodt_sesn', ' order by 1')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1930362324274779933) ,p_lov_name=>'LOV_SYSTM' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select nom_formt d, seqnc r', ' from vd_afw_11_systm', 'order by 1')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1563740445249273591) ,p_lov_name=>'LOV_TYPE_ACTIO_FONCT' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( ' select ddv.valr d, ', ' ddv.seqnc r ', ' from vd_afw_14_detl_domn_valr ddv, ', ' vd_afw_14_domn_valr dv ', ' where ddv.ref_domn_valr = dv.seqnc ', ' and dv.code = ''TYPE_ACTIO_FONCT''', '', ' and dv.ref_prodt = afw_11_prodt_pkg.obten_prodt_sesn', 'order by ddv.seqnc_presn')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1581240575060600654) ,p_lov_name=>'LOV_TYPE_APPEL_REPRT' ,p_lov_query=>'.'||wwv_flow_api.id(1581240575060600654)||'.' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1581240873591600664) ,p_lov_disp_sequence=>1 ,p_lov_disp_value=>'Strict' ,p_lov_return_value=>'S' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1581241072192600668) ,p_lov_disp_sequence=>2 ,p_lov_disp_value=>'Ouvert' ,p_lov_return_value=>'O' ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1563291247509931865) ,p_lov_name=>'LOV_TYPE_ATRIB_FONCT' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( ' select ddv.valr d,', ' ddv.seqnc r', ' from vd_afw_14_detl_domn_valr ddv,', ' vd_afw_14_domn_valr dv', ' where ddv.ref_domn_valr = dv.seqnc and dv.code = ''TYPE_ATRIB_FONCT''', ' and dv.ref_prodt = afw_11_prodt_pkg.obten_prodt_sesn', 'order by ddv.seqnc_presn')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1532040735384200469) ,p_lov_name=>'LOV_TYPE_COMNC' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select nom d, seqnc r', 'from vd_afw_01_type_comnc', 'order by 1')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1558860285127311376) ,p_lov_name=>'LOV_TYPE_DOMN_VALR' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select nom d, seqnc r', 'from vd_afw_14_type_domn_valr', 'where ref_prodt = afw_11_prodt_pkg.obten_prodt_sesn', 'order by 1')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1558342183278714248) ,p_lov_name=>'LOV_TYPE_DON' ,p_lov_query=>'.'||wwv_flow_api.id(1558342183278714248)||'.' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1558342466527714250) ,p_lov_disp_sequence=>1 ,p_lov_disp_value=>'Alphanumérique' ,p_lov_return_value=>'V' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1558342663125714251) ,p_lov_disp_sequence=>2 ,p_lov_disp_value=>'Numérique' ,p_lov_return_value=>'N' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1558342876982714251) ,p_lov_disp_sequence=>3 ,p_lov_disp_value=>'Date' ,p_lov_return_value=>'D' ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1530285734011267732) ,p_lov_name=>'LOV_TYPE_DON2' ,p_lov_query=>'.'||wwv_flow_api.id(1530285734011267732)||'.' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1530286051134267733) ,p_lov_disp_sequence=>1 ,p_lov_disp_value=>'Date' ,p_lov_return_value=>'D' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1530286250182267734) ,p_lov_disp_sequence=>2 ,p_lov_disp_value=>'Number' ,p_lov_return_value=>'N' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1530286449298267735) ,p_lov_disp_sequence=>3 ,p_lov_disp_value=>'Varchar2' ,p_lov_return_value=>'V' ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1566358036674930658) ,p_lov_name=>'LOV_TYPE_EXPOR_APEX' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( ' select ddv.valr d, ', ' ddv.seqnc r ', ' from vd_afw_14_detl_domn_valr ddv, ', ' vd_afw_14_domn_valr dv ', ' where ddv.ref_domn_valr = dv.seqnc ', ' and dv.code = ''TYPE_EXPOR_APEX''', ' and ddv.code_valr = ''FLOW_EXPORT''', ' and dv.ref_prodt = afw_11_prodt_pkg.obten_prodt_sesn', 'order by ddv.seqnc_presn')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1563753055908421602) ,p_lov_name=>'LOV_TYPE_EXPRE_ACTIO' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( ' select ddv.valr d, ', ' ddv.seqnc r ', ' from vd_afw_14_detl_domn_valr ddv, ', ' vd_afw_14_domn_valr dv ', ' where ddv.ref_domn_valr = dv.seqnc ', ' and dv.code = ''TYPE_EXPRE_ACTIO''', ' and dv.ref_prodt = afw_11_prodt_pkg.obten_prodt_sesn', 'order by ddv.seqnc_presn')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1583196183902121064) ,p_lov_name=>'LOV_TYPE_INSTA' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select valr d,', ' ddv.seqnc r', 'from vd_afw_14_domn_valr dv,', ' vd_afw_14_detl_domn_valr ddv', 'where dv.seqnc = ddv.ref_domn_valr and dv.code = ''TYPE_INSTA''', ' and dv.ref_prodt = afw_11_prodt_pkg.obten_prodt_sesn', 'order by seqnc_presn')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1556924072885687454) ,p_lov_name=>'LOV_TYPE_LARGR' ,p_lov_query=>'.'||wwv_flow_api.id(1556924072885687454)||'.' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1556924365298687465) ,p_lov_disp_sequence=>1 ,p_lov_disp_value=>'Pouce' ,p_lov_return_value=>'POUCE' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1556924786553687468) ,p_lov_disp_sequence=>2 ,p_lov_disp_value=>'Relatif restant' ,p_lov_return_value=>'RELTF' ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1556462159520774586) ,p_lov_name=>'LOV_TYPE_LIAIS' ,p_lov_query=>'.'||wwv_flow_api.id(1556462159520774586)||'.' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1556462480024774589) ,p_lov_disp_sequence=>1 ,p_lov_disp_value=>'1 - Page, type d''erreur, contrainte et table/colonne' ,p_lov_return_value=>'1' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1556462681346774589) ,p_lov_disp_sequence=>2 ,p_lov_disp_value=>'2 - Page et type d''erreur' ,p_lov_return_value=>'2' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1556462884261774589) ,p_lov_disp_sequence=>3 ,p_lov_disp_value=>'3 - Page' ,p_lov_return_value=>'3' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1556463071375774589) ,p_lov_disp_sequence=>4 ,p_lov_disp_value=>'4 - Type d''erreur, contrainte et table/colonne' ,p_lov_return_value=>'4' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1556463257982774589) ,p_lov_disp_sequence=>5 ,p_lov_disp_value=>'5 - Type d''erreur' ,p_lov_return_value=>'5' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1556463879143774590) ,p_lov_disp_sequence=>8 ,p_lov_disp_value=>'8 - Message générique' ,p_lov_return_value=>'8' ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1605559283412685676) ,p_lov_name=>'LOV_TYPE_LIBL' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select code || '' :: '' || nom d, seqnc r', ' from vd_type_libl', 'order by 1')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1698024044129525091) ,p_lov_name=>'LOV_TYPE_MENU' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select ddv.valr d, ddv.seqnc r', ' from vd_afw_14_detl_domn_valr ddv, ', ' vd_afw_14_domn_valr dv', ' where dv.seqnc = ddv.ref_domn_valr ', ' and dv.code = ''TYPE_MENU''', ' and dv.ref_prodt = afw_11_prodt_pkg.obten_prodt_sesn', 'order by ddv.seqnc_presn')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1558736075648480812) ,p_lov_name=>'LOV_TYPE_MESG' ,p_lov_query=>'.'||wwv_flow_api.id(1558736075648480812)||'.' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1558736372454480814) ,p_lov_disp_sequence=>1 ,p_lov_disp_value=>'Erreur' ,p_lov_return_value=>'E' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1609947358058348647) ,p_lov_disp_sequence=>2 ,p_lov_disp_value=>'Erreur critique' ,p_lov_return_value=>'C' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1558736582762480815) ,p_lov_disp_sequence=>3 ,p_lov_disp_value=>'Informatif' ,p_lov_return_value=>'I' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1558736764903480815) ,p_lov_disp_sequence=>4 ,p_lov_disp_value=>'Aide' ,p_lov_return_value=>'A' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1558736976682480815) ,p_lov_disp_sequence=>5 ,p_lov_disp_value=>'Avertissement' ,p_lov_return_value=>'W' ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1528822442472206229) ,p_lov_name=>'LOV_TYPE_MODL' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select ddv.valr display_value, ddv.seqnc return_value ', 'from vd_afw_14_detl_domn_valr ddv, vd_afw_14_domn_valr dv', 'where ddv.ref_domn_valr = dv.seqnc and dv.code = ''TYPE_MODL''', ' and dv.ref_prodt = afw_11_prodt_pkg.obten_prodt_sesn', 'order by 1')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1566948938929532377) ,p_lov_name=>'LOV_TYPE_REGN_PILTB' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( ' select ddv.valr d, ', ' ddv.seqnc r ', ' from vd_afw_14_detl_domn_valr ddv, ', ' vd_afw_14_domn_valr dv ', ' where ddv.ref_domn_valr = dv.seqnc ', ' and dv.code = ''TYPE_REGN_PILTB''', ' and dv.ref_prodt = afw_11_prodt_pkg.obten_prodt_sesn', 'order by ddv.seqnc_presn')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1530153040073897328) ,p_lov_name=>'LOV_TYPE_RESRC' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select valr d, code_valr r', 'from vs_afw_14_domn_valr', 'where code = ''TYPE_RESRC''', 'order by 1')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1558459976525601254) ,p_lov_name=>'LOV_TYPE_STRUC' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select nom d, seqnc r', ' from vd_afw_12_type_struc', '')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1583262372112533017) ,p_lov_name=>'LOV_UTILS' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select code_utils || '' ('' ||nom || '', '' || prenm || '')'' d, seqnc r', ' from vd_afw_12_utils', ' order by 1')) ); end; / begin wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1583219261894751573) ,p_lov_name=>'LOV_VALR_INSTA' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select valr d,', ' ddv.seqnc r', 'from vd_afw_14_domn_valr dv,', ' vd_afw_14_detl_domn_valr ddv', 'where dv.seqnc = ddv.ref_domn_valr and dv.code = ''VALR_INSTA_SAFP''', ' and dv.ref_prodt = afw_11_prodt_pkg.obten_prodt_sesn', ' and ddv.date_debut_efect <= sysdate ', ' and (ddv.date_fin_efect is not null and sysdate <= ddv.date_fin_efect', ' or ddv.date_fin_efect is null)', 'order by ddv.seqnc_presn')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1528806747301706204) ,p_lov_name=>'LOV_VERSN_BD_APLIC' ,p_lov_query=>'.'||wwv_flow_api.id(1528806747301706204)||'.' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1528807040592706208) ,p_lov_disp_sequence=>1 ,p_lov_disp_value=>'10g' ,p_lov_return_value=>'10g' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1528807260930706212) ,p_lov_disp_sequence=>2 ,p_lov_disp_value=>'11g' ,p_lov_return_value=>'11g' ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1530250550073231668) ,p_lov_name=>'LOV_VERSN_PRODT' ,p_lov_query=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select versn_formt d, seqnc r', ' from vd_afw_11_versn v', ' where v.ref_prodt = :A_SAFP_PRODT', 'order by 1')) ); wwv_flow_api.create_list_of_values( p_id=>wwv_flow_api.id(1930941921908745445) ,p_lov_name=>'P19000_OPERT' ,p_lov_query=>'.'||wwv_flow_api.id(1930941921908745445)||'.' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1930942226182745447) ,p_lov_disp_sequence=>1 ,p_lov_disp_value=>'=' ,p_lov_return_value=>'=' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1930942445661745447) ,p_lov_disp_sequence=>2 ,p_lov_disp_value=>'>' ,p_lov_return_value=>'>' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1930942646611745447) ,p_lov_disp_sequence=>3 ,p_lov_disp_value=>'>=' ,p_lov_return_value=>'>=' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1930942833935745447) ,p_lov_disp_sequence=>4 ,p_lov_disp_value=>'<' ,p_lov_return_value=>'<' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1930943033449745447) ,p_lov_disp_sequence=>5 ,p_lov_disp_value=>'<=' ,p_lov_return_value=>'<=' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1930943239660745448) ,p_lov_disp_sequence=>6 ,p_lov_disp_value=>'!=' ,p_lov_return_value=>'!=' ); wwv_flow_api.create_static_lov_data( p_id=>wwv_flow_api.id(1930943436168745448) ,p_lov_disp_sequence=>7 ,p_lov_disp_value=>'like' ,p_lov_return_value=>'like' ); end; / prompt --application/shared_components/navigation/trees begin null; end; / prompt --application/pages/page_groups begin wwv_flow_api.create_page_group( p_id=>wwv_flow_api.id(1555115963688401595) ,p_group_name=>'1000 - Gestion des messages d''erreur' ); wwv_flow_api.create_page_group( p_id=>wwv_flow_api.id(1555116282388406932) ,p_group_name=>'9000 - Généraux - Communs' ); end; / prompt --application/comments begin null; end; / prompt --application/shared_components/user_interface/templates/page begin wwv_flow_api.create_template( p_id=>wwv_flow_api.id(524952624617896527) ,p_theme_id=>313 ,p_name=>'Without tab' ,p_is_popup=>false ,p_javascript_file_urls=>'&A_AFW_11_DOSR_FICHR_AFW.theme/bootstrap/3.0.0/js/bootstrap.min.js?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.' ,p_css_file_urls=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '&A_AFW_11_DOSR_FICHR_AFW.theme/bootstrap/3.0.0/css/bootstrap#MIN#.css?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.', '&A_AFW_11_DOSR_FICHR_AFW.theme/bootstrap/3.0.0/css/custom.css?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.', '&A_AFW_11_DOSR_FICHR_AFW.theme/afw/custom.css?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.', '&A_AFW_11_DOSR_FICHR_AFW.theme/font-awesome/4.6.3/css/font-awesome#MIN#.css?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.')) ,p_header_template=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<!DOCTYPE html>', '<html lang="en">', ' <head>', ' <meta charset="utf-8">', ' <meta name="viewport" content="width=device-width, initial-scale=1.0">', ' <meta http-equiv="X-UA-Compatible" content="IE=edge">', ' <meta name="description" content="">', ' <meta name="author" content="">', '', ' <title>&A_AFW_11_ACRON_PRODT. - #TITLE#</title>', ' <!-- AFW - JavaScript - Core -->', ' &A_AFW_11_TEMPL_JAVSC_CORE_1.', ' #APEX_CSS#', ' #THEME_CSS#', '#TEMPLATE_CSS#', ' #THEME_STYLE_CSS#', ' #APPLICATION_CSS#', '#PAGE_CSS#', ' #APEX_JAVASCRIPT#', ' #THEME_JAVASCRIPT#', '#TEMPLATE_JAVASCRIPT#', ' #APPLICATION_JAVASCRIPT#', ' #HEAD#', '', ' &A_AFW_11_TEMPL_THEME_JQUER_UI.', ' <!-- AFW - JavaScript - Core -->', ' &A_AFW_11_TEMPL_JAVSC_CORE_2. ', ' &A_AFW_11_TEMPL_JAVSC_JQUER.', ' #PAGE_JAVASCRIPT#', ' <!-- Le fav and touch icons -->', ' <link rel="apple-touch-icon" sizes="57x57" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-57x57.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="apple-touch-icon" sizes="60x60" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-60x60.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="apple-touch-icon" sizes="72x72" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-72x72.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="apple-touch-icon" sizes="76x76" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-76x76.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="apple-touch-icon" sizes="114x114" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-114x114.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="apple-touch-icon" sizes="120x120" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-120x120.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="apple-touch-icon" sizes="144x144" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-144x144.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="apple-touch-icon" sizes="152x152" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-152x152.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="apple-touch-icon" sizes="180x180" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-180x180.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="icon" type="image/png" sizes="192x192" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/android-icon-192x192.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="icon" type="image/png" sizes="32x32" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/favicon-32x32.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="icon" type="image/png" sizes="96x96" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/favicon-96x96.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="icon" type="image/png" sizes="16x16" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/favicon-16x16.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="manifest" href="assets/img/ico/manifest.json">', ' <meta name="msapplication-TileColor" content="#ffffff">', ' <meta name="msapplication-TileImage" content="assets/img/ico/ms-icon-144x144.png">', ' <meta name="theme-color" content="#ffffff">', ' </head>', ' <body class="&A_AFW_11_JQUER_UI_CSS_SCOPE." #ONLOAD#>', ' <div class="container-main">', ' #FORM_OPEN#')) ,p_box=>wwv_flow_utilities.join(wwv_flow_t_varchar2( ' <div class="navbar navbar-fixed-top navbar-sub1">', ' <div class="navbar-inner">', ' <button data-target=".sub-navbar-collapse" data-toggle="collapse" type="button" class="navbar-toggle">', ' <span class="icon-bar"></span>', ' <span class="icon-bar"></span>', ' <span class="icon-bar"></span>', ' </button>', ' <div class="navbar-collapse collapse sub-navbar-collapse">', ' #REGION_POSITION_01# #REGION_POSITION_05#', ' </div><!--/.navbar-collapse -->', ' </div>', ' </div>', '', ' <div class="navbar navbar-fixed-top navbar-sub2">', ' <div class="navbar-inner">', ' <div id="afw_mesg_apex">#GLOBAL_NOTIFICATION##SUCCESS_MESSAGE##NOTIFICATION_MESSAGE#</div>', ' <div id="afw_01_mesg">#REGION_POSITION_07#</div>', ' </div>', ' </div>', ' ', ' <div class="navbar navbar-fixed-top navbar-main">', ' <div class="navbar-inner">', ' <button data-target=".main-navbar-collapse" data-toggle="collapse" type="button" class="navbar-toggle">', ' <span class="icon-bar"></span>', ' <span class="icon-bar"></span>', ' <span class="icon-bar"></span>', ' </button>', ' <a class="navbar-brand" href="&A_AFW_11_URL_ACUEI.">&A_AFW_11_ACRON_PRODT.</a>', ' <div class="navbar-collapse collapse main-navbar-collapse">', ' #REGION_POSITION_02#', ' </div><!--/.navbar-collapse -->', ' </div>', ' </div>', ' ', ' <div class="container">', ' <div class="row">', ' <div class="col-lg-12">', ' <div class="hero-unit">', ' #REGION_POSITION_03#', ' </div>', ' <div class="row">', ' #BODY#', ' </div><!--/row-->', ' <div class="row">', ' #REGION_POSITION_06#', ' </div><!--/row-->', ' </div><!--/col-->', ' </div><!--/row-->', ' ', ' <hr>', '', ' <footer>')) ,p_footer_template=>wwv_flow_utilities.join(wwv_flow_t_varchar2( ' <p>&A_AFW_11_VERSN_PRODT. - &A_AFW_11_MESG_TOUT_DROIT_RESRV.</p>', ' <div class="container">#REGION_POSITION_08#</div>', ' </footer>', ' </div><!--/.fluid-container-->', ' #FORM_CLOSE#', ' </div> <!-- /container -->', ' #DEVELOPER_TOOLBAR#', ' #GENERATED_CSS#', ' #GENERATED_JAVASCRIPT#', ' </body>', '</html>')) ,p_success_message=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div id="afw_sucs_mesg" class="alert alert-success">', ' <button type="button" class="close" data-dismiss="alert">&times;</button>', ' #SUCCESS_MESSAGE#', '</div>')) ,p_notification_message=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div id="afw_notfc_mesg" class="alert alert-danger">', ' <button type="button" class="close" data-dismiss="alert">&times;</button>', ' #MESSAGE#', '</div>')) ,p_sidebar_def_reg_pos=>'REGION_POSITION_04' ,p_theme_class_id=>3 ,p_grid_type=>'TABLE' ,p_grid_max_columns=>12 ,p_grid_always_use_max_columns=>false ,p_grid_has_column_span=>true ,p_grid_always_emit=>true ,p_grid_emit_empty_leading_cols=>false ,p_grid_emit_empty_trail_cols=>false ,p_grid_template=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div class="container">', '#ROWS#', '</div>')) ,p_grid_row_template=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div class="row">', '#COLUMNS#', '</div>')) ,p_grid_column_template=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div class="col-md-#COLUMN_SPAN_NUMBER# #FIRST_LAST_COLUMN_ATTRIBUTES#">', '#CONTENT#', '</div>')) ,p_grid_first_column_attributes=>'col-first' ,p_grid_last_column_attributes=>'col-last' ,p_grid_javascript_debug_code=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'apex.jQuery(document)', ' .on("apex-devbar-grid-debug-on", showGrid)', ' .on("apex-devbar-grid-debug-off", hideGrid);')) ,p_reference_id=>524947027725821677 ); wwv_flow_api.create_template( p_id=>wwv_flow_api.id(524952842862896527) ,p_theme_id=>313 ,p_name=>'Without tab with one frame' ,p_is_popup=>false ,p_javascript_file_urls=>'&A_AFW_11_DOSR_FICHR_AFW.theme/bootstrap/3.0.0/js/bootstrap.min.js?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.' ,p_css_file_urls=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '&A_AFW_11_DOSR_FICHR_AFW.theme/bootstrap/3.0.0/css/bootstrap#MIN#.css?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.', '&A_AFW_11_DOSR_FICHR_AFW.theme/bootstrap/3.0.0/css/custom.css?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.', '&A_AFW_11_DOSR_FICHR_AFW.theme/afw/custom.css?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.', '&A_AFW_11_DOSR_FICHR_AFW.theme/font-awesome/4.6.3/css/font-awesome#MIN#.css?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.')) ,p_header_template=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<!DOCTYPE html>', '<meta http-equiv="x-ua-compatible" content="IE=edge" />', '<html lang="en">', ' <head>', ' <meta charset="utf-8">', ' <meta name="viewport" content="width=device-width, initial-scale=1.0">', ' <meta name="description" content="">', ' <meta name="author" content="">', '', ' <title>&A_AFW_11_ACRON_PRODT. - #TITLE#</title>', ' <!-- AFW - JavaScript - Core -->', ' &A_AFW_11_TEMPL_JAVSC_CORE_1.', ' #APEX_CSS#', ' #THEME_CSS#', '#TEMPLATE_CSS#', ' #THEME_STYLE_CSS#', ' #APPLICATION_CSS#', '#PAGE_CSS#', ' #APEX_JAVASCRIPT#', ' #THEME_JAVASCRIPT#', '#TEMPLATE_JAVASCRIPT#', ' #APPLICATION_JAVASCRIPT#', ' #HEAD#', '', ' &A_AFW_11_TEMPL_THEME_JQUER_UI.', ' <!-- AFW - JavaScript - Core -->', ' &A_AFW_11_TEMPL_JAVSC_CORE_2. ', ' &A_AFW_11_TEMPL_JAVSC_JQUER.', ' #PAGE_JAVASCRIPT#', ' <!-- Le fav and touch icons -->', ' <link rel="apple-touch-icon" sizes="57x57" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-57x57.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="apple-touch-icon" sizes="60x60" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-60x60.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="apple-touch-icon" sizes="72x72" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-72x72.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="apple-touch-icon" sizes="76x76" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-76x76.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="apple-touch-icon" sizes="114x114" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-114x114.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="apple-touch-icon" sizes="120x120" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-120x120.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="apple-touch-icon" sizes="144x144" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-144x144.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="apple-touch-icon" sizes="152x152" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-152x152.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="apple-touch-icon" sizes="180x180" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-180x180.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="icon" type="image/png" sizes="192x192" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/android-icon-192x192.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="icon" type="image/png" sizes="32x32" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/favicon-32x32.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="icon" type="image/png" sizes="96x96" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/favicon-96x96.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="icon" type="image/png" sizes="16x16" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/favicon-16x16.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="manifest" href="assets/img/ico/manifest.json">', ' <meta name="msapplication-TileColor" content="#ffffff">', ' <meta name="msapplication-TileImage" content="assets/img/ico/ms-icon-144x144.png">', ' <meta name="theme-color" content="#ffffff">', ' </head>', ' <body class="&A_AFW_11_JQUER_UI_CSS_SCOPE." #ONLOAD#>', ' <div class="container">', ' #FORM_OPEN#')) ,p_box=>wwv_flow_utilities.join(wwv_flow_t_varchar2( ' <div class="navbar navbar-fixed-top navbar-sub1">', ' <div class="navbar-inner">', ' <div class="container">', ' <button data-target=".sub-navbar-collapse" data-toggle="collapse" type="button" class="navbar-toggle">', ' <span class="icon-bar"></span>', ' <span class="icon-bar"></span>', ' <span class="icon-bar"></span>', ' </button>', ' <div class="navbar-collapse collapse sub-navbar-collapse">', ' #REGION_POSITION_01# #REGION_POSITION_05#', ' </div><!--/.navbar-collapse -->', ' </div>', ' </div>', ' </div>', '', ' <div class="navbar navbar-fixed-top navbar-sub2">', ' <div class="navbar-inner">', ' <div class="container">', ' <div id="afw_mesg_apex">#GLOBAL_NOTIFICATION##SUCCESS_MESSAGE##NOTIFICATION_MESSAGE#</div>', ' <div id="afw_01_mesg">#REGION_POSITION_07#</div>', ' </div>', ' </div>', ' </div>', ' ', ' <div class="navbar navbar-fixed-top navbar-main">', ' <div class="navbar-inner">', ' <div class="container">', ' <button data-target=".main-navbar-collapse" data-toggle="collapse" type="button" class="navbar-toggle">', ' <span class="icon-bar"></span>', ' <span class="icon-bar"></span>', ' <span class="icon-bar"></span>', ' </button>', ' <a class="navbar-brand" href="&A_AFW_11_URL_ACUEI.">&A_AFW_11_ACRON_PRODT.</a>', ' <div class="navbar-collapse collapse main-navbar-collapse">', ' #REGION_POSITION_02#', ' </div><!--/.navbar-collapse -->', ' </div>', ' </div>', ' </div>', ' ', ' <div class="container">', ' <div class="row">', ' <div class="col-lg-3">', ' <div class="well sidebar-nav sidebar-nav-fixed">', ' #REGION_POSITION_04#', ' </div><!--/.well -->', ' </div><!--/span-->', ' <div class="col-lg-9">', ' <div class="hero-unit">', ' #REGION_POSITION_03#', ' </div>', ' <div class="row">', ' #BODY#', ' </div><!--/row-->', ' <div class="row">', ' #REGION_POSITION_06#', ' </div><!--/row-->', ' </div><!--/span-->', ' </div><!--/row-->', ' ', ' <hr>', '', ' <footer>')) ,p_footer_template=>wwv_flow_utilities.join(wwv_flow_t_varchar2( ' <p>&A_AFW_11_VERSN_PRODT. - &A_AFW_11_MESG_TOUT_DROIT_RESRV.</p>', ' <div class="container">#REGION_POSITION_08#</div>', ' </footer>', ' </div><!--/.fluid-container-->', ' #FORM_CLOSE#', ' </div> <!-- /container -->', ' #DEVELOPER_TOOLBAR#', ' #GENERATED_CSS#', ' #GENERATED_JAVASCRIPT#', ' </body>', '</html>')) ,p_success_message=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div id="afw_sucs_mesg" class="alert alert-success">', ' <button type="button" class="close" data-dismiss="alert">&times;</button>', ' #SUCCESS_MESSAGE#', '</div>', '')) ,p_notification_message=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div id="afw_notfc_mesg" class="alert alert-danger">', ' <button type="button" class="close" data-dismiss="alert">&times;</button>', ' #MESSAGE#', '</div>', '')) ,p_sidebar_def_reg_pos=>'REGION_POSITION_04' ,p_breadcrumb_def_reg_pos=>'REGION_POSITION_02' ,p_theme_class_id=>17 ,p_grid_type=>'TABLE' ,p_grid_max_columns=>12 ,p_grid_always_use_max_columns=>false ,p_grid_has_column_span=>true ,p_grid_always_emit=>true ,p_grid_emit_empty_leading_cols=>true ,p_grid_emit_empty_trail_cols=>false ,p_grid_template=>'<div>#ROWS#</div>' ,p_grid_row_template=>'<div class="row">#COLUMNS#</div>' ,p_grid_column_template=>'<div class="col-md-#COLUMN_SPAN_NUMBER#">#CONTENT#</div>' ,p_reference_id=>524947245970821677 ); wwv_flow_api.create_template( p_id=>wwv_flow_api.id(524953424161896528) ,p_theme_id=>313 ,p_name=>'Login' ,p_is_popup=>false ,p_javascript_file_urls=>'&A_AFW_11_DOSR_FICHR_AFW.theme/bootstrap/3.0.0/js/bootstrap.min.js?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.' ,p_css_file_urls=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '&A_AFW_11_DOSR_FICHR_AFW.theme/bootstrap/3.0.0/css/bootstrap#MIN#.css?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.', '&A_AFW_11_DOSR_FICHR_AFW.theme/bootstrap/3.0.0/css/custom.css?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.', '&A_AFW_11_DOSR_FICHR_AFW.theme/afw/custom.css?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.', '&A_AFW_11_DOSR_FICHR_AFW.theme/font-awesome/4.6.3/css/font-awesome#MIN#.css?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.')) ,p_header_template=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<!DOCTYPE html>', '<html lang="en">', ' <head>', ' <meta charset="utf-8">', ' <meta name="viewport" content="width=device-width, initial-scale=1.0">', ' <meta http-equiv="X-UA-Compatible" content="IE=edge">', ' <meta name="description" content="">', ' <meta name="author" content="">', ' ', ' <title>&A_AFW_11_ACRON_PRODT. - #TITLE#</title>', ' <!-- AFW - JavaScript - Core -->', ' &A_AFW_11_TEMPL_JAVSC_CORE_1.', ' #APEX_CSS#', ' #THEME_CSS#', '#TEMPLATE_CSS#', ' #THEME_STYLE_CSS#', ' #APPLICATION_CSS#', '#PAGE_CSS#', ' #APEX_JAVASCRIPT#', ' #THEME_JAVASCRIPT#', '#TEMPLATE_JAVASCRIPT#', ' #APPLICATION_JAVASCRIPT#', ' #HEAD#', '', ' &A_AFW_11_TEMPL_THEME_JQUER_UI.', ' <!-- AFW - JavaScript - Core -->', ' &A_AFW_11_TEMPL_JAVSC_CORE_2. ', ' &A_AFW_11_TEMPL_JAVSC_JQUER.', ' #PAGE_JAVASCRIPT#', ' <!-- Le fav and touch icons -->', ' <link rel="apple-touch-icon" sizes="57x57" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-57x57.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="apple-touch-icon" sizes="60x60" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-60x60.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="apple-touch-icon" sizes="72x72" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-72x72.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="apple-touch-icon" sizes="76x76" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-76x76.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="apple-touch-icon" sizes="114x114" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-114x114.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="apple-touch-icon" sizes="120x120" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-120x120.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="apple-touch-icon" sizes="144x144" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-144x144.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="apple-touch-icon" sizes="152x152" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-152x152.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="apple-touch-icon" sizes="180x180" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-180x180.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="icon" type="image/png" sizes="192x192" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/android-icon-192x192.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="icon" type="image/png" sizes="32x32" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/favicon-32x32.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="icon" type="image/png" sizes="96x96" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/favicon-96x96.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="icon" type="image/png" sizes="16x16" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/favicon-16x16.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="manifest" href="assets/img/ico/manifest.json">', ' <meta name="msapplication-TileColor" content="#ffffff">', ' <meta name="msapplication-TileImage" content="assets/img/ico/ms-icon-144x144.png">', ' <meta name="theme-color" content="#ffffff">', ' </head>', ' <body class="login &A_AFW_11_JQUER_UI_CSS_SCOPE." #ONLOAD#>', ' <div class="container-main">', ' #FORM_OPEN#')) ,p_box=>wwv_flow_utilities.join(wwv_flow_t_varchar2( ' <div class="navbar navbar-fixed-top navbar-sub1">', ' <div class="navbar-inner">', ' <button data-target=".sub-navbar-collapse" data-toggle="collapse" type="button" class="navbar-toggle">', ' <span class="icon-bar"></span>', ' <span class="icon-bar"></span>', ' <span class="icon-bar"></span>', ' </button>', ' <div class="navbar-collapse collapse sub-navbar-collapse">', ' #REGION_POSITION_01# #REGION_POSITION_05#', ' </div><!--/.navbar-collapse -->', ' </div>', ' </div>', '', ' <div class="navbar navbar-fixed-top navbar-sub2">', ' <div class="navbar-inner">', ' <div id="afw_mesg_apex">#GLOBAL_NOTIFICATION##SUCCESS_MESSAGE##NOTIFICATION_MESSAGE#</div>', ' <div id="afw_01_mesg">#REGION_POSITION_07#</div>', ' </div>', ' </div>', ' ', ' <div class="navbar navbar-fixed-top navbar-main">', ' <div class="navbar-inner">', ' <button data-target=".main-navbar-collapse" data-toggle="collapse" type="button" class="navbar-toggle">', ' <span class="icon-bar"></span>', ' <span class="icon-bar"></span>', ' <span class="icon-bar"></span>', ' </button>', ' <a class="navbar-brand" href="#">&A_AFW_11_ACRON_PRODT.</a>', ' <div class="navbar-collapse collapse main-navbar-collapse">', ' #REGION_POSITION_02#', ' </div><!--/.navbar-collapse -->', ' </div>', ' </div>', ' <div class="hero-unit">#REGION_POSITION_03#</div>', ' #BODY#', ' #REGION_POSITION_06#')) ,p_footer_template=>wwv_flow_utilities.join(wwv_flow_t_varchar2( ' <hr>', ' <div class="container">', ' <div class="row">', ' <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">', ' <footer>', ' <p>&A_AFW_11_VERSN_PRODT. - &A_AFW_11_MESG_TOUT_DROIT_RESRV.</p>', ' </footer>', ' </div>', ' </div>', ' </div>', ' #REGION_POSITION_08#', ' #FORM_CLOSE#', ' </div> <!-- /container -->', ' #DEVELOPER_TOOLBAR#', ' #GENERATED_CSS#', ' #GENERATED_JAVASCRIPT#', ' </body>', '</html>')) ,p_success_message=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div id="afw_sucs_mesg" class="alert alert-success">', ' <button type="button" class="close" data-dismiss="alert">&times;</button>', ' #SUCCESS_MESSAGE#', '</div>')) ,p_notification_message=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div id="afw_notfc_mesg" class="alert alert-danger">', ' <button type="button" class="close" data-dismiss="alert">&times;</button>', ' #MESSAGE#', '</div>')) ,p_sidebar_def_reg_pos=>'REGION_POSITION_04' ,p_theme_class_id=>6 ,p_grid_type=>'VARIABLE' ,p_grid_max_columns=>12 ,p_grid_always_use_max_columns=>false ,p_grid_has_column_span=>true ,p_grid_always_emit=>false ,p_grid_emit_empty_leading_cols=>false ,p_grid_emit_empty_trail_cols=>false ,p_grid_template=>'<div class="container">#ROWS#</div>' ,p_grid_row_template=>'<div class="row">#COLUMNS#</div>' ,p_grid_column_template=>'<div class="col-md-#COLUMN_SPAN_NUMBER#">#CONTENT#</div>' ,p_reference_id=>524947827269821678 ); wwv_flow_api.create_template( p_id=>wwv_flow_api.id(524954649145896531) ,p_theme_id=>313 ,p_name=>'Popup' ,p_is_popup=>false ,p_javascript_file_urls=>'&A_AFW_11_DOSR_FICHR_AFW.theme/bootstrap/3.0.0/js/bootstrap.min.js?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.' ,p_css_file_urls=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '&A_AFW_11_DOSR_FICHR_AFW.theme/bootstrap/3.0.0/css/bootstrap#MIN#.css?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.', '&A_AFW_11_DOSR_FICHR_AFW.theme/bootstrap/3.0.0/css/custom.css?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.', '&A_AFW_11_DOSR_FICHR_AFW.theme/afw/custom.css?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.', '&A_AFW_11_DOSR_FICHR_AFW.theme/font-awesome/4.6.3/css/font-awesome#MIN#.css?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.')) ,p_header_template=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<!DOCTYPE html>', '<meta http-equiv="x-ua-compatible" content="IE=edge" />', '<html lang="en">', ' <head>', ' <meta charset="utf-8">', ' <meta name="viewport" content="width=device-width, initial-scale=1.0">', ' <meta name="description" content="">', ' <meta name="author" content="">', '', ' <title>&A_AFW_11_ACRON_PRODT. - #TITLE#</title>', ' <!-- AFW - JavaScript - Core -->', ' &A_AFW_11_TEMPL_JAVSC_CORE_1.', ' #APEX_CSS#', ' #THEME_CSS#', '#TEMPLATE_CSS#', ' #THEME_STYLE_CSS#', ' #APPLICATION_CSS#', '#PAGE_CSS#', ' #APEX_JAVASCRIPT#', ' #THEME_JAVASCRIPT#', '#TEMPLATE_JAVASCRIPT#', ' #APPLICATION_JAVASCRIPT#', ' #HEAD#', '', ' &A_AFW_11_TEMPL_THEME_JQUER_UI.', ' <!-- AFW - JavaScript - Core -->', ' &A_AFW_11_TEMPL_JAVSC_CORE_2. ', ' &A_AFW_11_TEMPL_JAVSC_JQUER.', ' #PAGE_JAVASCRIPT#', ' <!-- Le fav and touch icons -->', ' <link rel="apple-touch-icon" sizes="57x57" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-57x57.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="apple-touch-icon" sizes="60x60" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-60x60.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="apple-touch-icon" sizes="72x72" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-72x72.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="apple-touch-icon" sizes="76x76" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-76x76.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="apple-touch-icon" sizes="114x114" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-114x114.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="apple-touch-icon" sizes="120x120" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-120x120.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="apple-touch-icon" sizes="144x144" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-144x144.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="apple-touch-icon" sizes="152x152" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-152x152.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="apple-touch-icon" sizes="180x180" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-180x180.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="icon" type="image/png" sizes="192x192" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/android-icon-192x192.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="icon" type="image/png" sizes="32x32" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/favicon-32x32.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="icon" type="image/png" sizes="96x96" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/favicon-96x96.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="icon" type="image/png" sizes="16x16" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/favicon-16x16.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="manifest" href="assets/img/ico/manifest.json">', ' <meta name="msapplication-TileColor" content="#ffffff">', ' <meta name="msapplication-TileImage" content="assets/img/ico/ms-icon-144x144.png">', ' <meta name="theme-color" content="#ffffff">', ' </head>', ' <body class="dialog &A_AFW_11_JQUER_UI_CSS_SCOPE." #ONLOAD#>', ' <div class="container">', ' #FORM_OPEN#')) ,p_box=>wwv_flow_utilities.join(wwv_flow_t_varchar2( ' <div class="container">', ' <div id="afw_mesg_apex">#GLOBAL_NOTIFICATION##SUCCESS_MESSAGE##NOTIFICATION_MESSAGE#</div>', ' <div id="afw_01_mesg">#REGION_POSITION_07#</div>', ' </div>', '', ' <div class="container">', ' <div>', ' <div class="row">', ' #REGION_POSITION_05#', ' </div>', ' <div class="row">', ' #BODY#', ' </div>', ' </div>')) ,p_footer_template=>wwv_flow_utilities.join(wwv_flow_t_varchar2( ' </div><!--/.fluid-container-->', ' #FORM_CLOSE#', ' </div> <!-- /container -->', ' #DEVELOPER_TOOLBAR#', ' #GENERATED_CSS#', ' #GENERATED_JAVASCRIPT#', ' </body>', '</html>')) ,p_success_message=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div id="afw_sucs_mesg" class="alert alert-success">', ' <button type="button" class="close" data-dismiss="alert">&times;</button>', ' #SUCCESS_MESSAGE#', '</div>')) ,p_notification_message=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div id="afw_notfc_mesg" class="alert alert-danger">', ' <button type="button" class="close" data-dismiss="alert">&times;</button>', ' #MESSAGE#', '</div>')) ,p_sidebar_def_reg_pos=>'REGION_POSITION_04' ,p_theme_class_id=>4 ,p_grid_type=>'TABLE' ,p_grid_max_columns=>12 ,p_grid_always_use_max_columns=>false ,p_grid_has_column_span=>true ,p_grid_always_emit=>true ,p_grid_emit_empty_leading_cols=>true ,p_grid_emit_empty_trail_cols=>false ,p_grid_template=>'<div>#ROWS#</div>' ,p_grid_row_template=>'<div class="row">#COLUMNS#</div>' ,p_grid_column_template=>'<div class="col-md-#COLUMN_SPAN_NUMBER#">#CONTENT#</div>' ,p_reference_id=>524949052253821681 ,p_template_comment=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '* APEX Themes - Themes, Templates & Skins for Oracle APEX Applications', '* http://www.apex-themes.com', '* Copyright (c) 2011 Creative Mode', '* This file is protected by copyright law and provided under license.', '* Unauthorised copying of this file is strictly prohibited.')) ); wwv_flow_api.create_template( p_id=>wwv_flow_api.id(524954937203896531) ,p_theme_id=>313 ,p_name=>'Error (class= Custom 1)' ,p_is_popup=>false ,p_javascript_file_urls=>'&A_AFW_11_DOSR_FICHR_AFW.theme/bootstrap/3.0.0/js/bootstrap.min.js?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.' ,p_css_file_urls=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '&A_AFW_11_DOSR_FICHR_AFW.theme/bootstrap/3.0.0/css/bootstrap#MIN#.css?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.', '&A_AFW_11_DOSR_FICHR_AFW.theme/bootstrap/3.0.0/css/custom.css?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.', '&A_AFW_11_DOSR_FICHR_AFW.theme/afw/custom.css?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.', '&A_AFW_11_DOSR_FICHR_AFW.theme/font-awesome/4.6.3/css/font-awesome#MIN#.css?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.')) ,p_header_template=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<!DOCTYPE html>', '<meta http-equiv="x-ua-compatible" content="IE=edge" />', '<html lang="en">', ' <head>', ' <meta charset="utf-8">', ' <meta name="viewport" content="width=device-width, initial-scale=1.0">', ' <meta name="description" content="">', ' <meta name="author" content="">', '', ' <title>&A_AFW_11_ACRON_PRODT. - #TITLE#</title>', ' <!-- AFW - JavaScript - Core -->', ' &A_AFW_11_TEMPL_JAVSC_CORE_1.', ' #APEX_CSS#', ' #THEME_CSS#', '#TEMPLATE_CSS#', ' #THEME_STYLE_CSS#', ' #APPLICATION_CSS#', '#PAGE_CSS#', ' #APEX_JAVASCRIPT#', ' #THEME_JAVASCRIPT#', '#TEMPLATE_JAVASCRIPT#', ' #APPLICATION_JAVASCRIPT#', ' #HEAD#', '', ' &A_AFW_11_TEMPL_THEME_JQUER_UI.', ' <!-- AFW - JavaScript - Core -->', ' &A_AFW_11_TEMPL_JAVSC_CORE_2. ', ' &A_AFW_11_TEMPL_JAVSC_JQUER.', ' #PAGE_JAVASCRIPT#', ' <!-- Le fav and touch icons -->', ' <link rel="apple-touch-icon" sizes="57x57" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-57x57.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="apple-touch-icon" sizes="60x60" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-60x60.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="apple-touch-icon" sizes="72x72" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-72x72.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="apple-touch-icon" sizes="76x76" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-76x76.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="apple-touch-icon" sizes="114x114" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-114x114.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="apple-touch-icon" sizes="120x120" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-120x120.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="apple-touch-icon" sizes="144x144" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-144x144.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="apple-touch-icon" sizes="152x152" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-152x152.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="apple-touch-icon" sizes="180x180" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/apple-icon-180x180.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="icon" type="image/png" sizes="192x192" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/android-icon-192x192.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="icon" type="image/png" sizes="32x32" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/favicon-32x32.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="icon" type="image/png" sizes="96x96" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/favicon-96x96.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="icon" type="image/png" sizes="16x16" href="&A_AFW_11_DOSR_FICHR_AFW.assets/img/ico/favicon-16x16.png?v=&A_AFW_11_NUMR_VERSN_PRODT_AFW.">', ' <link rel="manifest" href="assets/img/ico/manifest.json">', ' <meta name="msapplication-TileColor" content="#ffffff">', ' <meta name="msapplication-TileImage" content="assets/img/ico/ms-icon-144x144.png">', ' <meta name="theme-color" content="#ffffff">', ' </head>', ' <body class="error &A_AFW_11_JQUER_UI_CSS_SCOPE." #ONLOAD#>', ' <div class="container-main">', ' #FORM_OPEN#')) ,p_box=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div id="afw_bloc_err" class="afw_bloc_err">', '#BODY#', '</div>')) ,p_footer_template=>wwv_flow_utilities.join(wwv_flow_t_varchar2( ' #FORM_CLOSE#', ' </div>', ' #DEVELOPER_TOOLBAR#', '#GENERATED_CSS#', '#GENERATED_JAVASCRIPT#', '</body>', '</html>')) ,p_success_message=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div id="afw_sucs_mesg" class="alert alert-success">', ' <button type="button" class="close" data-dismiss="alert">&times;</button>', ' #SUCCESS_MESSAGE#', '</div>')) ,p_notification_message=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div id="afw_notfc_mesg" class="alert alert-danger">', ' <button type="button" class="close" data-dismiss="alert">&times;</button>', ' #MESSAGE#', '</div>')) ,p_sidebar_def_reg_pos=>'REGION_POSITION_04' ,p_breadcrumb_def_reg_pos=>'REGION_POSITION_02' ,p_theme_class_id=>8 ,p_error_page_template=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div id="afw_mesg_err" class="afw_mesg_err">#MESSAGE#</div>', '</div>', '<script language="javascript">', 'afw.afw_01.mesg.trait_err_apex(&A_AFW_11_TRAIT_MESGS_ERR.);', '</script>')) ,p_grid_type=>'TABLE' ,p_grid_always_use_max_columns=>false ,p_grid_has_column_span=>true ,p_grid_always_emit=>true ,p_grid_emit_empty_leading_cols=>true ,p_grid_emit_empty_trail_cols=>false ,p_reference_id=>524949340311821681 ,p_template_comment=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '* APEX Themes - Themes, Templates & Skins for Oracle APEX Applications', '* http://www.apex-themes.com', '* Copyright (c) 2011 Creative Mode', '* This file is protected by copyright law and provided under license.', '* Unauthorised copying of this file is strictly prohibited.')) ); end; / prompt --application/shared_components/user_interface/templates/button begin wwv_flow_api.create_button_templates( p_id=>wwv_flow_api.id(121344771578247) ,p_template_name=>'HTML button (legacy - APEX 5 migration)' ,p_template=>' <input type="button" value="#LABEL#" onclick="#JAVASCRIPT#" id="#BUTTON_ID#" class="#BUTTON_CSS_CLASSES#" #BUTTON_ATTRIBUTES#/>' ,p_hot_template=>' <input type="button" value="#LABEL#" onclick="#JAVASCRIPT#" id="#BUTTON_ID#" class="#BUTTON_CSS_CLASSES#" #BUTTON_ATTRIBUTES#/>' ,p_translate_this_template=>'N' ,p_theme_class_id=>13 ,p_theme_id=>313 ); wwv_flow_api.create_button_templates( p_id=>wwv_flow_api.id(524974627110896553) ,p_template_name=>'Text only' ,p_template=>'<button type="button" id="#BUTTON_ID#" onclick="#LINK#" alt="#LABEL#" class="btn #BUTTON_CSS_CLASSES#" #BUTTON_ATTRIBUTES#>#LABEL#</button>' ,p_hot_template=>'<button type="button" id="#BUTTON_ID#" onclick="#LINK#" alt="#LABEL#" class="btn #BUTTON_CSS_CLASSES#" #BUTTON_ATTRIBUTES#>#LABEL#</button>' ,p_reference_id=>524969030218821703 ,p_translate_this_template=>'N' ,p_theme_class_id=>9 ,p_theme_id=>313 ); wwv_flow_api.create_button_templates( p_id=>wwv_flow_api.id(524975434385896554) ,p_template_name=>'Icon only' ,p_template=>'<button type="button" id="#BUTTON_ID#" onclick="#LINK#" alt="#LABEL#" class="btn #BUTTON_CSS_CLASSES#" title="#LABEL#"><i class="fa #BUTTON_ATTRIBUTES#"></i></button>' ,p_hot_template=>'<button type="button" id="#BUTTON_ID#" onclick="#LINK#" alt="#LABEL#" class="btn #BUTTON_CSS_CLASSES#" title="#LABEL#"><i class="fa #BUTTON_ATTRIBUTES#"></i></button>' ,p_reference_id=>524969837493821704 ,p_theme_class_id=>8 ,p_theme_id=>313 ); wwv_flow_api.create_button_templates( p_id=>wwv_flow_api.id(524976227069896554) ,p_template_name=>'Right icon' ,p_template=>'<button type="button" id="#BUTTON_ID#" onclick="#LINK#" alt="#LABEL#" class="btn #BUTTON_CSS_CLASSES#">#LABEL# <i class="fa #BUTTON_ATTRIBUTES#"></i></button>' ,p_hot_template=>'<button type="button" id="#BUTTON_ID#" onclick="#LINK#" alt="#LABEL#" class="btn #BUTTON_CSS_CLASSES#">#LABEL# <i class="fa #BUTTON_ATTRIBUTES#"></i></button>' ,p_reference_id=>524970630177821704 ,p_theme_class_id=>2 ,p_theme_id=>313 ); wwv_flow_api.create_button_templates( p_id=>wwv_flow_api.id(524976441906896554) ,p_template_name=>'Left icon' ,p_template=>'<button type="button" id="#BUTTON_ID#" onclick="#LINK#" alt="#LABEL#" class="btn #BUTTON_CSS_CLASSES#"><i class="fa #BUTTON_ATTRIBUTES#"></i> #LABEL#</button>' ,p_hot_template=>'<button type="button" id="#BUTTON_ID#" onclick="#LINK#" alt="#LABEL#" class="btn #BUTTON_CSS_CLASSES#"><i class="fa #BUTTON_ATTRIBUTES#"></i> #LABEL#</button>' ,p_reference_id=>524970845014821704 ,p_theme_class_id=>5 ,p_theme_id=>313 ); wwv_flow_api.create_button_templates( p_id=>wwv_flow_api.id(524976635139896554) ,p_template_name=>'Dropdown option' ,p_template=>'<li><a id="#BUTTON_ID#" href="#LINK#" alt="#LABEL#"><i class="fa #BUTTON_ATTRIBUTES#"></i> #LABEL#</a></li>' ,p_hot_template=>'<li><a id="#BUTTON_ID#" href="#LINK#" alt="#LABEL#"><i class="fa #BUTTON_ATTRIBUTES#"></i> #LABEL#</a></li>' ,p_reference_id=>524971038247821704 ,p_theme_class_id=>1 ,p_theme_id=>313 ); end; / prompt --application/shared_components/user_interface/templates/region begin wwv_flow_api.create_plug_template( p_id=>wwv_flow_api.id(84183227876572727) ,p_layout=>'TABLE' ,p_template=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div id="#REGION_ID#" class="btn-toolbar regn-toolbar-action-dropdown #REGION_CSS_CLASSES#">', ' <div class="pull-left">#PREVIOUS#</div>', ' <div class="pull-right">#NEXT#</div>', ' <div class="btn-group #REGION_ATTRIBUTES#">', ' <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown">', ' Actions', ' <span class="caret"></span>', ' </button>', ' <ul class="dropdown-menu pull-right">', ' #DELETE#', ' #SUB_REGIONS#', ' </ul>', ' </div>', ' <div class="pull-right">#EXPAND##COPY##HELP##CLOSE##EDIT##CHANGE##CREATE2#</div>', ' #BODY#', '</div>')) ,p_page_plug_template_name=>'Button Toolbar with Actions Dropdown' ,p_plug_table_bgcolor=>'#ffffff' ,p_theme_id=>313 ,p_theme_class_id=>17 ,p_plug_heading_bgcolor=>'#ffffff' ,p_plug_font_size=>'-1' ,p_default_label_alignment=>'RIGHT' ,p_default_field_alignment=>'LEFT' ,p_reference_id=>84177630984497877 ,p_translate_this_template=>'N' ); wwv_flow_api.create_plug_template( p_id=>wwv_flow_api.id(524956441156896534) ,p_layout=>'TABLE' ,p_template=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>', ' <div id="#REGION_STATIC_ID#_acord">', ' #BODY#', ' </div>', '</div>')) ,p_page_plug_template_name=>'AFW - Accordion Menu 2' ,p_plug_table_bgcolor=>'#ffffff' ,p_theme_id=>313 ,p_theme_class_id=>9 ,p_plug_heading_bgcolor=>'#ffffff' ,p_plug_font_size=>'-1' ,p_default_label_alignment=>'RIGHT' ,p_default_field_alignment=>'LEFT' ,p_reference_id=>524950844264821684 ,p_translate_this_template=>'N' ); wwv_flow_api.create_plug_template( p_id=>wwv_flow_api.id(524957327694896534) ,p_layout=>'TABLE' ,p_template=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<table class="afw_13_cadre_menu">', ' <tr>', ' <td class="afw_13_cadre_menu_entet">', ' #TITLE#', ' </td>', ' </tr>', ' <tr>', ' <td class="afw_13_cadre_menu_corps">', ' #BODY#', ' </td>', ' </tr>', ' <tr>', ' <td class="afw_13_cadre_menu_pied">', ' <img src="/res/afw/theme/1px_trans.gif" width="1" height="1" />', ' </td>', ' </tr>', '</table>')) ,p_page_plug_template_name=>'AFW - 13 Menu (class= Custom 7)' ,p_theme_id=>313 ,p_theme_class_id=>27 ,p_default_label_alignment=>'RIGHT' ,p_default_field_alignment=>'LEFT' ,p_reference_id=>524951730802821684 ,p_translate_this_template=>'N' ); wwv_flow_api.create_plug_template( p_id=>wwv_flow_api.id(524958247123896535) ,p_layout=>'TABLE' ,p_template=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div id="#REGION_STATIC_ID#" class="#REGION_CSS_CLASSES#" #REGION_ATTRIBUTES#>', '#BODY#', '</div>')) ,p_page_plug_template_name=>'Without template (Custom 7)' ,p_plug_table_bgcolor=>'#f7f7e7' ,p_theme_id=>313 ,p_theme_class_id=>27 ,p_plug_heading_bgcolor=>'#f7f7e7' ,p_plug_font_size=>'-1' ,p_default_label_alignment=>'RIGHT' ,p_default_field_alignment=>'LEFT' ,p_reference_id=>524952650231821685 ,p_translate_this_template=>'N' ); wwv_flow_api.create_plug_template( p_id=>wwv_flow_api.id(524958835947896536) ,p_layout=>'TABLE' ,p_template=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div id="#REGION_ID#" class="btn-toolbar regn-toolbar-dropdown #REGION_CSS_CLASSES#">', ' <div class="pull-left">#PREVIOUS#</div>', ' <div class="pull-right">#NEXT#</div>', ' <div class="btn-group #REGION_ATTRIBUTES#">', ' #CREATE#', ' <div class="btn-group">', ' <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">', ' Actions', ' <span class="caret"></span>', ' </button>', ' <ul class="dropdown-menu pull-right">', ' #DELETE#', ' #SUB_REGIONS#', ' "AFW_13_LISTE_NAVGT"', ' </ul>', ' </div>', ' </div>', ' <div class="pull-right">#EXPAND##COPY##HELP##CLOSE##EDIT##CHANGE##CREATE2#</div>', ' #BODY#', '</div>')) ,p_page_plug_template_name=>'Button Toolbar with Dropdown' ,p_plug_table_bgcolor=>'#ffffff' ,p_theme_id=>313 ,p_theme_class_id=>17 ,p_plug_heading_bgcolor=>'#ffffff' ,p_plug_font_size=>'-1' ,p_default_label_alignment=>'RIGHT' ,p_default_field_alignment=>'LEFT' ,p_reference_id=>524953239055821686 ,p_translate_this_template=>'N' ); wwv_flow_api.create_plug_template( p_id=>wwv_flow_api.id(524961247111896538) ,p_layout=>'TABLE' ,p_template=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div class="panel panel-default panel-no-title #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>', ' <div class="panel-heading">', ' <h3 class="panel-title">#TITLE#</h3>', ' <div class="btn-toolbar">', ' <div class="pull-left">#PREVIOUS##HELP##CLOSE##EXPAND##COPY#</div>', ' <div class="pull-right">#DELETE##EDIT##CREATE#</div>', ' <div class="pull-right">#CHANGE##CREATE2##NEXT#</div>', ' </div>', ' </div>', ' <div class="panel-body">', ' #BODY#', ' </div>', '</div>')) ,p_page_plug_template_name=>'100% width form without title (class= Custom 2)' ,p_plug_table_bgcolor=>'#f7f7e7' ,p_theme_id=>313 ,p_theme_class_id=>22 ,p_plug_heading_bgcolor=>'#f7f7e7' ,p_plug_font_size=>'-1' ,p_default_label_alignment=>'RIGHT' ,p_default_field_alignment=>'LEFT' ,p_reference_id=>524955650219821688 ,p_translate_this_template=>'N' ); wwv_flow_api.create_plug_template( p_id=>wwv_flow_api.id(524961532541896538) ,p_layout=>'TABLE' ,p_template=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div class="panel panel-default #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>', ' <div class="panel-heading">', ' <h3 class="panel-title">#TITLE#</h3>', ' <div class="btn-toolbar">', ' <div class="pull-left">#PREVIOUS##HELP##CLOSE##EXPAND##COPY#</div>', ' <div class="pull-right">#DELETE##EDIT##CREATE#</div>', ' <div class="pull-right">#CHANGE##CREATE2##NEXT#</div>', ' </div>', ' </div>', ' <div class="panel-body">', ' #BODY#', ' </div>', '</div>')) ,p_page_plug_template_name=>'100% width boxed form' ,p_plug_table_bgcolor=>'#f7f7e7' ,p_theme_id=>313 ,p_theme_class_id=>8 ,p_plug_heading_bgcolor=>'#f7f7e7' ,p_plug_font_size=>'-1' ,p_default_label_alignment=>'RIGHT' ,p_default_field_alignment=>'LEFT' ,p_reference_id=>524955935649821688 ,p_translate_this_template=>'N' ); wwv_flow_api.create_plug_template( p_id=>wwv_flow_api.id(524961829157896538) ,p_layout=>'TABLE' ,p_template=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div class="panel panel-default #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>', ' <div class="panel-heading">', ' <h3 class="panel-title">#TITLE#</h3>', ' <div class="btn-toolbar">', ' <div class="pull-left">#PREVIOUS##HELP##CLOSE##EXPAND##COPY#</div>', ' <div class="pull-right">#DELETE##EDIT##CREATE#</div>', ' <div class="pull-right">#CHANGE##CREATE2##NEXT#</div>', ' </div>', ' </div>', ' <div class="panel-body">', ' #BODY#', ' </div>', '</div>')) ,p_page_plug_template_name=>'100% width form with underlined title (class= Custom 1)' ,p_plug_table_bgcolor=>'#f7f7e7' ,p_theme_id=>313 ,p_theme_class_id=>21 ,p_plug_heading_bgcolor=>'#f7f7e7' ,p_plug_font_size=>'-1' ,p_default_label_alignment=>'RIGHT' ,p_default_field_alignment=>'LEFT' ,p_reference_id=>524956232265821688 ,p_translate_this_template=>'N' ); wwv_flow_api.create_plug_template( p_id=>wwv_flow_api.id(524964249240896540) ,p_layout=>'TABLE' ,p_template=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div class="panel panel-default #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>', ' <div class="panel-heading">', ' <h3 class="panel-title">#TITLE#</h3>', ' <div class="btn-toolbar">', ' <div class="btn-group">#PREVIOUS##HELP##CLOSE##EXPAND##COPY#</div>', ' <div class="btn-group">#DELETE##EDIT##CREATE#</div>', ' <div class="btn-group">#CHANGE##CREATE2##NEXT#</div>', ' </div>', ' </div>', ' <div class="panel-body">', ' #BODY#', ' </div>', '</div>')) ,p_page_plug_template_name=>'Report' ,p_plug_table_bgcolor=>'#ffffff' ,p_theme_id=>313 ,p_theme_class_id=>9 ,p_plug_heading_bgcolor=>'#ffffff' ,p_plug_font_size=>'-1' ,p_default_label_alignment=>'RIGHT' ,p_default_field_alignment=>'LEFT' ,p_reference_id=>524958652348821690 ,p_translate_this_template=>'N' ); wwv_flow_api.create_plug_template( p_id=>wwv_flow_api.id(524964537325896540) ,p_layout=>'TABLE' ,p_template=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div class="panel panel-default panel-no-title #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>', ' <div class="panel-body">', ' #BODY#', ' </div>', '</div>')) ,p_page_plug_template_name=>'100% width report without title (Custom 5)' ,p_plug_table_bgcolor=>'#ffffff' ,p_theme_id=>313 ,p_theme_class_id=>25 ,p_plug_heading_bgcolor=>'#ffffff' ,p_plug_font_size=>'-1' ,p_default_label_alignment=>'RIGHT' ,p_default_field_alignment=>'LEFT' ,p_reference_id=>524958940433821690 ,p_translate_this_template=>'N' ,p_template_comment=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div class="panel panel-default panel-no-title #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>', ' <div class="panel-heading">', ' <h3 class="panel-title">#TITLE#</h3>', ' <div class="btn-toolbar">', ' <div class="pull-left">#PREVIOUS##HELP##CLOSE##EXPAND##COPY#</div>', ' <div class="pull-right">#DELETE##EDIT##CREATE#</div>', ' <div class="pull-right">#CHANGE##CREATE2##NEXT#</div>', ' </div>', ' </div>', ' <div class="panel-body">', ' #BODY#', ' </div>', '</div>')) ); wwv_flow_api.create_plug_template( p_id=>wwv_flow_api.id(524964836096896540) ,p_layout=>'TABLE' ,p_template=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div class="panel panel-default #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>', ' <div class="panel-heading">', ' <h3 class="panel-title">#TITLE#</h3>', ' <div class="btn-toolbar">', ' <div class="pull-left">#PREVIOUS##HELP##CLOSE##EXPAND##COPY#</div>', ' <div class="pull-right">#DELETE##EDIT##CREATE#</div>', ' <div class="pull-right">#CHANGE##CREATE2##NEXT#</div>', ' </div>', ' </div>', ' <div class="panel-body">', ' #BODY#', ' </div>', '</div>')) ,p_page_plug_template_name=>'100% width boxed report' ,p_plug_table_bgcolor=>'#ffffff' ,p_theme_id=>313 ,p_theme_class_id=>13 ,p_plug_heading_bgcolor=>'#ffffff' ,p_plug_font_size=>'-1' ,p_default_label_alignment=>'RIGHT' ,p_default_field_alignment=>'LEFT' ,p_reference_id=>524959239204821690 ,p_translate_this_template=>'N' ); wwv_flow_api.create_plug_template( p_id=>wwv_flow_api.id(524965123033896540) ,p_layout=>'TABLE' ,p_template=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div class="panel panel-default #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>', ' <div class="panel-heading">', ' <h3 class="panel-title">#TITLE#</h3>', ' <div class="btn-toolbar">', ' <div class="pull-left">#PREVIOUS##HELP##CLOSE##EXPAND##COPY#</div>', ' <div class="pull-right">#DELETE##EDIT##CREATE#</div>', ' <div class="pull-right">#CHANGE##CREATE2##NEXT#</div>', ' </div>', ' </div>', ' <div class="panel-body">', ' #BODY#', ' </div>', '</div>')) ,p_page_plug_template_name=>'100% width report with underlined title (Custom 4)' ,p_plug_table_bgcolor=>'#ffffff' ,p_theme_id=>313 ,p_theme_class_id=>24 ,p_plug_heading_bgcolor=>'#ffffff' ,p_plug_font_size=>'-1' ,p_default_label_alignment=>'RIGHT' ,p_default_field_alignment=>'LEFT' ,p_reference_id=>524959526141821690 ,p_translate_this_template=>'N' ); wwv_flow_api.create_plug_template( p_id=>wwv_flow_api.id(524965428785896541) ,p_layout=>'TABLE' ,p_template=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div class="panel panel-default panel-alternative #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>', ' <div class="panel-heading">', ' <h3 class="panel-title">#TITLE#</h3>', ' <div class="btn-toolbar">', ' <div class="btn-group">#PREVIOUS##HELP##CLOSE##EXPAND##COPY#</div>', ' <div class="btn-group">#DELETE##EDIT##CREATE#</div>', ' <div class="btn-group">#CHANGE##CREATE2##NEXT#</div>', ' </div>', ' </div>', ' <div class="panel-body">', ' #BODY#', ' </div>', '</div>')) ,p_page_plug_template_name=>'Report, alternative 1' ,p_plug_table_bgcolor=>'#ffffff' ,p_theme_id=>313 ,p_theme_class_id=>10 ,p_plug_heading_bgcolor=>'#ffffff' ,p_plug_font_size=>'-1' ,p_default_label_alignment=>'RIGHT' ,p_default_field_alignment=>'LEFT' ,p_reference_id=>524959831893821691 ,p_translate_this_template=>'N' ); end; / prompt --application/shared_components/user_interface/templates/list begin wwv_flow_api.create_list_template( p_id=>wwv_flow_api.id(524971433690896548) ,p_list_template_current=>'<li class="active"><a href="#LINK#">#TEXT#</a></li>' ,p_list_template_noncurrent=>'<li><a href="#LINK#">#TEXT#</a></li>' ,p_list_template_name=>'Navigation tab' ,p_theme_id=>313 ,p_theme_class_id=>7 ,p_list_template_before_rows=>'<ul class="nav nav-tabs">' ,p_list_template_after_rows=>'</ul>' ,p_reference_id=>524965836798821698 ); wwv_flow_api.create_list_template( p_id=>wwv_flow_api.id(524972040788896549) ,p_list_template_current=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div class="afw_13_menu_sectn">', ' <div class="afw_13_menu_infor">', ' <i class="#IMAGE#"></i>', ' </div>', ' <div class="afw_13_menu_detls">', ' <a href="#LINK#">', ' #TEXT#', ' </a>')) ,p_list_template_noncurrent=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div class="afw_13_menu_sectn">', ' <div class="afw_13_menu_infor">', ' <i class="#IMAGE#"></i>', ' </div>', ' <div class="afw_13_menu_detls">', ' <a href="#LINK#" class="titre #IMAGE_ATTR#">', ' #TEXT#', ' </a>')) ,p_list_template_name=>'AFW - AFW 13 Menu (Custom 3)' ,p_theme_id=>313 ,p_theme_class_id=>11 ,p_list_template_before_rows=>'<div class="afw_13_menu">' ,p_list_template_after_rows=>'</div><div class="clear"></div>' ,p_between_items=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '</div>', '<div class="clear"></div>', '</div>')) ,p_before_sub_list=>'<ul id="#PARENT_LIST_ITEM_ID#">' ,p_after_sub_list=>'</ul>' ,p_sub_list_item_current=>'<li class="afw_13_menu_choix"><a href="#LINK#" class="">#TEXT#</a></li>' ,p_sub_list_item_noncurrent=>'<li class="afw_13_menu_choix"><a href="#LINK#" class="">#TEXT#</a></li>' ,p_item_templ_curr_w_child=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div class="afw_13_menu_sectn">', ' <div class="afw_13_menu_infor">', ' <i class="#IMAGE#"></i>', ' </div>', ' <div class="afw_13_menu_detls">', ' <a href="#LINK#">', ' #TEXT#', ' </a>')) ,p_item_templ_noncurr_w_child=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div class="afw_13_menu_sectn">', ' <div class="afw_13_menu_infor">', ' <i class="#IMAGE#"></i>', ' </div>', ' <div class="afw_13_menu_detls">', ' <a href="#LINK#" class="titre #IMAGE_ATTR#">', ' #TEXT#', ' </a>')) ,p_sub_templ_curr_w_child=>'<li class="afw_13_menu_choix"><a href="#LINK#" class="">#TEXT#</a></li>' ,p_sub_templ_noncurr_w_child=>'<li class="afw_13_menu_choix"><a href="#LINK#" class="">#TEXT#</a></li>' ,p_reference_id=>524966443896821699 ); end; / prompt --application/shared_components/user_interface/templates/report begin wwv_flow_api.create_row_template( p_id=>wwv_flow_api.id(524966324975896545) ,p_row_template_name=>'Without border with highlight' ,p_row_template1=>'<td class="grid-data" headers="#COLUMN_HEADER_NAME#" #ALIGNMENT#>#COLUMN_VALUE#</td>' ,p_row_template_before_rows=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div class="grid grid-borderless">', '<table class="grid-table" #REPORT_ATTRIBUTES#>')) ,p_row_template_after_rows=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<ul class="pagination">', '#PAGINATION#', '</ul>', '</table>', '<div class="report-links">#EXTERNAL_LINK##CSV_LINK#</div>', '</div>')) ,p_row_template_table_attr=>'OMIT' ,p_row_template_type=>'GENERIC_COLUMNS' ,p_column_heading_template=>'<th class="grid-header grid-default" #ALIGNMENT# id="#COLUMN_HEADER_NAME#">#COLUMN_HEADER#</th>' ,p_row_template_display_cond1=>'0' ,p_row_template_display_cond2=>'0' ,p_row_template_display_cond3=>'0' ,p_row_template_display_cond4=>'0' ,p_pagination_template=>'<span class="text">#TEXT#</span>' ,p_next_page_template=>'<li><a href="#LINK#" class="btn btn-default" title="#PAGINATION_NEXT#"><i class="fa fa-arrow-right"></i></a></li>' ,p_previous_page_template=>'<li><a href="#LINK#" class="btn btn-default" title="#PAGINATION_PREVIOUS#"><i class="fa fa-arrow-left"></i></a></li>' ,p_next_set_template=>'<li><a href="#LINK#" class="btn btn-default" title="#PAGINATION_NEXT_SET#"><i class="fa fa-arrow-right"></i></a></li>' ,p_previous_set_template=>'<li><a href="#LINK#" class="btn btn-default" title="#PAGINATION_PREVIOUS_SET#"><i class="fa fa-arrow-left"></i></a></li>' ,p_theme_id=>313 ,p_theme_class_id=>1 ,p_reference_id=>524960728083821695 ); begin wwv_flow_api.create_row_template_patch( p_id=>wwv_flow_api.id(524966324975896545) ,p_row_template_before_first=>'<tr class="grid-row highl">' ,p_row_template_after_last=>'</tr>' ); exception when others then null; end; wwv_flow_api.create_row_template( p_id=>wwv_flow_api.id(524967233551896546) ,p_row_template_name=>'Standard' ,p_row_template1=>'<td class="grid-data" headers="#COLUMN_HEADER_NAME#" #ALIGNMENT#>#COLUMN_VALUE#</td>' ,p_row_template_before_rows=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div class="grid grid-borderless">', '<table class="grid-table" #REPORT_ATTRIBUTES#>')) ,p_row_template_after_rows=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<ul class="pagination">', '#PAGINATION#', '</ul>', '</table>', '<div class="report-links">#EXTERNAL_LINK##CSV_LINK#</div>', '</div>')) ,p_row_template_table_attr=>'OMIT' ,p_row_template_type=>'GENERIC_COLUMNS' ,p_column_heading_template=>'<th class="grid-header grid-default" #ALIGNMENT# id="#COLUMN_HEADER_NAME#">#COLUMN_HEADER#</th>' ,p_row_template_display_cond1=>'0' ,p_row_template_display_cond2=>'0' ,p_row_template_display_cond3=>'0' ,p_row_template_display_cond4=>'0' ,p_pagination_template=>'<span class="text">#TEXT#</span>' ,p_next_page_template=>'<li><a href="#LINK#" class="btn btn-default" title="#PAGINATION_NEXT#"><i class="fa fa-arrow-right"></i></a></li>' ,p_previous_page_template=>'<li><a href="#LINK#" class="btn btn-default" title="#PAGINATION_PREVIOUS#"><i class="fa fa-arrow-left"></i></a></li>' ,p_next_set_template=>'<li><a href="#LINK#" class="btn btn-default" title="#PAGINATION_NEXT_SET#"><i class="fa fa-arrow-right"></i></a></li>' ,p_previous_set_template=>'<li><a href="#LINK#" class="btn btn-default" title="#PAGINATION_PREVIOUS_SET#"><i class="fa fa-arrow-left"></i></a></li>' ,p_theme_id=>313 ,p_theme_class_id=>4 ,p_reference_id=>524961636659821696 ); begin wwv_flow_api.create_row_template_patch( p_id=>wwv_flow_api.id(524967233551896546) ,p_row_template_before_first=>'<tr class="grid-row highl">' ,p_row_template_after_last=>'</tr>' ); exception when others then null; end; wwv_flow_api.create_row_template( p_id=>wwv_flow_api.id(524967524528896546) ,p_row_template_name=>'Standard, Alternating Row Colors' ,p_row_template1=>'<td class="grid-data odd" headers="#COLUMN_HEADER_NAME#" #ALIGNMENT#>#COLUMN_VALUE#</td>' ,p_row_template2=>'<td class="grid-data even" headers="#COLUMN_HEADER_NAME#" #ALIGNMENT#>#COLUMN_VALUE#</td>' ,p_row_template_before_rows=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div class="grid grid-borderless alternating-row-colors">', '<table class="grid-table" #REPORT_ATTRIBUTES#>')) ,p_row_template_after_rows=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<ul class="pagination">', '#PAGINATION#', '</ul>', '</table>', '<div class="report-links">#EXTERNAL_LINK##CSV_LINK#</div>', '</div>')) ,p_row_template_table_attr=>'OMIT' ,p_row_template_type=>'GENERIC_COLUMNS' ,p_column_heading_template=>'<th class="grid-header grid-default" #ALIGNMENT# id="#COLUMN_HEADER_NAME#">#COLUMN_HEADER#</th>' ,p_row_template_display_cond1=>'ODD_ROW_NUMBERS' ,p_row_template_display_cond2=>'EVEN_ROW_NUMBERS' ,p_row_template_display_cond3=>'0' ,p_row_template_display_cond4=>'ODD_ROW_NUMBERS' ,p_pagination_template=>'<span class="text">#TEXT#</span>' ,p_next_page_template=>'<li><a href="#LINK#" class="btn btn-default" title="#PAGINATION_NEXT#"><i class="fa fa-arrow-right"></i></a></li>' ,p_previous_page_template=>'<li><a href="#LINK#" class="btn btn-default" title="#PAGINATION_PREVIOUS#"><i class="fa fa-arrow-left"></i></a></li>' ,p_next_set_template=>'<li><a href="#LINK#" class="btn btn-default" title="#PAGINATION_NEXT_SET#"><i class="fa fa-arrow-right"></i></a></li>' ,p_previous_set_template=>'<li><a href="#LINK#" class="btn btn-default" title="#PAGINATION_PREVIOUS_SET#"><i class="fa fa-arrow-left"></i></a></li>' ,p_theme_id=>313 ,p_theme_class_id=>5 ,p_reference_id=>524961927636821696 ); begin wwv_flow_api.create_row_template_patch( p_id=>wwv_flow_api.id(524967524528896546) ,p_row_template_before_first=>'<tr class="grid-row highl">' ,p_row_template_after_last=>'</tr>' ); exception when others then null; end; end; / prompt --application/shared_components/user_interface/templates/label begin wwv_flow_api.create_field_template( p_id=>wwv_flow_api.id(524973520615896551) ,p_template_name=>'Without label' ,p_template_body1=>'<label for="#CURRENT_ITEM_NAME#" id="#LABEL_ID#">' ,p_template_body2=>'</label>' ,p_before_item=>'<div id="#CURRENT_ITEM_CONTAINER_ID#" class="form-group #CURRENT_FORM_ELEMENT#">' ,p_after_item=>'</div>' ,p_on_error_after_label=>'<div class="alert alert-danger">#ERROR_MESSAGE#</div>' ,p_theme_id=>313 ,p_theme_class_id=>13 ,p_reference_id=>524967923723821701 ,p_translate_this_template=>'N' ); wwv_flow_api.create_field_template( p_id=>wwv_flow_api.id(524973645529896551) ,p_template_name=>'Optional label' ,p_template_body1=>'<label for="#CURRENT_ITEM_NAME#" id="#LABEL_ID#">' ,p_template_body2=>'</label>' ,p_before_item=>'<div id="#CURRENT_ITEM_CONTAINER_ID#" class="form-group #CURRENT_FORM_ELEMENT#">' ,p_after_item=>'</div>' ,p_on_error_after_label=>'<div class="alert alert-danger">#ERROR_MESSAGE#</div>' ,p_theme_id=>313 ,p_theme_class_id=>3 ,p_reference_id=>524968048637821701 ,p_translate_this_template=>'N' ); wwv_flow_api.create_field_template( p_id=>wwv_flow_api.id(524973732564896551) ,p_template_name=>'Optional label with help' ,p_template_body1=>'<label for="#CURRENT_ITEM_NAME#" id="#LABEL_ID#"><a href="javascript:afw.afw_21.actio_dynmq.aide_page_item.afich(''#CURRENT_ITEM_ID#'');" tabindex="-1">' ,p_template_body2=>'</a></label>' ,p_before_item=>'<div id="#CURRENT_ITEM_CONTAINER_ID#" class="form-group #CURRENT_FORM_ELEMENT#">' ,p_after_item=>'</div>' ,p_on_error_after_label=>'<div class="alert alert-danger">#ERROR_MESSAGE#</div>' ,p_theme_id=>313 ,p_theme_class_id=>1 ,p_reference_id=>524968135672821701 ,p_translate_this_template=>'N' ); wwv_flow_api.create_field_template( p_id=>wwv_flow_api.id(524973827299896551) ,p_template_name=>'Required label' ,p_template_body1=>'<label for="#CURRENT_ITEM_NAME#" id="#LABEL_ID#"><span class="indic_champ_oblig">*</span><span class="texte_champ_oblig">' ,p_template_body2=>'</span></label>' ,p_before_item=>'<div id="#CURRENT_ITEM_CONTAINER_ID#" class="form-group #CURRENT_FORM_ELEMENT#">' ,p_after_item=>'</div>' ,p_on_error_after_label=>'<div class="alert alert-danger">#ERROR_MESSAGE#</div>' ,p_theme_id=>313 ,p_theme_class_id=>4 ,p_reference_id=>524968230407821701 ,p_translate_this_template=>'N' ); wwv_flow_api.create_field_template( p_id=>wwv_flow_api.id(524973931159896551) ,p_template_name=>'Required label with help' ,p_template_body1=>'<label for="#CURRENT_ITEM_NAME#" id="#LABEL_ID#"><span class="indic_champ_oblig">*</span><span class="texte_champ_oblig"><a href="javascript:afw.afw_21.actio_dynmq.aide_page_item.afich(''#CURRENT_ITEM_ID#'')" tabindex="-1">' ,p_template_body2=>'</a></span></label>' ,p_before_item=>'<div id="#CURRENT_ITEM_CONTAINER_ID#" class="form-group #CURRENT_FORM_ELEMENT#">' ,p_after_item=>'</div>' ,p_on_error_after_label=>'<div class="alert alert-danger">#ERROR_MESSAGE#</div>' ,p_theme_id=>313 ,p_theme_class_id=>2 ,p_reference_id=>524968334267821701 ,p_translate_this_template=>'N' ); end; / prompt --application/shared_components/user_interface/templates/breadcrumb begin null; end; / prompt --application/shared_components/user_interface/templates/popuplov begin wwv_flow_api.create_popup_lov_template( p_id=>wwv_flow_api.id(524977337481896555) ,p_popup_icon=>'#IMAGE_PREFIX#list_gray.gif' ,p_popup_icon_attr=>'width="13" height="13" alt="Popup Lov"' ,p_page_name=>'winlov' ,p_page_title=>'Recherche' ,p_page_html_head=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<html lang="&BROWSER_LANGUAGE.">', '<head>', '<title>#TITLE#</title>', '#APEX_CSS#', '#THEME_CSS#', '#THEME_STYLE_CSS#', '#APEX_JAVASCRIPT#', '<!-- AFW - JavaScript - Core -->', '&A_AFW_11_TEMPL_JAVSC_CORE_1.', '', '&A_AFW_11_TEMPL_THEME_JQUER_UI.', '<!-- AFW - JavaScript - Core -->', '&A_AFW_11_TEMPL_JAVSC_CORE_2. ', '&A_AFW_11_TEMPL_JAVSC_JQUER.', '</head>')) ,p_page_body_attr=>'class="&A_AFW_11_JQUER_UI_CSS_SCOPE."' ,p_before_field_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div class="panel panel-default">', '<div class="panel-heading">')) ,p_filter_width=>'20' ,p_filter_max_width=>'100' ,p_find_button_text=>'Rechercher' ,p_close_button_text=>'Fermer' ,p_next_button_text=>'Suivant >' ,p_prev_button_text=>'< Précédent' ,p_after_field_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '</div>', '</div>')) ,p_scrollbars=>'1' ,p_resizable=>'1' ,p_width=>'400' ,p_height=>'450' ,p_result_row_x_of_y=>'<div class="pagination"><span class="text">Rangée(s) #FIRST_ROW# - #LAST_ROW#</span></div>' ,p_result_rows_per_pg=>500 ,p_before_result_set=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div class="panel panel-default">', '<div class="panel-heading">')) ,p_theme_id=>313 ,p_theme_class_id=>1 ,p_reference_id=>524971740589821705 ,p_translate_this_template=>'N' ,p_after_result_set=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '</div>', '</div>')) ); end; / prompt --application/shared_components/user_interface/templates/calendar begin wwv_flow_api.create_calendar_template( p_id=>wwv_flow_api.id(524977023718896555) ,p_cal_template_name=>'Calendar' ,p_day_of_week_format=>'<th id="#DY#" scope="col" class="uCalDayCol">#IDAY#</th>' ,p_month_title_format=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div class="uCal">', '<h1 class="uMonth">#IMONTH# <span>#YYYY#</span></h1>')) ,p_month_open_format=>'<table class="uCal" cellpadding="0" cellspacing="0" border="0" summary="#IMONTH# #YYYY#">' ,p_month_close_format=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '</table>', '<div class="uCalFooter"></div>', '</div>', '')) ,p_day_title_format=>'<span class="uDayTitle">#DD#</span>' ,p_day_open_format=>'<td class="uDay" headers="#DY#">#TITLE_FORMAT#<div class="uDayData">#DATA#</div>' ,p_day_close_format=>'</td>' ,p_today_open_format=>'<td class="uDay today" headers="#DY#">#TITLE_FORMAT#<div class="uDayData">#DATA#</div>' ,p_weekend_title_format=>'<span class="uDayTitle weekendday">#DD#</span>' ,p_weekend_open_format=>'<td class="uDay" headers="#DY#">#TITLE_FORMAT#<div class="uDayData">#DATA#</div>' ,p_weekend_close_format=>'</td>' ,p_nonday_title_format=>'<span class="uDayTitle">#DD#</span>' ,p_nonday_open_format=>'<td class="uDay nonday" headers="#DY#">' ,p_nonday_close_format=>'</td>' ,p_week_open_format=>'<tr>' ,p_week_close_format=>'</tr>' ,p_daily_title_format=>'<th width="14%" class="calheader">#IDAY#</th>' ,p_daily_open_format=>'<tr>' ,p_daily_close_format=>'</tr>' ,p_weekly_title_format=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div class="uCal uCalWeekly">', '<h1 class="uMonth">#WTITLE#</h1>')) ,p_weekly_day_of_week_format=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<th scope="col" class="aCalDayCol" id="#DY#">', ' <span class="visible-desktop">#DD# #IDAY#</span>', ' <span class="hidden-desktop">#DD# <em>#IDY#</em></span>', '</th>')) ,p_weekly_month_open_format=>'<table border="0" cellpadding="0" cellspacing="0" summary="#CALENDAR_TITLE# #START_DL# - #END_DL#" class="uCal">' ,p_weekly_month_close_format=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '</table>', '<div class="uCalFooter"></div>', '</div>')) ,p_weekly_day_open_format=>'<td class="uDay" headers="#DY#"><div class="uDayData">' ,p_weekly_day_close_format=>'</div></td>' ,p_weekly_today_open_format=>'<td class="uDay today" headers="#DY#"><div class="uDayData">' ,p_weekly_weekend_open_format=>'<td class="uDay weekend" headers="#DY#"><div class="uDayData">' ,p_weekly_weekend_close_format=>'</div></td>' ,p_weekly_time_open_format=>'<th scope="row" class="uCalHour">' ,p_weekly_time_close_format=>'</th>' ,p_weekly_time_title_format=>'#TIME#' ,p_weekly_hour_open_format=>'<tr>' ,p_weekly_hour_close_format=>'</tr>' ,p_daily_day_of_week_format=>'<th scope="col" id="#DY#" class="aCalDayCol">#IDAY#</th>' ,p_daily_month_title_format=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div class="uCal uCalWeekly uCalDaily">', '<h1 class="uMonth">#IMONTH# #DD#, #YYYY#</h1>')) ,p_daily_month_open_format=>'<table border="0" cellpadding="0" cellspacing="0" summary="#CALENDAR_TITLE# #START_DL#" class="uCal">' ,p_daily_month_close_format=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '</table>', '<div class="uCalFooter"></div>', '</div>')) ,p_daily_day_open_format=>'<td class="uDay" headers="#DY#"><div class="uDayData">' ,p_daily_day_close_format=>'</div></td>' ,p_daily_today_open_format=>'<td class="uDay today" headers="#DY#"><div class="uDayData">' ,p_daily_time_open_format=>'<th scope="row" class="uCalHour" id="#TIME#">' ,p_daily_time_close_format=>'</th>' ,p_daily_time_title_format=>'#TIME#' ,p_daily_hour_open_format=>'<tr>' ,p_daily_hour_close_format=>'</tr>' ,p_agenda_format=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<ul class="listCalendar">', ' <li class="monthHeader">', ' <h1>#IMONTH# #YYYY#</h1>', ' </li>', ' #DAYS#', ' <li class="listEndCap"></li>', '</ul>')) ,p_agenda_past_day_format=>wwv_flow_utilities.join(wwv_flow_t_varchar2( ' <li class="dayHeader past">', ' <h2>#IDAY# <span>#IMONTH# #DD#</span></h2>', ' </li>')) ,p_agenda_today_day_format=>wwv_flow_utilities.join(wwv_flow_t_varchar2( ' <li class="dayHeader today">', ' <h2>#IDAY# <span>#IMONTH# #DD#</span></h2>', ' </li>')) ,p_agenda_future_day_format=>wwv_flow_utilities.join(wwv_flow_t_varchar2( ' <li class="dayHeader future">', ' <h2>#IDAY# <span>#IMONTH# #DD#</span></h2>', ' </li>')) ,p_agenda_past_entry_format=>' <li class="dayData past">#DATA#</li>' ,p_agenda_today_entry_format=>' <li class="dayData today">#DATA#</li>' ,p_agenda_future_entry_format=>' <li class="dayData future">#DATA#</li>' ,p_month_data_format=>'#DAYS#' ,p_month_data_entry_format=>'#DATA#' ,p_theme_id=>313 ,p_theme_class_id=>1 ,p_reference_id=>524971426826821705 ); end; / prompt --application/shared_components/user_interface/themes begin wwv_flow_api.create_theme( p_id=>wwv_flow_api.id(524977523154896556) ,p_theme_id=>313 ,p_theme_name=>'AFW - Bootstrap 3.0.0' ,p_ui_type_name=>'DESKTOP' ,p_navigation_type=>'T' ,p_nav_bar_type=>'NAVBAR' ,p_is_locked=>false ,p_default_page_template=>wwv_flow_api.id(524952624617896527) ,p_error_template=>wwv_flow_api.id(524954937203896531) ,p_breadcrumb_display_point=>'REGION_POSITION_01' ,p_sidebar_display_point=>'REGION_POSITION_02' ,p_login_template=>wwv_flow_api.id(524953424161896528) ,p_default_button_template=>wwv_flow_api.id(524976635139896554) ,p_default_region_template=>wwv_flow_api.id(524964836096896540) ,p_default_form_template=>wwv_flow_api.id(524961532541896538) ,p_default_reportr_template=>wwv_flow_api.id(524964537325896540) ,p_default_tabform_template=>wwv_flow_api.id(524961247111896538) ,p_default_wizard_template=>wwv_flow_api.id(524957634847896534) ,p_default_listr_template=>wwv_flow_api.id(524964537325896540) ,p_default_irr_template=>wwv_flow_api.id(524965123033896540) ,p_default_report_template=>wwv_flow_api.id(524967524528896546) ,p_default_label_template=>wwv_flow_api.id(524973645529896551) ,p_default_calendar_template=>wwv_flow_api.id(524977023718896555) ,p_default_option_label=>wwv_flow_api.id(524973732564896551) ,p_default_required_label=>wwv_flow_api.id(524973931159896551) ,p_default_page_transition=>'NONE' ,p_default_popup_transition=>'NONE' ,p_file_prefix => nvl(wwv_flow_application_install.get_static_theme_file_prefix(313),'') ,p_css_file_urls=>'#IMAGE_PREFIX#legacy_ui/css/5.0#MIN#.css?v=#APEX_VERSION#' ); wwv_flow_api.g_varchar2_table := wwv_flow_api.empty_varchar2_table; wwv_flow_api.g_varchar2_table(1) := '89504E470D0A1A0A0000000D494844520000004000000033080600000027DF0EB1000000017352474200AECE1CE900000006624B474400FF00FF00FFA0BDA793000000097048597300000B1300000B1301009A9C180000000774494D4507D90C0411260F'; wwv_flow_api.g_varchar2_table(2) := 'FDF2CAE30000001974455874436F6D6D656E74004372656174656420776974682047494D5057810E1700000F7B4944415468DEE59B4B6C5CD779C77FDF39F7CE8BC3D7F02589144549B125DBB2604779D8B213A4B19DC449164580162D50C09BB6D974D3'; wwv_flow_api.g_varchar2_table(3) := '02458CAC0AB428D25D3705DAA068B34917EDA2689B206DEC200F340F2572EC44B665CBA6A807258AE4881C0E67EECC7D9CF375718714258B941D9B72825EE0828BB933F79EFFF7F8FFBFFFB914E73D77EB505544E41D7FB69B87B99B37DB58A05725751E'; wwv_flow_api.g_varchar2_table(4) := 'EF15546FFA6C2B2077E308EE56D405C8BCD28CDD1F9F598CFEE1D47C9B6323250E8E96A855020A569E0A8C3C5FB44260042B82BF0B992199DBAD12C81FDC08C4A96729CAF46757DAFCFD4BD779FE528B92153A699E0163FD21C7468A1C1929F1E1D11207'; wwv_flow_api.g_varchar2_table(5) := '6A45A6878A8C94EC5343E5E0F9DD4C06D9AD1E2040947AAE3413FDCE5C93AF9E59E1A5850E84866260A80A5C770A56F2AB554101E7C12B33D5025F3C36C4B39F9814BF8B0804B28BF5FEEDD9A6FEEDA9257EBE966044A8F48774324551BCCAC685582B58'; wwv_flow_api.g_varchar2_table(6) := '63C040A09647868BCC94432E37B34D3077AF07EC16B802DFBBD8C2152C9F99AC82072FD0F6CAC5B598F56EC65AAA780163C05A08107E7BAA8F4746CB9C5A882817ED4635ED2200BB086FB560C8142E7433460B960395907B4A96A30321EBB1E3EC5AC27C'; wwv_flow_api.g_varchar2_table(7) := 'EC58572534C2E323257EEF9E41BE35BBCE72E218295B763B057695052AA1417AE5504F1C8BB14381BE82612CB4ECEB0BA9160C4B89A7161A1E1E2AF1C672CCF9564A4721B90B5418EC16DF8A0883458B08E015D3A3C296577E71BD8B51B8BFBFC0602054'; wwv_flow_api.g_varchar2_table(8) := '03614F31E07A9471CD2BB12A915336D84F77B509EE22C7667A7B76281841141C9028A042EA955421F64A3DF5240A9582B9AD48FA8D01A0E53C6E87E8C91639EA1562A7788515E7F3BE67E5AD00A8C27BF8CCC12E920099423351FA43D9110111C854E93A'; wwv_flow_api.g_varchar2_table(9) := '8F005DAF2842AAB79480487EEA0E8DF11D02B4AB000C95031A8963A010F61671FB07B3021DAF044E51AF641E142530F9F5DAEB1F9A44E8ECBFA92E7C17D23A523900FD0791A17B61E07EA4FF8010866F9D29760024D84D9151088495C4B3D729A1156E5F'; wwv_flow_api.g_varchar2_table(10) := '0D8A1583D7BC41C69923F3F943970A39494967F5903FF7CFB33AFF5F102F825451DF81F573B01CA2260409C1044A711C197800468F21934F1F96F2F0F9F72D03F2E5298B9D8CFDD5705B3D2340AC4AEA94C4E5198028FBDD02FCFCEFD45DFC06F816EA1D'; wwv_flow_api.g_varchar2_table(11) := 'E021A8226250EFC1C5F9B9F15BDD6534BA8234CF4010CC32F3BBA2EF8714DE5898202C761D7BCB01D6CACD00E90DA822AF440A89D3BC71AAF247579EC155FA91B08CBA10B216B8760FD6DE37B7A4B7AA22B50F22B5E3E8C2BF834BEFA8A17605808DBA1B'; wwv_flow_api.g_varchar2_table(12) := 'B279ED3A55E65A29F70C1636AF299A88F1D25542B194982672059A99475D3E36E700AD421281AD62AAD3C8E051D439B4398BB6E73641C8FB8B62269EC0CC7C1EFFC6D7800CC2EA1D8564F04E17B64149EA3D64492F9C2617F4C6E6B37FEF9A997240DEC7'; wwv_flow_api.g_varchar2_table(13) := '8495D453EFC40C57623E5AFB294707BE47A5308F570BE298CCC639924E518F27B8164DD38CF7904A910C415C0BBBFA32ACBC0203F7636A0F624A35B475118DEB90AD63FAA63087BF805EFD06AC9F81601809CAEF8114D65EBAF516A62E433B6DDCC5D734'; wwv_flow_api.g_varchar2_table(14) := 'FEF63F41DCC1EC3B8CDD7F1F76EA5ECCC81E2894C41442248D29A8C3D994C1A0C581FE533C30F243ACB98ED302992FE5ACE64302DB60D8AE522BFD9223431E41F9333FCDFE2C6552531E4EDADC9F442457CE10BFF273EC68193B94F7024C3F66A082CCFD'; wwv_flow_api.g_varchar2_table(15) := '21DA1D43BB0952CE9BAEBC1B00B6BA399AC468BBB192BDF6C270FCDDAFE3CEFE008A95FC0E6FFC18BC039741B11FB3E7031AEE9D66B87C90A74D8DF53DB37C60E867206D9C0FC87C7193D26F94B14137DA826EA4B5A75E1CE49A4FE820DC9FB4F24C7321'; wwv_flow_api.g_varchar2_table(16) := 'C40E92667EFFA08A765E82A2A259824FC0848ABC0DAB23B8939E57EFD1FA82A6677E48F2FD7FC15D7C1182102A0337549ABD1934BF70966CE1753A9323ECFF58484288D73E0AC6520A8B74B236996618FC8D9252B949FB1BB1EC2DED63A2B29FB36B3FA5'; wwv_flow_api.g_varchar2_table(17) := '683C6C7A085B44118A480859013529641ECD049F09C699775F027EBD45F76B7F815FBE8454FAB1FB8FA14917ED34C125681AE751A157FBAA101429DEF308ED032364F2222A4AD978AA418DB1F20C916BD1CA9AAC274B74B22E82225BC8CAABE7DEE1137C'; wwv_flow_api.g_varchar2_table(18) := '62F2F33C77F1EBA84FC8FC366E3220B6883A8364169CA2198837A894DE831E1045EAD7AE40D6464A7BB0C31FC0F48DE09335FCCA157C7D1EDF5943E336EA32C486040F7C9CC2C39FA6EFCD6F22431E44E9B888286BD3711187071F64A434CE7254A2DE5D'; wwv_flow_api.g_varchar2_table(19) := '2276114E53148FE299A81CE4C3E38F7169FD2C0BAD37706A717E87766E2C2406158BEF2AEA14CD849B52F3570540FAAA2285A2BAE53A7EAE8E2C8E104C1CC68CCE600766B0B543F8E635FCDA357C73193B364D38F320EECA79E4F239D86751239B19BB9E'; wwv_flow_api.g_varchar2_table(20) := '3538B5F83DDAAE42291C622834586370DE8042C158A6FB6ACCADFE378BDD94D8834108FC4E7A43F019881A34D63C0BB658EEEF0E80725F8EB0985C7D755649DF3805BF3C0DF11866A286D95F061B60FAC61053203DFD4D7C718C207639CDE986EF99BBC4'; wwv_flow_api.g_varchar2_table(21) := '810D59493C57A315664A8EE9B2627AD5D31714596AFD9482C968EA5E526F08EEF0A0AAA0A98207CDF2539CC97BC31D365E823B32402010E70A944010B1600DAA19FEE23C7EF132C61541C00E4EE39A2B68F73A66728072E6899C500CB676FB1B23B01141'; wwv_flow_api.g_varchar2_table(22) := '8CA1B7039053A27ABC5ABC0AEBC91A99CFD9C1E90E92DBE78D0FED8DA04EF0CED0C92C050FA1614BB3BD1908735B15B7C1004027EA905DCF72006EA6889E93192266C3BBB36042D41BD475A93AC7722A779C176ED94D20D3FC4C1D24E4A3F2768384F69E'; wwv_flow_api.g_varchar2_table(23) := '459D45334193DC69F11974BA196B6B6B5F595B6BD2EDC66FF11654F506007ACB16551CC7341A8D434DE756DCAA6E1F829BE6DA00D4206AD1342150CF522288286FCFD53278944C21F142E484C40B99138244B7DF8031057082A68AC6B99CC6817A2549D2'; wwv_flow_api.g_varchar2_table(24) := '2F4551A4CD66F3F4CACACA93AD568B2CCB36D76A6E5D789A66341A6BACAD354F773BDD591FD8615D210FC5E618B24D28C5E499A2012409A24A3D13522F37D1DC4E00C4CE91F81C80C40B490FFB60DDC375DD3A66DE504DC50134C97D774D1471927BF05B'; wwv_flow_api.g_varchar2_table(25) := '64B973EE441C27CF4551E7F4FA7AEBD0E9D32F681CC7372C31E71CEBEB2D92243EEDBD9EB8E1C2E47E952E79E857C4C8F646BD0DF21B7B816E172D78BCC2D5D870A0EC6E6BE46CCD0C45F140EA052FE0548815C25E93734B1ED76FDEF203521A45B3FCD7'; wwv_flow_api.g_varchar2_table(26) := '3511C428521474CBDD4484200858595939317BFEFCEC7D478F12862141922444514492A4A7BDF7276ECD08ED750A7FC1610F853B3386911EFD04381733D04930C06CC770B0ECF22A926DC40C608CE0520F46F00A89CFC1885571807845BB8A9AAD868387'; wwv_flow_api.g_varchar2_table(27) := '8183901A34F31080588FD402DCF00C7887310655E5D5575F2508424E9E7C54FAAB558C3104AD56EBC9B3675F7BCE18C3D4D41485420155BDE1C3A942B9883641EB1EC6CDF60386319BF5874F31BD18AC79A19E1A4642BFE3268F203804E720344AE48554'; wwv_flow_api.g_varchar2_table(28) := '05EFA02C19F479A4288855A4206C72676100CDF299C5F479D87B84F5E37F05816005EAF53AF3F3F31C397A84C97DFB24086E905F303C3CFCFCC9938F4AA7D3E1F573E7346A450CD76A8C8CD47220BCC2680D090CFE95143B5ADC9E8CAD45BCE0638F5435'; wwv_flow_api.g_varchar2_table(29) := 'DFE8EC7DF46A64F8F8E0CE00A87A3CE48E1042CBE50CE06C093B7C2FF81813AC238101E3736D620113A03110829F7E94F687FE1A2DF6E1B384D9B939C4088F3FFE98542A95B7D07CB091EE954A85871F7A48B22C637E7E5E5F7FFD75AAD57EC627C6912F'; wwv_flow_api.g_varchar2_table(30) := '3F8B79F293C88F4E234B3FC20CB54094CD714B416C01094B90097433D405244FFD09E87F0009F554988F0D53C5ED259D15C18BA1A31EF54AD30B1625B525FCBDCFD018FE10BA748AE2C2FF508C7E04A60156C9D30ED2A94F133DFE97E012D61A0DCE9F3F'; wwv_flow_api.g_varchar2_table(31) := 'CF7DF71DE5E0CC8CDCAA0136FE06B7F2621004CCCCCCC8CCCC0CF57AFD2BE7E7E6BE94C429538F9D247CE2B7484D80BD308739F3034CE1279885D7D0C02018108B6690D5F6937DF1CBC8CC11FA7EF01CED3445155E6E5B4643BDED6B29790219AC04747D'; wwv_flow_api.g_varchar2_table(32) := '0C22C43E4FE14405AF1EAC2599F828C9DE93B49CA770FD271456BE43B1D5213EF9E7C40F7E81B4DBE6F2E5CB38E7F8F4A73E25D69AB750FC4D6577BB6DA75BBFE09DE395B3677575A5C1C8488D81A121B00141B180349BD8977F8C9D7B81308574EA38C9'; wwv_flow_api.g_varchar2_table(33) := '873F8656FAA848C0EF9F7A9697A34B3DBB5E9908951355C77CD7723511F6973CD3258FE0192C0CB1147B2E471D2A02BFE81A0CCA4861803F3DFC0C4F8C3F42E2D3DCA411C98597048027CB525A6BABCCCD5DE0F8F1634C4D4D096FE30D93603B1FE026B5'; wwv_flow_api.g_varchar2_table(34) := '642D0F1E3B260057AF2EE8A54B974084F1B1316C10107CE893D8934F13AB6E1A23E232086EECBEE76248584CE185F580DA163F5A7A1458B465326DD37182B5F95699E91997C1161DA11BF487C36529711C7379FE124110F2D9CF7EE6A685DF69E7EBCEC3'; wwv_flow_api.g_varchar2_table(35) := 'D02D60ECDBB757F6EDDB4BB7DBE5DCB973DAE9C454AB7D94CA65026B29168BB98CEE49E9AA2991FA2C575D18046139838E8792DCD0E2AACA40A146D68E68FB5CDE0A108A67A6A8546DFF263B6D2C2C8A22D6D69A2CD797F9E0C30F7D716464E4AB6F27EA'; wwv_flow_api.g_varchar2_table(36) := 'BFB229BAF5474BA512C78F1F17502E5DBAAC8B8B4B140A058AA512D618FAFAFAF0D6F3C4F84770D6B014AFB09AAC92F936FDD6D0D77B11AA68362645A55A18C06159F78211CF98F54C964B7C64F8210E5767C8D461AD258E635AAD16F5FA750606FB79EA'; wwv_flow_api.g_varchar2_table(37) := 'C927DE51D4EFD8037E15971860B5D13874E5CAD5D92C4D090B05BC73ECA94D2001BCD4789D338D57B91CCDB2962CB39E2EA1DAA23F30540B02A43C3EF939FEF3F28BFCEF6A93619BF040DF045F987C8A47463F4B680C4E1DCD6693D54603EF3C478F1E39'; wwv_flow_api.g_varchar2_table(38) := '3C3C3C74FE9D46FD3D7B41E2D611737868E8FCF0D0906469CAA5F9796DB7DA5C5B5DC23BCF4C692F1F397C9CC87538B7768EF9F69B5CEBCCD248AEB29E5DC6D121EC8DC7918B7974F03EFE60FA733C32F2182909DDB8CBE2E222499A323636CAE14387C4'; wwv_flow_api.g_varchar2_table(39) := '18C3BB59FCBBCE80B793154BCBCBA71BAB8D13699A92240928EC19DF435FA59F46B7C1D5688E7A778EAB9DB3CC0CDFC33FBEF92D868AF7F3CCD4E77960E81E621FB35CAFB3D668D0DFDFCFFEE9FD878787DE5DD4771580ED8088E398C5C525ED76BBB4A3'; wwv_flow_api.g_varchar2_table(40) := '88248E191C18647C6C0283E57A77194797971BE73836788CB1F208EB519B0B172F502E97D83331C1D4D49488C88EBCFE6B03C0B63B4AAAACAEAE3ED96AB59FDBA8E74AB9CCE4BE49C2B08051418DF2E6EC9B449D0E5393934C4C4C487F7F95F72AEA771D'; wwv_flow_api.g_varchar2_table(41) := '80DB892B804EA743ABD5FAD76673FD77AE5DBB4692A64C8C8F73E1C205262727999CDCF737A3A3A3CF6EF7FDDF2800762A8F2CCB68B723BADDCECAC2B56BC313E3E3D46A3529168BBB12F5F71D809DB2228E63EEC6C27F2D00D8292BEED6FF0FFCDA00F0'; wwv_flow_api.g_varchar2_table(42) := '7E1D86FFE7C7FF01775988B58C7DB04C0000000049454E44AE426082'; wwv_flow_api.create_theme_image( p_id=>wwv_flow_api.id(524977523154896556) ,p_theme_id=>313 ,p_varchar2_table=>wwv_flow_api.g_varchar2_table ); end; / prompt --application/shared_components/user_interface/theme_style begin null; end; / prompt --application/shared_components/user_interface/theme_files begin null; end; / prompt --application/shared_components/user_interface/theme_display_points begin null; end; / prompt --application/shared_components/user_interface/template_opt_groups begin null; end; / prompt --application/shared_components/user_interface/template_options begin null; end; / prompt --application/shared_components/logic/build_options begin null; end; / prompt --application/shared_components/globalization/language begin null; end; / prompt --application/shared_components/globalization/messages begin wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566276935672263376) ,p_name=>'APEX.AUTHORIZATION.ACCESS_DENIED.APPLICATION' ,p_message_language=>'fr-ca' ,p_message_text=>'Accès refusé par la sécurité de l''application' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566279019508263379) ,p_name=>'APEX.AUTHORIZATION.ACCESS_DENIED.PAGE' ,p_message_language=>'fr-ca' ,p_message_text=>'Accès refusé par la sécurité page' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566282035787263381) ,p_name=>'APEX.DATEPICKER_VALUE_INVALID' ,p_message_language=>'fr-ca' ,p_message_text=>'La valeur ne concorde pas avec le format %0.' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566285229519263383) ,p_name=>'APEX.GO_TO_ERROR' ,p_message_language=>'fr-ca' ,p_message_text=>'Accéder' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566288418456263385) ,p_name=>'APEX.NUMBER_FIELD.VALUE_INVALID' ,p_message_language=>'fr-ca' ,p_message_text=>'La valeur doit être numérique.' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566291644322263387) ,p_name=>'APEX.PAGE_ITEM_IS_REQUIRED' ,p_message_language=>'fr-ca' ,p_message_text=>'Valeur obligatoire.' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566294829836263389) ,p_name=>'APEXIR_3D' ,p_message_language=>'fr-ca' ,p_message_text=>'3D' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566298033048263392) ,p_name=>'APEXIR_ACTIONS_MENU' ,p_message_language=>'fr-ca' ,p_message_text=>'Menu d''actions' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566300647024263393) ,p_name=>'APEXIR_ADD' ,p_message_language=>'fr-ca' ,p_message_text=>'Ajouter' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566303632989263400) ,p_name=>'APEXIR_AGGREGATE' ,p_message_language=>'fr-ca' ,p_message_text=>'Aggréger' ,p_is_js_message=>true ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566306823120263401) ,p_name=>'APEXIR_AGGREGATION' ,p_message_language=>'fr-ca' ,p_message_text=>'Aggrégation' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566310030811263404) ,p_name=>'APEXIR_AGG_AVG' ,p_message_language=>'fr-ca' ,p_message_text=>'Moyenne22' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566313230582263406) ,p_name=>'APEXIR_AGG_COUNT' ,p_message_language=>'fr-ca' ,p_message_text=>'Calculer' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566316440381263407) ,p_name=>'APEXIR_AGG_MEDIAN' ,p_message_language=>'fr-ca' ,p_message_text=>'Médianne' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566319644143263409) ,p_name=>'APEXIR_AGG_SUM' ,p_message_language=>'fr-ca' ,p_message_text=>'Somme' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566322849518263411) ,p_name=>'APEXIR_ALL' ,p_message_language=>'fr-ca' ,p_message_text=>'Tout' ,p_is_js_message=>true ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566326018628263415) ,p_name=>'APEXIR_ALL_COLUMNS' ,p_message_language=>'fr-ca' ,p_message_text=>'Toutes les colonnes' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566329232282263420) ,p_name=>'APEXIR_AND' ,p_message_language=>'fr-ca' ,p_message_text=>'AND' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566332432321263422) ,p_name=>'APEXIR_APPLY' ,p_message_language=>'fr-ca' ,p_message_text=>'Appliquer' ,p_is_js_message=>true ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566335626795263424) ,p_name=>'APEXIR_ASCENDING' ,p_message_language=>'fr-ca' ,p_message_text=>'Ascendant' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566338837104263425) ,p_name=>'APEXIR_AS_OF' ,p_message_language=>'fr-ca' ,p_message_text=>'Il y a ' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566342049228263427) ,p_name=>'APEXIR_BETWEEN' ,p_message_language=>'fr-ca' ,p_message_text=>'entre (BETWEEN)' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566345234590263428) ,p_name=>'APEXIR_BGCOLOR' ,p_message_language=>'fr-ca' ,p_message_text=>'Couleur de fond' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566348440553263430) ,p_name=>'APEXIR_BLUE' ,p_message_language=>'fr-ca' ,p_message_text=>'Bleu' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566351622868263433) ,p_name=>'APEXIR_BOTTOM' ,p_message_language=>'fr-ca' ,p_message_text=>'En bas' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566354842667263434) ,p_name=>'APEXIR_CALENDAR' ,p_message_language=>'fr-ca' ,p_message_text=>'Calendrier' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566358041566263436) ,p_name=>'APEXIR_CANCEL' ,p_message_language=>'fr-ca' ,p_message_text=>'Annuler' ,p_is_js_message=>true ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566361246847263438) ,p_name=>'APEXIR_CATEGORY' ,p_message_language=>'fr-ca' ,p_message_text=>'Catégorie' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566364420295263440) ,p_name=>'APEXIR_CELL' ,p_message_language=>'fr-ca' ,p_message_text=>'Cellule' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566367638799263442) ,p_name=>'APEXIR_CHART' ,p_message_language=>'fr-ca' ,p_message_text=>'Graphique' ,p_is_js_message=>true ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566370920313263445) ,p_name=>'APEXIR_CHART_INITIALIZING' ,p_message_language=>'fr-ca' ,p_message_text=>'Initialisation...' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566374143719263448) ,p_name=>'APEXIR_CHART_TYPE' ,p_message_language=>'fr-ca' ,p_message_text=>'Type de graphique' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566377350208263452) ,p_name=>'APEXIR_CHOOSE_DOWNLOAD_FORMAT' ,p_message_language=>'fr-ca' ,p_message_text=>'Choisir le format de téléchargement du rapport' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566380540273263454) ,p_name=>'APEXIR_CLEAR' ,p_message_language=>'fr-ca' ,p_message_text=>'effacer' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566383745415263456) ,p_name=>'APEXIR_CLOSE' ,p_message_language=>'fr-ca' ,p_message_text=>'Fermer' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566386938424263460) ,p_name=>'APEXIR_COLUMN' ,p_message_language=>'fr-ca' ,p_message_text=>'Colonne' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566390144345263463) ,p_name=>'APEXIR_COLUMNS' ,p_message_language=>'fr-ca' ,p_message_text=>'Colonnes' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566393326183263466) ,p_name=>'APEXIR_COLUMN_HEADING' ,p_message_language=>'fr-ca' ,p_message_text=>'Entête de la colonne' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566396536833263468) ,p_name=>'APEXIR_COLUMN_HEADING_MENU' ,p_message_language=>'fr-ca' ,p_message_text=>'Menu d''entête de colonne' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566399747434263477) ,p_name=>'APEXIR_COMPARISON_CONTAINS' ,p_message_language=>'fr-ca' ,p_message_text=>'contient' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566402941961263480) ,p_name=>'APEXIR_COMPARISON_DOESNOT_CONTAIN' ,p_message_language=>'fr-ca' ,p_message_text=>'ne contient pas' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566406150378263483) ,p_name=>'APEXIR_COMPARISON_IN' ,p_message_language=>'fr-ca' ,p_message_text=>'est dans (IN)' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566409322045263486) ,p_name=>'APEXIR_COMPARISON_ISNOT_IN_LAST' ,p_message_language=>'fr-ca' ,p_message_text=>'n''est pas dans le dernier' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566412530901263488) ,p_name=>'APEXIR_COMPARISON_ISNOT_IN_NEXT' ,p_message_language=>'fr-ca' ,p_message_text=>'n''est pas dans le suivant' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566415725992263492) ,p_name=>'APEXIR_COMPARISON_IS_IN_LAST' ,p_message_language=>'fr-ca' ,p_message_text=>'est dans le dernier' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566418344851263496) ,p_name=>'APEXIR_COMPARISON_IS_IN_NEXT' ,p_message_language=>'fr-ca' ,p_message_text=>'est dans le suivant' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566421337749263498) ,p_name=>'APEXIR_COMPARISON_IS_NOT_NULL' ,p_message_language=>'fr-ca' ,p_message_text=>'n''est pas nul (IS NOT NULL)' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566424523729263500) ,p_name=>'APEXIR_COMPARISON_IS_NULL' ,p_message_language=>'fr-ca' ,p_message_text=>'est nul (IS NULL)' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566427721358263503) ,p_name=>'APEXIR_COMPARISON_LIKE' ,p_message_language=>'fr-ca' ,p_message_text=>'comme (LIKE)' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566430949112263505) ,p_name=>'APEXIR_COMPARISON_NOT_IN' ,p_message_language=>'fr-ca' ,p_message_text=>'n''est pas dans (NOT IN)' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566434131551263509) ,p_name=>'APEXIR_COMPARISON_NOT_LIKE' ,p_message_language=>'fr-ca' ,p_message_text=>'pas comme (NOT LIKE)' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566437337270263512) ,p_name=>'APEXIR_COMPARISON_REGEXP_LIKE' ,p_message_language=>'fr-ca' ,p_message_text=>'expression dans' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566440529427263514) ,p_name=>'APEXIR_COMPUTATION' ,p_message_language=>'fr-ca' ,p_message_text=>'Calcul' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566443746355263517) ,p_name=>'APEXIR_COMPUTATION_FOOTER' ,p_message_language=>'fr-ca' ,p_message_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'Créer un calcul en utilisant un alias pour les colonnes.', '')) ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566446925813263522) ,p_name=>'APEXIR_COMPUTE' ,p_message_language=>'fr-ca' ,p_message_text=>'Calculer' ,p_is_js_message=>true ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566450126556263535) ,p_name=>'APEXIR_CONTROL_BREAK' ,p_message_language=>'fr-ca' ,p_message_text=>'Regroupement' ,p_is_js_message=>true ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566453328015263537) ,p_name=>'APEXIR_CONTROL_BREAKS' ,p_message_language=>'fr-ca' ,p_message_text=>'Regrouper' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566456528987263540) ,p_name=>'APEXIR_DATA_AS_OF' ,p_message_language=>'fr-ca' ,p_message_text=>'Données telles qu''elle était il y a %0 minute(s)' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566459719342263542) ,p_name=>'APEXIR_DEFAULT' ,p_message_language=>'fr-ca' ,p_message_text=>'Défaut' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566462921371263545) ,p_name=>'APEXIR_DELETE' ,p_message_language=>'fr-ca' ,p_message_text=>'Supprimer' ,p_is_js_message=>true ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566466136922263547) ,p_name=>'APEXIR_DELETE_CONFIRM' ,p_message_language=>'fr-ca' ,p_message_text=>'Voulez-vous vraiment supprimer cette paramétrisation?' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566469331399263548) ,p_name=>'APEXIR_DELETE_CONFIRM_JS_DIALOG' ,p_message_language=>'fr-ca' ,p_message_text=>'Voulez-vous vraiment supprimer cet enregistrement?' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566472520161263550) ,p_name=>'APEXIR_DELETE_REPORT' ,p_message_language=>'fr-ca' ,p_message_text=>'Effacer le rapport' ,p_is_js_message=>true ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566475727947263552) ,p_name=>'APEXIR_DESCENDING' ,p_message_language=>'fr-ca' ,p_message_text=>'Descendant' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566478919629263554) ,p_name=>'APEXIR_DETAIL_VIEW' ,p_message_language=>'fr-ca' ,p_message_text=>'Détail' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566482131665263555) ,p_name=>'APEXIR_DISABLE' ,p_message_language=>'fr-ca' ,p_message_text=>'Désactiver' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566485345512263557) ,p_name=>'APEXIR_DISABLED' ,p_message_language=>'fr-ca' ,p_message_text=>'Désactivé' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566488528965263559) ,p_name=>'APEXIR_DISPLAY' ,p_message_language=>'fr-ca' ,p_message_text=>'Afficher' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566491747134263560) ,p_name=>'APEXIR_DISPLAYED' ,p_message_language=>'fr-ca' ,p_message_text=>'Affiché' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566494949840263563) ,p_name=>'APEXIR_DISPLAYED_COLUMNS' ,p_message_language=>'fr-ca' ,p_message_text=>'Colonne(s) affichée(s)' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566498123546263571) ,p_name=>'APEXIR_DISPLAY_IN_REPORT' ,p_message_language=>'fr-ca' ,p_message_text=>'Colonne(s) à afficher' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566501349087263573) ,p_name=>'APEXIR_DOWN' ,p_message_language=>'fr-ca' ,p_message_text=>'Descendre' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566504535814263575) ,p_name=>'APEXIR_DOWNLOAD' ,p_message_language=>'fr-ca' ,p_message_text=>'Télécharger' ,p_is_js_message=>true ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566507749660263576) ,p_name=>'APEXIR_DO_NOT_AGGREGATE' ,p_message_language=>'fr-ca' ,p_message_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '- Ne pas aggréger -', '')) ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566510922703263578) ,p_name=>'APEXIR_DO_NOT_DISPLAY' ,p_message_language=>'fr-ca' ,p_message_text=>'Colonne(s) à ne pas afficher' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566514123890263580) ,p_name=>'APEXIR_EDIT_CHART' ,p_message_language=>'fr-ca' ,p_message_text=>'Modifier les paramètres du graphique' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566517342334263581) ,p_name=>'APEXIR_EDIT_CHART2' ,p_message_language=>'fr-ca' ,p_message_text=>'Paramètres du graphique' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566520536845263584) ,p_name=>'APEXIR_EDIT_FILTER' ,p_message_language=>'fr-ca' ,p_message_text=>'Modifier le filtre' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566523722335263586) ,p_name=>'APEXIR_EDIT_HIGHLIGHT' ,p_message_language=>'fr-ca' ,p_message_text=>'Modifier la mise en évidence' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566527029239263588) ,p_name=>'APEXIR_ENABLE' ,p_message_language=>'fr-ca' ,p_message_text=>'Activer' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566530234268263589) ,p_name=>'APEXIR_ENABLED' ,p_message_language=>'fr-ca' ,p_message_text=>'Activé' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566533426331263591) ,p_name=>'APEXIR_ENABLE_DISABLE_ALT' ,p_message_language=>'fr-ca' ,p_message_text=>'Activer/Désactiver' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566536643778263592) ,p_name=>'APEXIR_ERROR' ,p_message_language=>'fr-ca' ,p_message_text=>'Erreur' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566539019140263594) ,p_name=>'APEXIR_EXAMPLES' ,p_message_language=>'fr-ca' ,p_message_text=>'Exemples' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566542221178263595) ,p_name=>'APEXIR_EXCLUDE_NULL' ,p_message_language=>'fr-ca' ,p_message_text=>'Exclure les valeurs nulles' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566545442270263597) ,p_name=>'APEXIR_FILTER' ,p_message_language=>'fr-ca' ,p_message_text=>'Filtrer' ,p_is_js_message=>true ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566548619280263602) ,p_name=>'APEXIR_FILTERS' ,p_message_language=>'fr-ca' ,p_message_text=>'Filtres' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566551822355263604) ,p_name=>'APEXIR_FILTER_TYPE' ,p_message_language=>'fr-ca' ,p_message_text=>'Type de filtre' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566555021839263607) ,p_name=>'APEXIR_FINDER_ALT' ,p_message_language=>'fr-ca' ,p_message_text=>'Choisir les colonnes pour la recherche' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566558219726263608) ,p_name=>'APEXIR_FLASHBACK' ,p_message_language=>'fr-ca' ,p_message_text=>'Retour en arrière' ,p_is_js_message=>true ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566561421377263610) ,p_name=>'APEXIR_FLASHBACK_DESCRIPTION' ,p_message_language=>'fr-ca' ,p_message_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'Une requête avec retour en arrière permet de voir les données telles qu''elles étaient au moment choisi.', '')) ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566564644091263612) ,p_name=>'APEXIR_FLASHBACK_ERROR_MSG' ,p_message_language=>'fr-ca' ,p_message_text=>'Impossible d''exécutée la requête avec retour en arrière' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566567831474263614) ,p_name=>'APEXIR_FORMAT_MASK' ,p_message_language=>'fr-ca' ,p_message_text=>'Masque de saisie' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566571034051263615) ,p_name=>'APEXIR_FUNCTION' ,p_message_language=>'fr-ca' ,p_message_text=>'Fonction' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566574233517263617) ,p_name=>'APEXIR_FUNCTIONS' ,p_message_language=>'fr-ca' ,p_message_text=>'Fonctions' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566577433235263618) ,p_name=>'APEXIR_GO' ,p_message_language=>'fr-ca' ,p_message_text=>'Rechercher' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566580621757263620) ,p_name=>'APEXIR_GREEN' ,p_message_language=>'fr-ca' ,p_message_text=>'Vert' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566583838742263622) ,p_name=>'APEXIR_GROUP_BY' ,p_message_language=>'fr-ca' ,p_message_text=>'Grouper par' ,p_is_js_message=>true ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566587048365263624) ,p_name=>'APEXIR_GROUP_BY_COLUMN' ,p_message_language=>'fr-ca' ,p_message_text=>'Grouper par colonne' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566590246197263626) ,p_name=>'APEXIR_HCOLUMN' ,p_message_language=>'fr-ca' ,p_message_text=>'Colonne horizontale' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566593439111263628) ,p_name=>'APEXIR_HELP' ,p_message_language=>'fr-ca' ,p_message_text=>'Aide' ,p_is_js_message=>true ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566596629277263633) ,p_name=>'APEXIR_HELP_01' ,p_message_language=>'fr-ca' ,p_message_text=>'Un rapport interactif affiche un jeu de colonne prédéterminé. Le rapport peut être personnalisé davantage avec l''utilisation d''un filtre initial, d''un tri par défaut, des bris, du surlignage, des calculs, des aggrégations et d''un graphique. Chaque ra' ||'pport interactif peuvent donc être personnalisés davantage et les résultats peuvent être visionnés, téléchargés et la définition du rapport peut être sauvegardé pour une utilisation ultérieure.<p/>Un rapport interactif peut est personnalisé à trois n' ||'iveaux: la barre de recherche, le menu d''action et l''entête des menus.' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566599835031263634) ,p_name=>'APEXIR_HELP_ACTIONS_MENU' ,p_message_language=>'fr-ca' ,p_message_text=>'Le menu d''actions est utilisé pour personnaliser l''affchage de votre rapport interactif.' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566603050296263637) ,p_name=>'APEXIR_HELP_AGGREGATE' ,p_message_language=>'fr-ca' ,p_message_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'Les aggrégations sont des calculs mathématiques applicables sur une colonne. Les aggrégations sont affichés après chaque bri et à la fin du rapport dans les colonnes sur lesquelles ils sont définis.', '<p/>', '<ul><li><b>Aggréger</b> permet de sélectionner et d''éditer une aggrégation définie précédemment.</li>', '<li><b>Fonction</b> est utilisé pour choisir la fonction qui sera appliquée (ex.: Somme, Minimum).</li>', '<li><b>Colonne</b> est utilisé pour choisir la colonne sur laquelle on appliquera la fonction mathématique. Seulement les colonnes numériques seront affichées.</li></ul>')) ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566606240872263639) ,p_name=>'APEXIR_HELP_CHART' ,p_message_language=>'fr-ca' ,p_message_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'Vous pouvez inclure un graphique pour chaque rapport interactif. Une fois défini, vous pouvez basculer entre la vue du graphique et celle du rapport en utilisant les liens sous la barre de recherche.', '<p/>', '<ul><li><b>Type de graphique</b> identifie le type de graphique à inclure. Choisir entre barres horizontales, barres verticales, tarte ou lignes.</li>', '<li><b>Libellé</b> identifie la colonne utilisée pour le libellé.</li>', '<li><b>Titre (axe des X)</b> identifie le titre affiché sur l''axe associé à la colonne sélectionnée pour le Libellé. Non disponible pour le graphique en tarte.</li>', '<li><b>Valeur</b> identifie la colonne utilisée pour la valeur.</li>', '<li><b>Titre (axe des Y)</b> identifie le titre affiché sur l''axe associé à la colonne sélectionnée pour la Valeur. Non disponible pour le graphique en tarte.</li>', '<li><b>Fonction</b> est une fonction facultative pouvant être appliquée sur la colonne sélectionnées pour la Valeur.</li></ul>')) ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566609443122263640) ,p_name=>'APEXIR_HELP_COLUMN_HEADING_MENU' ,p_message_language=>'fr-ca' ,p_message_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'Lorsqu''on clique sur un entête de colonne, un menu d''entête s''affiche.', '<p/>', '<ul><li><b>Icône de tri ascendant</b> trie le rapport par cette colonne en ordre ascendant.</li>', '<li><b>Icône de tri descendant</b> trie le rapport par cette colonne en ordre descendant.</li>', '<li><b>Cacher colonne</b> cache la colonne.</li>', '<li><b>Regroupement</b> crée un bri sur la colonne.</li>', '<li><b>Aide</b> affiche l''aide à propose de la colonne.</li>', '<li><b>Zone de texte</b> est utilisé pour saisir un critère recherche. Lorsqu''on saisi une valeur, la liste de valeurs au bas du menu va être réduite. Vous pouvez ensuite sélectionner une valeur dans le bas et cette valeur créera un filtre en utilisa' ||'nt ''='' (ex.: colonne = ''ABC''). Alternativement, vous pouvez cliquer sur l''icône de la lampe de poche et la valeur entrée créera un ''LIKE'' (ex.: colonne LIKE ''%ABC%'').', '<li><b>Liste de valeurs uniques</b> contient les 500 premières valeurs uniques qui correspondent aux filtres. Si la colonne est une date, une liste de dates sera affichée. Vous pouvez sélectionner une valeur, un filtre sera créé en utilisant ''='' (ex.' ||': colonne = ''ABC'').</li></ul>')) ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566612637380263642) ,p_name=>'APEXIR_HELP_CONTROL_BREAK' ,p_message_language=>'fr-ca' ,p_message_text=>'Utilisé pour créer un regroupement sur une ou plusieurs colonnes. On sort les colonnes du rapport interactif et on les affiche comme des colonnes de bri.' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566615822068263644) ,p_name=>'APEXIR_HELP_DOWNLOAD' ,p_message_language=>'fr-ca' ,p_message_text=>'Permet de télécharger le jeu de données courant. Les types de fichiers disponibles diffèrent selon votre installation. Les différents types sont CSV, XLS, PDF et RTF.' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566619026360263646) ,p_name=>'APEXIR_HELP_FILTER' ,p_message_language=>'fr-ca' ,p_message_text=>'Sert à ajouter ou modifier un énoncé WHERE pour la requête. D''abord, choisir une colonne (il n''est pas nécessaire qu''elle soit affichée), choisir parmi la liste des opérateurs Oracle (=, !=, not in, between), saisir une expression pour la comparaison' ||'. L''expression est sensible à la casse et vous pouvez utiliser % comme caractère de remplacement (ex.: NOM_PROVINCE like Q%).' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566622228651263648) ,p_name=>'APEXIR_HELP_FLASHBACK' ,p_message_language=>'fr-ca' ,p_message_text=>'Exécute une requête de « retour en arrière » permettant de voir les données telles qu''elles étaient dans le passé à un moment donné. Le « retour en arrière » par défaut est de 3 heures (ou 180 minutes) mais ce chiffre diffère selon la base de données' ||'.' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566625442957263651) ,p_name=>'APEXIR_HELP_HIGHLIGHT' ,p_message_language=>'fr-ca' ,p_message_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'La mise en évidence définit un filtre. Les rangées qui correspondent au filtre sont mises en évidence en utilisant les caractéristiques associées au filtre.', '<p/>', '<ul><li><b>Nom</b> est utilisé seulement pour l''affichage.</li>', '<li><b>Séquence</b> identifie l''ordre dans lequel sera évalué les règles.</li>', '<li><b>Actif</b> identifie si la règle est activée ou désactivée.</li>', '<li><b>Type de mise en évidence</b> identifie si ce sera la rangée ou la cellule qui sera mise en évidence.</li>', '<li><b>Couleur d''arrière plan</b> est la couleur utilisée pour mettre en évidence une zone.</li>', '<li><b>Couleur de texte</b> est la couleur utilisée pour mettre en évidence le texte d''une zone.</li>', '<li><b>Conditions de la mise en évidence</b> définit les conditions du filtre.</li></ul>')) ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566628645569263653) ,p_name=>'APEXIR_HELP_REPORT_SETTINGS' ,p_message_language=>'fr-ca' ,p_message_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'Si vous avez personnalisé votre rapport interactif, les paramètres seront affichés en-dessous la barre de recherche et au-dessus du rapport. Si vous avez sauvegardés des rapports personnalisés, ils s''afficheront sous la forme d''onglets. Vous pouvez a' ||'ccéder aux vues alternatives en cliquant sur les onglets. Les paramètres du rapport seront affichés sous les onglets. Cette zone peut être ouverte ou fermée en utilisant l''icône à gauche.', '<p/>', 'Pour chaque paramètre du rapport, vous pouvez:', '<ul><li><b>Éditer</b> en cliquant le nom.</li>', '<li><b>Désactiver/Activer</b> en cochant la boîte d''activation et de désactivation. On utilise cette option pour activer/désactiver temporairement un paramètre.</li>', '<li><b>Supprimer</b> en cliquant l''icône de suppression. On utilise cette option pour supprimer un paramètre de façon permanente.</li></ul>', '<p/>', 'Si vous avez créé un graphique, vous pouvez basculter entre le rapport et le graphique en utilisant les liens à droite. Si vous êtes entrain de visionner un graphique, vous pouvez utiliser le lien d''édition pour éditer les paramètres du graphique.')) ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566631836879263655) ,p_name=>'APEXIR_HELP_RESET' ,p_message_language=>'fr-ca' ,p_message_text=>'Réinitialiser le rapport avec les paramètres initiaux, supprimer toutes les personnalisations que vous avez fait.' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566635041762263656) ,p_name=>'APEXIR_HELP_SAVE_REPORT' ,p_message_language=>'fr-ca' ,p_message_text=>'Sauvegarde le rapport personnalisé pour une utilisation utltérieure. Vous devez fournir un nom et une description optionnelle.' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566638248521263663) ,p_name=>'APEXIR_HELP_SEARCH_BAR' ,p_message_language=>'fr-ca' ,p_message_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'Au dessus de chaque rapport, il y a une région de recherche. Cette région contient ces fonctionnalités:', '<p/>', '<ul><li><b>L''icône de colonnes</b> permet de choisir sur quelle(s) colonne(s) rechercher.</li>', '<li><b>Zone de texte</b> permet de faire une recherche non sensible sur la casse (pas besoin d''utiliser des caractères de remplacement).</li>', '<li><b>Rows</b> selects the number of records to display per page.</li>', '<li><b>Bouton [Rechercher]</b> exécute la recherche.</li>', '<li><b>L''icône du menu des actions</b> affiche le menu des actions.</li></ul>', '<p/>', 'Veuillez noter que ce ne sont pas toutes les fonctionnalités qui sont disponibles pour chaque rapport.')) ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566641450231263665) ,p_name=>'APEXIR_HELP_SELECT_COLUMNS' ,p_message_language=>'fr-ca' ,p_message_text=>'Utilisé pour modifier les colonnes affichées. Les colonnes à droite sont affichées. Les colonnes à gauche sont cachés. Vous pouvez repositionner les colonnes affichées en utilisant les flèches à l''extrême droite. Les colonnes calculées sont préfixées' ||' par <b>**</b>.' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566644624645263669) ,p_name=>'APEXIR_HELP_SORT' ,p_message_language=>'fr-ca' ,p_message_text=>'Utilisé pour changer l''ordonnancement des colonnes (ascandant et descandat). Vous pouvez aussi spécifier commet gérer les valeurs nulles (utilise le paramètre par défaut, toujours afficher en premier ou en dernier). Une icône affichera le type de tri' ||' à la droite de l''entête d''une colonne.' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566647849261263670) ,p_name=>'APEXIR_HIDE_COLUMN' ,p_message_language=>'fr-ca' ,p_message_text=>'Cacher colonne' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566651027279263672) ,p_name=>'APEXIR_HIGHLIGHT' ,p_message_language=>'fr-ca' ,p_message_text=>'Mettre en évidence' ,p_is_js_message=>true ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566654240238263674) ,p_name=>'APEXIR_HIGHLIGHT_CONDITION' ,p_message_language=>'fr-ca' ,p_message_text=>'Condition de mise en évidence' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566657449394263676) ,p_name=>'APEXIR_HIGHLIGHT_TYPE' ,p_message_language=>'fr-ca' ,p_message_text=>'Type de mise en évidence' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566660627174263677) ,p_name=>'APEXIR_HIGHLIGHT_WHEN' ,p_message_language=>'fr-ca' ,p_message_text=>'Mis en évidence quand' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566663827193263681) ,p_name=>'APEXIR_INTERACTIVE_REPORT_HELP' ,p_message_language=>'fr-ca' ,p_message_text=>'Aide pour le rapport interactif' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566667028990263685) ,p_name=>'APEXIR_INVALID' ,p_message_language=>'fr-ca' ,p_message_text=>'Invalide' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566670249006263687) ,p_name=>'APEXIR_INVALID_COMPUTATION' ,p_message_language=>'fr-ca' ,p_message_text=>'Expression de calcul invalide' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566673426275263689) ,p_name=>'APEXIR_KEYPAD' ,p_message_language=>'fr-ca' ,p_message_text=>'Touche du clavier numérique' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566676639902263692) ,p_name=>'APEXIR_LABEL' ,p_message_language=>'fr-ca' ,p_message_text=>'Libellé' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566679139104263694) ,p_name=>'APEXIR_LABEL_AXIS_TITLE' ,p_message_language=>'fr-ca' ,p_message_text=>'Titre (axe des X)' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566682336114263696) ,p_name=>'APEXIR_MOVE' ,p_message_language=>'fr-ca' ,p_message_text=>'Déplacer' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566685541022263699) ,p_name=>'APEXIR_MOVE_ALL' ,p_message_language=>'fr-ca' ,p_message_text=>'Déplacer tout' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566688733493263701) ,p_name=>'APEXIR_NAME' ,p_message_language=>'fr-ca' ,p_message_text=>'Nom' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566691936874263705) ,p_name=>'APEXIR_NEW_AGGREGATION' ,p_message_language=>'fr-ca' ,p_message_text=>'Nouvelle aggrégation' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566695132564263712) ,p_name=>'APEXIR_NEW_CATEGORY' ,p_message_language=>'fr-ca' ,p_message_text=>'- Nouvelle catégorie -' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566698342318263713) ,p_name=>'APEXIR_NEW_COMPUTATION' ,p_message_language=>'fr-ca' ,p_message_text=>'Nouveau calcul' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566701518040263717) ,p_name=>'APEXIR_NO' ,p_message_language=>'fr-ca' ,p_message_text=>'Non' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566704730581263721) ,p_name=>'APEXIR_NONE' ,p_message_language=>'fr-ca' ,p_message_text=>'- Aucun -' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566707936653263725) ,p_name=>'APEXIR_NO_AGGREGATION_DEFINED' ,p_message_language=>'fr-ca' ,p_message_text=>'Aucune aggrégation définie' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566711143051263731) ,p_name=>'APEXIR_NO_COMPUTATION_DEFINED' ,p_message_language=>'fr-ca' ,p_message_text=>'Aucun calcul défini' ); end; / begin wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566714345598263733) ,p_name=>'APEXIR_NULLS_ALWAYS_FIRST' ,p_message_language=>'fr-ca' ,p_message_text=>'Valeur nulle toujours au début' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566717537722263742) ,p_name=>'APEXIR_NULLS_ALWAYS_LAST' ,p_message_language=>'fr-ca' ,p_message_text=>'Valeur nulle toujours à la fin' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566720723126263743) ,p_name=>'APEXIR_NULL_SORTING' ,p_message_language=>'fr-ca' ,p_message_text=>'Trier valeur nulle' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566723932557263745) ,p_name=>'APEXIR_NUMERIC_FLASHBACK_TIME' ,p_message_language=>'fr-ca' ,p_message_text=>'Le moment du retour en arrière doit être numérique' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566727146367263749) ,p_name=>'APEXIR_NUMERIC_SEQUENCE' ,p_message_language=>'fr-ca' ,p_message_text=>'La séquence doit être numérique' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566730319471263752) ,p_name=>'APEXIR_NUM_ROWS' ,p_message_language=>'fr-ca' ,p_message_text=>'Rangées' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566733541477263754) ,p_name=>'APEXIR_OPERATOR' ,p_message_language=>'fr-ca' ,p_message_text=>'Opérateur' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566736742156263756) ,p_name=>'APEXIR_OTHER' ,p_message_language=>'fr-ca' ,p_message_text=>'Autre' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566739925299263759) ,p_name=>'APEXIR_RED' ,p_message_language=>'fr-ca' ,p_message_text=>'Rouge' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566743144526263762) ,p_name=>'APEXIR_REMOVE' ,p_message_language=>'fr-ca' ,p_message_text=>'Enlever' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566746319348263773) ,p_name=>'APEXIR_REMOVE_AGGREGATE' ,p_message_language=>'fr-ca' ,p_message_text=>'Enlever toutes les aggrégations' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566749546848263776) ,p_name=>'APEXIR_REMOVE_ALL' ,p_message_language=>'fr-ca' ,p_message_text=>'Enlever tout' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566752729330263778) ,p_name=>'APEXIR_REMOVE_CONTROL_BREAK' ,p_message_language=>'fr-ca' ,p_message_text=>'Enlever le regroupement' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566755926958263783) ,p_name=>'APEXIR_REMOVE_FILTER' ,p_message_language=>'fr-ca' ,p_message_text=>'Supprimer filtre' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566759124665263787) ,p_name=>'APEXIR_REMOVE_FLASHBACK' ,p_message_language=>'fr-ca' ,p_message_text=>'Supprimer Retour en arrière' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566762330849263792) ,p_name=>'APEXIR_REMOVE_HIGHLIGHT' ,p_message_language=>'fr-ca' ,p_message_text=>'Supprimer la mise en évidence' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566765049076263798) ,p_name=>'APEXIR_REPORT_SETTINGS' ,p_message_language=>'fr-ca' ,p_message_text=>'Paramètres d''un rapport' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566767921126263801) ,p_name=>'APEXIR_RESET' ,p_message_language=>'fr-ca' ,p_message_text=>'Réinitialiser' ,p_is_js_message=>true ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566771136270263803) ,p_name=>'APEXIR_RESET_CONFIRM' ,p_message_language=>'fr-ca' ,p_message_text=>'Réinitialiser le rapport avec les paramètres initiaux.' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566774320360263807) ,p_name=>'APEXIR_ROW' ,p_message_language=>'fr-ca' ,p_message_text=>'Rangée' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566777518834263809) ,p_name=>'APEXIR_ROWS' ,p_message_language=>'fr-ca' ,p_message_text=>'Rangées' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566780725072263813) ,p_name=>'APEXIR_ROWS_PER_PAGE' ,p_message_language=>'fr-ca' ,p_message_text=>'Rangées par page' ,p_is_js_message=>true ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566783942218263818) ,p_name=>'APEXIR_ROW_TEXT_CONTAINS' ,p_message_language=>'fr-ca' ,p_message_text=>'La rangée contient' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566787118027263820) ,p_name=>'APEXIR_SAVE' ,p_message_language=>'fr-ca' ,p_message_text=>'Appliquer' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566790345954263821) ,p_name=>'APEXIR_SAVED_REPORT' ,p_message_language=>'fr-ca' ,p_message_text=>'Rapport sauvé' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566793546051263825) ,p_name=>'APEXIR_SAVED_REPORT_MSG' ,p_message_language=>'fr-ca' ,p_message_text=>'Rapport sauvé = "%0"' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566796739781263837) ,p_name=>'APEXIR_SAVE_AS_DEFAULT' ,p_message_language=>'fr-ca' ,p_message_text=>'Sauvegardée en tant que valeur par défaut' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566799935715263838) ,p_name=>'APEXIR_SAVE_DEFAULT_CONFIRM' ,p_message_language=>'fr-ca' ,p_message_text=>'La paramétrisation du rapport courant est utilisée comme valeur par défaut pour tous les utilisateurs' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566803150397263840) ,p_name=>'APEXIR_SAVE_REPORT' ,p_message_language=>'fr-ca' ,p_message_text=>'Enregistrer rapport' ,p_is_js_message=>true ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566806334999263842) ,p_name=>'APEXIR_SEARCH_BAR' ,p_message_language=>'fr-ca' ,p_message_text=>'Barre de recherche' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566809535447263844) ,p_name=>'APEXIR_SELECT_CATEGORY' ,p_message_language=>'fr-ca' ,p_message_text=>'- Choisir catégorie -' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566812728969263845) ,p_name=>'APEXIR_SELECT_COLUMN' ,p_message_language=>'fr-ca' ,p_message_text=>'- Choisir une colonne -' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566815926876263847) ,p_name=>'APEXIR_SELECT_COLUMNS' ,p_message_language=>'fr-ca' ,p_message_text=>'Choisir colonnes' ,p_is_js_message=>true ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566819150372263849) ,p_name=>'APEXIR_SELECT_FUNCTION' ,p_message_language=>'fr-ca' ,p_message_text=>'- Choisir fonction -' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566822344920263850) ,p_name=>'APEXIR_SELECT_SORT_COLUMN' ,p_message_language=>'fr-ca' ,p_message_text=>'- Choisir une colonne -' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566825528083263852) ,p_name=>'APEXIR_SELECT_VALUE' ,p_message_language=>'fr-ca' ,p_message_text=>'Valeur sélectionnée' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566828744853263854) ,p_name=>'APEXIR_SEQUENCE' ,p_message_language=>'fr-ca' ,p_message_text=>'Séquence' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566831928770263855) ,p_name=>'APEXIR_SORT' ,p_message_language=>'fr-ca' ,p_message_text=>'Trier' ,p_is_js_message=>true ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566835127584263858) ,p_name=>'APEXIR_SORT_ASCENDING' ,p_message_language=>'fr-ca' ,p_message_text=>'Tri ascendant' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566838339803263859) ,p_name=>'APEXIR_SORT_COLUMN' ,p_message_language=>'fr-ca' ,p_message_text=>'Trier par colonne' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566841519170263861) ,p_name=>'APEXIR_SORT_DESCENDING' ,p_message_language=>'fr-ca' ,p_message_text=>'Tri descendant' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566844747081263865) ,p_name=>'APEXIR_SPACE_AS_IN_ONE_EMPTY_STRING' ,p_message_language=>'fr-ca' ,p_message_text=>'espace' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566847950343263868) ,p_name=>'APEXIR_STATUS' ,p_message_language=>'fr-ca' ,p_message_text=>'Statut' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566851147319263870) ,p_name=>'APEXIR_TEXT_COLOR' ,p_message_language=>'fr-ca' ,p_message_text=>'Couleur du texte' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566854337721263875) ,p_name=>'APEXIR_TOP' ,p_message_language=>'fr-ca' ,p_message_text=>'En haut' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566857527569263877) ,p_name=>'APEXIR_UP' ,p_message_language=>'fr-ca' ,p_message_text=>'Monter' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566860725477263880) ,p_name=>'APEXIR_VALUE' ,p_message_language=>'fr-ca' ,p_message_text=>'Valeur' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566863943041263882) ,p_name=>'APEXIR_VALUE_AXIS_TITLE' ,p_message_language=>'fr-ca' ,p_message_text=>'Titre (axe des Y)' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566867133780263886) ,p_name=>'APEXIR_VIEW_CHART' ,p_message_language=>'fr-ca' ,p_message_text=>'Voir graphique' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566870332786263888) ,p_name=>'APEXIR_VIEW_REPORT' ,p_message_language=>'fr-ca' ,p_message_text=>'Voir tableau' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566873538322263890) ,p_name=>'APEXIR_VIEW_REPORT ' ,p_message_language=>'fr-ca' ,p_message_text=>'Voir tableau' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566876728592263892) ,p_name=>'APEXIR_WORKING_REPORT' ,p_message_language=>'fr-ca' ,p_message_text=>'Vue générale' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566879648138263893) ,p_name=>'APEXIR_YELLOW' ,p_message_language=>'fr-ca' ,p_message_text=>'Jaune' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566882436196263895) ,p_name=>'APEXIR_YES' ,p_message_language=>'fr-ca' ,p_message_text=>'Oui' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566885619590263896) ,p_name=>'APEXLIB_ITEM_INVALID_FORMAT' ,p_message_language=>'fr-ca' ,p_message_text=>'Le format de la valeur du champ <span class="t18Requiredlabel">%label</span> est invalide ("%0" (ex. %1))' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566888847579263898) ,p_name=>'APEXLIB_ITEM_INVALID_FORMAT_INLINE' ,p_message_language=>'fr-ca' ,p_message_text=>'Format "%0"<br>ex. %1' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566892032499263900) ,p_name=>'APEXLIB_ITEM_LESS_OR_EQUAL' ,p_message_language=>'fr-ca' ,p_message_text=>'La valeur du champ <span class="t18Requiredlabel">%label</span> doit être inférieure ou égale à la valeur "<b>%0</b>"' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566895220480263901) ,p_name=>'APEXLIB_ITEM_LESS_OR_EQUAL_INLINE' ,p_message_language=>'fr-ca' ,p_message_text=>'Doit être inférieure ou<br/>égale à "<b>%0</b>"' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566898440282263903) ,p_name=>'APEXLIB_ITEM_REQUIRED' ,p_message_language=>'fr-ca' ,p_message_text=>'La valeur du champ <span class="t18Requiredlabel">%label</span> est obligatoire' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566901621756263904) ,p_name=>'APEXLIB_ITEM_REQUIRED_INLINE' ,p_message_language=>'fr-ca' ,p_message_text=>'est obligatoire' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566904846086263906) ,p_name=>'APEXLIB_TABFORM_COLUMN_REQUIRED' ,p_message_language=>'fr-ca' ,p_message_text=>'%label est obligatoire' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566908043068263908) ,p_name=>'APEXLIB_TABFORM_GREATER_OR_EQUAL' ,p_message_language=>'fr-ca' ,p_message_text=>'La valeur du champ %label doit être supérieure ou égale à la valeur "<b>%0</b>"' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566911249540263909) ,p_name=>'APEXLIB_TABFORM_INVALID_FORMAT' ,p_message_language=>'fr-ca' ,p_message_text=>'Le format de la valeur du champ <span class="t18Requiredlabel">%label</span> est invalide ("%0" (ex. %1))' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566914445930263911) ,p_name=>'APEXLIB_TABFORM_LESS_OR_EQUAL' ,p_message_language=>'fr-ca' ,p_message_text=>'La valeur du champ <span class="t18Requiredlabel">%label</span> doit être inférieure ou égale à la valeur "<b>%0</b>"' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566917626269263913) ,p_name=>'APEXLIB_TABFORM_ROW_PREFIX' ,p_message_language=>'fr-ca' ,p_message_text=>'Rangée %0:' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566920839537263914) ,p_name=>'FLOW.SINGLE_VALIDATION_ERROR' ,p_message_language=>'fr-ca' ,p_message_text=>'<b>Il s''est produit une erreur :</b>' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566924038493263916) ,p_name=>'FLOW.VALIDATION_ERROR' ,p_message_language=>'fr-ca' ,p_message_text=>'<b>Il s''est produit %0 erreurs :</b>' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566927227517263918) ,p_name=>'FORM_OF' ,p_message_language=>'fr-ca' ,p_message_text=>'%0 de %1' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566930450703263921) ,p_name=>'OUT_OF_RANGE' ,p_message_language=>'fr-ca' ,p_message_text=>'La plage de données est invalide.' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566933620216263922) ,p_name=>'PAGINATION.NEXT' ,p_message_language=>'fr-ca' ,p_message_text=>'Suivant' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566936840254263924) ,p_name=>'PAGINATION.PREVIOUS' ,p_message_language=>'fr-ca' ,p_message_text=>'Précédent' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566940046989263926) ,p_name=>'RESET' ,p_message_language=>'fr-ca' ,p_message_text=>'Réinitialiser' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566943242420263928) ,p_name=>'SINCE_MINUTES_AGO' ,p_message_language=>'fr-ca' ,p_message_text=>'minutes.' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566946437415263931) ,p_name=>'WWV_RENDER_REPORT3.SORT_BY_THIS_COLUMN' ,p_message_language=>'fr-ca' ,p_message_text=>'Trier par cette colonne' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566949631614263933) ,p_name=>'WWV_RENDER_REPORT3.X_Y_OF_MORE_THAN_Z' ,p_message_language=>'fr-ca' ,p_message_text=>'Rangée(s) %0 - %1 de plus que %2' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566952830194263936) ,p_name=>'WWV_RENDER_REPORT3.X_Y_OF_Z' ,p_message_language=>'fr-ca' ,p_message_text=>'Rangée(s) %0 - %1 de %2' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(566956031973263938) ,p_name=>'WWV_RENDER_REPORT3.X_Y_OF_Z_2' ,p_message_language=>'fr-ca' ,p_message_text=>'%0 - %1 de %2' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1559045659139237561) ,p_name=>'APEXIR_HELP_DOWNLOAD' ,p_message_language=>'fr_ca' ,p_message_text=>'Permet de télécharger le jeu de données courant. Les types de fichiers disponibles diffèrent selon votre installation. Les différents types sont CSV, XLS, PDF et RTF.' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562907442663454640) ,p_name=>'APEXIR_VIEW_REPORT ' ,p_message_text=>'Voir tableau' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562907561471454640) ,p_name=>'APEXIR_ADD' ,p_message_text=>'Add' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562907646976454640) ,p_name=>'APEXIR_AGGREGATE' ,p_message_text=>'Aggréger' ,p_is_js_message=>true ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562907736129454640) ,p_name=>'APEXIR_AGGREGATION' ,p_message_text=>'Aggrégation' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562907848488454640) ,p_name=>'APEXIR_AGG_AVG' ,p_message_text=>'Moyenne' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562907955570454640) ,p_name=>'APEXIR_AGG_COUNT' ,p_message_text=>'Calculer' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562908064032454640) ,p_name=>'APEXIR_AGG_MEDIAN' ,p_message_text=>'Médianne' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562908142267454640) ,p_name=>'APEXIR_AGG_SUM' ,p_message_text=>'Somme' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562908255704454641) ,p_name=>'APEXIR_ALL' ,p_message_text=>'Tout' ,p_is_js_message=>true ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562908359730454641) ,p_name=>'APEXIR_ALL_COLUMNS' ,p_message_text=>'Toutes les colonnes' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562908432387454641) ,p_name=>'APEXIR_AND' ,p_message_text=>'AND' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562908537161454641) ,p_name=>'APEXIR_APPLY' ,p_message_text=>'Save' ,p_is_js_message=>true ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562908632123454641) ,p_name=>'APEXIR_ASCENDING' ,p_message_text=>'Ascendant' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562908739402454641) ,p_name=>'APEXIR_AS_OF' ,p_message_text=>'Il y a ' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562908839212454641) ,p_name=>'APEXIR_BETWEEN' ,p_message_text=>'entre (BETWEEN)' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562908942507454641) ,p_name=>'APEXIR_BGCOLOR' ,p_message_text=>'Couleur de fond' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562909034369454641) ,p_name=>'APEXIR_BLUE' ,p_message_text=>'Bleu' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562909163864454641) ,p_name=>'APEXIR_BOTTOM' ,p_message_text=>'En bas' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562909236873454641) ,p_name=>'APEXIR_CALENDAR' ,p_message_text=>'Calendar' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562909355853454641) ,p_name=>'APEXIR_CANCEL' ,p_message_text=>'Cancel' ,p_is_js_message=>true ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562909463245454641) ,p_name=>'APEXIR_CATEGORY' ,p_message_text=>'Category' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562909556749454641) ,p_name=>'APEXIR_CELL' ,p_message_text=>'Cellule' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562909641238454641) ,p_name=>'APEXIR_CHART' ,p_message_text=>'Graphique' ,p_is_js_message=>true ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562909736673454641) ,p_name=>'APEXIR_CHART_INITIALIZING' ,p_message_text=>'Initialisation...' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562909848707454641) ,p_name=>'APEXIR_CHART_TYPE' ,p_message_text=>'Type de graphique' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562909958373454643) ,p_name=>'APEXIR_CHOOSE_DOWNLOAD_FORMAT' ,p_message_text=>'Choisir le format de téléchargement du rapport' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562910061775454643) ,p_name=>'APEXIR_CLOSE' ,p_message_text=>'Fermer' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562910161727454643) ,p_name=>'APEXIR_COLUMN' ,p_message_text=>'Column' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562910257619454643) ,p_name=>'APEXIR_COLUMNS' ,p_message_text=>'Colonnes' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562910340391454643) ,p_name=>'APEXIR_COLUMN_HEADING' ,p_message_text=>'Entête de la colonne' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562910461404454643) ,p_name=>'APEXIR_COMPARISON_CONTAINS' ,p_message_text=>'contient' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562910558844454643) ,p_name=>'APEXIR_COMPARISON_DOESNOT_CONTAIN' ,p_message_text=>'ne contient pas' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562910647427454643) ,p_name=>'APEXIR_COMPARISON_IN' ,p_message_text=>'est dans (IN)' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562910733599454643) ,p_name=>'APEXIR_COMPARISON_ISNOT_IN_LAST' ,p_message_text=>'n''est pas dans le dernier' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562910863864454643) ,p_name=>'APEXIR_COMPARISON_ISNOT_IN_NEXT' ,p_message_text=>'n''est pas dans le suivant' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562910952010454643) ,p_name=>'APEXIR_COMPARISON_IS_IN_LAST' ,p_message_text=>'est dans le dernier' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562911045377454643) ,p_name=>'APEXIR_COMPARISON_IS_IN_NEXT' ,p_message_text=>'est dans le suivant' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562911135386454643) ,p_name=>'APEXIR_COMPARISON_IS_NOT_NULL' ,p_message_text=>'n''est pas nul (IS NOT NULL)' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562911251234454643) ,p_name=>'APEXIR_COMPARISON_IS_NULL' ,p_message_text=>'est nul (IS NULL)' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562911331984454643) ,p_name=>'APEXIR_COMPARISON_LIKE' ,p_message_text=>'comme (LIKE)' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562911443624454643) ,p_name=>'APEXIR_COMPARISON_NOT_IN' ,p_message_text=>'n''est pas dans (NOT IN)' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562911531683454643) ,p_name=>'APEXIR_COMPARISON_NOT_LIKE' ,p_message_text=>'pas comme (NOT LIKE)' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562911664264454643) ,p_name=>'APEXIR_COMPARISON_REGEXP_LIKE' ,p_message_text=>'expression dans' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562911757642454644) ,p_name=>'APEXIR_COMPUTATION' ,p_message_text=>'Calcul' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562911863890454644) ,p_name=>'APEXIR_COMPUTATION_FOOTER' ,p_message_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'Créer un calcul en utilisant un alias pour les colonnes.', '')) ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562911958654454644) ,p_name=>'APEXIR_COMPUTE' ,p_message_text=>'Calculer' ,p_is_js_message=>true ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562912049840454644) ,p_name=>'APEXIR_CONTROL_BREAK' ,p_message_text=>'Regroupement' ,p_is_js_message=>true ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562912162722454644) ,p_name=>'APEXIR_CONTROL_BREAKS' ,p_message_text=>'Regrouper' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562912242464454644) ,p_name=>'APEXIR_DATA_AS_OF' ,p_message_text=>'Données telles qu''elle était il y a %0 minute(s)' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562912349154454644) ,p_name=>'APEXIR_DEFAULT' ,p_message_text=>'Default' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562912432105454644) ,p_name=>'APEXIR_DELETE_CONFIRM' ,p_message_text=>'Voulez-vous vraiment supprimer cette paramétrisation?' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562912538704454644) ,p_name=>'APEXIR_DELETE_CONFIRM_JS_DIALOG' ,p_message_text=>'Voulez-vous vraiment supprimer cet enregistrement?' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562912654726454644) ,p_name=>'APEXIR_DESCENDING' ,p_message_text=>'Descendant' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562912744570454644) ,p_name=>'APEXIR_DETAIL_VIEW' ,p_message_text=>'Détail' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562912853233454644) ,p_name=>'APEXIR_DISABLE' ,p_message_text=>'Désactiver' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562912935727454644) ,p_name=>'APEXIR_DISABLED' ,p_message_text=>'Désactivé' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562913038490454644) ,p_name=>'APEXIR_DISPLAYED' ,p_message_text=>'Affiché' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562913158302454644) ,p_name=>'APEXIR_DISPLAYED_COLUMNS' ,p_message_text=>'Colonne(s) affichée(s)' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562913234408454644) ,p_name=>'APEXIR_DOWN' ,p_message_text=>'Descendre' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562913362464454644) ,p_name=>'APEXIR_DOWNLOAD' ,p_message_text=>'Télécharger' ,p_is_js_message=>true ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562913459613454644) ,p_name=>'APEXIR_DO_NOT_AGGREGATE' ,p_message_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '- Ne pas aggréger -', '')) ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562913540429454644) ,p_name=>'APEXIR_DO_NOT_DISPLAY' ,p_message_text=>'Colonne(s) à ne pas afficher' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562913651573454646) ,p_name=>'APEXIR_EDIT_CHART' ,p_message_text=>'Modifier les paramètres du graphique' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562913747748454646) ,p_name=>'APEXIR_EDIT_HIGHLIGHT' ,p_message_text=>'Modifier la mise en évidence' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562913849802454646) ,p_name=>'APEXIR_ENABLED' ,p_message_text=>'Activé' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562913949039454646) ,p_name=>'APEXIR_ENABLE_DISABLE_ALT' ,p_message_text=>'Activer/Désactiver' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562914062390454646) ,p_name=>'APEXIR_ERROR' ,p_message_text=>'Error' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562914143157454646) ,p_name=>'APEXIR_EXCLUDE_NULL' ,p_message_text=>'Exclure les valeurs nulles' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562914260063454646) ,p_name=>'APEXIR_FILTER' ,p_message_text=>'Filtrer' ,p_is_js_message=>true ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562914361930454646) ,p_name=>'APEXIR_FINDER_ALT' ,p_message_text=>'Choisir les colonnes pour la recherche' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562914437742454646) ,p_name=>'APEXIR_FLASHBACK' ,p_message_text=>'Retour en arrière' ,p_is_js_message=>true ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562914542949454646) ,p_name=>'APEXIR_FLASHBACK_DESCRIPTION' ,p_message_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'Une requête avec retour en arrière permet de voir les données telles qu''elles étaient au moment choisi.', '')) ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562914658026454646) ,p_name=>'APEXIR_FORMAT_MASK' ,p_message_text=>'Masque de saisie' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562914758466454646) ,p_name=>'APEXIR_FUNCTION' ,p_message_text=>'Fonction' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562914858474454646) ,p_name=>'APEXIR_FUNCTIONS' ,p_message_text=>'Fonctions' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562914959290454646) ,p_name=>'APEXIR_GO' ,p_message_text=>'Search' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562915050454454646) ,p_name=>'APEXIR_GREEN' ,p_message_text=>'Vert' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562915134678454646) ,p_name=>'APEXIR_HCOLUMN' ,p_message_text=>'Colonne horizontale' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562915252788454646) ,p_name=>'APEXIR_HELP_RESET' ,p_message_text=>'Réinitialiser le rapport avec les paramètres initiaux, supprimer toutes les personnalisations que vous avez fait.' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562915358536454646) ,p_name=>'APEXIR_HIDE_COLUMN' ,p_message_text=>'Cacher colonne' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562915450677454647) ,p_name=>'APEXIR_HIGHLIGHT_CONDITION' ,p_message_text=>'Condition de mise en évidence' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562915557079454647) ,p_name=>'APEXIR_HIGHLIGHT_TYPE' ,p_message_text=>'Type de mise en évidence' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562915645691454647) ,p_name=>'APEXIR_HIGHLIGHT_WHEN' ,p_message_text=>'Mis en évidence quand' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562915736080454647) ,p_name=>'APEXIR_INVALID' ,p_message_text=>'Invalide' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562915849680454647) ,p_name=>'APEXIR_KEYPAD' ,p_message_text=>'Touche du clavier numérique' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562915951082454647) ,p_name=>'APEXIR_LABEL' ,p_message_text=>'Label' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562916038850454647) ,p_name=>'APEXIR_LABEL_AXIS_TITLE' ,p_message_text=>'Titre (axe des X)' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562916132121454647) ,p_name=>'APEXIR_MOVE' ,p_message_text=>'Déplacer' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562916234860454647) ,p_name=>'APEXIR_MOVE_ALL' ,p_message_text=>'Déplacer tout' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562916352064454647) ,p_name=>'APEXIR_NEW_AGGREGATION' ,p_message_text=>'Nouvelle aggrégation' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562916431817454647) ,p_name=>'APEXIR_NEW_CATEGORY' ,p_message_text=>'- Nouvelle catégorie -' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562916538189454647) ,p_name=>'APEXIR_NO' ,p_message_text=>'No' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562916651359454647) ,p_name=>'APEXIR_NONE' ,p_message_text=>'- None -' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562916757909454647) ,p_name=>'APEXIR_NO_AGGREGATION_DEFINED' ,p_message_text=>'Aucune aggrégation définie' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562916856633454647) ,p_name=>'APEXIR_NO_COMPUTATION_DEFINED' ,p_message_text=>'Aucun calcul défini' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562916955542454647) ,p_name=>'APEXIR_NULLS_ALWAYS_FIRST' ,p_message_text=>'Valeur nulle toujours au début' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562917055060454647) ,p_name=>'APEXIR_NULLS_ALWAYS_LAST' ,p_message_text=>'Valeur nulle toujours à la fin' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562917147239454647) ,p_name=>'APEXIR_NUMERIC_FLASHBACK_TIME' ,p_message_text=>'Le moment du retour en arrière doit être numérique' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562917248659454647) ,p_name=>'APEXIR_NUMERIC_SEQUENCE' ,p_message_text=>'La séquence doit être numérique' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562917358649454649) ,p_name=>'APEXIR_NUM_ROWS' ,p_message_text=>'Rangées' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562917443675454649) ,p_name=>'APEXIR_OPERATOR' ,p_message_text=>'Opérateur' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562917555832454649) ,p_name=>'APEXIR_OTHER' ,p_message_text=>'Autre' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562917648218454649) ,p_name=>'APEXIR_RED' ,p_message_text=>'Rouge' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562917759346454649) ,p_name=>'APEXIR_REMOVE' ,p_message_text=>'Enlever' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562917851188454649) ,p_name=>'APEXIR_REMOVE_AGGREGATE' ,p_message_text=>'Enlever toutes les aggrégations' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562917956231454649) ,p_name=>'APEXIR_REMOVE_ALL' ,p_message_text=>'Enlever tout' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562918064383454650) ,p_name=>'APEXIR_REMOVE_CONTROL_BREAK' ,p_message_text=>'Enlever le regroupement' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562918157649454650) ,p_name=>'APEXIR_ROW_TEXT_CONTAINS' ,p_message_text=>'La rangée contient' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562918233308454650) ,p_name=>'APEXIR_SAVE' ,p_message_text=>'Save' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562918357322454650) ,p_name=>'APEXIR_SAVED_REPORT' ,p_message_text=>'Rapport sauvé' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562918462734454650) ,p_name=>'APEXIR_SAVED_REPORT_MSG' ,p_message_text=>'Rapport sauvé = "%0"' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562918542036454650) ,p_name=>'APEXIR_SAVE_AS_DEFAULT' ,p_message_text=>'Sauvegardée en tant que valeur par défaut' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562918648409454650) ,p_name=>'APEXIR_SAVE_DEFAULT_CONFIRM' ,p_message_text=>'La paramétrisation du rapport courant est utilisée comme valeur par défaut pour tous les utilisateurs' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562918737840454650) ,p_name=>'APEXIR_SAVE_REPORT' ,p_message_text=>'Enregistrer rapport' ,p_is_js_message=>true ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562918863768454650) ,p_name=>'APEXIR_SEARCH_BAR' ,p_message_text=>'Barre de recherche' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562918954566454650) ,p_name=>'APEXIR_SELECT_CATEGORY' ,p_message_text=>'- Choose category -' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562919040707454650) ,p_name=>'APEXIR_SELECT_COLUMN' ,p_message_text=>'- Choose a column -' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562919132245454650) ,p_name=>'APEXIR_SELECT_COLUMNS' ,p_message_text=>'Choisir colonnes' ,p_is_js_message=>true ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562919260128454650) ,p_name=>'APEXIR_SELECT_FUNCTION' ,p_message_text=>'- Choose function -' ); end; / begin wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562919357655454650) ,p_name=>'APEXIR_SELECT_VALUE' ,p_message_text=>'Valeur sélectionnée' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562919456148454650) ,p_name=>'APEXIR_SEQUENCE' ,p_message_text=>'Séquence' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562919548485454650) ,p_name=>'APEXIR_SORT' ,p_message_text=>'Trier' ,p_is_js_message=>true ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562919634249454650) ,p_name=>'APEXIR_SORT_ASCENDING' ,p_message_text=>'Tri ascendant' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562919743869454652) ,p_name=>'APEXIR_SORT_DESCENDING' ,p_message_text=>'Tri descendant' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562919833905454652) ,p_name=>'APEXIR_TEXT_COLOR' ,p_message_text=>'Couleur du texte' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562919937781454652) ,p_name=>'APEXIR_TOP' ,p_message_text=>'En haut' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562920046720454652) ,p_name=>'APEXIR_UP' ,p_message_text=>'Monter' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562920160010454652) ,p_name=>'APEXIR_YELLOW' ,p_message_text=>'Jaune' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562920236728454652) ,p_name=>'APEXIR_YES' ,p_message_text=>'Yes' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562920354687454652) ,p_name=>'FLOW.SINGLE_VALIDATION_ERROR' ,p_message_text=>'<b>Il s''est produit une erreur :</b>' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562920454373454652) ,p_name=>'FLOW.VALIDATION_ERROR' ,p_message_text=>'<b>Il s''est produit %0 erreurs :</b>' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562920562574454652) ,p_name=>'PAGINATION.NEXT' ,p_message_text=>'Suivant' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562920663052454652) ,p_name=>'PAGINATION.PREVIOUS' ,p_message_text=>'Précédent' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562920741150454652) ,p_name=>'RESET' ,p_message_text=>'Reset' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562920851008454652) ,p_name=>'SINCE_MINUTES_AGO' ,p_message_text=>'minutes.' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562920962288454652) ,p_name=>'WWV_RENDER_REPORT3.SORT_BY_THIS_COLUMN' ,p_message_text=>'Trier par cette colonne' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562921041950454652) ,p_name=>'WWV_RENDER_REPORT3.X_Y_OF_MORE_THAN_Z' ,p_message_text=>'Rangée(s) %0 - %1 de plus que %2' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562921160938454652) ,p_name=>'WWV_RENDER_REPORT3.X_Y_OF_Z' ,p_message_text=>'Rangée(s) %0 - %1 de %2' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562921258657454652) ,p_name=>'WWV_RENDER_REPORT3.X_Y_OF_Z_2' ,p_message_text=>'%0 - %1 de %2' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562921348807454652) ,p_name=>'APEXIR_ROWS' ,p_message_text=>'Rangées' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562921438591454652) ,p_name=>'APEXIR_RESET' ,p_message_text=>'Reset' ,p_is_js_message=>true ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562921557716454654) ,p_name=>'APEXIR_RESET_CONFIRM' ,p_message_text=>'Réinitialiser le rapport avec les paramètres initiaux.' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562921638040454654) ,p_name=>'APEXIR_VIEW_CHART' ,p_message_text=>'Voir graphique' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562921755007454654) ,p_name=>'APEXIR_VIEW_REPORT' ,p_message_text=>'Voir tableau' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562921858851454654) ,p_name=>'APEXIR_EDIT_CHART2' ,p_message_text=>'Paramètres du graphique' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562921961444454654) ,p_name=>'APEXIR_WORKING_REPORT' ,p_message_text=>'Vue générale' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562922032534454654) ,p_name=>'APEXIR_VALUE_AXIS_TITLE' ,p_message_text=>'Titre (axe des Y)' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562922148521454654) ,p_name=>'APEXIR_DELETE' ,p_message_text=>'Delete' ,p_is_js_message=>true ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562922237816454654) ,p_name=>'APEXIR_DELETE_REPORT' ,p_message_text=>'Effacer le rapport' ,p_is_js_message=>true ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562922347442454654) ,p_name=>'APEXIR_DISPLAY' ,p_message_text=>'Afficher' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562922457251454654) ,p_name=>'APEXIR_DISPLAY_IN_REPORT' ,p_message_text=>'Colonne(s) à afficher' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562922542754454654) ,p_name=>'APEXIR_EDIT_FILTER' ,p_message_text=>'Modifier le filtre' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562922656167454654) ,p_name=>'APEXIR_EXAMPLES' ,p_message_text=>'Exemples' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562922745123454654) ,p_name=>'APEXIR_FILTERS' ,p_message_text=>'Filtres' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562922847554454654) ,p_name=>'APEXIR_FLASHBACK_ERROR_MSG' ,p_message_text=>'Impossible d''exécutée la requête avec retour en arrière' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562922949480454654) ,p_name=>'APEXIR_HELP' ,p_message_text=>'Help' ,p_is_js_message=>true ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562923058474454654) ,p_name=>'APEXIR_HIGHLIGHT' ,p_message_text=>'Mettre en évidence' ,p_is_js_message=>true ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562923161190454654) ,p_name=>'APEXIR_INVALID_COMPUTATION' ,p_message_text=>'Expression de calcul invalide' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562923233953454654) ,p_name=>'APEXIR_NAME' ,p_message_text=>'Name' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562923335865454654) ,p_name=>'APEXIR_NEW_COMPUTATION' ,p_message_text=>'Nouveau calcul' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562923434895454655) ,p_name=>'APEXIR_VALUE' ,p_message_text=>'Value' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562923553839454655) ,p_name=>'APEXIR_3D' ,p_message_text=>'3D' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562923638534454655) ,p_name=>'APEXIR_HELP_DOWNLOAD' ,p_message_text=>'Permet de télécharger le jeu de données courant. Les types de fichiers disponibles diffèrent selon votre installation. Les différents types sont CSV, XLS, PDF et RTF.' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562923732333454655) ,p_name=>'APEXIR_HELP_01' ,p_message_text=>'Un rapport interactif affiche un jeu de colonne prédéterminé. Le rapport peut être personnalisé davantage avec l''utilisation d''un filtre initial, d''un tri par défaut, des bris, du surlignage, des calculs, des aggrégations et d''un graphique. Chaque ra' ||'pport interactif peuvent donc être personnalisés davantage et les résultats peuvent être visionnés, téléchargés et la définition du rapport peut être sauvegardé pour une utilisation ultérieure.<p/>Un rapport interactif peut est personnalisé à trois n' ||'iveaux: la barre de recherche, le menu d''action et l''entête des menus.' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562923838602454655) ,p_name=>'APEXIR_HELP_ACTIONS_MENU' ,p_message_text=>'Le menu d''actions est utilisé pour personnaliser l''affchage de votre rapport interactif.' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562923947058454655) ,p_name=>'APEXIR_HELP_AGGREGATE' ,p_message_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'Les aggrégations sont des calculs mathématiques applicables sur une colonne. Les aggrégations sont affichés après chaque bri et à la fin du rapport dans les colonnes sur lesquelles ils sont définis.', '<p/>', '<ul><li><b>Aggréger</b> permet de sélectionner et d''éditer une aggrégation définie précédemment.</li>', '<li><b>Fonction</b> est utilisé pour choisir la fonction qui sera appliquée (ex.: Somme, Minimum).</li>', '<li><b>Colonne</b> est utilisé pour choisir la colonne sur laquelle on appliquera la fonction mathématique. Seulement les colonnes numériques seront affichées.</li></ul>')) ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562924056438454655) ,p_name=>'APEXIR_HELP_CHART' ,p_message_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'Vous pouvez inclure un graphique pour chaque rapport interactif. Une fois défini, vous pouvez basculer entre la vue du graphique et celle du rapport en utilisant les liens sous la barre de recherche.', '<p/>', '<ul><li><b>Type de graphique</b> identifie le type de graphique à inclure. Choisir entre barres horizontales, barres verticales, tarte ou lignes.</li>', '<li><b>Libellé</b> identifie la colonne utilisée pour le libellé.</li>', '<li><b>Titre (axe des X)</b> identifie le titre affiché sur l''axe associé à la colonne sélectionnée pour le Libellé. Non disponible pour le graphique en tarte.</li>', '<li><b>Valeur</b> identifie la colonne utilisée pour la valeur.</li>', '<li><b>Titre (axe des Y)</b> identifie le titre affiché sur l''axe associé à la colonne sélectionnée pour la Valeur. Non disponible pour le graphique en tarte.</li>', '<li><b>Fonction</b> est une fonction facultative pouvant être appliquée sur la colonne sélectionnées pour la Valeur.</li></ul>')) ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562924162581454655) ,p_name=>'APEXIR_HELP_COLUMN_HEADING_MENU' ,p_message_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'Lorsqu''on clique sur un entête de colonne, un menu d''entête s''affiche.', '<p/>', '<ul><li><b>Icône de tri ascendant</b> trie le rapport par cette colonne en ordre ascendant.</li>', '<li><b>Icône de tri descendant</b> trie le rapport par cette colonne en ordre descendant.</li>', '<li><b>Cacher colonne</b> cache la colonne.</li>', '<li><b>Regroupement</b> crée un bri sur la colonne.</li>', '<li><b>Aide</b> affiche l''aide à propose de la colonne.</li>', '<li><b>Zone de texte</b> est utilisé pour saisir un critère recherche. Lorsqu''on saisi une valeur, la liste de valeurs au bas du menu va être réduite. Vous pouvez ensuite sélectionner une valeur dans le bas et cette valeur créera un filtre en utilisa' ||'nt ''='' (ex.: colonne = ''ABC''). Alternativement, vous pouvez cliquer sur l''icône de la lampe de poche et la valeur entrée créera un ''LIKE'' (ex.: colonne LIKE ''%ABC%'').', '<li><b>Liste de valeurs uniques</b> contient les 500 premières valeurs uniques qui correspondent aux filtres. Si la colonne est une date, une liste de dates sera affichée. Vous pouvez sélectionner une valeur, un filtre sera créé en utilisant ''='' (ex.' ||': colonne = ''ABC'').</li></ul>')) ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562924250178454655) ,p_name=>'APEXIR_HELP_REPORT_SETTINGS' ,p_message_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'Si vous avez personnalisé votre rapport interactif, les paramètres seront affichés en-dessous la barre de recherche et au-dessus du rapport. Si vous avez sauvegardés des rapports personnalisés, ils s''afficheront sous la forme d''onglets. Vous pouvez a' ||'ccéder aux vues alternatives en cliquant sur les onglets. Les paramètres du rapport seront affichés sous les onglets. Cette zone peut être ouverte ou fermée en utilisant l''icône à gauche.', '<p/>', 'Pour chaque paramètre du rapport, vous pouvez:', '<ul><li><b>Éditer</b> en cliquant le nom.</li>', '<li><b>Désactiver/Activer</b> en cochant la boîte d''activation et de désactivation. On utilise cette option pour activer/désactiver temporairement un paramètre.</li>', '<li><b>Supprimer</b> en cliquant l''icône de suppression. On utilise cette option pour supprimer un paramètre de façon permanente.</li></ul>', '<p/>', 'Si vous avez créé un graphique, vous pouvez basculter entre le rapport et le graphique en utilisant les liens à droite. Si vous êtes entrain de visionner un graphique, vous pouvez utiliser le lien d''édition pour éditer les paramètres du graphique.')) ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562924331746454655) ,p_name=>'APEXIR_HELP_SELECT_COLUMNS' ,p_message_text=>'Utilisé pour modifier les colonnes affichées. Les colonnes à droite sont affichées. Les colonnes à gauche sont cachés. Vous pouvez repositionner les colonnes affichées en utilisant les flèches à l''extrême droite. Les colonnes calculées sont préfixées' ||' par <b>**</b>.' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562924443559454655) ,p_name=>'APEXIR_HELP_CONTROL_BREAK' ,p_message_text=>'Utilisé pour créer un regroupement sur une ou plusieurs colonnes. On sort les colonnes du rapport interactif et on les affiche comme des colonnes de bri.' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562924542165454655) ,p_name=>'APEXIR_ACTIONS_MENU' ,p_message_text=>'Menu d''actions' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562924644309454655) ,p_name=>'APEXIR_HELP_SAVE_REPORT' ,p_message_text=>'Sauvegarde le rapport personnalisé pour une utilisation utltérieure. Vous devez fournir un nom et une description optionnelle.' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562924737643454655) ,p_name=>'APEXIR_INTERACTIVE_REPORT_HELP' ,p_message_text=>'Aide pour le rapport interactif' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562924844584454655) ,p_name=>'APEXIR_REPORT_SETTINGS' ,p_message_text=>'Paramètres d''un rapport' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562924937855454655) ,p_name=>'APEXIR_COLUMN_HEADING_MENU' ,p_message_text=>'Menu d''entête de colonne' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562925040684454657) ,p_name=>'APEXIR_HELP_FLASHBACK' ,p_message_text=>'Exécute une requête de « retour en arrière » permettant de voir les données telles qu''elles étaient dans le passé à un moment donné. Le « retour en arrière » par défaut est de 3 heures (ou 180 minutes) mais ce chiffre diffère selon la base de données' ||'.' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562925155565454657) ,p_name=>'APEXIR_HELP_FILTER' ,p_message_text=>'Sert à ajouter ou modifier un énoncé WHERE pour la requête. D''abord, choisir une colonne (il n''est pas nécessaire qu''elle soit affichée), choisir parmi la liste des opérateurs Oracle (=, !=, not in, between), saisir une expression pour la comparaison' ||'. L''expression est sensible à la casse et vous pouvez utiliser % comme caractère de remplacement (ex.: NOM_PROVINCE like Q%).' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562925254863454657) ,p_name=>'APEXIR_HELP_SORT' ,p_message_text=>'Utilisé pour changer l''ordonnancement des colonnes (ascandant et descandat). Vous pouvez aussi spécifier commet gérer les valeurs nulles (utilise le paramètre par défaut, toujours afficher en premier ou en dernier). Une icône affichera le type de tri' ||' à la droite de l''entête d''une colonne.' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562925351153454657) ,p_name=>'APEXIR_HELP_SEARCH_BAR' ,p_message_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'Au dessus de chaque rapport, il y a une région de recherche. Cette région contient ces fonctionnalités:', '<p/>', '<ul><li><b>L''icône de colonnes</b> permet de choisir sur quelle(s) colonne(s) rechercher.</li>', '<li><b>Zone de texte</b> permet de faire une recherche non sensible sur la casse (pas besoin d''utiliser des caractères de remplacement).</li>', '<li><b>Rows</b> selects the number of records to display per page.</li>', '<li><b>Bouton [Rechercher]</b> exécute la recherche.</li>', '<li><b>L''icône du menu des actions</b> affiche le menu des actions.</li></ul>', '<p/>', 'Veuillez noter que ce ne sont pas toutes les fonctionnalités qui sont disponibles pour chaque rapport.')) ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562925435654454657) ,p_name=>'APEXIR_HELP_HIGHLIGHT' ,p_message_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'La mise en évidence définit un filtre. Les rangées qui correspondent au filtre sont mises en évidence en utilisant les caractéristiques associées au filtre.', '<p/>', '<ul><li><b>Nom</b> est utilisé seulement pour l''affichage.</li>', '<li><b>Séquence</b> identifie l''ordre dans lequel sera évalué les règles.</li>', '<li><b>Actif</b> identifie si la règle est activée ou désactivée.</li>', '<li><b>Type de mise en évidence</b> identifie si ce sera la rangée ou la cellule qui sera mise en évidence.</li>', '<li><b>Couleur d''arrière plan</b> est la couleur utilisée pour mettre en évidence une zone.</li>', '<li><b>Couleur de texte</b> est la couleur utilisée pour mettre en évidence le texte d''une zone.</li>', '<li><b>Conditions de la mise en évidence</b> définit les conditions du filtre.</li></ul>')) ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562925562875454657) ,p_name=>'APEXIR_ENABLE' ,p_message_text=>'Activer' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562925645155454657) ,p_name=>'APEXIR_SPACE_AS_IN_ONE_EMPTY_STRING' ,p_message_text=>'espace' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562925745841454657) ,p_name=>'APEXIR_REMOVE_FILTER' ,p_message_text=>'Supprimer filtre' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562925855296454657) ,p_name=>'APEXIR_REMOVE_HIGHLIGHT' ,p_message_text=>'Supprimer la mise en évidence' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562925961044454657) ,p_name=>'APEXIR_STATUS' ,p_message_text=>'Statut' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562926037643454657) ,p_name=>'APEXIR_ROW' ,p_message_text=>'Rangée' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562926138310454657) ,p_name=>'APEXIR_CLEAR' ,p_message_text=>'effacer' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1562926262626454657) ,p_name=>'APEXIR_REMOVE_FLASHBACK' ,p_message_text=>'Supprimer Retour en arrière' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1574841779565911683) ,p_name=>'APEXIR_VALUE' ,p_message_language=>'fr_ca' ,p_message_text=>'Valeur' ); wwv_flow_api.create_message( p_id=>wwv_flow_api.id(1574842170936911684) ,p_name=>'APEXIR_3D' ,p_message_language=>'fr_ca' ,p_message_text=>'3D' ); end; / prompt --application/shared_components/globalization/dyntranslations begin null; end; / prompt --application/shared_components/user_interface/shortcuts begin wwv_flow_api.create_shortcut( p_id=>wwv_flow_api.id(80435730387784699) ,p_shortcut_name=>'AFW_13_LISTE_NAVGT' ,p_shortcut_type=>'FUNCTION_BODY' ,p_shortcut=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'declare', ' vva_optio_liste_navgt varchar2 (32767)', ' default afw_13_page_pkg.genr_elemn_liste_navgt;', ' begin', ' -- Ne pas generer si la liste est vide', ' -- Exclure la page de connexion', ' if vva_optio_liste_navgt is not null', ' and afw_13_page_pkg.obten_page_sesn !=', ' afw_11_aplic_pkg.obten_page_conxn', ' then', ' return vva_optio_liste_navgt;', ' end if;', 'end;')) ); wwv_flow_api.create_shortcut( p_id=>wwv_flow_api.id(1555122878710318253) ,p_shortcut_name=>'DELETE_CONFIRM_MSG' ,p_shortcut_type=>'FUNCTION_BODY' ,p_shortcut=>'return afw_07_util_pkg.obten_mesg_suprs();' ); wwv_flow_api.create_shortcut( p_id=>wwv_flow_api.id(1557430064028946424) ,p_shortcut_name=>'AFW_13_OBTEN_LIBL' ,p_shortcut_type=>'FUNCTION_BODY' ,p_error_text=>'Erreur' ,p_shortcut=>'return afw_13_page_item_pkg.obten_tradc_libl(#CURRENT_ITEM_ID#);' ); wwv_flow_api.create_shortcut( p_id=>wwv_flow_api.id(1563357754220660938) ,p_shortcut_name=>'AFW_19_OBTEN_TITRE_ATRIB' ,p_shortcut_type=>'FUNCTION_BODY' ,p_error_text=>'Erreur' ,p_shortcut=>'return afw_19_fonct_pkg.obten_titre_atrib(afw_07_util_pkg.nv(''P1040_SEQNC''),#CURRENT_ITEM_ID#);' ); end; / prompt --application/shared_components/security/authentications begin wwv_flow_api.create_authentication( p_id=>wwv_flow_api.id(3711627593895220) ,p_name=>'AFW - 21 - Authentification Utilisateur (12)' ,p_scheme_type=>'PLUGIN_IO_AFW_21_AUTHE_12_UTILS' ,p_invalid_session_type=>'URL' ,p_invalid_session_url=>'f?p=&APP_ID.:101' ,p_logout_url=>'f?p=&APP_ID.:101' ,p_cookie_name=>'AFW' ,p_use_secure_cookie_yn=>'N' ,p_ras_mode=>0 ,p_reference_id=>762051053662194539 ,p_comments=>'Authentification AFW' ); wwv_flow_api.create_authentication( p_id=>wwv_flow_api.id(1556643482676265909) ,p_name=>'AFW - 21 - Authentification Utilisateur (11)' ,p_scheme_type=>'PLUGIN_IO_AFW_21_AUTHE_11_UTILS' ,p_invalid_session_type=>'URL' ,p_invalid_session_url=>'f?p=&APP_ID.:101' ,p_logout_url=>'f?p=&APP_ID.:101' ,p_cookie_name=>'AFW' ,p_use_secure_cookie_yn=>'N' ,p_ras_mode=>0 ,p_comments=>'Authentification AFW' ); end; / prompt --application/ui_types begin null; end; / prompt --application/shared_components/plugins/dynamic_action/io_afw_21_favr begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(43843952203497624) ,p_plugin_type=>'DYNAMIC ACTION' ,p_name=>'IO_AFW_21_FAVR' ,p_display_name=>'AFW - 21 - Favoris' ,p_category=>'EXECUTE' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('DYNAMIC ACTION','IO_AFW_21_FAVR'),'') ,p_render_function=>'afw_21_actio_dynmq_pkg.genr_favr' ,p_ajax_function=>'afw_21_actio_dynmq_pkg.ajax_favr' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'1.0' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(43855928800176957) ,p_plugin_id=>wwv_flow_api.id(43843952203497624) ,p_attribute_scope=>'APPLICATION' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Classe CSS (Ajout favoris)' ,p_attribute_type=>'TEXT' ,p_is_required=>true ,p_default_value=>'icon-star' ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(43857750138182282) ,p_plugin_id=>wwv_flow_api.id(43843952203497624) ,p_attribute_scope=>'APPLICATION' ,p_attribute_sequence=>2 ,p_display_sequence=>20 ,p_prompt=>'Texte (Ajout favoris)' ,p_attribute_type=>'TEXT' ,p_is_required=>true ,p_default_value=>'Supprimer de vos favoris' ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(43858444962184648) ,p_plugin_id=>wwv_flow_api.id(43843952203497624) ,p_attribute_scope=>'APPLICATION' ,p_attribute_sequence=>3 ,p_display_sequence=>30 ,p_prompt=>'Classe CSS (Supprimer favoris)' ,p_attribute_type=>'TEXT' ,p_is_required=>true ,p_default_value=>'icon-star-empty' ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(43859040433186754) ,p_plugin_id=>wwv_flow_api.id(43843952203497624) ,p_attribute_scope=>'APPLICATION' ,p_attribute_sequence=>4 ,p_display_sequence=>40 ,p_prompt=>'Texte (Suppression favoris)' ,p_attribute_type=>'TEXT' ,p_is_required=>true ,p_default_value=>'Ajouter aux favoris' ,p_is_translatable=>false ); end; / prompt --application/shared_components/plugins/item_type/io_afw_21_bascl_favr begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(45343828328808668) ,p_plugin_type=>'ITEM TYPE' ,p_name=>'IO_AFW_21_BASCL_FAVR' ,p_display_name=>'AFW - 21 - Basculer Favoris' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('ITEM TYPE','IO_AFW_21_BASCL_FAVR'),'') ,p_render_function=>'afw_21_item_pkg.genr_bascl_favr' ,p_ajax_function=>'afw_21_item_pkg.ajax_bascl_favr' ,p_standard_attributes=>'VISIBLE' ,p_substitute_attributes=>true ,p_reference_id=>44505019410159859 ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(45919739011770044) ,p_plugin_id=>wwv_flow_api.id(45343828328808668) ,p_attribute_scope=>'APPLICATION' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Classe CSS (Voir favoris)' ,p_attribute_type=>'TEXT' ,p_is_required=>true ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(45920130795770044) ,p_plugin_id=>wwv_flow_api.id(45343828328808668) ,p_attribute_scope=>'APPLICATION' ,p_attribute_sequence=>2 ,p_display_sequence=>20 ,p_prompt=>'Texte (Voir favoris)' ,p_attribute_type=>'TEXT' ,p_is_required=>true ,p_default_value=>'Show everything' ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(45920537064770044) ,p_plugin_id=>wwv_flow_api.id(45343828328808668) ,p_attribute_scope=>'APPLICATION' ,p_attribute_sequence=>3 ,p_display_sequence=>30 ,p_prompt=>'Classe CSS (Voir tous)' ,p_attribute_type=>'TEXT' ,p_is_required=>true ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(45920948846770045) ,p_plugin_id=>wwv_flow_api.id(45343828328808668) ,p_attribute_scope=>'APPLICATION' ,p_attribute_sequence=>4 ,p_display_sequence=>40 ,p_prompt=>'Texte (Voir tous)' ,p_attribute_type=>'TEXT' ,p_is_required=>true ,p_default_value=>'Show favorites' ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(45921335158770045) ,p_plugin_id=>wwv_flow_api.id(45343828328808668) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Item Toggle' ,p_attribute_type=>'PAGE ITEM' ,p_is_required=>true ,p_default_value=>'PX_TOGL_FAVRT' ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(45921734316770045) ,p_plugin_id=>wwv_flow_api.id(45343828328808668) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>2 ,p_display_sequence=>20 ,p_prompt=>'Gestion filtre' ,p_attribute_type=>'CHECKBOX' ,p_is_required=>false ,p_default_value=>'N' ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(45922150747770046) ,p_plugin_id=>wwv_flow_api.id(45343828328808668) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>3 ,p_display_sequence=>30 ,p_prompt=>'Item contenant filtre' ,p_attribute_type=>'PAGE ITEM' ,p_is_required=>false ,p_default_value=>'PX_FILTR_FAVRT' ,p_is_translatable=>false ,p_depending_on_attribute_id=>wwv_flow_api.id(45921734316770045) ,p_depending_on_condition_type=>'EQUALS' ,p_depending_on_expression=>'Y' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(45922555287770046) ,p_plugin_id=>wwv_flow_api.id(45343828328808668) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>4 ,p_display_sequence=>40 ,p_prompt=>'Filtre (SQL)' ,p_attribute_type=>'TEXTAREA' ,p_is_required=>false ,p_default_value=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'exists (select 1 ', ' from vd_afw_12_favr f ', ' where f.ref_struc_aplic_formt = :A_AFW_04_CONTX ', ' and f.ref_seqnc_struc_aplic = [PARENT_ALIAS].[SEQNC])')) ,p_is_translatable=>false ,p_depending_on_attribute_id=>wwv_flow_api.id(45921734316770045) ,p_depending_on_condition_type=>'EQUALS' ,p_depending_on_expression=>'Y' ,p_help_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'Replace:', ' [PARENT_ALIAS] by alias used in parent SQL;', ' [SEQNC] by primary key stocked in apexframework favorite table. (Concept seqnc)')) ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(45924242987770048) ,p_plugin_id=>wwv_flow_api.id(45343828328808668) ,p_name=>'favr_togl' ,p_display_name=>'after Toggle' ); end; / prompt --application/shared_components/plugins/item_type/io_afw_21_favr begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(67343954020297509) ,p_plugin_type=>'ITEM TYPE' ,p_name=>'IO_AFW_21_FAVR' ,p_display_name=>'AFW - 21 - Favoris' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('ITEM TYPE','IO_AFW_21_FAVR'),'') ,p_render_function=>'afw_21_item_pkg.genr_favr' ,p_ajax_function=>'afw_21_item_pkg.ajax_favr' ,p_standard_attributes=>'VISIBLE' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_help_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<p>', ' Based on Dynamic Action configuration (Icon + title)</p>', '')) ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(67344246041301162) ,p_plugin_id=>wwv_flow_api.id(67343954020297509) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Item structure applicative (code)' ,p_attribute_type=>'PAGE ITEM' ,p_is_required=>true ,p_default_value=>'A_AFW_04_CONTX' ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(67344563281308393) ,p_plugin_id=>wwv_flow_api.id(67343954020297509) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>2 ,p_display_sequence=>20 ,p_prompt=>'Item séquence (Concept)' ,p_attribute_type=>'PAGE ITEM' ,p_is_required=>true ,p_default_value=>'A_AFW_04_SEQNC_CONTX' ,p_is_translatable=>false ); end; / prompt --application/shared_components/plugins/dynamic_action/io_afw_21_navgt_enreg begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(81198420453244318) ,p_plugin_type=>'DYNAMIC ACTION' ,p_name=>'IO_AFW_21_NAVGT_ENREG' ,p_display_name=>'AFW - 21 - Navigation par enregistrement' ,p_category=>'INIT' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('DYNAMIC ACTION','IO_AFW_21_NAVGT_ENREG'),'') ,p_render_function=>'afw_21_actio_dynmq_pkg.genr_afw_21_navgt_enreg' ,p_ajax_function=>'afw_21_actio_dynmq_pkg.ajax_afw_21_navgt_enreg' ,p_substitute_attributes=>true ,p_reference_id=>81196430746244314 ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); end; / prompt --application/shared_components/plugins/dynamic_action/io_afw_21_afich_dialg_ifram begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(102363251297521397) ,p_plugin_type=>'DYNAMIC ACTION' ,p_name=>'IO_AFW_21_AFICH_DIALG_IFRAM' ,p_display_name=>'AFW - 21 - Afficher dialogue (iFrame)' ,p_category=>'NOTIFICATION' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('DYNAMIC ACTION','IO_AFW_21_AFICH_DIALG_IFRAM'),'') ,p_render_function=>'afw_21_actio_dynmq_pkg.genr_afich_dialg_ifram' ,p_ajax_function=>'afw_21_actio_dynmq_pkg.ajax_afich_dialg_ifram' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(102446125757521541) ,p_plugin_id=>wwv_flow_api.id(102363251297521397) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Titre' ,p_attribute_type=>'TEXT' ,p_is_required=>true ,p_display_length=>30 ,p_max_length=>50 ,p_is_translatable=>true ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(102441349316521534) ,p_plugin_id=>wwv_flow_api.id(102363251297521397) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>2 ,p_display_sequence=>105 ,p_prompt=>'SCPI' ,p_attribute_type=>'TEXT' ,p_is_required=>false ,p_is_translatable=>false ,p_depending_on_attribute_id=>wwv_flow_api.id(189677849603974477) ,p_depending_on_condition_type=>'EQUALS' ,p_depending_on_expression=>'PAGE' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(102446539957521542) ,p_plugin_id=>wwv_flow_api.id(102363251297521397) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>3 ,p_display_sequence=>30 ,p_prompt=>'Largeur' ,p_attribute_type=>'NUMBER' ,p_is_required=>true ,p_default_value=>'640' ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(102448548374521545) ,p_plugin_id=>wwv_flow_api.id(102363251297521397) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>4 ,p_display_sequence=>40 ,p_prompt=>'Hauteur' ,p_attribute_type=>'NUMBER' ,p_is_required=>true ,p_default_value=>'480' ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(102446956002521543) ,p_plugin_id=>wwv_flow_api.id(102363251297521397) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>5 ,p_display_sequence=>50 ,p_prompt=>'Classe CSS' ,p_attribute_type=>'TEXT' ,p_is_required=>false ,p_display_length=>30 ,p_max_length=>100 ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(102440934355521533) ,p_plugin_id=>wwv_flow_api.id(102363251297521397) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>6 ,p_display_sequence=>130 ,p_prompt=>'SAPC' ,p_attribute_type=>'TEXT' ,p_is_required=>false ,p_is_translatable=>false ,p_depending_on_attribute_id=>wwv_flow_api.id(189677849603974477) ,p_depending_on_condition_type=>'EQUALS' ,p_depending_on_expression=>'PAGE' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(189677849603974477) ,p_plugin_id=>wwv_flow_api.id(102363251297521397) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>7 ,p_display_sequence=>11 ,p_prompt=>'Type génération URL' ,p_attribute_type=>'SELECT LIST' ,p_is_required=>true ,p_default_value=>'PAGE' ,p_is_translatable=>false ,p_lov_type=>'STATIC' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(189678347662975392) ,p_plugin_attribute_id=>wwv_flow_api.id(189677849603974477) ,p_display_sequence=>10 ,p_display_value=>'Items' ,p_return_value=>'PAGE' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(189678945505976354) ,p_plugin_attribute_id=>wwv_flow_api.id(189677849603974477) ,p_display_sequence=>20 ,p_display_value=>'URL' ,p_return_value=>'URL' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(189679929546983791) ,p_plugin_id=>wwv_flow_api.id(102363251297521397) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>8 ,p_display_sequence=>12 ,p_prompt=>'Item contenant URL' ,p_attribute_type=>'PAGE ITEM' ,p_is_required=>false ,p_is_translatable=>false ,p_depending_on_attribute_id=>wwv_flow_api.id(189677849603974477) ,p_depending_on_condition_type=>'EQUALS' ,p_depending_on_expression=>'URL' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(102444951441521540) ,p_plugin_id=>wwv_flow_api.id(102363251297521397) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>10 ,p_display_sequence=>100 ,p_prompt=>'Définir élément SSPC' ,p_attribute_type=>'PAGE ITEM' ,p_is_required=>false ,p_is_translatable=>false ,p_depending_on_attribute_id=>wwv_flow_api.id(189677849603974477) ,p_depending_on_condition_type=>'EQUALS' ,p_depending_on_expression=>'PAGE' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(102445333795521540) ,p_plugin_id=>wwv_flow_api.id(102363251297521397) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>11 ,p_display_sequence=>110 ,p_prompt=>'Définir élément SSPI' ,p_attribute_type=>'PAGE ITEM' ,p_is_required=>false ,p_is_translatable=>false ,p_depending_on_attribute_id=>wwv_flow_api.id(189677849603974477) ,p_depending_on_condition_type=>'EQUALS' ,p_depending_on_expression=>'PAGE' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(102445746021521541) ,p_plugin_id=>wwv_flow_api.id(102363251297521397) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>12 ,p_display_sequence=>120 ,p_prompt=>'Item clé étrangère' ,p_attribute_type=>'PAGE ITEM' ,p_is_required=>false ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(102440148827521532) ,p_plugin_id=>wwv_flow_api.id(102363251297521397) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>14 ,p_display_sequence=>18 ,p_prompt=>'Application' ,p_attribute_type=>'PLSQL EXPRESSION' ,p_is_required=>false ,p_default_value=>'afw_11_prodt_pkg.obten_numr_apex_prodt' ,p_is_translatable=>false ,p_depending_on_attribute_id=>wwv_flow_api.id(189677849603974477) ,p_depending_on_condition_type=>'EQUALS' ,p_depending_on_expression=>'PAGE' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(102440526486521532) ,p_plugin_id=>wwv_flow_api.id(102363251297521397) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>15 ,p_display_sequence=>19 ,p_prompt=>'Page' ,p_attribute_type=>'PLSQL EXPRESSION' ,p_is_required=>false ,p_is_translatable=>false ,p_depending_on_attribute_id=>wwv_flow_api.id(189677849603974477) ,p_depending_on_condition_type=>'EQUALS' ,p_depending_on_expression=>'PAGE' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(102394445713521457) ,p_plugin_id=>wwv_flow_api.id(102363251297521397) ,p_name=>'dialogbeforeclose' ,p_display_name=>'beforeClose' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(102394850896521457) ,p_plugin_id=>wwv_flow_api.id(102363251297521397) ,p_name=>'dialogclose' ,p_display_name=>'close' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(102395249565521458) ,p_plugin_id=>wwv_flow_api.id(102363251297521397) ,p_name=>'dialogclose_actio_dynmq' ,p_display_name=>'close Dynamic Action Plugin' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(102395640805521458) ,p_plugin_id=>wwv_flow_api.id(102363251297521397) ,p_name=>'dialogclose_procs' ,p_display_name=>'close Process Plugin' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(102396032557521459) ,p_plugin_id=>wwv_flow_api.id(102363251297521397) ,p_name=>'dialogdrag' ,p_display_name=>'drag' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(102396448337521459) ,p_plugin_id=>wwv_flow_api.id(102363251297521397) ,p_name=>'dialogdragstart' ,p_display_name=>'dragStart' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(102396832381521460) ,p_plugin_id=>wwv_flow_api.id(102363251297521397) ,p_name=>'dialogdragstop' ,p_display_name=>'dragStop' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(102397253609521460) ,p_plugin_id=>wwv_flow_api.id(102363251297521397) ,p_name=>'dialogfocus' ,p_display_name=>'focus' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(102397645529521461) ,p_plugin_id=>wwv_flow_api.id(102363251297521397) ,p_name=>'dialogopen' ,p_display_name=>'open' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(102398039508521461) ,p_plugin_id=>wwv_flow_api.id(102363251297521397) ,p_name=>'dialogresize' ,p_display_name=>'resize' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(102398430243521462) ,p_plugin_id=>wwv_flow_api.id(102363251297521397) ,p_name=>'dialogresizestart' ,p_display_name=>'resizeStart' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(102398837646521463) ,p_plugin_id=>wwv_flow_api.id(102363251297521397) ,p_name=>'dialogresizestop' ,p_display_name=>'resizeStop' ); end; / prompt --application/shared_components/plugins/dynamic_action/io_afw_21_initl_comps begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(160150218837078751) ,p_plugin_type=>'DYNAMIC ACTION' ,p_name=>'IO_AFW_21_INITL_COMPS' ,p_display_name=>'AFW - 21 - Initialisation composants' ,p_category=>'INIT' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('DYNAMIC ACTION','IO_AFW_21_INITL_COMPS'),'') ,p_render_function=>'afw_21_actio_dynmq_pkg.genr_initl_comps' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); end; / prompt --application/shared_components/plugins/item_type/afw_21_item_choix_aprob begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(198461247362635908) ,p_plugin_type=>'ITEM TYPE' ,p_name=>'AFW_21_ITEM_CHOIX_APROB' ,p_display_name=>'AFW - 21 - Item choix approbation' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('ITEM TYPE','AFW_21_ITEM_CHOIX_APROB'),'') ,p_render_function=>'afw_21_item_pkg.genr_item_choix_aprob' ,p_ajax_function=>'afw_21_item_pkg.ajax_item_choix_aprob' ,p_standard_attributes=>'VISIBLE:SESSION_STATE:READONLY:ESCAPE_OUTPUT:SOURCE:ELEMENT:WIDTH:HEIGHT' ,p_substitute_attributes=>true ,p_reference_id=>198460944245634992 ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(198464330265515426) ,p_plugin_id=>wwv_flow_api.id(198461247362635908) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Concept (Code)' ,p_attribute_type=>'TEXT' ,p_is_required=>true ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(198464627461516717) ,p_plugin_id=>wwv_flow_api.id(198461247362635908) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>2 ,p_display_sequence=>20 ,p_prompt=>'Concept (Seqnc)' ,p_attribute_type=>'PLSQL EXPRESSION' ,p_is_required=>true ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(198464953975519683) ,p_plugin_id=>wwv_flow_api.id(198461247362635908) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>3 ,p_display_sequence=>30 ,p_prompt=>'CSS Classes on element' ,p_attribute_type=>'TEXT' ,p_is_required=>false ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(198613144561955433) ,p_plugin_id=>wwv_flow_api.id(198461247362635908) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>4 ,p_display_sequence=>40 ,p_prompt=>'Largeur' ,p_attribute_type=>'TEXT' ,p_is_required=>false ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(198613643698955819) ,p_plugin_id=>wwv_flow_api.id(198461247362635908) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>5 ,p_display_sequence=>50 ,p_prompt=>'Hauteur' ,p_attribute_type=>'TEXT' ,p_is_required=>false ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(198641730344020780) ,p_plugin_id=>wwv_flow_api.id(198461247362635908) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>6 ,p_display_sequence=>60 ,p_prompt=>'Alignement' ,p_attribute_type=>'SELECT LIST' ,p_is_required=>true ,p_default_value=>'G' ,p_is_translatable=>false ,p_lov_type=>'STATIC' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(198642724737023351) ,p_plugin_attribute_id=>wwv_flow_api.id(198641730344020780) ,p_display_sequence=>1 ,p_display_value=>'Gauche' ,p_return_value=>'G' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(198642226031022834) ,p_plugin_attribute_id=>wwv_flow_api.id(198641730344020780) ,p_display_sequence=>10 ,p_display_value=>'Droite' ,p_return_value=>'D' ); end; / prompt --application/shared_components/plugins/item_type/io_afw_21_selct_2 begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(206245698333569270) ,p_plugin_type=>'ITEM TYPE' ,p_name=>'IO_AFW_21_SELCT_2' ,p_display_name=>'AFW - 21 - select2' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('ITEM TYPE','IO_AFW_21_SELCT_2'),'') ,p_render_function=>'afw_21_item_pkg.genr_selct_2' ,p_ajax_function=>'afw_21_item_pkg.ajax_selct_2' ,p_standard_attributes=>'VISIBLE:SESSION_STATE:READONLY:ESCAPE_OUTPUT:QUICKPICK:SOURCE:ELEMENT:WIDTH:ELEMENT_OPTION:PLACEHOLDER:ENCRYPT:LOV:LOV_REQUIRED:LOV_DISPLAY_NULL:CASCADING_LOV' ,p_sql_min_column_count=>2 ,p_sql_max_column_count=>6 ,p_sql_examples=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select display, return, [group, html_selection_format, html_result_format, search_string]', ' from dual')) ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'1.0' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(51373509663601035) ,p_plugin_id=>wwv_flow_api.id(206245698333569270) ,p_attribute_scope=>'APPLICATION' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Include CSS' ,p_attribute_type=>'CHECKBOX' ,p_is_required=>false ,p_default_value=>'N' ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(206248910323670085) ,p_plugin_id=>wwv_flow_api.id(206245698333569270) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Type' ,p_attribute_type=>'SELECT LIST' ,p_is_required=>true ,p_default_value=>'SINGL_VALUE' ,p_is_translatable=>false ,p_lov_type=>'STATIC' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(206249203422673283) ,p_plugin_attribute_id=>wwv_flow_api.id(206248910323670085) ,p_display_sequence=>10 ,p_display_value=>'Single-value' ,p_return_value=>'SINGL_VALUE' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(206249600834674496) ,p_plugin_attribute_id=>wwv_flow_api.id(206248910323670085) ,p_display_sequence=>20 ,p_display_value=>'Mutliple-value' ,p_return_value=>'MULTP_VALUE' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(206348124283486195) ,p_plugin_id=>wwv_flow_api.id(206245698333569270) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>2 ,p_display_sequence=>20 ,p_prompt=>'Allow clear' ,p_attribute_type=>'CHECKBOX' ,p_is_required=>false ,p_default_value=>'Y' ,p_is_translatable=>false ,p_depending_on_attribute_id=>wwv_flow_api.id(206248910323670085) ,p_depending_on_condition_type=>'EQUALS' ,p_depending_on_expression=>'SINGL_VALUE' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(206326525566256620) ,p_plugin_id=>wwv_flow_api.id(206245698333569270) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>3 ,p_display_sequence=>30 ,p_prompt=>'Loading Remote Data' ,p_attribute_type=>'CHECKBOX' ,p_is_required=>false ,p_default_value=>'N' ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(206326903568266792) ,p_plugin_id=>wwv_flow_api.id(206245698333569270) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>4 ,p_display_sequence=>40 ,p_prompt=>'Minimum number of results' ,p_attribute_type=>'NUMBER' ,p_is_required=>true ,p_default_value=>'10' ,p_is_translatable=>false ,p_depending_on_attribute_id=>wwv_flow_api.id(206326525566256620) ,p_depending_on_condition_type=>'EQUALS' ,p_depending_on_expression=>'N' ,p_help_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'The minimum number of results that must be initially (after opening the dropdown for the first time) populated in order to keep the search field. This is useful for cases where local data is used with just a few results, in which case the search box ' ||'is not very useful and wastes screen space.', '', 'The option can be set to a negative value to permanently hide the search field.')) ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(206334897010907879) ,p_plugin_id=>wwv_flow_api.id(206245698333569270) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>5 ,p_display_sequence=>50 ,p_prompt=>'Maximum number of results' ,p_attribute_type=>'NUMBER' ,p_is_required=>true ,p_default_value=>'100' ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(206327512182278033) ,p_plugin_id=>wwv_flow_api.id(206245698333569270) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>6 ,p_display_sequence=>60 ,p_prompt=>'Maximum number of items that can be selected' ,p_attribute_type=>'NUMBER' ,p_is_required=>true ,p_default_value=>'0' ,p_is_translatable=>false ,p_depending_on_attribute_id=>wwv_flow_api.id(206248910323670085) ,p_depending_on_condition_type=>'EQUALS' ,p_depending_on_expression=>'MULTP_VALUE' ,p_help_text=>'The maximum number of items that can be selected in a multi-select control. If this number is less than 1 selection is not limited.' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(206328407857295219) ,p_plugin_id=>wwv_flow_api.id(206245698333569270) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>7 ,p_display_sequence=>70 ,p_prompt=>'Number of characters necessary to start a search' ,p_attribute_type=>'NUMBER' ,p_is_required=>false ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(206328705269296418) ,p_plugin_id=>wwv_flow_api.id(206245698333569270) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>8 ,p_display_sequence=>80 ,p_prompt=>'Maximum number of characters that can be entered for an input.' ,p_attribute_type=>'NUMBER' ,p_is_required=>false ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(206329026175301914) ,p_plugin_id=>wwv_flow_api.id(206245698333569270) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>9 ,p_display_sequence=>90 ,p_prompt=>'Separator' ,p_attribute_type=>'TEXT' ,p_is_required=>true ,p_default_value=>':' ,p_is_translatable=>false ,p_help_text=>'Separator character or string used to delimit ids in value attribute of the multi-valued selects.' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(206335497200938165) ,p_plugin_id=>wwv_flow_api.id(206245698333569270) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>10 ,p_display_sequence=>35 ,p_prompt=>'Search type' ,p_attribute_type=>'SELECT LIST' ,p_is_required=>true ,p_default_value=>'LIKE_IGNORE' ,p_is_translatable=>false ,p_depending_on_attribute_id=>wwv_flow_api.id(206326525566256620) ,p_depending_on_condition_type=>'EQUALS' ,p_depending_on_expression=>'Y' ,p_lov_type=>'STATIC' ,p_help_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'CONTAINS_CASE -- uses INSTR', 'CONTAINS_IGNORE -- uses INSTR with UPPER', 'EXACT_CASE -- uses LIKE value%', 'EXACT_IGNORE -- uses LIKE VALUE% with UPPER', 'LIKE_CASE -- uses LIKE %value%', 'LIKE_IGNORE -- uses LIKE %VALUE% with UPPER', 'LOOKUP -- uses = value')) ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(206335820264942744) ,p_plugin_attribute_id=>wwv_flow_api.id(206335497200938165) ,p_display_sequence=>10 ,p_display_value=>'Contains case' ,p_return_value=>'CONTAINS_CASE' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(206336315088945145) ,p_plugin_attribute_id=>wwv_flow_api.id(206335497200938165) ,p_display_sequence=>20 ,p_display_value=>'Contains ignore' ,p_return_value=>'CONTAINS_IGNORE' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(206336712931946095) ,p_plugin_attribute_id=>wwv_flow_api.id(206335497200938165) ,p_display_sequence=>30 ,p_display_value=>'Exact case' ,p_return_value=>'EXACT_CASE' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(206337110775947115) ,p_plugin_attribute_id=>wwv_flow_api.id(206335497200938165) ,p_display_sequence=>40 ,p_display_value=>'Exact ignore' ,p_return_value=>'EXACT_IGNORE' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(206337708618948133) ,p_plugin_attribute_id=>wwv_flow_api.id(206335497200938165) ,p_display_sequence=>50 ,p_display_value=>'Like case' ,p_return_value=>'LIKE_CASE' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(206338106030949270) ,p_plugin_attribute_id=>wwv_flow_api.id(206335497200938165) ,p_display_sequence=>60 ,p_display_value=>'Like ignore' ,p_return_value=>'LIKE_IGNORE' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(206338603227950579) ,p_plugin_attribute_id=>wwv_flow_api.id(206335497200938165) ,p_display_sequence=>70 ,p_display_value=>'Lookup' ,p_return_value=>'LOOKUP' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(206354227553240417) ,p_plugin_id=>wwv_flow_api.id(206245698333569270) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>11 ,p_display_sequence=>110 ,p_prompt=>'initSelection Query' ,p_attribute_type=>'SQL' ,p_is_required=>false ,p_default_value=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select nom d, seqnc r', ' from vd_afw_13_page', 'order by 1')) ,p_sql_min_column_count=>2 ,p_sql_max_column_count=>4 ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(35904336310629322) ,p_plugin_id=>wwv_flow_api.id(206245698333569270) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>12 ,p_display_sequence=>120 ,p_prompt=>'Width' ,p_attribute_type=>'TEXT' ,p_is_required=>true ,p_default_value=>'100%' ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(36603442522979664) ,p_plugin_id=>wwv_flow_api.id(206245698333569270) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>13 ,p_display_sequence=>130 ,p_prompt=>'Allow insertion' ,p_attribute_type=>'CHECKBOX' ,p_is_required=>false ,p_default_value=>'N' ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(36593053239248115) ,p_plugin_id=>wwv_flow_api.id(206245698333569270) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>14 ,p_display_sequence=>140 ,p_prompt=>'Search column' ,p_attribute_type=>'SELECT LIST' ,p_is_required=>true ,p_default_value=>'1' ,p_is_translatable=>false ,p_lov_type=>'STATIC' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(36593551083249188) ,p_plugin_attribute_id=>wwv_flow_api.id(36593053239248115) ,p_display_sequence=>10 ,p_display_value=>'Display column (1)' ,p_return_value=>'1' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(36593947632250767) ,p_plugin_attribute_id=>wwv_flow_api.id(36593053239248115) ,p_display_sequence=>20 ,p_display_value=>'Custom search column (6)' ,p_return_value=>'6' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(206254125783703988) ,p_plugin_id=>wwv_flow_api.id(206245698333569270) ,p_name=>'selct2_blur' ,p_display_name=>'blur' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(206251301743703986) ,p_plugin_id=>wwv_flow_api.id(206245698333569270) ,p_name=>'selct2_close' ,p_display_name=>'close' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(206253724039703988) ,p_plugin_id=>wwv_flow_api.id(206245698333569270) ,p_name=>'selct2_focus' ,p_display_name=>'focus' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(206251716497703987) ,p_plugin_id=>wwv_flow_api.id(206245698333569270) ,p_name=>'selct2_highlight' ,p_display_name=>'highlight' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(206253327456703988) ,p_plugin_id=>wwv_flow_api.id(206245698333569270) ,p_name=>'selct2_loaded' ,p_display_name=>'loaded' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(206250915875703986) ,p_plugin_id=>wwv_flow_api.id(206245698333569270) ,p_name=>'selct2_open' ,p_display_name=>'open' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(206250602750703985) ,p_plugin_id=>wwv_flow_api.id(206245698333569270) ,p_name=>'selct2_opening' ,p_display_name=>'opening' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(206252926454703987) ,p_plugin_id=>wwv_flow_api.id(206245698333569270) ,p_name=>'selct2_removed' ,p_display_name=>'removed' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(206252522717703987) ,p_plugin_id=>wwv_flow_api.id(206245698333569270) ,p_name=>'selct2_removing' ,p_display_name=>'removing' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(206252104887703987) ,p_plugin_id=>wwv_flow_api.id(206245698333569270) ,p_name=>'selct2_selecting' ,p_display_name=>'selecting' ); end; / prompt --application/shared_components/plugins/dynamic_action/io_afw_21_aide_page begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(517440626158284659) ,p_plugin_type=>'DYNAMIC ACTION' ,p_name=>'IO_AFW_21_AIDE_PAGE' ,p_display_name=>'AFW - 21 - Aide page' ,p_category=>'INIT' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('DYNAMIC ACTION','IO_AFW_21_AIDE_PAGE'),'') ,p_render_function=>'afw_21_actio_dynmq_pkg.genr_aide_page' ,p_ajax_function=>'afw_21_actio_dynmq_pkg.ajax_aide_page' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(517440928282313699) ,p_plugin_id=>wwv_flow_api.id(517440626158284659) ,p_name=>'afw_21_actio_dynmq_aide_page_afich' ,p_display_name=>'Afficher' ); end; / prompt --application/shared_components/plugins/region_type/io_afw_21_regn_menu begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(866665775330410067) ,p_plugin_type=>'REGION TYPE' ,p_name=>'IO_AFW_21_REGN_MENU' ,p_display_name=>'AFW - 21 - Menu' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('REGION TYPE','IO_AFW_21_REGN_MENU'),'') ,p_render_function=>'afw_21_regn_pkg.genr_afw_13_menu' ,p_substitute_attributes=>true ,p_reference_id=>174315002511187337 ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'1.0' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(515605535418231502) ,p_plugin_id=>wwv_flow_api.id(866665775330410067) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Code du menu' ,p_attribute_type=>'TEXT' ,p_is_required=>true ,p_is_translatable=>false ); end; / prompt --application/shared_components/plugins/dynamic_action/io_afw_21_aide_page_item begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(926524044529250467) ,p_plugin_type=>'DYNAMIC ACTION' ,p_name=>'IO_AFW_21_AIDE_PAGE_ITEM' ,p_display_name=>'AFW - 21 - Aide page item' ,p_category=>'EXECUTE' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('DYNAMIC ACTION','IO_AFW_21_AIDE_PAGE_ITEM'),'') ,p_render_function=>'afw_21_actio_dynmq_pkg.genr_aide_page_item' ,p_ajax_function=>'afw_21_actio_dynmq_pkg.ajax_aide_page_item' ,p_substitute_attributes=>true ,p_reference_id=>420769810180509321 ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(926596658459543124) ,p_plugin_id=>wwv_flow_api.id(926524044529250467) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Afficher plusieurs à la fois' ,p_attribute_type=>'CHECKBOX' ,p_is_required=>false ,p_default_value=>'Y' ,p_is_translatable=>false ); end; / prompt --application/shared_components/plugins/dynamic_action/io_afw_21_menu_redrc begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(926530564240379151) ,p_plugin_type=>'DYNAMIC ACTION' ,p_name=>'IO_AFW_21_MENU_REDRC' ,p_display_name=>'AFW - 21 - Menu redirection' ,p_category=>'EXECUTE' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('DYNAMIC ACTION','IO_AFW_21_MENU_REDRC'),'') ,p_render_function=>'afw_21_actio_dynmq_pkg.genr_menu_redrc' ,p_ajax_function=>'afw_21_actio_dynmq_pkg.ajax_menu_redrc' ,p_substitute_attributes=>true ,p_reference_id=>420470922400147878 ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); end; / prompt --application/shared_components/plugins/process_type/io_afw_21_initl_menu begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1174135162082494739) ,p_plugin_type=>'PROCESS TYPE' ,p_name=>'IO_AFW_21_INITL_MENU' ,p_display_name=>'AFW - 21 - Initialisation menu' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('PROCESS TYPE','IO_AFW_21_INITL_MENU'),'') ,p_execution_function=>'afw_21_procs_pkg.reint_afw_13_menu' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'1.0' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1174144272358039823) ,p_plugin_id=>wwv_flow_api.id(1174135162082494739) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Code du menu' ,p_attribute_type=>'TEXT' ,p_is_required=>true ,p_is_translatable=>false ); end; / prompt --application/shared_components/plugins/dynamic_action/io_afw_21_modfr_mdp begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1360286793140834141) ,p_plugin_type=>'DYNAMIC ACTION' ,p_name=>'IO_AFW_21_MODFR_MDP' ,p_display_name=>'AFW - 21 - modifier mot passe' ,p_category=>'INIT' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('DYNAMIC ACTION','IO_AFW_21_MODFR_MDP'),'') ,p_render_function=>'afw_21_actio_dynmq_pkg.genr_afw_12_modfr_mot_passe' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(1360286969030836673) ,p_plugin_id=>wwv_flow_api.id(1360286793140834141) ,p_name=>'afw_21_actio_dynmq_modfr_mp_afich' ,p_display_name=>'Afficher' ); end; / prompt --application/shared_components/plugins/dynamic_action/io_afw_21_confr_sauvg begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1523644741395821399) ,p_plugin_type=>'DYNAMIC ACTION' ,p_name=>'IO_AFW_21_CONFR_SAUVG' ,p_display_name=>'AFW - 21 - Confirmer la sauvegarde (Initialisation)' ,p_category=>'NOTIFICATION' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('DYNAMIC ACTION','IO_AFW_21_CONFR_SAUVG'),'') ,p_render_function=>'afw_21_actio_dynmq_pkg.genr_plugn_confr_sauvg' ,p_ajax_function=>'afw_21_actio_dynmq_pkg.ajax_plugn_confr_sauvg' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_help_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<br />', '')) ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1523644942135849999) ,p_plugin_id=>wwv_flow_api.id(1523644741395821399) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Message de confirmation' ,p_attribute_type=>'TEXTAREA' ,p_is_required=>true ,p_default_value=>'Des modifications au formulaire ne sont pas sauvegardées.' ,p_is_translatable=>true ); end; / prompt --application/shared_components/plugins/dynamic_action/io_afw_21_depsm_tablr_form begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1523668648199536022) ,p_plugin_type=>'DYNAMIC ACTION' ,p_name=>'IO_AFW_21_DEPSM_TABLR_FORM' ,p_display_name=>'AFW - 21 - Dépassement Tabular Form' ,p_category=>'INIT' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('DYNAMIC ACTION','IO_AFW_21_DEPSM_TABLR_FORM'),'') ,p_render_function=>'afw_21_actio_dynmq_pkg.genr_afw_18_depsm_tablr_form' ,p_ajax_function=>'afw_21_actio_dynmq_pkg.ajax_afw_18_depsm_tablr_form' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_help_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<br />', '')) ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); end; / prompt --application/shared_components/plugins/dynamic_action/io_afw_21_navgt_tablr_form begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1523670458381324369) ,p_plugin_type=>'DYNAMIC ACTION' ,p_name=>'IO_AFW_21_NAVGT_TABLR_FORM' ,p_display_name=>'AFW - 21 - Navigation Tabular Form' ,p_category=>'INIT' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('DYNAMIC ACTION','IO_AFW_21_NAVGT_TABLR_FORM'),'') ,p_render_function=>'afw_21_actio_dynmq_pkg.genr_plugn_navgt_tablr_form' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_help_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<br />', '')) ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); end; / prompt --application/shared_components/plugins/dynamic_action/io_afw_21_gestn_tablr_form begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1523671151418369680) ,p_plugin_type=>'DYNAMIC ACTION' ,p_name=>'IO_AFW_21_GESTN_TABLR_FORM' ,p_display_name=>'AFW - 21 - Gestion Tabular Form' ,p_category=>'INIT' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('DYNAMIC ACTION','IO_AFW_21_GESTN_TABLR_FORM'),'') ,p_render_function=>'afw_21_actio_dynmq_pkg.genr_plugn_gestn_tablr_form' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_help_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<br />', '')) ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); end; / prompt --application/shared_components/plugins/item_type/io_afw_21_item_popup_arbor begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1524499241822049818) ,p_plugin_type=>'ITEM TYPE' ,p_name=>'IO_AFW_21_ITEM_POPUP_ARBOR' ,p_display_name=>'AFW - 21 - Popup LOV Arborescence' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('ITEM TYPE','IO_AFW_21_ITEM_POPUP_ARBOR'),'') ,p_render_function=>'afw_21_item_pkg.genr_plugn_item_popup_arbor' ,p_standard_attributes=>'VISIBLE:READONLY:SOURCE:ELEMENT:WIDTH:ELEMENT_OPTION:LOV:LOV_DISPLAY_NULL' ,p_sql_min_column_count=>2 ,p_sql_max_column_count=>2 ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_help_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<br />', '')) ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1524499647625070414) ,p_plugin_id=>wwv_flow_api.id(1524499241822049818) ,p_attribute_scope=>'APPLICATION' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Librairie JavaScript du plugin' ,p_attribute_type=>'TEXT' ,p_is_required=>false ,p_default_value=>'&A_AFW_11_DOSR_FICHR_AFW.plugin/javascript/afw_13_plugn_popup_lov_ir.js' ,p_display_length=>60 ,p_is_translatable=>false ,p_help_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'URL', '', 'ex.: &A_AFW_11_DOSR_FICHR_AFW.plugin/javascript/afw_13_plugn_popup_lov_ir.js')) ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1524500151434071539) ,p_plugin_id=>wwv_flow_api.id(1524499241822049818) ,p_attribute_scope=>'APPLICATION' ,p_attribute_sequence=>2 ,p_display_sequence=>20 ,p_prompt=>'Fichier CSS du plugin' ,p_attribute_type=>'TEXT' ,p_is_required=>false ,p_default_value=>'&A_AFW_11_DOSR_FICHR_AFW.plugin/css/afw_13_plugn_popup_lov_ir.css' ,p_display_length=>60 ,p_is_translatable=>false ,p_help_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'URL', '', 'ex.: &A_AFW_11_DOSR_FICHR_AFW.plugin/css/afw_13_plugn_popup_lov_ir.css')) ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1524502643563125994) ,p_plugin_id=>wwv_flow_api.id(1524499241822049818) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Logo ouvrir popup' ,p_attribute_type=>'TEXT' ,p_is_required=>true ,p_default_value=>'/i/lov_16x16.gif' ,p_display_length=>60 ,p_is_translatable=>true ,p_help_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'URL', '', 'ex.: /i/lov_16x16.gif')) ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1524503163995131958) ,p_plugin_id=>wwv_flow_api.id(1524499241822049818) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>2 ,p_display_sequence=>20 ,p_prompt=>'Largeur du popup' ,p_attribute_type=>'NUMBER' ,p_is_required=>true ,p_default_value=>'600' ,p_display_length=>10 ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1524503639538134275) ,p_plugin_id=>wwv_flow_api.id(1524499241822049818) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>3 ,p_display_sequence=>30 ,p_prompt=>'Hauteur du popup' ,p_attribute_type=>'NUMBER' ,p_is_required=>true ,p_default_value=>'600' ,p_display_length=>10 ,p_is_translatable=>false ); end; / prompt --application/shared_components/plugins/region_type/io_afw_21_regn_arbre_ajax begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1524571445760041677) ,p_plugin_type=>'REGION TYPE' ,p_name=>'IO_AFW_21_REGN_ARBRE_AJAX' ,p_display_name=>'AFW - 21 - Arborescence' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('REGION TYPE','IO_AFW_21_REGN_ARBRE_AJAX'),'') ,p_render_function=>'afw_21_regn_pkg.genr_plugn_regn_arbre' ,p_ajax_function=>'afw_21_regn_pkg.ajax_plugn_regn_arbre' ,p_standard_attributes=>'SOURCE_PLAIN' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_help_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<br />', '')) ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1524571763899056419) ,p_plugin_id=>wwv_flow_api.id(1524571445760041677) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Item qui contient le ID du noeud' ,p_attribute_type=>'TEXT' ,p_is_required=>true ,p_display_length=>60 ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1944816352645417457) ,p_plugin_id=>wwv_flow_api.id(1524571445760041677) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>2 ,p_display_sequence=>20 ,p_prompt=>'Selecteur jQuery identifiant éléments externes (droppable)' ,p_attribute_type=>'TEXT' ,p_is_required=>false ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1944817724032418668) ,p_plugin_id=>wwv_flow_api.id(1524571445760041677) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>3 ,p_display_sequence=>30 ,p_prompt=>'Selecteur jQuery identifiant éléments externes (draggable)' ,p_attribute_type=>'TEXT' ,p_is_required=>false ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1944819129227420157) ,p_plugin_id=>wwv_flow_api.id(1524571445760041677) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>4 ,p_display_sequence=>40 ,p_prompt=>'Item qui reçoit l''id de l''élément glissé' ,p_attribute_type=>'PAGE ITEM' ,p_is_required=>false ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1944808351026275123) ,p_plugin_id=>wwv_flow_api.id(1524571445760041677) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>5 ,p_display_sequence=>50 ,p_prompt=>'Item qui contient le code de l''arbre' ,p_attribute_type=>'TEXT' ,p_is_required=>true ,p_is_translatable=>false ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(1524778547095145855) ,p_plugin_id=>wwv_flow_api.id(1524571445760041677) ,p_name=>'close_node.jstree' ,p_display_name=>'Fermer un noeud' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(1524779956838177032) ,p_plugin_id=>wwv_flow_api.id(1524571445760041677) ,p_name=>'create_node.jstree' ,p_display_name=>'Ajouter un noeud' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(1524779349781165530) ,p_plugin_id=>wwv_flow_api.id(1524571445760041677) ,p_name=>'delete_node.jstree' ,p_display_name=>'Supprimer un noeud' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(1524779653937166761) ,p_plugin_id=>wwv_flow_api.id(1524571445760041677) ,p_name=>'move_node.jstree' ,p_display_name=>'Déplacer un noeud' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(1524776532625047030) ,p_plugin_id=>wwv_flow_api.id(1524571445760041677) ,p_name=>'open_node.jstree' ,p_display_name=>'Ouvrir un noeud' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(1524778958177149038) ,p_plugin_id=>wwv_flow_api.id(1524571445760041677) ,p_name=>'rename_node.jstree' ,p_display_name=>'Renommer un noeud' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(1524798259796659018) ,p_plugin_id=>wwv_flow_api.id(1524571445760041677) ,p_name=>'select_node.jstree' ,p_display_name=>'Sélectionner un noeud' ); end; / prompt --application/shared_components/plugins/dynamic_action/io_afw_21_afich_prodt_autor begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1525372743776694351) ,p_plugin_type=>'DYNAMIC ACTION' ,p_name=>'IO_AFW_21_AFICH_PRODT_AUTOR' ,p_display_name=>'AFW - 21 - Afficher la liste des produits autorisés' ,p_category=>'INIT' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('DYNAMIC ACTION','IO_AFW_21_AFICH_PRODT_AUTOR'),'') ,p_render_function=>'afw_21_actio_dynmq_pkg.genr_afich_prodt_autor' ,p_ajax_function=>'afw_21_actio_dynmq_pkg.ajax_afich_prodt_autor' ,p_standard_attributes=>'JQUERY_SELECTOR' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); end; / prompt --application/shared_components/plugins/item_type/io_afw_21_page_item_masq begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1526035978269111003) ,p_plugin_type=>'ITEM TYPE' ,p_name=>'IO_AFW_21_PAGE_ITEM_MASQ' ,p_display_name=>'AFW - 21 - Masque pour la saisie' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('ITEM TYPE','IO_AFW_21_PAGE_ITEM_MASQ'),'') ,p_render_function=>'afw_21_item_pkg.genr_plugn_item_masq' ,p_standard_attributes=>'VISIBLE:SESSION_STATE:READONLY:ESCAPE_OUTPUT:SOURCE:ELEMENT:WIDTH' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_help_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<br />', '')) ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1526052673485639545) ,p_plugin_id=>wwv_flow_api.id(1526035978269111003) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Type de masque' ,p_attribute_type=>'SELECT LIST' ,p_is_required=>true ,p_default_value=>'PERSN' ,p_is_translatable=>false ,p_lov_type=>'STATIC' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(1524037847424111844) ,p_plugin_attribute_id=>wwv_flow_api.id(1526052673485639545) ,p_display_sequence=>5 ,p_display_value=>'Personnalisé' ,p_return_value=>'PERSN' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(1526053882835642282) ,p_plugin_attribute_id=>wwv_flow_api.id(1526052673485639545) ,p_display_sequence=>10 ,p_display_value=>'Téléphone' ,p_return_value=>'999-999-9999' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(1526054253530643281) ,p_plugin_attribute_id=>wwv_flow_api.id(1526052673485639545) ,p_display_sequence=>20 ,p_display_value=>'Code postal (Canada)' ,p_return_value=>'a9a 9a9' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(1526054858725644786) ,p_plugin_attribute_id=>wwv_flow_api.id(1526052673485639545) ,p_display_sequence=>30 ,p_display_value=>'Permis de conduire' ,p_return_value=>'a9999-999999-99' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1524038637513118383) ,p_plugin_id=>wwv_flow_api.id(1526035978269111003) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>2 ,p_display_sequence=>20 ,p_prompt=>'Masque personnalisé' ,p_attribute_type=>'TEXT' ,p_is_required=>true ,p_display_length=>60 ,p_max_length=>200 ,p_is_translatable=>true ,p_depending_on_attribute_id=>wwv_flow_api.id(1526052673485639545) ,p_depending_on_condition_type=>'EQUALS' ,p_depending_on_expression=>'PERSN' ,p_help_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'a - Représente un caractère alphabétique (A-Z, a-z)', '9 - Représente un caractère numérique (0-9)', '* - Représente un caractère alphanumérique (AZ, az ,0-9)')) ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1524039159115134136) ,p_plugin_id=>wwv_flow_api.id(1526035978269111003) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>3 ,p_display_sequence=>30 ,p_prompt=>'Caractère de soulignement' ,p_attribute_type=>'TEXT' ,p_is_required=>true ,p_default_value=>'_' ,p_display_length=>1 ,p_max_length=>1 ,p_is_translatable=>true ,p_help_text=>'Si vous n''êtes pas satisfait avec le caractère de soulignement (''_'') comme un espace réservé, vous pouvez passer un argument optionnel.' ); end; / prompt --application/shared_components/plugins/region_type/io_afw_21_regn_barre_rechr_ir begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1528556032909258198) ,p_plugin_type=>'REGION TYPE' ,p_name=>'IO_AFW_21_REGN_BARRE_RECHR_IR' ,p_display_name=>'AFW - 21 - Barre recherche IR' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('REGION TYPE','IO_AFW_21_REGN_BARRE_RECHR_IR'),'') ,p_render_function=>'afw_21_regn_pkg.genr_plugn_regn_barre_rechr_ir' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_help_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<br />', '')) ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); end; / prompt --application/shared_components/plugins/region_type/io_afw_21_regn_acord begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1528863754135461589) ,p_plugin_type=>'REGION TYPE' ,p_name=>'IO_AFW_21_REGN_ACORD' ,p_display_name=>'AFW - 21 - Accordion' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('REGION TYPE','IO_AFW_21_REGN_ACORD'),'') ,p_render_function=>'afw_21_regn_pkg.genr_plugn_regn_acord' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_help_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<br />', '')) ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1528863945955468728) ,p_plugin_id=>wwv_flow_api.id(1528863754135461589) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Largeur (px)' ,p_attribute_type=>'TEXT' ,p_is_required=>true ,p_default_value=>'215' ,p_is_translatable=>false ,p_help_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '1- Exemple: 215', '2- Exemple: P1_LARGR_REGN_ACORD')) ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1530734063804279003) ,p_plugin_id=>wwv_flow_api.id(1528863754135461589) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>2 ,p_display_sequence=>20 ,p_prompt=>'Largeur par défaut (px)' ,p_attribute_type=>'NUMBER' ,p_is_required=>true ,p_default_value=>'215' ,p_is_translatable=>false ,p_help_text=>'Exemple: 215' ); end; / prompt --application/shared_components/plugins/dynamic_action/io_afw_21_confr_sauvg_reintl begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1529078646818168540) ,p_plugin_type=>'DYNAMIC ACTION' ,p_name=>'IO_AFW_21_CONFR_SAUVG_REINTL' ,p_display_name=>'AFW - 21 - Confirmer la sauvegarde (Réinitilisation)' ,p_category=>'EXECUTE' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('DYNAMIC ACTION','IO_AFW_21_CONFR_SAUVG_REINTL'),'') ,p_render_function=>'afw_21_actio_dynmq_pkg.genr_plugn_confr_sauvg_reint' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_help_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<br />', '')) ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); end; / prompt --application/shared_components/plugins/dynamic_action/io_afw_21_cliqr_selct_texte begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1530508159566444310) ,p_plugin_type=>'DYNAMIC ACTION' ,p_name=>'IO_AFW_21_CLIQR_SELCT_TEXTE' ,p_display_name=>'AFW - 21 - Cliquer pour sélectionner tout le texte' ,p_category=>'EXECUTE' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('DYNAMIC ACTION','IO_AFW_21_CLIQR_SELCT_TEXTE'),'') ,p_render_function=>'afw_21_actio_dynmq_pkg.genr_plugn_cliqr_selct_texte' ,p_standard_attributes=>'ITEM' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_help_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<br />', '')) ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); end; / prompt --application/shared_components/plugins/region_type/io_afw_21_regn_afich_mesg begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1549946020744193377) ,p_plugin_type=>'REGION TYPE' ,p_name=>'IO_AFW_21_REGN_AFICH_MESG' ,p_display_name=>'AFW - 21 - Afficher message' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('REGION TYPE','IO_AFW_21_REGN_AFICH_MESG'),'') ,p_render_function=>'afw_21_regn_pkg.genr_afw_01_afich_mesg' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1549954025938194855) ,p_plugin_id=>wwv_flow_api.id(1549946020744193377) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Numéro de message ' ,p_attribute_type=>'TEXT' ,p_is_required=>true ,p_is_translatable=>false ); end; / prompt --application/shared_components/plugins/region_type/io_afw_21_regn_pile_mesg begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1549974143946200079) ,p_plugin_type=>'REGION TYPE' ,p_name=>'IO_AFW_21_REGN_PILE_MESG' ,p_display_name=>'AFW - 21 - Pile messages' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('REGION TYPE','IO_AFW_21_REGN_PILE_MESG'),'') ,p_render_function=>'afw_21_regn_pkg.genr_afw_01_err_apex' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); end; / prompt --application/shared_components/plugins/process_type/io_afw_21_contx_fil_arian begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1568248626979100274) ,p_plugin_type=>'PROCESS TYPE' ,p_name=>'IO_AFW_21_CONTX_FIL_ARIAN' ,p_display_name=>'AFW - 21 - Contexte fil d''ariane' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('PROCESS TYPE','IO_AFW_21_CONTX_FIL_ARIAN'),'') ,p_execution_function=>'afw_21_procs_pkg.defnr_contx_afw_04_fil_arian' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1568272233091168307) ,p_plugin_id=>wwv_flow_api.id(1568248626979100274) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Informations supplémentaires (HTML)' ,p_attribute_type=>'TEXTAREA' ,p_is_required=>false ,p_max_length=>4000 ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1568276649367173000) ,p_plugin_id=>wwv_flow_api.id(1568248626979100274) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>2 ,p_display_sequence=>20 ,p_prompt=>'Informations supplémentaires' ,p_attribute_type=>'PLSQL EXPRESSION' ,p_is_required=>false ,p_is_translatable=>false ); end; / prompt --application/shared_components/plugins/dynamic_action/io_afw_21_matrc_raprt_sql begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1596901252796872279) ,p_plugin_type=>'DYNAMIC ACTION' ,p_name=>'IO_AFW_21_MATRC_RAPRT_SQL' ,p_display_name=>'AFW - 21 - Matrice rapport SQL' ,p_category=>'COMPONENT' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('DYNAMIC ACTION','IO_AFW_21_MATRC_RAPRT_SQL'),'') ,p_render_function=>'afw_21_actio_dynmq_pkg.genr_matrc_raprt_sql' ,p_standard_attributes=>'REGION' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_help_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<br />', '')) ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1596907046495441133) ,p_plugin_id=>wwv_flow_api.id(1596901252796872279) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Nombre de colonnes à gauche' ,p_attribute_type=>'NUMBER' ,p_is_required=>true ,p_default_value=>'1' ,p_is_translatable=>false ,p_help_text=>'Nombre de dimensions verticales.<br/>Ex.: 1' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1596907958616444643) ,p_plugin_id=>wwv_flow_api.id(1596901252796872279) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>2 ,p_display_sequence=>20 ,p_prompt=>'Surligner des lignes' ,p_attribute_type=>'TEXT' ,p_is_required=>false ,p_default_value=>'Total,**Tous**' ,p_is_translatable=>true ,p_help_text=>'Permet de mettre en évidence certaines lignes (totaux).<br/>Ex.: Total,**Tous**' ); end; / prompt --application/shared_components/plugins/region_type/io_afw_21_regn_dialg begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1606065845353861772) ,p_plugin_type=>'REGION TYPE' ,p_name=>'IO_AFW_21_REGN_DIALG' ,p_display_name=>'AFW - 21 - Boîte de dialogue' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('REGION TYPE','IO_AFW_21_REGN_DIALG'),'') ,p_render_function=>'afw_21_regn_pkg.genr_plugn_regn_dialg' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_help_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<br />', '')) ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1606767828699126130) ,p_plugin_id=>wwv_flow_api.id(1606065845353861772) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Modale' ,p_attribute_type=>'CHECKBOX' ,p_is_required=>false ,p_default_value=>'Y' ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1607212635788361541) ,p_plugin_id=>wwv_flow_api.id(1606065845353861772) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>2 ,p_display_sequence=>20 ,p_prompt=>'Redimensionner' ,p_attribute_type=>'CHECKBOX' ,p_is_required=>false ,p_default_value=>'Y' ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1607213256566367509) ,p_plugin_id=>wwv_flow_api.id(1606065845353861772) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>3 ,p_display_sequence=>30 ,p_prompt=>'Fermer avec la touche "Échap" (Esc)' ,p_attribute_type=>'CHECKBOX' ,p_is_required=>false ,p_default_value=>'Y' ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1607213959814377886) ,p_plugin_id=>wwv_flow_api.id(1606065845353861772) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>4 ,p_display_sequence=>40 ,p_prompt=>'Classe CSS' ,p_attribute_type=>'TEXT' ,p_is_required=>false ,p_display_length=>60 ,p_max_length=>100 ,p_is_translatable=>false ,p_help_text=>'Pour cacher le bouton "Fermer" (X). Ajouter la classe: no-close.<br />Ex.: ui-afw no-close' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1607214941552779486) ,p_plugin_id=>wwv_flow_api.id(1606065845353861772) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>5 ,p_display_sequence=>50 ,p_prompt=>'Ouvrir automatiquement' ,p_attribute_type=>'CHECKBOX' ,p_is_required=>false ,p_default_value=>'N' ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1607215659906784808) ,p_plugin_id=>wwv_flow_api.id(1606065845353861772) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>6 ,p_display_sequence=>60 ,p_prompt=>'Déplaçable' ,p_attribute_type=>'CHECKBOX' ,p_is_required=>false ,p_default_value=>'Y' ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1596268938976513538) ,p_plugin_id=>wwv_flow_api.id(1606065845353861772) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>7 ,p_display_sequence=>70 ,p_prompt=>'Largeur' ,p_attribute_type=>'NUMBER' ,p_is_required=>true ,p_default_value=>'300' ,p_is_translatable=>false ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(1606877135218309646) ,p_plugin_id=>wwv_flow_api.id(1606065845353861772) ,p_name=>'ouvridialg' ,p_display_name=>'Ouvrir le dialogue' ); end; / prompt --application/shared_components/plugins/region_type/io_afw_21_regn_prodt_contx_a begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1619929135558898238) ,p_plugin_type=>'REGION TYPE' ,p_name=>'IO_AFW_21_REGN_PRODT_CONTX_A' ,p_display_name=>'AFW - 21 - Produit contexte autorisé' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('REGION TYPE','IO_AFW_21_REGN_PRODT_CONTX_A'),'') ,p_render_function=>'afw_21_regn_pkg.genr_prodt_contx_autor' ,p_ajax_function=>'afw_21_regn_pkg.ajax_prodt_contx_autor' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1513182152020392705) ,p_plugin_id=>wwv_flow_api.id(1619929135558898238) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Changement de produits' ,p_attribute_type=>'CHECKBOX' ,p_is_required=>false ,p_default_value=>'Y' ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1673200536200607241) ,p_plugin_id=>wwv_flow_api.id(1619929135558898238) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>2 ,p_display_sequence=>20 ,p_prompt=>'Afficher date dernière m-à-j référentiel AFW' ,p_attribute_type=>'CHECKBOX' ,p_is_required=>false ,p_default_value=>'N' ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1705852925600625231) ,p_plugin_id=>wwv_flow_api.id(1619929135558898238) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>3 ,p_display_sequence=>30 ,p_prompt=>'Produits affichés' ,p_attribute_type=>'SELECT LIST' ,p_is_required=>true ,p_default_value=>'TOUS' ,p_is_translatable=>false ,p_lov_type=>'STATIC' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(1705857427678625825) ,p_plugin_attribute_id=>wwv_flow_api.id(1705852925600625231) ,p_display_sequence=>10 ,p_display_value=>'Tous les produits' ,p_return_value=>'TOUS' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(1705861730795626712) ,p_plugin_attribute_id=>wwv_flow_api.id(1705852925600625231) ,p_display_sequence=>20 ,p_display_value=>'Exclure les produits AFW' ,p_return_value=>'EXCLU_AFW' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(1705888437375628627) ,p_plugin_attribute_id=>wwv_flow_api.id(1705852925600625231) ,p_display_sequence=>30 ,p_display_value=>'Seulement les produits AFW' ,p_return_value=>'SEULM_AFW' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1705692347362527480) ,p_plugin_id=>wwv_flow_api.id(1619929135558898238) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>4 ,p_display_sequence=>40 ,p_prompt=>'Produits SAF' ,p_attribute_type=>'CHECKBOXES' ,p_is_required=>false ,p_is_translatable=>false ,p_depending_on_attribute_id=>wwv_flow_api.id(1705852925600625231) ,p_depending_on_condition_type=>'EQUALS' ,p_depending_on_expression=>'SEULM_AFW' ,p_lov_type=>'STATIC' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(1705696851517528658) ,p_plugin_attribute_id=>wwv_flow_api.id(1705692347362527480) ,p_display_sequence=>10 ,p_display_value=>'SAFP' ,p_return_value=>'SAFP' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(1705701120481529156) ,p_plugin_attribute_id=>wwv_flow_api.id(1705692347362527480) ,p_display_sequence=>20 ,p_display_value=>'SAFD' ,p_return_value=>'SAFD' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(1705705422212529661) ,p_plugin_attribute_id=>wwv_flow_api.id(1705692347362527480) ,p_display_sequence=>30 ,p_display_value=>'SAFU' ,p_return_value=>'SAFU' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(1705709724290530255) ,p_plugin_attribute_id=>wwv_flow_api.id(1705692347362527480) ,p_display_sequence=>40 ,p_display_value=>'SAFS' ,p_return_value=>'SAFS' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(1705714027407531127) ,p_plugin_attribute_id=>wwv_flow_api.id(1705692347362527480) ,p_display_sequence=>50 ,p_display_value=>'SGA' ,p_return_value=>'SGA' ); end; / prompt --application/shared_components/plugins/item_type/io_afw_21_champ_rechr begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1672027921637451661) ,p_plugin_type=>'ITEM TYPE' ,p_name=>'IO_AFW_21_CHAMP_RECHR' ,p_display_name=>'AFW - 21 - Champ de recherche' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('ITEM TYPE','IO_AFW_21_CHAMP_RECHR'),'') ,p_render_function=>'afw_21_item_pkg.genr_champ_rechr' ,p_ajax_function=>'afw_21_item_pkg.ajax_champ_rechr' ,p_standard_attributes=>'VISIBLE:SOURCE:WIDTH' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1672332732335502083) ,p_plugin_id=>wwv_flow_api.id(1672027921637451661) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Filigrane' ,p_attribute_type=>'TEXT' ,p_is_required=>true ,p_default_value=>'Recherche...' ,p_is_translatable=>true ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1672337243070505117) ,p_plugin_id=>wwv_flow_api.id(1672027921637451661) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>2 ,p_display_sequence=>20 ,p_prompt=>'Nombre critères en mémoire' ,p_attribute_type=>'NUMBER' ,p_is_required=>false ,p_is_translatable=>false ); end; / prompt --application/shared_components/plugins/process_type/io_afw_21_fermr_dialg_ifram begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1691862253947285779) ,p_plugin_type=>'PROCESS TYPE' ,p_name=>'IO_AFW_21_FERMR_DIALG_IFRAM' ,p_display_name=>'AFW - 21 - Fermer dialogue (iFrame)' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('PROCESS TYPE','IO_AFW_21_FERMR_DIALG_IFRAM'),'') ,p_execution_function=>'afw_21_procs_pkg.fermr_dialg_ifram' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1774217974410914782) ,p_plugin_id=>wwv_flow_api.id(1691862253947285779) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Fenêtre parent (Item clé étrangère) - Valeur de retour' ,p_attribute_type=>'TEXT' ,p_is_required=>false ,p_is_translatable=>false ); end; / prompt --application/shared_components/plugins/authorization_type/io_afw_21_autor_acces_page begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1717170251972498936) ,p_plugin_type=>'AUTHORIZATION TYPE' ,p_name=>'IO_AFW_21_AUTOR_ACCES_PAGE' ,p_display_name=>'AFW - 21 - Autorisation Accès Page' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('AUTHORIZATION TYPE','IO_AFW_21_AUTOR_ACCES_PAGE'),'') ,p_execution_function=>'afw_21_autor_pkg.genr_autor_acces_page' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); end; / prompt --application/shared_components/plugins/authorization_type/io_afw_21_autor_suprs begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1717313137866551708) ,p_plugin_type=>'AUTHORIZATION TYPE' ,p_name=>'IO_AFW_21_AUTOR_SUPRS' ,p_display_name=>'AFW - 21 - Autorisation Suppression' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('AUTHORIZATION TYPE','IO_AFW_21_AUTOR_SUPRS'),'') ,p_execution_function=>'afw_21_autor_pkg.genr_autor_suprs' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); end; / prompt --application/shared_components/plugins/authorization_type/io_afw_21_autor_admin_domn begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1717580246103648644) ,p_plugin_type=>'AUTHORIZATION TYPE' ,p_name=>'IO_AFW_21_AUTOR_ADMIN_DOMN' ,p_display_name=>'AFW - 21 - Autorisation administrateur Domaine' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('AUTHORIZATION TYPE','IO_AFW_21_AUTOR_ADMIN_DOMN'),'') ,p_execution_function=>'afw_21_autor_pkg.genr_autor_admin_domn' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); end; / prompt --application/shared_components/plugins/authorization_type/io_afw_21_autor_opert_dml begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1717639154938689052) ,p_plugin_type=>'AUTHORIZATION TYPE' ,p_name=>'IO_AFW_21_AUTOR_OPERT_DML' ,p_display_name=>'AFW - 21 - Autorisation Opération DML' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('AUTHORIZATION TYPE','IO_AFW_21_AUTOR_OPERT_DML'),'') ,p_execution_function=>'afw_21_autor_pkg.genr_autor_opert_dml' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); end; / prompt --application/shared_components/plugins/authorization_type/io_afw_21_autor_modfc begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1717912652851962801) ,p_plugin_type=>'AUTHORIZATION TYPE' ,p_name=>'IO_AFW_21_AUTOR_MODFC' ,p_display_name=>'AFW - 21 - Autorisation Modification' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('AUTHORIZATION TYPE','IO_AFW_21_AUTOR_MODFC'),'') ,p_execution_function=>'afw_21_autor_pkg.genr_autor_modfc' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); end; / prompt --application/shared_components/plugins/authorization_type/io_afw_21_autor_admin_prodt begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1718153060573097451) ,p_plugin_type=>'AUTHORIZATION TYPE' ,p_name=>'IO_AFW_21_AUTOR_ADMIN_PRODT' ,p_display_name=>'AFW - 21 - Autorisation administrateur Produit' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('AUTHORIZATION TYPE','IO_AFW_21_AUTOR_ADMIN_PRODT'),'') ,p_execution_function=>'afw_21_autor_pkg.genr_autor_admin_prodt' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); end; / prompt --application/shared_components/plugins/authorization_type/io_afw_21_autor_devlp_prodt begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1718326824735125010) ,p_plugin_type=>'AUTHORIZATION TYPE' ,p_name=>'IO_AFW_21_AUTOR_DEVLP_PRODT' ,p_display_name=>'AFW - 21 - Autorisation développeur Produit' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('AUTHORIZATION TYPE','IO_AFW_21_AUTOR_DEVLP_PRODT'),'') ,p_execution_function=>'afw_21_autor_pkg.genr_autor_devlp_prodt' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); end; / prompt --application/shared_components/plugins/authentication_type/io_afw_21_authe_11_utils begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1723031326774979444) ,p_plugin_type=>'AUTHENTICATION TYPE' ,p_name=>'IO_AFW_21_AUTHE_11_UTILS' ,p_display_name=>'AFW - 21 - Authentification Utilisateur (AFW_11_UTILS)' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('AUTHENTICATION TYPE','IO_AFW_21_AUTHE_11_UTILS'),'') ,p_session_sentry_function=>'afw_21_authe_pkg.sentn' ,p_authentication_function=>'afw_21_authe_pkg.authe_11_utils' ,p_standard_attributes=>'INVALID_SESSION:LOGIN_PAGE' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); end; / prompt --application/shared_components/plugins/authentication_type/io_afw_21_authe_12_utils begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1723043246167985071) ,p_plugin_type=>'AUTHENTICATION TYPE' ,p_name=>'IO_AFW_21_AUTHE_12_UTILS' ,p_display_name=>'AFW - 21 - Authentification Utilisateur (AFW_12_UTILS)' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('AUTHENTICATION TYPE','IO_AFW_21_AUTHE_12_UTILS'),'') ,p_session_sentry_function=>'afw_21_authe_pkg.sentn' ,p_authentication_function=>'afw_21_authe_pkg.authe_12_utils' ,p_standard_attributes=>'INVALID_SESSION:LOGIN_PAGE' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); end; / prompt --application/shared_components/plugins/region_type/io_afw_21_liste_navgt begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1757708349167926291) ,p_plugin_type=>'REGION TYPE' ,p_name=>'IO_AFW_21_LISTE_NAVGT' ,p_display_name=>'AFW - 21 - Liste de navigation' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('REGION TYPE','IO_AFW_21_LISTE_NAVGT'),'') ,p_render_function=>'afw_21_regn_pkg.genr_afw_13_liste_navgt' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1757750039255932872) ,p_plugin_id=>wwv_flow_api.id(1757708349167926291) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Icône' ,p_attribute_type=>'SELECT LIST' ,p_is_required=>true ,p_default_value=>'ui-icon-arrowthick-1-e' ,p_is_translatable=>false ,p_lov_type=>'STATIC' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(1757754441679933637) ,p_plugin_attribute_id=>wwv_flow_api.id(1757750039255932872) ,p_display_sequence=>10 ,p_display_value=>'ui-icon-arrowthick-1-e' ,p_return_value=>'ui-icon-arrowthick-1-e' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(1757758743410934129) ,p_plugin_attribute_id=>wwv_flow_api.id(1757750039255932872) ,p_display_sequence=>20 ,p_display_value=>'ui-icon-arrow-1-e' ,p_return_value=>'ui-icon-arrow-1-e' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(1757763044796934532) ,p_plugin_attribute_id=>wwv_flow_api.id(1757750039255932872) ,p_display_sequence=>30 ,p_display_value=>'ui-icon-carat-1-e' ,p_return_value=>'ui-icon-carat-1-e' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(1757767346527934982) ,p_plugin_attribute_id=>wwv_flow_api.id(1757750039255932872) ,p_display_sequence=>40 ,p_display_value=>'ui-icon-triangle-1-e' ,p_return_value=>'ui-icon-triangle-1-e' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(1757771648951935685) ,p_plugin_attribute_id=>wwv_flow_api.id(1757750039255932872) ,p_display_sequence=>50 ,p_display_value=>'ui-icon-circle-arrow-e' ,p_return_value=>'ui-icon-circle-arrow-e' ); end; / prompt --application/shared_components/plugins/process_type/io_afw_21_trait_mess_err begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1766888849491293263) ,p_plugin_type=>'PROCESS TYPE' ,p_name=>'IO_AFW_21_TRAIT_MESS_ERR' ,p_display_name=>'AFW - 21 - Traiter messages d''erreur' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('PROCESS TYPE','IO_AFW_21_TRAIT_MESS_ERR'),'') ,p_execution_function=>'afw_21_procs_pkg.trait_mesgs_err' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1766899026073295939) ,p_plugin_id=>wwv_flow_api.id(1766888849491293263) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Traiter messages' ,p_attribute_type=>'CHECKBOX' ,p_is_required=>false ,p_default_value=>'N' ,p_is_translatable=>false ); end; / prompt --application/shared_components/plugins/authorization_type/io_afw_21_autor_creat begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1767266067367913838) ,p_plugin_type=>'AUTHORIZATION TYPE' ,p_name=>'IO_AFW_21_AUTOR_CREAT' ,p_display_name=>'AFW - 21 - Autorisation Création' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('AUTHORIZATION TYPE','IO_AFW_21_AUTOR_CREAT'),'') ,p_execution_function=>'afw_21_autor_pkg.genr_autor_creat' ,p_substitute_attributes=>true ,p_reference_id=>256326647326815230 ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); end; / prompt --application/shared_components/plugins/process_type/io_afw_21_defnr_item_page begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1773912550187709150) ,p_plugin_type=>'PROCESS TYPE' ,p_name=>'IO_AFW_21_DEFNR_ITEM_PAGE' ,p_display_name=>'AFW - 21 - Définir item(s) page' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('PROCESS TYPE','IO_AFW_21_DEFNR_ITEM_PAGE'),'') ,p_execution_function=>'afw_21_procs_pkg.defnr_item_page' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1773954745217773926) ,p_plugin_id=>wwv_flow_api.id(1773912550187709150) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Définir ces éléments' ,p_attribute_type=>'PAGE ITEMS' ,p_is_required=>false ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1773959151451775756) ,p_plugin_id=>wwv_flow_api.id(1773912550187709150) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>2 ,p_display_sequence=>20 ,p_prompt=>'Avec ces valeurs' ,p_attribute_type=>'TEXT' ,p_is_required=>false ,p_is_translatable=>false ,p_depending_on_attribute_id=>wwv_flow_api.id(1773954745217773926) ,p_depending_on_condition_type=>'NOT_NULL' ); end; / prompt --application/shared_components/plugins/dynamic_action/io_afw_21_fermr_dialg_ifram begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1782672743331547422) ,p_plugin_type=>'DYNAMIC ACTION' ,p_name=>'IO_AFW_21_FERMR_DIALG_IFRAM' ,p_display_name=>'AFW - 21 - Fermer dialogue (iFrame)' ,p_category=>'EXECUTE' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('DYNAMIC ACTION','IO_AFW_21_FERMR_DIALG_IFRAM'),'') ,p_render_function=>'afw_21_actio_dynmq_pkg.genr_fermr_dialg_ifram' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); end; / prompt --application/shared_components/plugins/process_type/io_afw_21_inser_trace begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1852919536162439034) ,p_plugin_type=>'PROCESS TYPE' ,p_name=>'IO_AFW_21_INSER_TRACE' ,p_display_name=>'AFW - 21 - Insérer trace' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('PROCESS TYPE','IO_AFW_21_INSER_TRACE'),'') ,p_execution_function=>'afw_21_procs_pkg.inser_trace' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1853384529085626285) ,p_plugin_id=>wwv_flow_api.id(1852919536162439034) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Valeur 1' ,p_attribute_type=>'TEXT' ,p_is_required=>false ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1853389032202627160) ,p_plugin_id=>wwv_flow_api.id(1852919536162439034) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>2 ,p_display_sequence=>20 ,p_prompt=>'Valeur 2' ,p_attribute_type=>'TEXT' ,p_is_required=>false ,p_is_translatable=>false ); end; / prompt --application/shared_components/plugins/region_type/io_afw_21_regn_fil_arian begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1908566531161945104) ,p_plugin_type=>'REGION TYPE' ,p_name=>'IO_AFW_21_REGN_FIL_ARIAN' ,p_display_name=>'AFW - 21 - Fil d''ariane' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('REGION TYPE','IO_AFW_21_REGN_FIL_ARIAN'),'') ,p_render_function=>'afw_21_regn_pkg.genr_afw_04_fil_arian' ,p_substitute_attributes=>true ,p_reference_id=>448659041313949161 ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'1' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1908570701164945930) ,p_plugin_id=>wwv_flow_api.id(1908566531161945104) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Icône' ,p_attribute_type=>'SELECT LIST' ,p_is_required=>true ,p_default_value=>'ui-icon-arrowthick-1-e' ,p_is_translatable=>false ,p_lov_type=>'STATIC' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(1908571100139945937) ,p_plugin_attribute_id=>wwv_flow_api.id(1908570701164945930) ,p_display_sequence=>10 ,p_display_value=>'ui-icon-arrowthick-1-e' ,p_return_value=>'ui-icon-arrowthick-1-e' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(1908571617592945937) ,p_plugin_attribute_id=>wwv_flow_api.id(1908570701164945930) ,p_display_sequence=>20 ,p_display_value=>'ui-icon-arrow-1-e' ,p_return_value=>'ui-icon-arrow-1-e' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(1908572123403945938) ,p_plugin_attribute_id=>wwv_flow_api.id(1908570701164945930) ,p_display_sequence=>30 ,p_display_value=>'ui-icon-carat-1-e' ,p_return_value=>'ui-icon-carat-1-e' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(1908572601132945938) ,p_plugin_attribute_id=>wwv_flow_api.id(1908570701164945930) ,p_display_sequence=>40 ,p_display_value=>'ui-icon-triangle-1-e' ,p_return_value=>'ui-icon-triangle-1-e' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(1908573102586945940) ,p_plugin_attribute_id=>wwv_flow_api.id(1908570701164945930) ,p_display_sequence=>50 ,p_display_value=>'ui-icon-circle-arrow-e' ,p_return_value=>'ui-icon-circle-arrow-e' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1908573625949945943) ,p_plugin_id=>wwv_flow_api.id(1908566531161945104) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>3 ,p_display_sequence=>30 ,p_prompt=>'Préfixe' ,p_attribute_type=>'TEXT' ,p_is_required=>false ,p_display_length=>30 ,p_max_length=>50 ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1908574005343945943) ,p_plugin_id=>wwv_flow_api.id(1908566531161945104) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>4 ,p_display_sequence=>40 ,p_prompt=>'Mode' ,p_attribute_type=>'SELECT LIST' ,p_is_required=>true ,p_default_value=>'AVANC' ,p_is_translatable=>false ,p_lov_type=>'STATIC' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(1908574425532945944) ,p_plugin_attribute_id=>wwv_flow_api.id(1908574005343945943) ,p_display_sequence=>10 ,p_display_value=>'Classique' ,p_return_value=>'CLASQ' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(1908574903206945944) ,p_plugin_attribute_id=>wwv_flow_api.id(1908574005343945943) ,p_display_sequence=>20 ,p_display_value=>'Avancé' ,p_return_value=>'AVANC' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1908575429749945944) ,p_plugin_id=>wwv_flow_api.id(1908566531161945104) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>5 ,p_display_sequence=>50 ,p_prompt=>'Afficher informations supplémentaires' ,p_attribute_type=>'CHECKBOX' ,p_is_required=>false ,p_default_value=>'Y' ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1908575806673945944) ,p_plugin_id=>wwv_flow_api.id(1908566531161945104) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>6 ,p_display_sequence=>60 ,p_prompt=>'Inclure le contexte' ,p_attribute_type=>'CHECKBOX' ,p_is_required=>false ,p_default_value=>'Y' ,p_is_translatable=>false ,p_depending_on_attribute_id=>wwv_flow_api.id(1908575429749945944) ,p_depending_on_condition_type=>'EQUALS' ,p_depending_on_expression=>'Y' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1001873857560524975) ,p_plugin_id=>wwv_flow_api.id(1908566531161945104) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>7 ,p_display_sequence=>70 ,p_prompt=>'Afficher premier niveau' ,p_attribute_type=>'CHECKBOX' ,p_is_required=>false ,p_default_value=>'Y' ,p_is_translatable=>false ); end; / prompt --application/shared_components/plugins/authorization_type/io_afw_21_autor_super_utils begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1911148140217059448) ,p_plugin_type=>'AUTHORIZATION TYPE' ,p_name=>'IO_AFW_21_AUTOR_SUPER_UTILS' ,p_display_name=>'AFW - 21 - Autorisation super utilisateur' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('AUTHORIZATION TYPE','IO_AFW_21_AUTOR_SUPER_UTILS'),'') ,p_execution_function=>'afw_21_autor_pkg.genr_autor_super_utils' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); end; / prompt --application/shared_components/plugins/process_type/io_afw_21_confr_sauvg_reqt begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1931119250884806188) ,p_plugin_type=>'PROCESS TYPE' ,p_name=>'IO_AFW_21_CONFR_SAUVG_REQT' ,p_display_name=>'AFW - 21 - Confirmer la sauvegarde (Requêtes)' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('PROCESS TYPE','IO_AFW_21_CONFR_SAUVG_REQT'),'') ,p_execution_function=>'afw_21_procs_pkg.defnr_afw_21_confr_sauvg' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1931120237638571519) ,p_plugin_id=>wwv_flow_api.id(1931119250884806188) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Message de confirmation' ,p_attribute_type=>'TEXT' ,p_is_required=>false ,p_is_translatable=>true ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1931120745949573888) ,p_plugin_id=>wwv_flow_api.id(1931119250884806188) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>2 ,p_display_sequence=>20 ,p_prompt=>'Requêtes' ,p_attribute_type=>'TEXTAREA' ,p_is_required=>false ,p_is_translatable=>false ); end; / prompt --application/shared_components/plugins/dynamic_action/io_afw_21_regn_afich_mesg_in begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1931171142674140717) ,p_plugin_type=>'DYNAMIC ACTION' ,p_name=>'IO_AFW_21_REGN_AFICH_MESG_IN' ,p_display_name=>'AFW - 21 - Afficher message informatif' ,p_category=>'EXECUTE' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('DYNAMIC ACTION','IO_AFW_21_REGN_AFICH_MESG_IN'),'') ,p_render_function=>'afw_21_actio_dynmq_pkg.genr_afich_mesg_infor' ,p_ajax_function=>'afw_21_actio_dynmq_pkg.ajax_afich_mesg_infor' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); end; / prompt --application/shared_components/plugins/dynamic_action/io_afw_21_redrc_url begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1934420237832313185) ,p_plugin_type=>'DYNAMIC ACTION' ,p_name=>'IO_AFW_21_REDRC_URL' ,p_display_name=>'AFW - 21 - Redirection URL' ,p_category=>'EXECUTE' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('DYNAMIC ACTION','IO_AFW_21_REDRC_URL'),'') ,p_render_function=>'afw_21_actio_dynmq_pkg.genr_redrc_url' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1934420445582324863) ,p_plugin_id=>wwv_flow_api.id(1934420237832313185) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'URL' ,p_attribute_type=>'PLSQL EXPRESSION' ,p_is_required=>true ,p_default_value=>'afw_08_url_pkg.genr_url([saisir les paramètres])' ,p_is_translatable=>false ); end; / prompt --application/shared_components/plugins/dynamic_action/io_afw_21_trans_ident_coln begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1935129940057327000) ,p_plugin_type=>'DYNAMIC ACTION' ,p_name=>'IO_AFW_21_TRANS_IDENT_COLN' ,p_display_name=>'AFW - 21 - Transformer les identifiants de colonnes d''un IR' ,p_category=>'INIT' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('DYNAMIC ACTION','IO_AFW_21_TRANS_IDENT_COLN'),'') ,p_render_function=>'afw_21_actio_dynmq_pkg.genr_trans_ident_coln_ir' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1935130334994335035) ,p_plugin_id=>wwv_flow_api.id(1935129940057327000) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Identifiants' ,p_attribute_type=>'TEXT' ,p_is_required=>false ,p_is_translatable=>true ,p_help_text=>'"A":"Libellé A","B":"Libellé B"' ); end; / prompt --application/shared_components/plugins/dynamic_action/io_afw_21_pris_charg_navgt begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1941703549377233843) ,p_plugin_type=>'DYNAMIC ACTION' ,p_name=>'IO_AFW_21_PRIS_CHARG_NAVGT' ,p_display_name=>'AFW - 21 - Prise en charge du navigateur' ,p_category=>'NOTIFICATION' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('DYNAMIC ACTION','IO_AFW_21_PRIS_CHARG_NAVGT'),'') ,p_render_function=>'afw_21_actio_dynmq_pkg.genr_pris_charg_navgt' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1941703929422237472) ,p_plugin_id=>wwv_flow_api.id(1941703549377233843) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Titre' ,p_attribute_type=>'TEXT' ,p_is_required=>true ,p_default_value=>'Avertissement' ,p_display_length=>80 ,p_is_translatable=>true ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1941704540158240569) ,p_plugin_id=>wwv_flow_api.id(1941703549377233843) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>2 ,p_display_sequence=>20 ,p_prompt=>'Message' ,p_attribute_type=>'TEXT' ,p_is_required=>true ,p_default_value=>'La version de votre navigateur n''est pas supportée. Veuillez en faire la mise à jour ou utilisez un autre navigateur.' ,p_display_length=>80 ,p_max_length=>1000 ,p_is_translatable=>true ); end; / prompt --application/shared_components/plugins/process_type/io_afw_21_chang_libl_fil_ari begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1944583432128342982) ,p_plugin_type=>'PROCESS TYPE' ,p_name=>'IO_AFW_21_CHANG_LIBL_FIL_ARI' ,p_display_name=>'AFW - 21 - Changer libellé fil d''ariane' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('PROCESS TYPE','IO_AFW_21_CHANG_LIBL_FIL_ARI'),'') ,p_execution_function=>'afw_21_procs_pkg.chang_libl_fil_arian' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1944583647019347318) ,p_plugin_id=>wwv_flow_api.id(1944583432128342982) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Nouveau libellé' ,p_attribute_type=>'PLSQL EXPRESSION' ,p_is_required=>true ,p_is_translatable=>false ); end; / prompt --application/shared_components/plugins/dynamic_action/io_afw_21_fermr_regn_dialg begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1975044764100361815) ,p_plugin_type=>'DYNAMIC ACTION' ,p_name=>'IO_AFW_21_FERMR_REGN_DIALG' ,p_display_name=>'AFW - 21 - Fermer dialogue (Région)' ,p_category=>'EXECUTE' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('DYNAMIC ACTION','IO_AFW_21_FERMR_REGN_DIALG'),'') ,p_render_function=>'afw_21_actio_dynmq_pkg.genr_fermr_regn_dialg' ,p_standard_attributes=>'REGION' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); end; / prompt --application/shared_components/plugins/process_type/io_afw_21_mode_page begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(1982647642947606830) ,p_plugin_type=>'PROCESS TYPE' ,p_name=>'IO_AFW_21_MODE_PAGE' ,p_display_name=>'AFW - 21 - Définir le mode de la page (AFW_04)' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('PROCESS TYPE','IO_AFW_21_MODE_PAGE'),'') ,p_execution_function=>'afw_21_procs_pkg.defnr_afw_04_mode_page' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1982655654721610241) ,p_plugin_id=>wwv_flow_api.id(1982647642947606830) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Item cible' ,p_attribute_type=>'PAGE ITEM' ,p_is_required=>true ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1982751746803636417) ,p_plugin_id=>wwv_flow_api.id(1982647642947606830) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>2 ,p_display_sequence=>20 ,p_prompt=>'Valeur par défaut' ,p_attribute_type=>'TEXT' ,p_is_required=>false ,p_is_translatable=>false ); end; / prompt --application/shared_components/plugins/process_type/io_afw_21_defnr_prodt_safp begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(2002135669318928253) ,p_plugin_type=>'PROCESS TYPE' ,p_name=>'IO_AFW_21_DEFNR_PRODT_SAFP' ,p_display_name=>'AFW - 21 - Définir produit SAFP' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('PROCESS TYPE','IO_AFW_21_DEFNR_PRODT_SAFP'),'') ,p_execution_function=>'afw_21_procs_pkg.defnr_prodt_safp' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); end; / prompt --application/shared_components/plugins/dynamic_action/io_afw_21_afich_regn_dialg begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(2094842360478611169) ,p_plugin_type=>'DYNAMIC ACTION' ,p_name=>'IO_AFW_21_AFICH_REGN_DIALG' ,p_display_name=>'AFW - 21 - Afficher dialogue (Région)' ,p_category=>'EXECUTE' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('DYNAMIC ACTION','IO_AFW_21_AFICH_REGN_DIALG'),'') ,p_render_function=>'afw_21_actio_dynmq_pkg.genr_afich_regn_dialg' ,p_standard_attributes=>'REGION' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_help_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<br />', '')) ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1972873069753521333) ,p_plugin_id=>wwv_flow_api.id(2094842360478611169) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Largeur' ,p_attribute_type=>'TEXT' ,p_is_required=>false ,p_display_length=>10 ,p_is_translatable=>false ); end; / prompt --application/shared_components/plugins/item_type/io_afw_21_tokn_input begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(2120921980161257669) ,p_plugin_type=>'ITEM TYPE' ,p_name=>'IO_AFW_21_TOKN_INPUT' ,p_display_name=>'AFW - 21 - Token Input' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('ITEM TYPE','IO_AFW_21_TOKN_INPUT'),'') ,p_render_function=>'afw_21_item_pkg.genr_tokn_input' ,p_ajax_function=>'afw_21_item_pkg.ajax_tokn_input' ,p_standard_attributes=>'VISIBLE:SESSION_STATE:SOURCE:LOV:LOV_REQUIRED' ,p_sql_min_column_count=>2 ,p_sql_max_column_count=>2 ,p_sql_examples=>'select 1, 2 from dual' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_help_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<br />', '')) ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2110791065673698840) ,p_plugin_id=>wwv_flow_api.id(2120921980161257669) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'minChars' ,p_attribute_type=>'NUMBER' ,p_is_required=>true ,p_default_value=>'1' ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2120923579673522520) ,p_plugin_id=>wwv_flow_api.id(2120921980161257669) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>2 ,p_display_sequence=>20 ,p_prompt=>'prePopulate' ,p_attribute_type=>'PLSQL EXPRESSION' ,p_is_required=>false ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2120924096988527478) ,p_plugin_id=>wwv_flow_api.id(2120921980161257669) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>3 ,p_display_sequence=>30 ,p_prompt=>'hintText' ,p_attribute_type=>'TEXT' ,p_is_required=>true ,p_default_value=>'Tapez un terme de recherche' ,p_is_translatable=>true ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2120924576340530998) ,p_plugin_id=>wwv_flow_api.id(2120921980161257669) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>4 ,p_display_sequence=>40 ,p_prompt=>'noResultsText' ,p_attribute_type=>'TEXT' ,p_is_required=>true ,p_default_value=>'Aucun résultat' ,p_is_translatable=>true ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2120925481666542031) ,p_plugin_id=>wwv_flow_api.id(2120921980161257669) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>5 ,p_display_sequence=>50 ,p_prompt=>'searchingText' ,p_attribute_type=>'TEXT' ,p_is_required=>true ,p_default_value=>'Recherche...' ,p_is_translatable=>true ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2120925984568552243) ,p_plugin_id=>wwv_flow_api.id(2120921980161257669) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>6 ,p_display_sequence=>60 ,p_prompt=>'tokenLimit' ,p_attribute_type=>'NUMBER' ,p_is_required=>false ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2120926492879554666) ,p_plugin_id=>wwv_flow_api.id(2120921980161257669) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>7 ,p_display_sequence=>70 ,p_prompt=>'preventDuplicates' ,p_attribute_type=>'CHECKBOX' ,p_is_required=>false ,p_default_value=>'N' ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2120931585568650212) ,p_plugin_id=>wwv_flow_api.id(2120921980161257669) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>8 ,p_display_sequence=>80 ,p_prompt=>'Lazy Load' ,p_attribute_type=>'CHECKBOX' ,p_is_required=>false ,p_default_value=>'N' ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2048141953586051209) ,p_plugin_id=>wwv_flow_api.id(2120921980161257669) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>9 ,p_display_sequence=>90 ,p_prompt=>'Largeur (px)' ,p_attribute_type=>'NUMBER' ,p_is_required=>true ,p_default_value=>'400' ,p_display_length=>10 ,p_max_length=>10 ,p_is_translatable=>false ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(2120927293703564402) ,p_plugin_id=>wwv_flow_api.id(2120921980161257669) ,p_name=>'onadd' ,p_display_name=>'onAdd' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(2120927596473565199) ,p_plugin_id=>wwv_flow_api.id(2120921980161257669) ,p_name=>'ondelete' ,p_display_name=>'onDelete' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(2120927903399567169) ,p_plugin_id=>wwv_flow_api.id(2120921980161257669) ,p_name=>'onready' ,p_display_name=>'onReady' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(2120926990932563553) ,p_plugin_id=>wwv_flow_api.id(2120921980161257669) ,p_name=>'onresult' ,p_display_name=>'onResult' ); end; / prompt --application/shared_components/plugins/dynamic_action/io_afw_21_group_entet_raprt_sql begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(2260448478017006988) ,p_plugin_type=>'DYNAMIC ACTION' ,p_name=>'IO_AFW_21_GROUP_ENTET_RAPRT_SQL' ,p_display_name=>'AFW - 21 - Groupe entêtes rapport SQL' ,p_category=>'COMPONENT' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('DYNAMIC ACTION','IO_AFW_21_GROUP_ENTET_RAPRT_SQL'),'') ,p_render_function=>'afw_21_actio_dynmq_pkg.genr_group_entet_raprt_sql' ,p_standard_attributes=>'REGION' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_help_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<br />', '')) ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2260481780724522643) ,p_plugin_id=>wwv_flow_api.id(2260448478017006988) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Ligne 1 - Entêtes ' ,p_attribute_type=>'TEXT' ,p_is_required=>false ,p_is_translatable=>false ,p_help_text=>'Liste des libellés dans les entêtes.<br/>Ex.: ,Valeur,%' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2260482290421525393) ,p_plugin_id=>wwv_flow_api.id(2260448478017006988) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>2 ,p_display_sequence=>20 ,p_prompt=>'Ligne 1 - colspan/rowspan' ,p_attribute_type=>'TEXT' ,p_is_required=>false ,p_is_translatable=>false ,p_help_text=>'Formatage des entêtes.<br/>Ex.: 1;1,4;1,4;1<br/><br/>colspan;rowspan,colspan;rowspan,colspan;rowspan' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2260483471851529536) ,p_plugin_id=>wwv_flow_api.id(2260448478017006988) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>3 ,p_display_sequence=>30 ,p_prompt=>'Ligne 2 - Entête' ,p_attribute_type=>'TEXT' ,p_is_required=>false ,p_is_translatable=>true ,p_help_text=>'Liste des libellés dans les entêtes.<br/>Ex.: ,Valeur,%' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2260483976007530724) ,p_plugin_id=>wwv_flow_api.id(2260448478017006988) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>4 ,p_display_sequence=>40 ,p_prompt=>'Ligne 2 - colspan/rowspan' ,p_attribute_type=>'TEXT' ,p_is_required=>false ,p_is_translatable=>false ,p_help_text=>'Formatage des entêtes.<br/>Ex.: 1;1,4;1,4;1<br/><br/>colspan;rowspan,colspan;rowspan,colspan;rowspan' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2260484887435534037) ,p_plugin_id=>wwv_flow_api.id(2260448478017006988) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>5 ,p_display_sequence=>50 ,p_prompt=>'Ligne 3 - Entêtes' ,p_attribute_type=>'TEXT' ,p_is_required=>false ,p_is_translatable=>true ,p_help_text=>'Liste des libellés dans les entêtes.<br/>Ex.: ,Valeur,%' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2260485388820534453) ,p_plugin_id=>wwv_flow_api.id(2260448478017006988) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>6 ,p_display_sequence=>60 ,p_prompt=>'Ligne 3 - colspan/rowspan' ,p_attribute_type=>'TEXT' ,p_is_required=>false ,p_is_translatable=>false ,p_help_text=>'Formatage des entêtes.<br/>Ex.: 1;1,4;1,4;1<br/><br/>colspan;rowspan,colspan;rowspan,colspan;rowspan' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1947331323501954739) ,p_plugin_id=>wwv_flow_api.id(2260448478017006988) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>7 ,p_display_sequence=>70 ,p_prompt=>'Classe CSS surlignement' ,p_attribute_type=>'TEXT' ,p_is_required=>false ,p_default_value=>'ir_matrc_surlg_tous' ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1947332120534114655) ,p_plugin_id=>wwv_flow_api.id(2260448478017006988) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>8 ,p_display_sequence=>80 ,p_prompt=>'Sélecteur jQuery surlignement' ,p_attribute_type=>'TEXT' ,p_is_required=>false ,p_default_value=>'tr:contains(''**Tous**''), tr:contains(''Total'')' ,p_is_translatable=>false ); end; / prompt --application/shared_components/plugins/dynamic_action/io_afw_21_group_entet_raprt begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(2291799297168676618) ,p_plugin_type=>'DYNAMIC ACTION' ,p_name=>'IO_AFW_21_GROUP_ENTET_RAPRT' ,p_display_name=>'AFW - 21 - Groupe entêtes rapport interactif' ,p_category=>'COMPONENT' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('DYNAMIC ACTION','IO_AFW_21_GROUP_ENTET_RAPRT'),'') ,p_render_function=>'afw_21_actio_dynmq_pkg.genr_group_entet_raprt_inter' ,p_standard_attributes=>'REGION' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2291932012977747420) ,p_plugin_id=>wwv_flow_api.id(2291799297168676618) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Ligne 1 - Entêtes/colspan/rowspan' ,p_attribute_type=>'TEXT' ,p_is_required=>false ,p_display_length=>100 ,p_max_length=>1000 ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2291944219557749324) ,p_plugin_id=>wwv_flow_api.id(2291799297168676618) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>2 ,p_display_sequence=>20 ,p_prompt=>'Ligne 2 - Entêtes/colspan/rowspan' ,p_attribute_type=>'TEXT' ,p_is_required=>false ,p_display_length=>100 ,p_max_length=>1000 ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2291948622327750098) ,p_plugin_id=>wwv_flow_api.id(2291799297168676618) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>3 ,p_display_sequence=>30 ,p_prompt=>'Ligne 3 - Entêtes/colspan/rowspan' ,p_attribute_type=>'TEXT' ,p_is_required=>false ,p_display_length=>100 ,p_max_length=>1000 ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2090376746347085205) ,p_plugin_id=>wwv_flow_api.id(2291799297168676618) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>4 ,p_display_sequence=>40 ,p_prompt=>'Libellé à transformer' ,p_attribute_type=>'TEXTAREA' ,p_is_required=>false ,p_display_length=>60 ,p_max_length=>4000 ,p_is_translatable=>false ,p_help_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'Syntax is [COLUMN_ID];[NEW_LABEL],[OTHER_COLUMN_ID];[OTHER_NEW_LABEL]...', '', 'Ex: CODE_1;Label_1,CODE_2;Label_2')) ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2090799447226442673) ,p_plugin_id=>wwv_flow_api.id(2291799297168676618) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>5 ,p_display_sequence=>50 ,p_prompt=>'Gérer ventilation' ,p_attribute_type=>'CHECKBOX' ,p_is_required=>false ,p_default_value=>'N' ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2090799959000446117) ,p_plugin_id=>wwv_flow_api.id(2291799297168676618) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>6 ,p_display_sequence=>60 ,p_prompt=>'Classe CSS ventilation' ,p_attribute_type=>'TEXT' ,p_is_required=>false ,p_display_length=>60 ,p_max_length=>200 ,p_is_translatable=>false ,p_depending_on_attribute_id=>wwv_flow_api.id(2090799447226442673) ,p_depending_on_condition_type=>'EQUALS' ,p_depending_on_expression=>'Y' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2090800947703452285) ,p_plugin_id=>wwv_flow_api.id(2291799297168676618) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>7 ,p_display_sequence=>70 ,p_prompt=>'Classe CSS ventilation horizontale' ,p_attribute_type=>'TEXT' ,p_is_required=>false ,p_display_length=>60 ,p_max_length=>200 ,p_is_translatable=>false ,p_depending_on_attribute_id=>wwv_flow_api.id(2090799447226442673) ,p_depending_on_condition_type=>'EQUALS' ,p_depending_on_expression=>'Y' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2090801454629454321) ,p_plugin_id=>wwv_flow_api.id(2291799297168676618) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>8 ,p_display_sequence=>80 ,p_prompt=>'Classe CSS ventilation verticale' ,p_attribute_type=>'TEXT' ,p_is_required=>false ,p_display_length=>60 ,p_max_length=>200 ,p_is_translatable=>false ,p_depending_on_attribute_id=>wwv_flow_api.id(2090799447226442673) ,p_depending_on_condition_type=>'EQUALS' ,p_depending_on_expression=>'Y' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2090815965073911573) ,p_plugin_id=>wwv_flow_api.id(2291799297168676618) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>9 ,p_display_sequence=>90 ,p_prompt=>'Classe CSS ventilation gauche' ,p_attribute_type=>'TEXT' ,p_is_required=>false ,p_display_length=>60 ,p_max_length=>200 ,p_is_translatable=>false ,p_depending_on_attribute_id=>wwv_flow_api.id(2090799447226442673) ,p_depending_on_condition_type=>'EQUALS' ,p_depending_on_expression=>'Y' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2090824447188190311) ,p_plugin_id=>wwv_flow_api.id(2291799297168676618) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>10 ,p_display_sequence=>100 ,p_prompt=>'Nombre colonnes ventilation gauche' ,p_attribute_type=>'NUMBER' ,p_is_required=>true ,p_default_value=>'1' ,p_display_length=>5 ,p_max_length=>5 ,p_is_translatable=>false ,p_depending_on_attribute_id=>wwv_flow_api.id(2090799447226442673) ,p_depending_on_condition_type=>'EQUALS' ,p_depending_on_expression=>'Y' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1947009140701187229) ,p_plugin_id=>wwv_flow_api.id(2291799297168676618) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>11 ,p_display_sequence=>110 ,p_prompt=>'Classe CSS surlignement' ,p_attribute_type=>'TEXT' ,p_is_required=>false ,p_default_value=>'ir_matrc_surlg_tous' ,p_display_length=>60 ,p_max_length=>200 ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1947009649705189765) ,p_plugin_id=>wwv_flow_api.id(2291799297168676618) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>12 ,p_display_sequence=>120 ,p_prompt=>'Sélecteur jQuery surlignement' ,p_attribute_type=>'TEXT' ,p_is_required=>false ,p_default_value=>'table.apexir_WORKSHEET_DATA tr:contains(''**Tous**'')' ,p_display_length=>100 ,p_max_length=>1000 ,p_is_translatable=>false ); end; / prompt --application/shared_components/plugins/dynamic_action/io_afw_21_regn_afich_mesg_pr begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(2359770738779534941) ,p_plugin_type=>'DYNAMIC ACTION' ,p_name=>'IO_AFW_21_REGN_AFICH_MESG_PR' ,p_display_name=>'AFW - 21 - Afficher message processus' ,p_category=>'EXECUTE' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('DYNAMIC ACTION','IO_AFW_21_REGN_AFICH_MESG_PR'),'') ,p_render_function=>'afw_21_actio_dynmq_pkg.genr_afich_mesg_procs' ,p_ajax_function=>'afw_21_actio_dynmq_pkg.ajax_afich_mesg_procs' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); end; / prompt --application/shared_components/plugins/process_type/io_afw_21_valdt_clob begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(2375901961360768208) ,p_plugin_type=>'PROCESS TYPE' ,p_name=>'IO_AFW_21_VALDT_CLOB' ,p_display_name=>'AFW - 21 - Validation - CLOB' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('PROCESS TYPE','IO_AFW_21_VALDT_CLOB'),'') ,p_execution_function=>'afw_21_procs_pkg.valdt_afw_21_colct_clob' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2375925059414777030) ,p_plugin_id=>wwv_flow_api.id(2375901961360768208) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Type de validation' ,p_attribute_type=>'SELECT LIST' ,p_is_required=>true ,p_default_value=>'NOT_NULL' ,p_is_translatable=>false ,p_lov_type=>'STATIC' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(2375929465647778866) ,p_plugin_attribute_id=>wwv_flow_api.id(2375925059414777030) ,p_display_sequence=>10 ,p_display_value=>'La valeur n''est pas nulle' ,p_return_value=>'NOT_NULL' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2375960669587789488) ,p_plugin_id=>wwv_flow_api.id(2375901961360768208) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>2 ,p_display_sequence=>20 ,p_prompt=>'Numéro message' ,p_attribute_type=>'TEXT' ,p_is_required=>true ,p_display_length=>30 ,p_max_length=>20 ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2375980656213795067) ,p_plugin_id=>wwv_flow_api.id(2375901961360768208) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>3 ,p_display_sequence=>30 ,p_prompt=>'Item' ,p_attribute_type=>'PAGE ITEM' ,p_is_required=>true ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2375988963485797200) ,p_plugin_id=>wwv_flow_api.id(2375901961360768208) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>4 ,p_display_sequence=>40 ,p_prompt=>'Colonne' ,p_attribute_type=>'TEXT' ,p_is_required=>true ,p_display_length=>60 ,p_max_length=>30 ,p_is_translatable=>false ); end; / prompt --application/shared_components/plugins/process_type/io_afw_21_surpm_colct_clob begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(2383530458732081924) ,p_plugin_type=>'PROCESS TYPE' ,p_name=>'IO_AFW_21_SURPM_COLCT_CLOB' ,p_display_name=>'AFW - 21 - Supprimer collection - CLOB' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('PROCESS TYPE','IO_AFW_21_SURPM_COLCT_CLOB'),'') ,p_execution_function=>'afw_21_procs_pkg.suprm_afw_21_colct_clob' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); end; / prompt --application/shared_components/plugins/dynamic_action/io_afw_21_suprm_item_clob begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(2385757261800104583) ,p_plugin_type=>'DYNAMIC ACTION' ,p_name=>'IO_AFW_21_SUPRM_ITEM_CLOB' ,p_display_name=>'AFW - 21 - Supprimer contenu items - CLOB' ,p_category=>'EXECUTE' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('DYNAMIC ACTION','IO_AFW_21_SUPRM_ITEM_CLOB'),'') ,p_render_function=>'afw_21_actio_dynmq_pkg.genr_suprm_item_clob' ,p_standard_attributes=>'STOP_EXECUTION_ON_ERROR' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2385765234919106316) ,p_plugin_id=>wwv_flow_api.id(2385757261800104583) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Liste des items (clob)' ,p_attribute_type=>'PAGE ITEMS' ,p_is_required=>true ,p_is_translatable=>false ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(2385781741723174513) ,p_plugin_id=>wwv_flow_api.id(2385757261800104583) ,p_name=>'suprm_item_clob_delete_termn' ,p_display_name=>'Supprimer items CLOB terminé (DELETE)' ); end; / prompt --application/shared_components/plugins/region_type/io_afw_21_regn_calnd begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(2525930579215464146) ,p_plugin_type=>'REGION TYPE' ,p_name=>'IO_AFW_21_REGN_CALND' ,p_display_name=>'AFW - 21 - Calendrier' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('REGION TYPE','IO_AFW_21_REGN_CALND'),'') ,p_render_function=>'afw_21_regn_pkg.genr_plugn_regn_calnd' ,p_ajax_function=>'afw_21_regn_pkg.ajax_plugn_regn_calnd' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_help_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<br />', '')) ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(1945443049216886432) ,p_plugin_id=>wwv_flow_api.id(2525930579215464146) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Code du calendrier' ,p_attribute_type=>'TEXT' ,p_is_required=>true ,p_is_translatable=>false ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(2526043470361950086) ,p_plugin_id=>wwv_flow_api.id(2525930579215464146) ,p_name=>'dayclick' ,p_display_name=>'dayClick' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(2517436574989749305) ,p_plugin_id=>wwv_flow_api.id(2525930579215464146) ,p_name=>'drop' ,p_display_name=>'drop' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(2517386455119734123) ,p_plugin_id=>wwv_flow_api.id(2525930579215464146) ,p_name=>'eventafterrender' ,p_display_name=>'eventAfterRender' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(2526043774863951397) ,p_plugin_id=>wwv_flow_api.id(2525930579215464146) ,p_name=>'eventclick' ,p_display_name=>'eventClick' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(2517415456981744080) ,p_plugin_id=>wwv_flow_api.id(2525930579215464146) ,p_name=>'eventdragstart' ,p_display_name=>'eventDragStart' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(2517411252826742932) ,p_plugin_id=>wwv_flow_api.id(2525930579215464146) ,p_name=>'eventdragstop' ,p_display_name=>'eventDragStop' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(2517419661137745315) ,p_plugin_id=>wwv_flow_api.id(2525930579215464146) ,p_name=>'eventdrop' ,p_display_name=>'eventDrop' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(2517365475111683155) ,p_plugin_id=>wwv_flow_api.id(2525930579215464146) ,p_name=>'eventmouseout' ,p_display_name=>'eventMouseout' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(2517361162298679435) ,p_plugin_id=>wwv_flow_api.id(2525930579215464146) ,p_name=>'eventmouseover' ,p_display_name=>'eventMouseover' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(2517382255849687048) ,p_plugin_id=>wwv_flow_api.id(2525930579215464146) ,p_name=>'eventrender' ,p_display_name=>'eventRender' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(2517432270487747982) ,p_plugin_id=>wwv_flow_api.id(2525930579215464146) ,p_name=>'eventresize' ,p_display_name=>'eventResize' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(2517423863561746013) ,p_plugin_id=>wwv_flow_api.id(2525930579215464146) ,p_name=>'eventresizestart' ,p_display_name=>'eventResizeStart' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(2517428065985746763) ,p_plugin_id=>wwv_flow_api.id(2525930579215464146) ,p_name=>'eventresizestop' ,p_display_name=>'eventResizeStop' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(2517378052386686001) ,p_plugin_id=>wwv_flow_api.id(2525930579215464146) ,p_name=>'loading' ,p_display_name=>'loading' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(1930561234307794570) ,p_plugin_id=>wwv_flow_api.id(2525930579215464146) ,p_name=>'loadingstart' ,p_display_name=>'loadingStart' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(1930561639502796039) ,p_plugin_id=>wwv_flow_api.id(2525930579215464146) ,p_name=>'loadingstop' ,p_display_name=>'loadingStop' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(2517369677881683949) ,p_plugin_id=>wwv_flow_api.id(2525930579215464146) ,p_name=>'select' ,p_display_name=>'select' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(2517373880998684787) ,p_plugin_id=>wwv_flow_api.id(2525930579215464146) ,p_name=>'unselect' ,p_display_name=>'unselect' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(2517390659967735505) ,p_plugin_id=>wwv_flow_api.id(2525930579215464146) ,p_name=>'viewdisplay' ,p_display_name=>'viewDisplay' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(2517394863084736368) ,p_plugin_id=>wwv_flow_api.id(2525930579215464146) ,p_name=>'windowresize' ,p_display_name=>'windowResize' ); end; / prompt --application/shared_components/plugins/dynamic_action/io_afw_21_soumt_clob begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(2779169329026429940) ,p_plugin_type=>'DYNAMIC ACTION' ,p_name=>'IO_AFW_21_SOUMT_CLOB' ,p_display_name=>'AFW - 21 - Soumettre - CLOB' ,p_category=>'EXECUTE' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('DYNAMIC ACTION','IO_AFW_21_SOUMT_CLOB'),'') ,p_render_function=>'afw_21_actio_dynmq_pkg.genr_soumt_clob' ,p_ajax_function=>'afw_21_actio_dynmq_pkg.ajax_soumt_clob' ,p_standard_attributes=>'STOP_EXECUTION_ON_ERROR' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2779189121538437286) ,p_plugin_id=>wwv_flow_api.id(2779169329026429940) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Liste des items (clob)' ,p_attribute_type=>'PAGE ITEMS' ,p_is_required=>true ,p_is_translatable=>false ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(2781382115105996598) ,p_plugin_id=>wwv_flow_api.id(2779169329026429940) ,p_name=>'soumt_create_clob_termn' ,p_display_name=>'Soumettre CLOB terminé (CREATE)' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(2367007263090077463) ,p_plugin_id=>wwv_flow_api.id(2779169329026429940) ,p_name=>'soumt_delete_clob_termn' ,p_display_name=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'Soumettre CLOB terminé (DELETE)', '')) ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(2367003053740074824) ,p_plugin_id=>wwv_flow_api.id(2779169329026429940) ,p_name=>'soumt_save_clob_termn' ,p_display_name=>'Soumettre CLOB terminé (SAVE)' ); end; / prompt --application/shared_components/plugins/dynamic_action/io_afw_21_dml_obten_clob begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(2782278504840277481) ,p_plugin_type=>'DYNAMIC ACTION' ,p_name=>'IO_AFW_21_DML_OBTEN_CLOB' ,p_display_name=>'AFW - 21 - Extraction de ligne automatisée (DML) - CLOB' ,p_category=>'EXECUTE' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('DYNAMIC ACTION','IO_AFW_21_DML_OBTEN_CLOB'),'') ,p_render_function=>'afw_21_actio_dynmq_pkg.genr_dml_obten_clob' ,p_ajax_function=>'afw_21_actio_dynmq_pkg.ajax_dml_obten_clob' ,p_standard_attributes=>'STOP_EXECUTION_ON_ERROR' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2782439706834297017) ,p_plugin_id=>wwv_flow_api.id(2782278504840277481) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Table (Vue)' ,p_attribute_type=>'TEXT' ,p_is_required=>true ,p_display_length=>60 ,p_max_length=>92 ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2782484691035301941) ,p_plugin_id=>wwv_flow_api.id(2782278504840277481) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>2 ,p_display_sequence=>20 ,p_prompt=>'Elément contenant la valeur de colonne de clé primaire' ,p_attribute_type=>'PAGE ITEM' ,p_is_required=>true ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2782489098307303983) ,p_plugin_id=>wwv_flow_api.id(2782278504840277481) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>3 ,p_display_sequence=>30 ,p_prompt=>'Colonne de clé primaire' ,p_attribute_type=>'TEXT' ,p_is_required=>true ,p_display_length=>60 ,p_max_length=>30 ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2782493504541305816) ,p_plugin_id=>wwv_flow_api.id(2782278504840277481) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>4 ,p_display_sequence=>40 ,p_prompt=>'Elément contenant la valeur de colonne de clé secondaire' ,p_attribute_type=>'PAGE ITEM' ,p_is_required=>false ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2782497915622308981) ,p_plugin_id=>wwv_flow_api.id(2782278504840277481) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>5 ,p_display_sequence=>50 ,p_prompt=>'Colonne de clé secondaire' ,p_attribute_type=>'TEXT' ,p_is_required=>false ,p_display_length=>60 ,p_max_length=>30 ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2783466803941712503) ,p_plugin_id=>wwv_flow_api.id(2782278504840277481) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>6 ,p_display_sequence=>60 ,p_prompt=>'Liste des items (séparées par des virgules)' ,p_attribute_type=>'PAGE ITEMS' ,p_is_required=>true ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2783504813638715236) ,p_plugin_id=>wwv_flow_api.id(2782278504840277481) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>7 ,p_display_sequence=>70 ,p_prompt=>'Liste des colonnes (séparées par des virgules)' ,p_attribute_type=>'TEXT' ,p_is_required=>true ,p_display_length=>100 ,p_max_length=>200 ,p_is_translatable=>false ); end; / prompt --application/shared_components/plugins/process_type/io_afw_21_dml_maj_clob begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(2798264074854927405) ,p_plugin_type=>'PROCESS TYPE' ,p_name=>'IO_AFW_21_DML_MAJ_CLOB' ,p_display_name=>'AFW - 21 - Traitement de ligne automatique (DML) - CLOB' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('PROCESS TYPE','IO_AFW_21_DML_MAJ_CLOB'),'') ,p_execution_function=>'afw_21_procs_pkg.dml_maj_clob' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.8' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2798360176847946949) ,p_plugin_id=>wwv_flow_api.id(2798264074854927405) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Table (Vue)' ,p_attribute_type=>'TEXT' ,p_is_required=>true ,p_display_length=>60 ,p_max_length=>92 ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2798364585505949452) ,p_plugin_id=>wwv_flow_api.id(2798264074854927405) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>2 ,p_display_sequence=>20 ,p_prompt=>'Elément contenant la valeur de colonne de clé primaire' ,p_attribute_type=>'PAGE ITEM' ,p_is_required=>true ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2798368990700950864) ,p_plugin_id=>wwv_flow_api.id(2798264074854927405) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>3 ,p_display_sequence=>30 ,p_prompt=>'Colonne de clé primaire' ,p_attribute_type=>'TEXT' ,p_is_required=>true ,p_display_length=>60 ,p_max_length=>30 ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2798373363819952586) ,p_plugin_id=>wwv_flow_api.id(2798264074854927405) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>4 ,p_display_sequence=>40 ,p_prompt=>'Elément contenant la valeur de colonne de clé secondaire' ,p_attribute_type=>'PAGE ITEM' ,p_is_required=>false ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2798377768667954010) ,p_plugin_id=>wwv_flow_api.id(2798264074854927405) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>5 ,p_display_sequence=>50 ,p_prompt=>'Colonne de clé secondaire' ,p_attribute_type=>'TEXT' ,p_is_required=>false ,p_display_length=>60 ,p_max_length=>30 ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2798397288060959591) ,p_plugin_id=>wwv_flow_api.id(2798264074854927405) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>6 ,p_display_sequence=>60 ,p_prompt=>'Liste des items (séparées par des virgules)' ,p_attribute_type=>'PAGE ITEMS' ,p_is_required=>true ,p_is_translatable=>false ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(2798401663950962089) ,p_plugin_id=>wwv_flow_api.id(2798264074854927405) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>7 ,p_display_sequence=>70 ,p_prompt=>'Liste des colonnes (séparées par des virgules)' ,p_attribute_type=>'TEXT' ,p_is_required=>true ,p_display_length=>100 ,p_max_length=>200 ,p_is_translatable=>false ); end; / prompt --application/shared_components/plugins/region_type/io_afw_21_telvr_fichr begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(4474183094946934426) ,p_plugin_type=>'REGION TYPE' ,p_name=>'IO_AFW_21_TELVR_FICHR' ,p_display_name=>'AFW - 21 - Téléversement des fichiers' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('REGION TYPE','IO_AFW_21_TELVR_FICHR'),'') ,p_render_function=>'afw_21_regn_pkg.genr_telvr_fichr' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'0.9' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(3007721782958401103) ,p_plugin_id=>wwv_flow_api.id(4474183094946934426) ,p_name=>'selct_termn_regn' ,p_display_name=>'Sélection terminée' ); end; / prompt --application/shared_components/plugins/dynamic_action/io_afw_21_soumt_blob begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(4480561376127286153) ,p_plugin_type=>'DYNAMIC ACTION' ,p_name=>'IO_AFW_21_SOUMT_BLOB' ,p_display_name=>'AFW - 21 - Soumettre - BLOB' ,p_category=>'EXECUTE' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('DYNAMIC ACTION','IO_AFW_21_SOUMT_BLOB'),'') ,p_render_function=>'afw_21_actio_dynmq_pkg.genr_soumt_blob' ,p_ajax_function=>'afw_21_actio_dynmq_pkg.ajax_soumt_blob' ,p_standard_attributes=>'STOP_EXECUTION_ON_ERROR' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_version_identifier=>'1.0' ,p_about_url=>'http://www.afw.io' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(3031344358161600506) ,p_plugin_id=>wwv_flow_api.id(4480561376127286153) ,p_name=>'debut_telvr' ,p_display_name=>'Débuter téléversement' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(4480585377990296159) ,p_plugin_id=>wwv_flow_api.id(4480561376127286153) ,p_name=>'soumt_create_blob_termn' ,p_display_name=>'Soumettre BLOB terminé (CREATE)' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(4480589581453297087) ,p_plugin_id=>wwv_flow_api.id(4480561376127286153) ,p_name=>'soumt_delete_blob_termn' ,p_display_name=>'Soumettre BLOB terminé (DELETE)' ); wwv_flow_api.create_plugin_event( p_id=>wwv_flow_api.id(3031348765433602605) ,p_plugin_id=>wwv_flow_api.id(4480561376127286153) ,p_name=>'termn_telvr' ,p_display_name=>'Terminer téléversement' ); end; / prompt --application/shared_components/plugins/item_type/com_skillbuilders_sbip_password begin wwv_flow_api.create_plugin( p_id=>wwv_flow_api.id(10027387098451642521) ,p_plugin_type=>'ITEM TYPE' ,p_name=>'COM_SKILLBUILDERS_SBIP_PASSWORD' ,p_display_name=>'SkillBuilders Password' ,p_supported_ui_types=>'DESKTOP' ,p_image_prefix => nvl(wwv_flow_application_install.get_static_plugin_file_prefix('ITEM TYPE','COM_SKILLBUILDERS_SBIP_PASSWORD'),'') ,p_plsql_code=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'FUNCTION sbip_password_render (', ' p_item IN APEX_PLUGIN.T_PAGE_ITEM,', ' p_plugin IN APEX_PLUGIN.T_PLUGIN,', ' p_value IN VARCHAR2,', ' p_is_readonly IN BOOLEAN,', ' p_is_printer_friendly IN BOOLEAN ', ')', '', ' RETURN APEX_PLUGIN.T_PAGE_ITEM_RENDER_RESULT', ' ', 'IS', '', ' l_retval APEX_PLUGIN.T_PAGE_ITEM_RENDER_RESULT;', ' l_name VARCHAR2(30);', ' l_submit_on_enter VARCHAR2(1) := NVL(p_item.attribute_01, ''Y'');', ' l_message_icon VARCHAR2(20) := NVL(p_item.attribute_02, ''ui-icon-alert'');', ' l_message_text VARCHAR2(500) := NVL(p_item.attribute_03, ''Caps Lock is enabled.'');', ' l_message_width PLS_INTEGER := NVL(p_item.attribute_04, 150);', ' l_message_alignment VARCHAR2(20) := NVL(p_item.attribute_05, ''center bottom'');', ' l_password_alignment VARCHAR2(20) := NVL(p_item.attribute_06, ''center top'');', ' l_offset VARCHAR2(20) := NVL(p_item.attribute_07, ''0'');', ' l_jqueryui_theme VARCHAR2(30) := p_plugin.attribute_01;', ' l_onload_code VARCHAR2(32767);', ' l_crlf CHAR(2) := CHR(13)||CHR(10);', ' ', 'BEGIN', '', ' IF apex_application.g_debug', ' THEN', ' apex_plugin_util.debug_page_item (', ' p_plugin => p_plugin,', ' p_page_item => p_item,', ' p_value => p_value,', ' p_is_readonly => p_is_readonly,', ' p_is_printer_friendly => p_is_printer_friendly', ' );', ' END IF;', '', ' l_name := apex_plugin.get_input_name_for_page_item(FALSE);', '', ' IF p_is_readonly OR p_is_printer_friendly', ' THEN', ' NULL;--Password should not be displayed', ' ELSE', ' sys.htp.p(', ' ''<input type="password" name="'' || l_name || ''" id="'' || p_item.name || ''" value="'' ', ' || p_value || ''" size="'' || p_item.element_width || ''" maxlength="'' || p_item.element_max_length ', ' || ''" '' || p_item.element_attributes || '' ''', ' || CASE', ' WHEN l_submit_on_enter = ''Y''', ' THEN ''onkeypress="return submitEnter(this,event)"''', ' END', ' || ''/>''', ' );', '', ' apex_javascript.add_library(', ' p_name => ''com_skillbuilders_sbip_password.min'',', ' p_directory => p_plugin.file_prefix,', ' p_version => NULL', ' );', '', ' l_onload_code := ''apex.jQuery("input#'' || p_item.name || ''").sbip_password({'' || l_crlf', ' || '' '' || apex_javascript.add_attribute(''warningMsgIcon'', l_message_icon) || l_crlf', ' || '' '' || apex_javascript.add_attribute(''warningMsgText'', l_message_text) || l_crlf', ' || '' '' || apex_javascript.add_attribute(''warningMsgWidth'', l_message_width) || l_crlf', ' || '' '' || apex_javascript.add_attribute(''warningMsgAlignment'', l_message_alignment) || l_crlf', ' || '' '' || apex_javascript.add_attribute(''passwordAlignment'', l_password_alignment) || l_crlf', ' || '' '' || apex_javascript.add_attribute(''offset'', l_offset, TRUE, FALSE) || l_crlf', ' || ''});'';', ' ', ' apex_javascript.add_onload_code(', ' p_code => l_onload_code', ' ); ', ' ', ' IF l_jqueryui_theme IS NOT NULL', ' THEN', ' apex_css.add_file(', ' p_name => ''jquery-ui'',', ' p_directory => apex_application.g_image_prefix || ''libraries/jquery-ui/1.8/themes/'' || l_jqueryui_theme || ''/'',', ' p_version => NULL', ' );', ' END IF;', '', ' l_retval.is_navigable := TRUE;', ' END IF;', ' ', ' RETURN l_retval;', ' ', 'END sbip_password_render;')) ,p_render_function=>'sbip_password_render' ,p_standard_attributes=>'VISIBLE:SESSION_STATE:ELEMENT:WIDTH:HEIGHT:ENCRYPT' ,p_substitute_attributes=>true ,p_subscribe_plugin_settings=>true ,p_help_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<br />', '')) ,p_version_identifier=>'1' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(10217677592456068615) ,p_plugin_id=>wwv_flow_api.id(10027387098451642521) ,p_attribute_scope=>'APPLICATION' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Theme' ,p_attribute_type=>'SELECT LIST' ,p_is_required=>false ,p_is_translatable=>false ,p_lov_type=>'STATIC' ,p_help_text=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<p>Use this setting to control the basic color scheme of the warning message. Other aspects of the warning message, including the icon, text, width, and placement on the page, are configured via components settings.</p>', '', '<p style="font-style:italic">Tip: The Theme setting adds a link to a CSS file on the APEX page where the component is used. If possible, it’s best to manually add the link to the CSS file in the page template where the component is used. This can imp' ||'rove performance/caching while decreasing the likelihood of a conflict due to another plug-in linking to a different CSS file. This setting can then be disabled by selecting the null value (- Select Theme-).</p>', '', '<p style="font-style:italic">Tip: The plug-in is skinned using the jQuery UI CSS Framework . To learn more or create a custom theme visit: http://docs.jquery.com/UI/Theming and http://jqueryui.com/themeroller. </p>', '')) ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10217694497304070024) ,p_plugin_attribute_id=>wwv_flow_api.id(10217677592456068615) ,p_display_sequence=>10 ,p_display_value=>'Base (APEX Default)' ,p_return_value=>'base' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10217694900767071020) ,p_plugin_attribute_id=>wwv_flow_api.id(10217677592456068615) ,p_display_sequence=>20 ,p_display_value=>'Black Tie' ,p_return_value=>'black-tie' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10217713804231071991) ,p_plugin_attribute_id=>wwv_flow_api.id(10217677592456068615) ,p_display_sequence=>30 ,p_display_value=>'Blitzer' ,p_return_value=>'blitzer' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10217722409079073364) ,p_plugin_attribute_id=>wwv_flow_api.id(10217677592456068615) ,p_display_sequence=>40 ,p_display_value=>'Cupertino' ,p_return_value=>'cupertino' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10217722911849074183) ,p_plugin_attribute_id=>wwv_flow_api.id(10217677592456068615) ,p_display_sequence=>50 ,p_display_value=>'Dark Hive' ,p_return_value=>'dark-hive' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10217723714966075146) ,p_plugin_attribute_id=>wwv_flow_api.id(10217677592456068615) ,p_display_sequence=>60 ,p_display_value=>'Dot Luv' ,p_return_value=>'dot-luv' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10217724085315076046) ,p_plugin_attribute_id=>wwv_flow_api.id(10217677592456068615) ,p_display_sequence=>70 ,p_display_value=>'Eggplant' ,p_return_value=>'eggplant' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10217739988778077001) ,p_plugin_attribute_id=>wwv_flow_api.id(10217677592456068615) ,p_display_sequence=>80 ,p_display_value=>'Excite Bike' ,p_return_value=>'excite-bike' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10217740492587078115) ,p_plugin_attribute_id=>wwv_flow_api.id(10217677592456068615) ,p_display_sequence=>90 ,p_display_value=>'Flick' ,p_return_value=>'flick' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10217740895704078984) ,p_plugin_attribute_id=>wwv_flow_api.id(10217677592456068615) ,p_display_sequence=>100 ,p_display_value=>'Hot Sneaks' ,p_return_value=>'hot-sneaks' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10217853295021154466) ,p_plugin_attribute_id=>wwv_flow_api.id(10217677592456068615) ,p_display_sequence=>110 ,p_display_value=>'Humanity' ,p_return_value=>'humanity' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10217853797791155322) ,p_plugin_attribute_id=>wwv_flow_api.id(10217677592456068615) ,p_display_sequence=>120 ,p_display_value=>'Le Frog' ,p_return_value=>'le-frog' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10217854300908156179) ,p_plugin_attribute_id=>wwv_flow_api.id(10217677592456068615) ,p_display_sequence=>130 ,p_display_value=>'Mint Choc' ,p_return_value=>'mint-choc' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10217854704025157095) ,p_plugin_attribute_id=>wwv_flow_api.id(10217677592456068615) ,p_display_sequence=>140 ,p_display_value=>'Overcast' ,p_return_value=>'overcast' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10217862207141157950) ,p_plugin_attribute_id=>wwv_flow_api.id(10217677592456068615) ,p_display_sequence=>150 ,p_display_value=>'Pepper Grinder' ,p_return_value=>'pepper-grinder' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10217863309565158724) ,p_plugin_attribute_id=>wwv_flow_api.id(10217677592456068615) ,p_display_sequence=>160 ,p_display_value=>'Smoothness' ,p_return_value=>'smoothness' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10217864214760160239) ,p_plugin_attribute_id=>wwv_flow_api.id(10217677592456068615) ,p_display_sequence=>170 ,p_display_value=>'South Street' ,p_return_value=>'south-street' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10217864617530160998) ,p_plugin_attribute_id=>wwv_flow_api.id(10217677592456068615) ,p_display_sequence=>180 ,p_display_value=>'Start' ,p_return_value=>'start' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10217865087879161863) ,p_plugin_attribute_id=>wwv_flow_api.id(10217677592456068615) ,p_display_sequence=>190 ,p_display_value=>'Sunny' ,p_return_value=>'sunny' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10217865590303162601) ,p_plugin_attribute_id=>wwv_flow_api.id(10217677592456068615) ,p_display_sequence=>200 ,p_display_value=>'Swanky Purse' ,p_return_value=>'swanky-purse' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10217865993766163577) ,p_plugin_attribute_id=>wwv_flow_api.id(10217677592456068615) ,p_display_sequence=>210 ,p_display_value=>'Trontastic' ,p_return_value=>'trontastic' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10217867901039165706) ,p_plugin_attribute_id=>wwv_flow_api.id(10217677592456068615) ,p_display_sequence=>220 ,p_display_value=>'UI Darkness' ,p_return_value=>'ui-darkness' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10217868504156166619) ,p_plugin_attribute_id=>wwv_flow_api.id(10217677592456068615) ,p_display_sequence=>230 ,p_display_value=>'UI Lightness' ,p_return_value=>'ui-lightness' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10217869608658167933) ,p_plugin_attribute_id=>wwv_flow_api.id(10217677592456068615) ,p_display_sequence=>240 ,p_display_value=>'Vader' ,p_return_value=>'vader' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(10169646107014581395) ,p_plugin_id=>wwv_flow_api.id(10027387098451642521) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>1 ,p_display_sequence=>10 ,p_prompt=>'Submit when Enter pressed' ,p_attribute_type=>'CHECKBOX' ,p_is_required=>false ,p_default_value=>'Y' ,p_is_translatable=>false ,p_help_text=>'Use this setting the control whether or not the page will be submitted if the user presses the Enter button when this field has focus.' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(10169576101689570422) ,p_plugin_id=>wwv_flow_api.id(10027387098451642521) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>2 ,p_display_sequence=>20 ,p_prompt=>'Warning Message Icon' ,p_attribute_type=>'SELECT LIST' ,p_is_required=>true ,p_default_value=>'ui-icon-alert' ,p_is_translatable=>false ,p_lov_type=>'STATIC' ,p_help_text=>'Use this setting to change the icon that is displayed to the left of the warning message text.' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10169594004113571105) ,p_plugin_attribute_id=>wwv_flow_api.id(10169576101689570422) ,p_display_sequence=>10 ,p_display_value=>'Alert' ,p_return_value=>'ui-icon-alert' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10169617506883571901) ,p_plugin_attribute_id=>wwv_flow_api.id(10169576101689570422) ,p_display_sequence=>20 ,p_display_value=>'Info' ,p_return_value=>'ui-icon-info' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10169619815194574335) ,p_plugin_attribute_id=>wwv_flow_api.id(10169576101689570422) ,p_display_sequence=>30 ,p_display_value=>'Notice' ,p_return_value=>'ui-icon-notice' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(10169572887490566302) ,p_plugin_id=>wwv_flow_api.id(10027387098451642521) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>3 ,p_display_sequence=>30 ,p_prompt=>'Warning Message Text' ,p_attribute_type=>'TEXT' ,p_is_required=>true ,p_default_value=>'Caps Lock is enabled.' ,p_display_length=>50 ,p_max_length=>100 ,p_is_translatable=>false ,p_help_text=>'Use this setting to change the text that is displayed to the user if the Caps Lock is on when keys are pressed in the password field.' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(10169665811778601713) ,p_plugin_id=>wwv_flow_api.id(10027387098451642521) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>4 ,p_display_sequence=>40 ,p_prompt=>'Warning Message Width' ,p_attribute_type=>'INTEGER' ,p_is_required=>true ,p_default_value=>'170' ,p_display_length=>2 ,p_max_length=>3 ,p_is_translatable=>false ,p_help_text=>'Use this setting to set the width of the warning message in pixels. ' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(10212660293532671623) ,p_plugin_id=>wwv_flow_api.id(10027387098451642521) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>5 ,p_display_sequence=>50 ,p_prompt=>'Warning Message Alignment' ,p_attribute_type=>'SELECT LIST' ,p_is_required=>true ,p_default_value=>'center bottom' ,p_is_translatable=>false ,p_lov_type=>'STATIC' ,p_help_text=>'Use this setting to specify which part the warning message should align with the password element.' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10212662603921674552) ,p_plugin_attribute_id=>wwv_flow_api.id(10212660293532671623) ,p_display_sequence=>10 ,p_display_value=>'Left Top' ,p_return_value=>'left top' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10212663107038675522) ,p_plugin_attribute_id=>wwv_flow_api.id(10212660293532671623) ,p_display_sequence=>20 ,p_display_value=>'Left Center' ,p_return_value=>'left center' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10212663710847676580) ,p_plugin_attribute_id=>wwv_flow_api.id(10212660293532671623) ,p_display_sequence=>30 ,p_display_value=>'Left Bottom' ,p_return_value=>'left bottom' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10212665315696678010) ,p_plugin_attribute_id=>wwv_flow_api.id(10212660293532671623) ,p_display_sequence=>40 ,p_display_value=>'Center Top' ,p_return_value=>'center top' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10212674788815679729) ,p_plugin_attribute_id=>wwv_flow_api.id(10212660293532671623) ,p_display_sequence=>50 ,p_display_value=>'Center Center' ,p_return_value=>'center center' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10212675792624680825) ,p_plugin_attribute_id=>wwv_flow_api.id(10212660293532671623) ,p_display_sequence=>60 ,p_display_value=>'Center Bottom' ,p_return_value=>'center bottom' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10212676396087681756) ,p_plugin_attribute_id=>wwv_flow_api.id(10212660293532671623) ,p_display_sequence=>70 ,p_display_value=>'Right Top' ,p_return_value=>'right top' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10212677300589683034) ,p_plugin_attribute_id=>wwv_flow_api.id(10212660293532671623) ,p_display_sequence=>80 ,p_display_value=>'Right Center' ,p_return_value=>'right center' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10212678103706683956) ,p_plugin_attribute_id=>wwv_flow_api.id(10212660293532671623) ,p_display_sequence=>90 ,p_display_value=>'Right Bottom' ,p_return_value=>'right bottom' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(10212757191810746732) ,p_plugin_id=>wwv_flow_api.id(10027387098451642521) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>6 ,p_display_sequence=>60 ,p_prompt=>'Password Element Alignment' ,p_attribute_type=>'SELECT LIST' ,p_is_required=>true ,p_default_value=>'center top' ,p_is_translatable=>false ,p_lov_type=>'STATIC' ,p_help_text=>'Use this setting to specify which part of the password element the warning message should align with.' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10212758395273747764) ,p_plugin_attribute_id=>wwv_flow_api.id(10212757191810746732) ,p_display_sequence=>10 ,p_display_value=>'Left Top' ,p_return_value=>'left top' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10212777600121749151) ,p_plugin_attribute_id=>wwv_flow_api.id(10212757191810746732) ,p_display_sequence=>20 ,p_display_value=>'Left Center' ,p_return_value=>'left center' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10212778703930750246) ,p_plugin_attribute_id=>wwv_flow_api.id(10212757191810746732) ,p_display_sequence=>30 ,p_display_value=>'Left Bottom' ,p_return_value=>'left bottom' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10212780707740751385) ,p_plugin_attribute_id=>wwv_flow_api.id(10212757191810746732) ,p_display_sequence=>40 ,p_display_value=>'Center Top' ,p_return_value=>'center top' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10212793911895752595) ,p_plugin_attribute_id=>wwv_flow_api.id(10212757191810746732) ,p_display_sequence=>50 ,p_display_value=>'Center Center' ,p_return_value=>'center center' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10212922215359753599) ,p_plugin_attribute_id=>wwv_flow_api.id(10212757191810746732) ,p_display_sequence=>60 ,p_display_value=>'Center Bottom' ,p_return_value=>'center bottom' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10213630787093754895) ,p_plugin_attribute_id=>wwv_flow_api.id(10212757191810746732) ,p_display_sequence=>70 ,p_display_value=>'Right Top' ,p_return_value=>'right top' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10213882889517755525) ,p_plugin_attribute_id=>wwv_flow_api.id(10212757191810746732) ,p_display_sequence=>80 ,p_display_value=>'Right Center' ,p_return_value=>'right center' ); wwv_flow_api.create_plugin_attr_value( p_id=>wwv_flow_api.id(10213883391941756233) ,p_plugin_attribute_id=>wwv_flow_api.id(10212757191810746732) ,p_display_sequence=>90 ,p_display_value=>'Right Bottom' ,p_return_value=>'right bottom' ); wwv_flow_api.create_plugin_attribute( p_id=>wwv_flow_api.id(10213897614713781714) ,p_plugin_id=>wwv_flow_api.id(10027387098451642521) ,p_attribute_scope=>'COMPONENT' ,p_attribute_sequence=>7 ,p_display_sequence=>70 ,p_prompt=>'Offset' ,p_attribute_type=>'TEXT' ,p_is_required=>true ,p_default_value=>'0' ,p_display_length=>5 ,p_max_length=>7 ,p_is_translatable=>false ,p_help_text=>'Use this setting to specify how many pixels the warning message should be offset from the element. Up to 2 numbers can be specified (separated by a blank space). These numbers represent the left and top offsets respectively. If only one number is spe' ||'cified then it will be used for both the top and left offsets.' ); end; / begin wwv_flow_api.g_varchar2_table := wwv_flow_api.empty_varchar2_table; wwv_flow_api.g_varchar2_table(1) := '2866756E6374696F6E2861297B612E776964676574282275692E736269705F70617373776F7264222C7B6F7074696F6E733A7B7761726E696E674D736749636F6E3A6E756C6C2C7761726E696E674D7367546578743A6E756C6C2C7761726E696E674D73'; wwv_flow_api.g_varchar2_table(2) := '6757696474683A6E756C6C2C7761726E696E674D7367416C69676E6D656E743A6E756C6C2C70617373776F7264416C69676E6D656E743A6E756C6C2C6F66667365743A6E756C6C7D2C5F696E69743A66756E6374696F6E28297B76617220623D74686973'; wwv_flow_api.g_varchar2_table(3) := '3B6128622E656C656D656E74292E6B657970726573732866756E6374696F6E2863297B76617220643D537472696E672E66726F6D43686172436F646528632E7768696368293B696628642E746F55707065724361736528293D3D3D642E746F4C6F776572'; wwv_flow_api.g_varchar2_table(4) := '436173652829297B72657475726E7D69662828632E73686966744B65792626642E746F4C6F7765724361736528293D3D3D64297C7C2821632E73686966744B65792626642E746F55707065724361736528293D3D3D6429297B622E5F73686F774D657373'; wwv_flow_api.g_varchar2_table(5) := '61676528297D656C73657B622E5F686964654D65737361676528297D7D292E626C75722866756E6374696F6E28297B622E5F686964654D65737361676528297D297D2C5F73686F774D6573736167653A66756E6374696F6E28297B76617220633D746869'; wwv_flow_api.g_varchar2_table(6) := '733B76617220623B76617220643D6128632E656C656D656E74292E617474722822696422292B225F534249505F434C5F5741524E494E47223B6966282161282223222B64292E6C656E677468297B623D273C64697620636C6173733D2275692D73746174'; wwv_flow_api.g_varchar2_table(7) := '652D686967686C696768742075692D636F726E65722D616C6C22207374796C653D2277696474683A20272B632E6F7074696F6E732E7761726E696E674D736757696474682B2770783B2070616464696E673A2030707420302E37656D3B222069643D2227'; wwv_flow_api.g_varchar2_table(8) := '2B642B27223E3C7461626C653E3C74723E3C74643E5C6E2020203C7370616E20636C6173733D2275692D69636F6E20272B632E6F7074696F6E732E7761726E696E674D736749636F6E2B2722207374796C653D22666C6F61743A206C6566743B206D6172'; wwv_flow_api.g_varchar2_table(9) := '67696E2D72696768743A302E33656D3B223E3C2F7370616E3E3C2F74643E3C74643E2020203C703E272B632E6F7074696F6E732E7761726E696E674D7367546578742B223C2F703E3C2F74643E3C2F74723E3C2F7461626C653E3C2F6469763E223B6128'; wwv_flow_api.g_varchar2_table(10) := '22626F647922292E617070656E642862293B61282223222B64292E706F736974696F6E287B6F663A6128632E656C656D656E74292C6D793A632E6F7074696F6E732E7761726E696E674D7367416C69676E6D656E742C61743A632E6F7074696F6E732E70'; wwv_flow_api.g_varchar2_table(11) := '617373776F7264416C69676E6D656E742C6F66667365743A632E6F7074696F6E732E6F66667365742C636F6C6C6973696F6E3A226E6F6E65227D297D7D2C5F686964654D6573736167653A66756E6374696F6E28297B76617220623D746869733B766172'; wwv_flow_api.g_varchar2_table(12) := '20633D6128622E656C656D656E74292E617474722822696422292B225F534249505F434C5F5741524E494E47223B61282223222B63292E72656D6F766528297D7D297D2928617065782E6A5175657279293B'; null; end; / begin wwv_flow_api.create_plugin_file( p_id=>wwv_flow_api.id(10719250409123167701) ,p_plugin_id=>wwv_flow_api.id(10027387098451642521) ,p_file_name=>'com_skillbuilders_sbip_password.min.js' ,p_mime_type=>'application/x-javascript' ,p_file_content=>wwv_flow_api.varchar2_to_blob(wwv_flow_api.g_varchar2_table) ); end; / prompt --application/user_interfaces begin wwv_flow_api.create_user_interface( p_id=>wwv_flow_api.id(3663430628528105) ,p_ui_type_name=>'DESKTOP' ,p_display_name=>'Desktop' ,p_display_seq=>10 ,p_use_auto_detect=>true ,p_is_default=>true ,p_theme_id=>313 ,p_home_url=>'f?p=&APP_ID.:1:&SESSION.' ,p_login_url=>'f?p=&APP_ID.:101' ,p_global_page_id=>0 ,p_nav_list_template_options=>'#DEFAULT#' ,p_include_legacy_javascript=>true ,p_include_jquery_migrate=>true ,p_nav_bar_type=>'NAVBAR' ,p_nav_bar_template_options=>'#DEFAULT#' ); end; / prompt --application/user_interfaces/combined_files begin null; end; / prompt --application/pages/page_00000 begin wwv_flow_api.create_page( p_id=>0 ,p_user_interface_id=>wwv_flow_api.id(3663430628528105) ,p_name=>'Page commune' ,p_page_mode=>'NORMAL' ,p_step_title=>'Page commune' ,p_step_sub_title=>'Sie' ,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS' ,p_first_item=>'NO_FIRST_ITEM' ,p_page_template_options=>'#DEFAULT#' ,p_required_role=>wwv_flow_api.id(1724855148880581895) ,p_dialog_chained=>'Y' ,p_overwrite_navigation_list=>'N' ,p_nav_list_template_options=>'#DEFAULT#' ,p_page_is_public_y_n=>'N' ,p_cache_mode=>'NOCACHE' ,p_last_upd_yyyymmddhh24miss=>'20151111113008' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(1528865339027982073) ,p_plug_name=>'Recherche' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_region_attributes=>'class="filtr_rechr_globl"' ,p_plug_template=>wwv_flow_api.id(524958247123896535) ,p_plug_display_sequence=>60 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'REGION_POSITION_02' ,p_plug_item_display_point=>'BELOW' ,p_plug_query_row_template=>1 ,p_plug_display_condition_type=>'PLSQL_EXPRESSION' ,p_plug_display_when_condition=>'afw_13_page_pkg.obten_page_sesn != afw_11_aplic_pkg.obten_page_conxn' ,p_attribute_01=>'N' ,p_attribute_02=>'HTML' ,p_attribute_03=>'N' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(1554584343973194949) ,p_plug_name=>'Fil d''ariane' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_escape_on_http_output=>'Y' ,p_plug_display_sequence=>30 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'REGION_POSITION_01' ,p_plug_item_display_point=>'BELOW' ,p_plug_source_type=>'PLUGIN_IO_AFW_21_REGN_FIL_ARIAN' ,p_plug_query_row_template=>1 ,p_attribute_01=>'ui-icon-arrowthick-1-e' ,p_attribute_04=>'AVANC' ,p_attribute_05=>'Y' ,p_attribute_06=>'N' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(1556119583145901512) ,p_plug_name=>'Items cachés' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_display_sequence=>10 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'BEFORE_FOOTER' ,p_plug_query_row_template=>1 ,p_plug_query_headings_type=>'QUERY_COLUMNS' ,p_plug_query_num_rows_type=>'NEXT_PREVIOUS_LINKS' ,p_plug_query_show_nulls_as=>' - ' ,p_pagination_display_position=>'BOTTOM_RIGHT' ,p_attribute_01=>'N' ,p_attribute_02=>'HTML' ,p_attribute_03=>'N' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(1556614347434946405) ,p_plug_name=>'Messages Informatifs' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_escape_on_http_output=>'Y' ,p_plug_display_sequence=>70 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'REGION_POSITION_07' ,p_plug_item_display_point=>'BELOW' ,p_plug_source_type=>'PLUGIN_IO_AFW_21_REGN_PILE_MESG' ,p_plug_query_row_template=>1 ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(1693210121400127711) ,p_plug_name=>'Menu principal' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_escape_on_http_output=>'Y' ,p_plug_display_sequence=>40 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'REGION_POSITION_02' ,p_plug_item_display_point=>'BELOW' ,p_plug_source_type=>'PLUGIN_IO_AFW_21_REGN_MENU' ,p_plug_query_row_template=>1 ,p_plug_query_headings_type=>'QUERY_COLUMNS' ,p_plug_query_num_rows_type=>'NEXT_PREVIOUS_LINKS' ,p_plug_query_show_nulls_as=>' - ' ,p_plug_display_condition_type=>'PLSQL_EXPRESSION' ,p_plug_display_when_condition=>'afw_04_contx_pkg.obten_seqnc_contx(''PRODT'') is not null' ,p_pagination_display_position=>'BOTTOM_RIGHT' ,p_attribute_01=>'MENU_PRINC_SAFP' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(1947952822983405129) ,p_plug_name=>'Menu accueil' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_escape_on_http_output=>'Y' ,p_plug_display_sequence=>50 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'REGION_POSITION_02' ,p_plug_item_display_point=>'BELOW' ,p_plug_source_type=>'PLUGIN_IO_AFW_21_REGN_MENU' ,p_plug_query_row_template=>1 ,p_plug_display_condition_type=>'PLSQL_EXPRESSION' ,p_plug_display_when_condition=>'afw_04_contx_pkg.obten_seqnc_contx(''PRODT'') is null' ,p_attribute_01=>'MENU_ACUEI' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(1526270456949481907) ,p_name=>'SADA' ,p_item_sequence=>90 ,p_item_plug_id=>wwv_flow_api.id(1556119583145901512) ,p_display_as=>'NATIVE_HIDDEN' ,p_cMaxlength=>4000 ,p_cAttributes=>'nowrap="nowrap"' ,p_begin_on_new_line=>'N' ,p_colspan=>1 ,p_rowspan=>1 ,p_item_template_options=>'#DEFAULT#' ,p_attribute_01=>'Y' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(1555815456232562815) ,p_name=>'SIDF' ,p_item_sequence=>10 ,p_item_plug_id=>wwv_flow_api.id(1556119583145901512) ,p_prompt=>'Test' ,p_display_as=>'NATIVE_HIDDEN' ,p_cAttributes=>'nowrap="nowrap"' ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'RIGHT' ,p_field_template=>wwv_flow_api.id(524973645529896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'NO' ,p_attribute_01=>'N' ,p_item_comment=>'Sie IDentifiant Fil (d''ariane)' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(1555815683706562817) ,p_name=>'SSPC' ,p_item_sequence=>30 ,p_item_plug_id=>wwv_flow_api.id(1556119583145901512) ,p_display_as=>'NATIVE_HIDDEN' ,p_cAttributes=>'nowrap' ,p_colspan=>1 ,p_rowspan=>1 ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'NO' ,p_attribute_01=>'N' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(1555815858696562817) ,p_name=>'SCPC' ,p_item_sequence=>20 ,p_item_plug_id=>wwv_flow_api.id(1556119583145901512) ,p_display_as=>'NATIVE_HIDDEN' ,p_cAttributes=>'nowrap="nowrap"' ,p_begin_on_new_line=>'N' ,p_colspan=>1 ,p_rowspan=>1 ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'NO' ,p_attribute_01=>'N' ,p_item_comment=>'Sie Contexte Page Cible' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(1556154677118182298) ,p_name=>'SAPC' ,p_item_sequence=>40 ,p_item_plug_id=>wwv_flow_api.id(1556119583145901512) ,p_display_as=>'NATIVE_HIDDEN' ,p_cAttributes=>'nowrap="nowrap"' ,p_begin_on_new_line=>'N' ,p_colspan=>1 ,p_rowspan=>1 ,p_item_template_options=>'#DEFAULT#' ,p_attribute_01=>'N' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(1577639161109238962) ,p_name=>'SNPI' ,p_item_sequence=>80 ,p_item_plug_id=>wwv_flow_api.id(1556119583145901512) ,p_prompt=>'SNPI' ,p_display_as=>'NATIVE_HIDDEN' ,p_cAttributes=>'nowrap="nowrap"' ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'RIGHT' ,p_field_template=>wwv_flow_api.id(524973645529896551) ,p_item_template_options=>'#DEFAULT#' ,p_attribute_01=>'Y' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(1600379477506406595) ,p_name=>'SCPI' ,p_item_sequence=>50 ,p_item_plug_id=>wwv_flow_api.id(1556119583145901512) ,p_display_as=>'NATIVE_HIDDEN' ,p_cAttributes=>'nowrap="nowrap"' ,p_begin_on_new_line=>'N' ,p_colspan=>1 ,p_rowspan=>1 ,p_item_template_options=>'#DEFAULT#' ,p_attribute_01=>'N' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(1600379682701408118) ,p_name=>'SSPI' ,p_item_sequence=>60 ,p_item_plug_id=>wwv_flow_api.id(1556119583145901512) ,p_display_as=>'NATIVE_HIDDEN' ,p_cAttributes=>'nowrap="nowrap"' ,p_begin_on_new_line=>'N' ,p_colspan=>1 ,p_rowspan=>1 ,p_item_template_options=>'#DEFAULT#' ,p_attribute_01=>'N' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(1600379887549409465) ,p_name=>'SAPI' ,p_item_sequence=>70 ,p_item_plug_id=>wwv_flow_api.id(1556119583145901512) ,p_display_as=>'NATIVE_HIDDEN' ,p_cAttributes=>'nowrap="nowrap"' ,p_begin_on_new_line=>'N' ,p_colspan=>1 ,p_rowspan=>1 ,p_item_template_options=>'#DEFAULT#' ,p_attribute_01=>'N' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(1672093221206470408) ,p_name=>'P0_RECHR_GLOBL' ,p_item_sequence=>100 ,p_item_plug_id=>wwv_flow_api.id(1528865339027982073) ,p_use_cache_before_default=>'NO' ,p_display_as=>'PLUGIN_IO_AFW_21_CHAMP_RECHR' ,p_cSize=>30 ,p_cMaxlength=>200 ,p_cHeight=>1 ,p_cAttributes=>'nowrap="nowrap"' ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'RIGHT' ,p_field_alignment=>'LEFT-CENTER' ,p_display_when_type=>'NEVER' ,p_field_template=>wwv_flow_api.id(524973520615896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'Recherche...' ,p_attribute_02=>'5' ); wwv_flow_api.create_page_da_event( p_id=>wwv_flow_api.id(1587385948826888601) ,p_name=>'AFW' ,p_event_sequence=>10 ,p_bind_type=>'bind' ,p_bind_event_type=>'ready' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(1587386221380888603) ,p_event_id=>wwv_flow_api.id(1587385948826888601) ,p_event_result=>'TRUE' ,p_action_sequence=>10 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_CONFR_SAUVG' ,p_attribute_01=>'Êtes-vous certain de vouloir quitter cette page sans sauvegarder les modifications apportées?' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(1587409428871892284) ,p_event_id=>wwv_flow_api.id(1587385948826888601) ,p_event_result=>'TRUE' ,p_action_sequence=>20 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_DEPSM_TABLR_FORM' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(1587417432334893318) ,p_event_id=>wwv_flow_api.id(1587385948826888601) ,p_event_result=>'TRUE' ,p_action_sequence=>30 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_NAVGT_TABLR_FORM' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(1587425435451894125) ,p_event_id=>wwv_flow_api.id(1587385948826888601) ,p_event_result=>'TRUE' ,p_action_sequence=>40 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_GESTN_TABLR_FORM' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(80175903169022559) ,p_event_id=>wwv_flow_api.id(1587385948826888601) ,p_event_result=>'TRUE' ,p_action_sequence=>60 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_MENU_REDRC' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(80176101444023407) ,p_event_id=>wwv_flow_api.id(1587385948826888601) ,p_event_result=>'TRUE' ,p_action_sequence=>70 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_AIDE_PAGE_ITEM' ,p_attribute_01=>'Y' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(80176332055024432) ,p_event_id=>wwv_flow_api.id(1587385948826888601) ,p_event_result=>'TRUE' ,p_action_sequence=>80 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_AIDE_PAGE' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(1360282581385632101) ,p_event_id=>wwv_flow_api.id(1587385948826888601) ,p_event_result=>'TRUE' ,p_action_sequence=>90 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_MODFR_MDP' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(81198617019244318) ,p_event_id=>wwv_flow_api.id(1587385948826888601) ,p_event_result=>'TRUE' ,p_action_sequence=>100 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_NAVGT_ENREG' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(22079615887561327) ,p_event_id=>wwv_flow_api.id(1587385948826888601) ,p_event_result=>'TRUE' ,p_action_sequence=>110 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_FAVR' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_da_event( p_id=>wwv_flow_api.id(1929853631242935364) ,p_name=>'AFW - Commentaires/Bogues (Afficher dialogue)' ,p_event_sequence=>20 ,p_triggering_element_type=>'JQUERY_SELECTOR' ,p_triggering_element=>'#boutn_comnt_bogue' ,p_bind_type=>'live' ,p_bind_event_type=>'click' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(1929853941883935366) ,p_event_id=>wwv_flow_api.id(1929853631242935364) ,p_event_result=>'TRUE' ,p_action_sequence=>10 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_AFICH_DIALG_IFRAM' ,p_attribute_01=>'Ajouter un commentaire et/ou bogue' ,p_attribute_03=>'640' ,p_attribute_04=>'480' ,p_attribute_05=>'dialg_comnt_bogue' ,p_attribute_07=>'PAGE' ,p_attribute_13=>'Y' ,p_attribute_14=>'afw_11_aplic_pkg.obten_numr_apex_aplic' ,p_attribute_15=>'102' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_da_event( p_id=>wwv_flow_api.id(1929854229296944244) ,p_name=>'AFW - Commentaires/Bogues (Fermer dialogue)' ,p_event_sequence=>30 ,p_triggering_element_type=>'JQUERY_SELECTOR' ,p_triggering_element=>'div.dialg_comnt_bogue div.afw_21_actio_dynmq_dialg' ,p_bind_type=>'live' ,p_bind_event_type=>'PLUGIN_IO_AFW_21_AFICH_DIALG_IFRAM|DYNAMIC ACTION|dialogbeforeclose' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(1929854522690944245) ,p_event_id=>wwv_flow_api.id(1929854229296944244) ,p_event_result=>'TRUE' ,p_action_sequence=>10 ,p_execute_on_page_init=>'N' ,p_action=>'NATIVE_EXECUTE_PLSQL_CODE' ,p_attribute_01=>'afw_21_plugn_dialg_ifram_pkg.defnr_contx_apres_fermt_dialg();' ,p_stop_execution_on_error=>'Y' ,p_wait_for_result=>'Y' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(1929854844879948773) ,p_event_id=>wwv_flow_api.id(1929854229296944244) ,p_event_result=>'TRUE' ,p_action_sequence=>20 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_REGN_AFICH_MESG_PR' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(1934495532760755786) ,p_event_id=>wwv_flow_api.id(1929854229296944244) ,p_event_result=>'TRUE' ,p_action_sequence=>30 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_REGN_AFICH_MESG_IN' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_da_event( p_id=>wwv_flow_api.id(1360282674899687008) ,p_name=>'AFW - Modifier mot de passe (Afficher dialogue)' ,p_event_sequence=>40 ,p_triggering_element_type=>'JAVASCRIPT_EXPRESSION' ,p_triggering_element=>'document' ,p_bind_type=>'bind' ,p_bind_event_type=>'PLUGIN_IO_AFW_21_MODFR_MDP|DYNAMIC ACTION|afw_21_actio_dynmq_modfr_mp_afich' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(1360282968301687010) ,p_event_id=>wwv_flow_api.id(1360282674899687008) ,p_event_result=>'TRUE' ,p_action_sequence=>10 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_AFICH_DIALG_IFRAM' ,p_attribute_01=>'Modifier votre mot de passe' ,p_attribute_03=>'640' ,p_attribute_04=>'480' ,p_attribute_05=>'dialg_modfr_mot_passe' ,p_attribute_07=>'PAGE' ,p_attribute_13=>'Y' ,p_attribute_14=>'afw_11_aplic_pkg.obten_numr_apex_aplic(afw_11_aplic_pkg.obten_aplic_authe)' ,p_attribute_15=>'106' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_da_event( p_id=>wwv_flow_api.id(1360283094984692718) ,p_name=>'AFW - Modifier mot de passe (Fermer dialogue)' ,p_event_sequence=>50 ,p_triggering_element_type=>'JQUERY_SELECTOR' ,p_triggering_element=>'div.dialg_modfr_mot_passe div.afw_21_actio_dynmq_dialg' ,p_bind_type=>'live' ,p_bind_event_type=>'PLUGIN_IO_AFW_21_AFICH_DIALG_IFRAM|DYNAMIC ACTION|dialogbeforeclose' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(1360283388561692720) ,p_event_id=>wwv_flow_api.id(1360283094984692718) ,p_event_result=>'TRUE' ,p_action_sequence=>10 ,p_execute_on_page_init=>'N' ,p_action=>'NATIVE_EXECUTE_PLSQL_CODE' ,p_attribute_01=>'afw_21_plugn_dialg_ifram_pkg.defnr_contx_apres_fermt_dialg();' ,p_stop_execution_on_error=>'Y' ,p_wait_for_result=>'Y' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(1360283587145692720) ,p_event_id=>wwv_flow_api.id(1360283094984692718) ,p_event_result=>'TRUE' ,p_action_sequence=>20 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_REGN_AFICH_MESG_PR' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(1360283789769692720) ,p_event_id=>wwv_flow_api.id(1360283094984692718) ,p_event_result=>'TRUE' ,p_action_sequence=>30 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_REGN_AFICH_MESG_IN' ,p_stop_execution_on_error=>'Y' ); end; / prompt --application/pages/page_00001 begin wwv_flow_api.create_page( p_id=>1 ,p_user_interface_id=>wwv_flow_api.id(3663430628528105) ,p_name=>'Accueil' ,p_page_mode=>'NORMAL' ,p_step_title=>'Accueil' ,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS' ,p_first_item=>'NO_FIRST_ITEM' ,p_page_template_options=>'#DEFAULT#' ,p_dialog_chained=>'Y' ,p_overwrite_navigation_list=>'N' ,p_nav_list_template_options=>'#DEFAULT#' ,p_page_is_public_y_n=>'N' ,p_cache_mode=>'NOCACHE' ,p_last_updated_by=>'CARLO' ,p_last_upd_yyyymmddhh24miss=>'20140227100729' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(81037128176834405) ,p_plug_name=>'Menu principal' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_display_sequence=>20 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_display_point=>'BODY_3' ,p_plug_source=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div class="row liste-horzt">', ' <div class="col-lg-3 col-md-3 col-sm-3 col-xs-6">', ' <a href="f?p=&APP_ID.:2:&SESSION.::&DEBUG.::SIDF:&SIDF.:">', ' <i class="icon-bar-chart icone-liste"></i>', ' <div class="texte-liste">Méthodologie</div>', ' </a>', ' </div>', ' <div class="col-lg-3 col-md-3 col-sm-3 col-xs-6">', ' <a href="f?p=&APP_ID.:3:&SESSION.::&DEBUG.::SIDF:&SIDF.:">', ' <i class="icon-sitemap icone-liste"></i>', ' <div class="texte-liste">Développement</div>', ' </a>', ' </div>', ' <div class="col-lg-3 col-md-3 col-sm-3 col-xs-6">', ' <a href="f?p=&APP_ID.:1051:&SESSION.::&DEBUG.::SIDF:&SIDF.:">', ' <i class="icon-check icone-liste"></i>', ' <div class="texte-liste">Tâches</div>', ' </a>', ' </div>', ' <div class="col-lg-3 col-md-3 col-sm-3 col-xs-6">', ' <a href="f?p=&APP_ID.:1055:&SESSION.::&DEBUG.::SIDF:&SIDF.:">', ' <i class="icon-file-text-alt icone-liste"></i>', ' <div class="texte-liste">Mes tâches</div>', ' </a>', ' </div>', '</div>')) ,p_plug_query_row_template=>1 ,p_plug_query_headings_type=>'QUERY_COLUMNS' ,p_plug_query_num_rows_type=>'NEXT_PREVIOUS_LINKS' ,p_plug_query_show_nulls_as=>' - ' ,p_pagination_display_position=>'BOTTOM_RIGHT' ,p_attribute_01=>'N' ,p_attribute_02=>'HTML' ,p_attribute_03=>'N' ); end; / prompt --application/pages/page_00002 begin wwv_flow_api.create_page( p_id=>2 ,p_user_interface_id=>wwv_flow_api.id(3663430628528105) ,p_name=>'Planification' ,p_page_mode=>'NORMAL' ,p_step_title=>'Planification' ,p_step_sub_title=>'Planification' ,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS' ,p_first_item=>'NO_FIRST_ITEM' ,p_page_template_options=>'#DEFAULT#' ,p_dialog_chained=>'Y' ,p_overwrite_navigation_list=>'N' ,p_nav_list_template_options=>'#DEFAULT#' ,p_page_is_public_y_n=>'N' ,p_cache_mode=>'NOCACHE' ,p_last_updated_by=>'CARLO' ,p_last_upd_yyyymmddhh24miss=>'20140227100834' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(81038518619333765) ,p_plug_name=>'Menu principal' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_display_sequence=>20 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_display_point=>'BODY_3' ,p_plug_source=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<div class="row liste-horzt">', ' <div class="col-lg-4 col-md-4 col-sm-4 col-xs-6">', ' <a href="f?p=&APP_ID.:1001:&SESSION.::&DEBUG.::SIDF:&SIDF.:">', ' <i class="icon-calendar icone-liste"></i>', ' <div class="texte-liste">Jalons</div>', ' </a>', ' </div>', ' <div class="col-lg-4 col-md-4 col-sm-4 col-xs-6">', ' <a href="f?p=&APP_ID.:1011:&SESSION.::&DEBUG.::SIDF:&SIDF.:">', ' <i class="icon-group icone-liste"></i>', ' <div class="texte-liste">Équipes</div>', ' </a>', ' </div>', ' <div class="col-lg-4 col-md-4 col-sm-4 col-xs-6">', ' <a href="f?p=&APP_ID.:1041:&SESSION.::&DEBUG.::SIDF:&SIDF.:">', ' <i class="icon-tags icone-liste"></i>', ' <div class="texte-liste">Rôles</div>', ' </a>', ' </div>', '</div>')) ,p_plug_query_row_template=>1 ,p_plug_query_headings_type=>'QUERY_COLUMNS' ,p_plug_query_num_rows_type=>'NEXT_PREVIOUS_LINKS' ,p_plug_query_show_nulls_as=>' - ' ,p_pagination_display_position=>'BOTTOM_RIGHT' ,p_attribute_01=>'N' ,p_attribute_02=>'HTML' ,p_attribute_03=>'N' ); end; / prompt --application/pages/page_00101 begin wwv_flow_api.create_page( p_id=>101 ,p_user_interface_id=>wwv_flow_api.id(3663430628528105) ,p_name=>'Page de connexion' ,p_page_mode=>'NORMAL' ,p_step_title=>'Page de connexion' ,p_step_sub_title=>'Page de connexion' ,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS' ,p_first_item=>'NO_FIRST_ITEM' ,p_autocomplete_on_off=>'OFF' ,p_step_template=>wwv_flow_api.id(524953424161896528) ,p_page_template_options=>'#DEFAULT#' ,p_dialog_chained=>'Y' ,p_overwrite_navigation_list=>'N' ,p_nav_list_template_options=>'#DEFAULT#' ,p_page_is_public_y_n=>'Y' ,p_cache_mode=>'NOCACHE' ,p_cache_timeout_seconds=>21600 ,p_last_updated_by=>'ADMIN' ,p_last_upd_yyyymmddhh24miss=>'20160429110235' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(1526569035416039057) ,p_plug_name=>'Page de connexion' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_display_sequence=>10 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'BODY_3' ,p_plug_query_row_template=>1 ,p_attribute_01=>'N' ,p_attribute_02=>'HTML' ,p_attribute_03=>'N' ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(1526569634664039060) ,p_button_sequence=>40 ,p_button_plug_id=>wwv_flow_api.id(1526569035416039057) ,p_button_name=>'P101_LOGIN' ,p_button_static_id=>'P101_LOGIN' ,p_button_action=>'SUBMIT' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976635139896554) ,p_button_image_alt=>'Connexion' ,p_button_position=>'BODY' ,p_button_alignment=>'LEFT' ,p_request_source=>'LOGIN' ,p_request_source_type=>'STATIC' ,p_grid_new_grid=>false ,p_grid_new_row=>'N' ,p_grid_new_column=>'Y' ,p_grid_column_span=>1 ,p_grid_row_span=>1 ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(1526569236949039059) ,p_name=>'P101_CODE_UTILS' ,p_item_sequence=>20 ,p_item_plug_id=>wwv_flow_api.id(1526569035416039057) ,p_prompt=>'Code d''utilisateur' ,p_display_as=>'NATIVE_TEXT_FIELD' ,p_cSize=>40 ,p_cMaxlength=>100 ,p_cHeight=>1 ,p_colspan=>2 ,p_rowspan=>1 ,p_label_alignment=>'RIGHT' ,p_field_template=>wwv_flow_api.id(524973827299896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'N' ,p_attribute_02=>'N' ,p_attribute_04=>'TEXT' ,p_attribute_05=>'NONE' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(1526569445333039060) ,p_name=>'P101_MOT_PASSE' ,p_item_sequence=>30 ,p_item_plug_id=>wwv_flow_api.id(1526569035416039057) ,p_prompt=>'Mot de passe' ,p_display_as=>'NATIVE_PASSWORD' ,p_cSize=>40 ,p_cMaxlength=>100 ,p_cHeight=>1 ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'RIGHT' ,p_field_template=>wwv_flow_api.id(524973827299896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_encrypt_session_state_yn=>'Y' ,p_attribute_01=>'Y' ,p_attribute_02=>'Y' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(1526569837217039060) ,p_name=>'P101_DOMN' ,p_item_sequence=>10 ,p_item_plug_id=>wwv_flow_api.id(1526569035416039057) ,p_prompt=>'Domaine' ,p_display_as=>'NATIVE_TEXT_FIELD' ,p_cSize=>40 ,p_cMaxlength=>100 ,p_cHeight=>1 ,p_cAttributes=>'nowrap="nowrap"' ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'RIGHT' ,p_field_alignment=>'LEFT-CENTER' ,p_read_only_when=>'P101_force_domn' ,p_read_only_when_type=>'ITEM_IS_NOT_NULL' ,p_field_template=>wwv_flow_api.id(524973827299896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'N' ,p_attribute_02=>'N' ,p_attribute_04=>'TEXT' ,p_attribute_05=>'NONE' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(1526570037181039061) ,p_name=>'P101_LANG' ,p_item_sequence=>50 ,p_item_plug_id=>wwv_flow_api.id(1526569035416039057) ,p_item_default=>'FR' ,p_pre_element_text=>'<br /><br />' ,p_source=>'FR' ,p_source_type=>'STATIC' ,p_display_as=>'NATIVE_SELECT_LIST' ,p_lov=>'STATIC2:Français;FR,English;EN' ,p_cSize=>30 ,p_cMaxlength=>4000 ,p_cHeight=>1 ,p_cAttributes=>'nowrap="nowrap"' ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'RIGHT' ,p_field_alignment=>'LEFT-CENTER' ,p_field_template=>wwv_flow_api.id(524973520615896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'NONE' ,p_attribute_02=>'N' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(1526570230662039061) ,p_name=>'P101_FORCE_DOMN' ,p_item_sequence=>60 ,p_item_plug_id=>wwv_flow_api.id(1556119583145901512) ,p_display_as=>'NATIVE_HIDDEN' ,p_cMaxlength=>4000 ,p_cAttributes=>'nowrap="nowrap"' ,p_begin_on_new_line=>'N' ,p_colspan=>1 ,p_rowspan=>1 ,p_item_template_options=>'#DEFAULT#' ,p_attribute_01=>'Y' ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(1526570647328039063) ,p_process_sequence=>10 ,p_process_point=>'AFTER_SUBMIT' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'Définir les témoins (cookies)' ,p_process_sql_clob=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'begin', 'owa_util.mime_header(''text/html'', FALSE);', 'owa_cookie.send(', ' name=>afw_11_aplic_pkg.obten_numr_apex_aplic||''_C_CODE_UTILS_CONXN'',', ' value=>lower(:P101_CODE_UTILS));', 'exception when others then null;', 'end;', '', 'begin', 'owa_util.mime_header(''text/html'', FALSE);', 'owa_cookie.send(', ' name=>afw_11_aplic_pkg.obten_numr_apex_aplic||''_C_DOMN'',', ' value=>lower(:P101_DOMN));', 'exception when others then null;', 'end;')) ,p_error_display_location=>'INLINE_IN_NOTIFICATION' ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(1526570431387039062) ,p_process_sequence=>30 ,p_process_point=>'AFTER_SUBMIT' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'AFW - Connexion' ,p_process_sql_clob=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'begin', ' afw_12_authe_apex_pkg.exect_procd_persn();', '', ' afw_12_authe_apex_pkg.authe_redrg (', ' pva_code_utils => :p101_code_utils,', ' pva_mot_passe => :p101_mot_passe,', ' pva_domn => :p101_domn,', ' pnu_numr_apex_aplic => afw_07_sesn_pkg.obten_valr_sesn (', ' ''S_AUTHE_CIBLE_NUMR_APEX_APLIC''),', ' pnu_numr_apex_page => afw_07_sesn_pkg.obten_valr_sesn (', ' ''S_AUTHE_CIBLE_NUMR_APEX_PAGE''),', ' pbo_indic_forcr_sspc => true,', ' pbo_indic_forcr_sidf => true,', ' pva_scpc => afw_07_sesn_pkg.obten_valr_sesn (', ' ''S_AUTHE_CIBLE_SCPC''),', ' pnu_sspc => afw_07_sesn_pkg.obten_valr_sesn (', ' ''S_AUTHE_CIBLE_SSPC''),', ' pva_sapc => afw_07_sesn_pkg.obten_valr_sesn (', ' ''S_AUTHE_CIBLE_SAPC''),', ' pva_scpi => afw_07_sesn_pkg.obten_valr_sesn (', ' ''S_AUTHE_CIBLE_SCPI''),', ' pnu_sspi => afw_07_sesn_pkg.obten_valr_sesn (', ' ''S_AUTHE_CIBLE_SSPI''),', ' pva_sapi => afw_07_sesn_pkg.obten_valr_sesn (', ' ''S_AUTHE_CIBLE_SAPI''),', ' pnu_snpi => afw_07_sesn_pkg.obten_valr_sesn (', ' ''S_AUTHE_CIBLE_SNPI''),', ' pnu_sidf => afw_07_sesn_pkg.obten_valr_sesn (', ' ''S_AUTHE_CIBLE_SIDF''));', 'end;')) ,p_error_display_location=>'INLINE_IN_NOTIFICATION' ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(1526571039661039063) ,p_process_sequence=>40 ,p_process_point=>'AFTER_SUBMIT' ,p_process_type=>'NATIVE_SESSION_STATE' ,p_process_name=>'Effacer la cache de la page de connexion' ,p_attribute_01=>'CLEAR_CACHE_CURRENT_PAGE' ,p_error_display_location=>'INLINE_IN_NOTIFICATION' ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(1526571221642039063) ,p_process_sequence=>60 ,p_process_point=>'BEFORE_HEADER' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'Redirection vers le produit d''authentification' ,p_process_sql_clob=>'afw_12_authe_apex_pkg.redrg_prodt_authe;' ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(1526570851186039063) ,p_process_sequence=>70 ,p_process_point=>'BEFORE_HEADER' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'Obtenir témoin (cookie) du domaine' ,p_process_sql_clob=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'declare', ' v varchar2(255) := null;', ' c owa_cookie.cookie;', 'begin', ' c := owa_cookie.get(afw_11_aplic_pkg.obten_numr_apex_aplic||''_C_DOMN'');', ' :P101_DOMN := c.vals(1);', 'exception when others then null;', 'end;')) ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(1549848441818770016) ,p_process_sequence=>80 ,p_process_point=>'BEFORE_HEADER' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'Obtenir témoin (cookie) du code utilisateur' ,p_process_sql_clob=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'declare', ' v varchar2(255) := null;', ' c owa_cookie.cookie;', 'begin', ' c := owa_cookie.get(afw_11_aplic_pkg.obten_numr_apex_aplic||''_C_CODE_UTILS_CONXN'');', ' :P101_CODE_UTILS := c.vals(1);', 'exception when others then null;', 'end;')) ); end; / prompt --application/pages/page_00102 begin wwv_flow_api.create_page( p_id=>102 ,p_user_interface_id=>wwv_flow_api.id(3663430628528105) ,p_name=>'Commentaire' ,p_alias=>'FEEDBACK_102' ,p_page_mode=>'NORMAL' ,p_step_title=>'Commentaire' ,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS' ,p_first_item=>'AUTO_FIRST_ITEM' ,p_autocomplete_on_off=>'OFF' ,p_step_template=>wwv_flow_api.id(524954649145896531) ,p_page_template_options=>'#DEFAULT#' ,p_dialog_chained=>'Y' ,p_overwrite_navigation_list=>'N' ,p_nav_list_template_options=>'#DEFAULT#' ,p_page_is_public_y_n=>'Y' ,p_cache_mode=>'NOCACHE' ,p_cache_timeout_seconds=>21600 ,p_page_comment=>'This page was generated by the feedback wizard' ,p_last_upd_yyyymmddhh24miss=>'20160513151934' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(1929810327091374428) ,p_plug_name=>'Commentaire' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524961829157896538) ,p_plug_display_sequence=>60 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'BODY_3' ,p_plug_query_row_template=>1 ,p_attribute_01=>'N' ,p_attribute_02=>'HTML' ,p_attribute_03=>'N' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(1929851225561848635) ,p_plug_name=>'Barre de bouton (nav bar)' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524958835947896536) ,p_plug_display_sequence=>20 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'REGION_POSITION_05' ,p_plug_query_row_template=>1 ,p_plug_query_headings_type=>'QUERY_COLUMNS' ,p_plug_query_num_rows=>15 ,p_plug_query_num_rows_type=>'NEXT_PREVIOUS_LINKS' ,p_plug_query_show_nulls_as=>' - ' ,p_pagination_display_position=>'BOTTOM_RIGHT' ,p_attribute_01=>'N' ,p_attribute_02=>'HTML' ,p_attribute_03=>'N' ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(1929813149377374433) ,p_button_sequence=>10 ,p_button_plug_id=>wwv_flow_api.id(1929851225561848635) ,p_button_name=>'SUBMIT' ,p_button_action=>'SUBMIT' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_is_hot=>'Y' ,p_button_image_alt=>'Appliquer' ,p_button_position=>'REGION_TEMPLATE_CREATE' ,p_button_css_classes=>'btn-success' ,p_button_cattributes=>'fa-save' ,p_grid_new_grid=>false ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(1929810544890374428) ,p_name=>'P102_APPLICATION_ID' ,p_item_sequence=>1 ,p_item_plug_id=>wwv_flow_api.id(1929810327091374428) ,p_use_cache_before_default=>'NO' ,p_prompt=>'Application:' ,p_source=>'APP_ID' ,p_source_type=>'ITEM' ,p_display_as=>'NATIVE_DISPLAY_ONLY' ,p_lov=>'select application_id||''. ''||application_name d, application_id v from apex_applications where application_id = :P102_APPLICATION_ID' ,p_cSize=>60 ,p_cMaxlength=>2000 ,p_cHeight=>1 ,p_tag_attributes=>'class="fielddatabold"' ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'RIGHT' ,p_field_template=>wwv_flow_api.id(524973645529896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_help_text=>'Identifies Application.' ,p_attribute_01=>'Y' ,p_attribute_02=>'LOV' ,p_attribute_04=>'Y' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(1929811048714374431) ,p_name=>'P102_PAGE_ID' ,p_item_sequence=>2 ,p_item_plug_id=>wwv_flow_api.id(1929810327091374428) ,p_use_cache_before_default=>'NO' ,p_prompt=>'Page:' ,p_source=>'A_AFW_04_SOURC_NUMR_PAGE' ,p_source_type=>'ITEM' ,p_display_as=>'NATIVE_DISPLAY_ONLY' ,p_lov=>'select page_id||''. ''||page_name d, page_id v from apex_application_pages where page_id = :P102_PAGE_ID and application_id = :P102_APPLICATION_ID' ,p_cSize=>60 ,p_cMaxlength=>2000 ,p_cHeight=>1 ,p_tag_attributes=>'class="fielddatabold"' ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'RIGHT' ,p_field_template=>wwv_flow_api.id(524973645529896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_help_text=>'Identifies page within application.' ,p_attribute_01=>'Y' ,p_attribute_02=>'LOV' ,p_attribute_04=>'Y' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(1929811528641374431) ,p_name=>'P102_A' ,p_item_sequence=>3 ,p_item_plug_id=>wwv_flow_api.id(1929810327091374428) ,p_display_as=>'NATIVE_STOP_AND_START_HTML_TABLE' ,p_cAttributes=>'nowrap="nowrap"' ,p_colspan=>1 ,p_rowspan=>1 ,p_item_template_options=>'#DEFAULT#' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(1929811745567374432) ,p_name=>'P102_FEEDBACK' ,p_is_required=>true ,p_item_sequence=>10 ,p_item_plug_id=>wwv_flow_api.id(1929810327091374428) ,p_prompt=>'Commentaire' ,p_display_as=>'NATIVE_TEXTAREA' ,p_cSize=>90 ,p_cMaxlength=>4000 ,p_cHeight=>6 ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_field_template=>wwv_flow_api.id(524973827299896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_help_text=>'Enter your feedback and press the submit feedback button.' ,p_attribute_01=>'Y' ,p_attribute_02=>'Y' ,p_attribute_03=>'Y' ,p_attribute_04=>'NONE' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(1929812243662374433) ,p_name=>'P102_X' ,p_item_sequence=>20 ,p_item_plug_id=>wwv_flow_api.id(1929810327091374428) ,p_display_as=>'NATIVE_STOP_AND_START_HTML_TABLE' ,p_cAttributes=>'nowrap="nowrap"' ,p_colspan=>1 ,p_rowspan=>1 ,p_item_template_options=>'#DEFAULT#' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(1929812451604374433) ,p_name=>'P102_FEEDBACK_TYPE' ,p_item_sequence=>30 ,p_item_plug_id=>wwv_flow_api.id(1929810327091374428) ,p_prompt=>'Type de commentaire' ,p_source=>'1' ,p_source_type=>'STATIC' ,p_display_as=>'NATIVE_SELECT_LIST' ,p_lov=>'select the_name, id from APEX_FEEDBACK_TYPES order by id' ,p_cSize=>20 ,p_cMaxlength=>100 ,p_cHeight=>1 ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_field_template=>wwv_flow_api.id(524973645529896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_help_text=>'Veuillez identifier le type de commentaire.' ,p_attribute_01=>'NONE' ,p_attribute_02=>'N' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(1929812951375374433) ,p_name=>'P102_Y' ,p_item_sequence=>40 ,p_item_plug_id=>wwv_flow_api.id(1929810327091374428) ,p_display_as=>'NATIVE_STOP_AND_START_HTML_TABLE' ,p_cAttributes=>'nowrap="nowrap"' ,p_colspan=>1 ,p_rowspan=>1 ,p_item_template_options=>'#DEFAULT#' ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(1929813549374374434) ,p_process_sequence=>10 ,p_process_point=>'AFTER_SUBMIT' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'Submit Feedback' ,p_process_sql_clob=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'apex_util.submit_feedback (', ' p_comment => :P102_FEEDBACK,', ' p_type => :P102_FEEDBACK_TYPE,', ' p_application_id => :P102_APPLICATION_ID,', ' p_page_id => :P102_PAGE_ID,', ' p_email => afw_12_utils_pkg.obten_courl_utils(afw_12_utils_pkg.obten_usagr_conct));')) ,p_error_display_location=>'INLINE_IN_NOTIFICATION' ,p_process_when_button_id=>wwv_flow_api.id(1929813149377374433) ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(1929855324494971270) ,p_process_sequence=>20 ,p_process_point=>'AFTER_SUBMIT' ,p_process_type=>'PLUGIN_IO_AFW_21_FERMR_DIALG_IFRAM' ,p_process_name=>'Fermer le dialogue' ,p_error_display_location=>'INLINE_IN_NOTIFICATION' ); end; / prompt --application/pages/page_01001 begin wwv_flow_api.create_page( p_id=>1001 ,p_user_interface_id=>wwv_flow_api.id(3663430628528105) ,p_name=>'Liste des produits' ,p_page_mode=>'NORMAL' ,p_step_title=>'Liste des produits' ,p_step_sub_title=>'Liste des produits' ,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS' ,p_first_item=>'NO_FIRST_ITEM' ,p_page_template_options=>'#DEFAULT#' ,p_required_role=>wwv_flow_api.id(1724855148880581895) ,p_dialog_chained=>'Y' ,p_overwrite_navigation_list=>'N' ,p_nav_list_template_options=>'#DEFAULT#' ,p_page_is_public_y_n=>'N' ,p_cache_mode=>'NOCACHE' ,p_help_text=>'No help is available for this page.' ,p_last_upd_yyyymmddhh24miss=>'20131031160452' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(456630133370618334) ,p_plug_name=>'Liste des produits' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524964537325896540) ,p_plug_display_sequence=>20 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'BODY_3' ,p_plug_source=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select "SEQNC", ', '"CODE",', '"NOM"/*,', '"DESCR"*/', 'from VD_AFW_11_PRODT')) ,p_plug_source_type=>'NATIVE_IR' ,p_plug_query_row_template=>1 ); wwv_flow_api.create_worksheet( p_id=>wwv_flow_api.id(456630342546618334) ,p_name=>'Liste des systèmes' ,p_max_row_count=>'10000' ,p_max_row_count_message=>'&A_AFW_13_MESG_TROP_DON_TROUV.' ,p_no_data_found_message=>'&A_AFW_13_MESG_AUCUN_DON_TROUV.' ,p_allow_report_categories=>'N' ,p_show_nulls_as=>'-' ,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' ,p_pagination_display_pos=>'BOTTOM_RIGHT' ,p_show_display_row_count=>'Y' ,p_report_list_mode=>'TABS' ,p_fixed_header=>'NONE' ,p_show_detail_link=>'C' ,p_show_rows_per_page=>'N' ,p_show_pivot=>'N' ,p_show_calendar=>'N' ,p_download_formats=>'CSV' ,p_detail_link=>'f?p=&APP_ID.:1021:&SESSION.::&DEBUG.:RP:SIDF,SCPI,SSPI:&SIDF.,PRODT,#SEQNC#' ,p_detail_link_text=>'&A_AFW_13_LIEN_EDITN_RAPRT.' ,p_allow_exclude_null_values=>'N' ,p_allow_hide_extra_columns=>'N' ,p_icon_view_columns_per_row=>1 ,p_owner=>'GINFR' ,p_internal_uid=>1 ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456630419351618337) ,p_db_column_name=>'SEQNC' ,p_display_order=>1 ,p_column_identifier=>'A' ,p_column_label=>'Seqnc' ,p_allow_pivot=>'N' ,p_column_type=>'NUMBER' ,p_display_text_as=>'HIDDEN' ,p_tz_dependent=>'N' ,p_static_id=>'SEQNC' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456630545061618338) ,p_db_column_name=>'CODE' ,p_display_order=>2 ,p_column_identifier=>'B' ,p_column_label=>'Code' ,p_allow_pivot=>'N' ,p_column_type=>'STRING' ,p_display_text_as=>'WITHOUT_MODIFICATION' ,p_tz_dependent=>'N' ,p_static_id=>'CODE' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456630628450618340) ,p_db_column_name=>'NOM' ,p_display_order=>3 ,p_column_identifier=>'C' ,p_column_label=>'Nom' ,p_allow_pivot=>'N' ,p_column_type=>'STRING' ,p_display_text_as=>'WITHOUT_MODIFICATION' ,p_tz_dependent=>'N' ,p_static_id=>'NOM' ); wwv_flow_api.create_worksheet_rpt( p_id=>wwv_flow_api.id(456630742546618343) ,p_application_user=>'APXWS_DEFAULT' ,p_report_seq=>10 ,p_report_alias=>'4530479' ,p_status=>'PUBLIC' ,p_is_default=>'Y' ,p_display_rows=>15 ,p_report_columns=>'SEQNC:CODE:NOM:DESCR' ,p_sort_column_1=>'NOM' ,p_sort_direction_1=>'ASC' ,p_flashback_enabled=>'N' ); end; / prompt --application/pages/page_01011 begin wwv_flow_api.create_page( p_id=>1011 ,p_user_interface_id=>wwv_flow_api.id(3663430628528105) ,p_name=>'Équipes' ,p_page_mode=>'NORMAL' ,p_step_title=>'Équipes' ,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS' ,p_first_item=>'AUTO_FIRST_ITEM' ,p_page_template_options=>'#DEFAULT#' ,p_required_role=>wwv_flow_api.id(1724855148880581895) ,p_dialog_chained=>'Y' ,p_overwrite_navigation_list=>'N' ,p_nav_list_template_options=>'#DEFAULT#' ,p_page_is_public_y_n=>'N' ,p_cache_mode=>'NOCACHE' ,p_cache_timeout_seconds=>21600 ,p_help_text=>'No help is available for this page.' ,p_last_upd_yyyymmddhh24miss=>'20160513151731' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(456612820113082189) ,p_plug_name=>'Équipes' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524964537325896540) ,p_plug_display_sequence=>10 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'BODY_3' ,p_plug_source=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select "SEQNC", ', '"CODE",', '"NOM",', '"DESCR"', 'from "VD_AFW_32_EQUIP" ', ' ', '')) ,p_plug_source_type=>'NATIVE_IR' ,p_plug_query_row_template=>1 ,p_prn_output_show_link=>'Y' ,p_prn_content_disposition=>'ATTACHMENT' ,p_prn_document_header=>'APEX' ,p_prn_units=>'INCHES' ,p_prn_paper_size=>'LETTER' ,p_prn_width=>11 ,p_prn_height=>8.5 ,p_prn_orientation=>'HORIZONTAL' ,p_prn_page_header_font_color=>'#000000' ,p_prn_page_header_font_family=>'Helvetica' ,p_prn_page_header_font_weight=>'normal' ,p_prn_page_header_font_size=>'12' ,p_prn_page_footer_font_color=>'#000000' ,p_prn_page_footer_font_family=>'Helvetica' ,p_prn_page_footer_font_weight=>'normal' ,p_prn_page_footer_font_size=>'12' ,p_prn_header_bg_color=>'#9bafde' ,p_prn_header_font_color=>'#ffffff' ,p_prn_header_font_family=>'Helvetica' ,p_prn_header_font_weight=>'normal' ,p_prn_header_font_size=>'10' ,p_prn_body_bg_color=>'#efefef' ,p_prn_body_font_color=>'#000000' ,p_prn_body_font_family=>'Helvetica' ,p_prn_body_font_weight=>'normal' ,p_prn_body_font_size=>'10' ,p_prn_border_width=>.5 ,p_prn_page_header_alignment=>'CENTER' ,p_prn_page_footer_alignment=>'CENTER' ); wwv_flow_api.create_worksheet( p_id=>wwv_flow_api.id(456613048167082189) ,p_name=>'Équipes' ,p_max_row_count=>'100000' ,p_max_row_count_message=>'&A_AFW_13_MESG_TROP_DON_TROUV.' ,p_no_data_found_message=>'&A_AFW_13_MESG_AUCUN_DON_TROUV.' ,p_allow_report_categories=>'N' ,p_show_nulls_as=>'-' ,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' ,p_pagination_display_pos=>'BOTTOM_RIGHT' ,p_report_list_mode=>'TABS' ,p_fixed_header=>'NONE' ,p_show_detail_link=>'C' ,p_show_pivot=>'N' ,p_show_calendar=>'N' ,p_download_formats=>'CSV:HTML:EMAIL' ,p_detail_link=>'f?p=&APP_ID.:1012:&SESSION.::&DEBUG.:RP:SIDF,SSPC:&SIDF.,#SEQNC#' ,p_detail_link_text=>' &A_AFW_13_LIEN_EDITN_RAPRT.' ,p_allow_exclude_null_values=>'N' ,p_allow_hide_extra_columns=>'N' ,p_icon_view_columns_per_row=>1 ,p_owner=>'FOUER' ,p_internal_uid=>1 ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456613147364082191) ,p_db_column_name=>'SEQNC' ,p_display_order=>1 ,p_column_identifier=>'A' ,p_column_label=>'Seqnc' ,p_allow_pivot=>'N' ,p_column_type=>'NUMBER' ,p_display_text_as=>'HIDDEN' ,p_heading_alignment=>'RIGHT' ,p_column_alignment=>'RIGHT' ,p_tz_dependent=>'N' ,p_static_id=>'SEQNC' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456613241608082192) ,p_db_column_name=>'CODE' ,p_display_order=>2 ,p_column_identifier=>'B' ,p_column_label=>'Code' ,p_allow_sorting=>'N' ,p_allow_pivot=>'N' ,p_column_type=>'STRING' ,p_heading_alignment=>'LEFT' ,p_tz_dependent=>'N' ,p_static_id=>'CODE' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456613331618082192) ,p_db_column_name=>'NOM' ,p_display_order=>3 ,p_column_identifier=>'C' ,p_column_label=>'Nom' ,p_allow_pivot=>'N' ,p_column_type=>'STRING' ,p_heading_alignment=>'LEFT' ,p_tz_dependent=>'N' ,p_static_id=>'NOM' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456613441886082192) ,p_db_column_name=>'DESCR' ,p_display_order=>4 ,p_column_identifier=>'D' ,p_column_label=>'Description' ,p_allow_pivot=>'N' ,p_column_type=>'STRING' ,p_display_text_as=>'HIDDEN' ,p_heading_alignment=>'LEFT' ,p_tz_dependent=>'N' ,p_static_id=>'DESCR' ); wwv_flow_api.create_worksheet_rpt( p_id=>wwv_flow_api.id(456615324093245453) ,p_application_user=>'APXWS_DEFAULT' ,p_report_seq=>10 ,p_report_alias=>'4530325' ,p_status=>'PUBLIC' ,p_is_default=>'Y' ,p_display_rows=>15 ,p_report_columns=>'SEQNC:CODE:NOM:DESCR' ,p_sort_column_1=>'NOM' ,p_sort_direction_1=>'ASC' ,p_sort_column_2=>'0' ,p_sort_direction_2=>'ASC' ,p_flashback_enabled=>'N' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(456641137383975596) ,p_plug_name=>'Barre de bouton (nav bar)' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524958835947896536) ,p_plug_display_sequence=>20 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'REGION_POSITION_05' ,p_plug_item_display_point=>'BELOW' ,p_plug_query_row_template=>1 ,p_plug_query_headings_type=>'QUERY_COLUMNS' ,p_plug_query_num_rows_type=>'NEXT_PREVIOUS_LINKS' ,p_plug_query_show_nulls_as=>' - ' ,p_pagination_display_position=>'BOTTOM_RIGHT' ,p_attribute_01=>'N' ,p_attribute_02=>'HTML' ,p_attribute_03=>'N' ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(456613718626082193) ,p_button_sequence=>10 ,p_button_plug_id=>wwv_flow_api.id(456641137383975596) ,p_button_name=>'CREATE' ,p_button_action=>'REDIRECT_PAGE' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_is_hot=>'Y' ,p_button_image_alt=>'Créer' ,p_button_position=>'REGION_TEMPLATE_CREATE' ,p_button_redirect_url=>'f?p=&APP_ID.:1012:&SESSION.::&DEBUG.::SSPC,SIDF:,&SIDF.' ,p_button_css_classes=>'btn-success' ,p_button_cattributes=>'fa-plus' ,p_grid_new_grid=>false ,p_security_scheme=>wwv_flow_api.id(1721922232923650037) ); end; / prompt --application/pages/page_01012 begin wwv_flow_api.create_page( p_id=>1012 ,p_user_interface_id=>wwv_flow_api.id(3663430628528105) ,p_name=>'Équipe' ,p_page_mode=>'NORMAL' ,p_step_title=>'Équipe' ,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS' ,p_first_item=>'AUTO_FIRST_ITEM' ,p_html_page_header=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<script language="JavaScript" type="text/javascript">', '<!--', '', ' htmldb_delete_message=''"DELETE_CONFIRM_MSG"'';', '', '//-->', '</script>', '')) ,p_page_template_options=>'#DEFAULT#' ,p_required_role=>wwv_flow_api.id(1724855148880581895) ,p_dialog_chained=>'Y' ,p_overwrite_navigation_list=>'N' ,p_nav_list_template_options=>'#DEFAULT#' ,p_page_is_public_y_n=>'N' ,p_cache_mode=>'NOCACHE' ,p_cache_timeout_seconds=>21600 ,p_help_text=>'No help is available for this page.' ,p_last_upd_yyyymmddhh24miss=>'20160513152058' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(456608943553082164) ,p_plug_name=>'Équipe' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524961247111896538) ,p_plug_display_sequence=>10 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'BODY_3' ,p_plug_query_row_template=>1 ,p_attribute_01=>'N' ,p_attribute_02=>'HTML' ,p_attribute_03=>'N' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(456656134892495185) ,p_plug_name=>'Barre de bouton (nav bar)' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524958835947896536) ,p_plug_display_sequence=>30 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'REGION_POSITION_05' ,p_plug_item_display_point=>'BELOW' ,p_plug_query_row_template=>1 ,p_plug_query_headings_type=>'QUERY_COLUMNS' ,p_plug_query_num_rows_type=>'NEXT_PREVIOUS_LINKS' ,p_plug_query_show_nulls_as=>' - ' ,p_pagination_display_position=>'BOTTOM_RIGHT' ,p_attribute_01=>'N' ,p_attribute_02=>'HTML' ,p_attribute_03=>'N' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(456675042558875884) ,p_plug_name=>'Membres' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524965123033896540) ,p_plug_display_sequence=>20 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'BODY_3' ,p_plug_source=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select SEQNC,', ' REF_EQUIP,', ' REF_UTILS,', ' afw_12_utils_pkg.obten_nom_formt_de_utils (REF_UTILS) ref_utils_formt,', ' DEBUT_EFECT,', ' FIN_EFECT,', ' POURC_IMPLI_EQUIP', 'from VD_AFW_32_LIEN_EQUIP ', 'where REF_EQUIP = :P1012_SEQNC')) ,p_plug_source_type=>'NATIVE_IR' ,p_plug_query_row_template=>1 ,p_plug_query_show_nulls_as=>' - ' ,p_plug_display_condition_type=>'ITEM_IS_NOT_NULL' ,p_plug_display_when_condition=>'P1012_SEQNC' ,p_pagination_display_position=>'BOTTOM_RIGHT' ,p_prn_output_show_link=>'Y' ,p_prn_content_disposition=>'ATTACHMENT' ,p_prn_document_header=>'APEX' ,p_prn_units=>'INCHES' ,p_prn_paper_size=>'LETTER' ,p_prn_width=>11 ,p_prn_height=>8.5 ,p_prn_orientation=>'HORIZONTAL' ,p_prn_page_header_font_color=>'#000000' ,p_prn_page_header_font_family=>'Helvetica' ,p_prn_page_header_font_weight=>'normal' ,p_prn_page_header_font_size=>'12' ,p_prn_page_footer_font_color=>'#000000' ,p_prn_page_footer_font_family=>'Helvetica' ,p_prn_page_footer_font_weight=>'normal' ,p_prn_page_footer_font_size=>'12' ,p_prn_header_bg_color=>'#9bafde' ,p_prn_header_font_color=>'#ffffff' ,p_prn_header_font_family=>'Helvetica' ,p_prn_header_font_weight=>'normal' ,p_prn_header_font_size=>'10' ,p_prn_body_bg_color=>'#efefef' ,p_prn_body_font_color=>'#000000' ,p_prn_body_font_family=>'Helvetica' ,p_prn_body_font_weight=>'normal' ,p_prn_body_font_size=>'10' ,p_prn_border_width=>.5 ,p_prn_page_header_alignment=>'CENTER' ,p_prn_page_footer_alignment=>'CENTER' ); wwv_flow_api.create_worksheet( p_id=>wwv_flow_api.id(456675147500875885) ,p_name=>'Liens équipes' ,p_max_row_count=>'100000' ,p_max_row_count_message=>'&A_AFW_13_MESG_TROP_DON_TROUV.' ,p_no_data_found_message=>'&A_AFW_13_MESG_AUCUN_DON_TROUV.' ,p_max_rows_per_page=>'15' ,p_allow_report_categories=>'N' ,p_show_nulls_as=>'-' ,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' ,p_pagination_display_pos=>'BOTTOM_RIGHT' ,p_report_list_mode=>'TABS' ,p_fixed_header=>'NONE' ,p_show_detail_link=>'C' ,p_show_pivot=>'N' ,p_show_calendar=>'N' ,p_download_formats=>'CSV:HTML:EMAIL' ,p_detail_link=>'javascript:apex.item(''P1012_LIEN_EQUIP'').setValue(#SEQNC#);' ,p_detail_link_text=>' &A_AFW_13_LIEN_EDITN_RAPRT.' ,p_allow_exclude_null_values=>'N' ,p_allow_hide_extra_columns=>'N' ,p_icon_view_columns_per_row=>1 ,p_owner=>'FOUER' ,p_internal_uid=>1 ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456675448652875891) ,p_db_column_name=>'SEQNC' ,p_display_order=>1 ,p_column_identifier=>'A' ,p_column_label=>'Seqnc' ,p_allow_pivot=>'N' ,p_column_type=>'NUMBER' ,p_display_text_as=>'HIDDEN' ,p_heading_alignment=>'RIGHT' ,p_column_alignment=>'RIGHT' ,p_tz_dependent=>'N' ,p_static_id=>'SEQNC' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456675531745875891) ,p_db_column_name=>'REF_EQUIP' ,p_display_order=>2 ,p_column_identifier=>'B' ,p_column_label=>'Équipe' ,p_allow_pivot=>'N' ,p_column_type=>'NUMBER' ,p_display_text_as=>'HIDDEN' ,p_heading_alignment=>'RIGHT' ,p_column_alignment=>'RIGHT' ,p_tz_dependent=>'N' ,p_static_id=>'REF_EQUIP' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456675643324875892) ,p_db_column_name=>'REF_UTILS' ,p_display_order=>3 ,p_column_identifier=>'C' ,p_column_label=>'Utilisateur' ,p_allow_pivot=>'N' ,p_column_type=>'NUMBER' ,p_display_text_as=>'HIDDEN' ,p_heading_alignment=>'LEFT' ,p_tz_dependent=>'N' ,p_static_id=>'REF_UTILS' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456675735863875892) ,p_db_column_name=>'DEBUT_EFECT' ,p_display_order=>4 ,p_column_identifier=>'D' ,p_column_label=>'Début effectivité' ,p_allow_pivot=>'N' ,p_column_type=>'DATE' ,p_column_alignment=>'CENTER' ,p_format_mask=>'YYYY-MM-DD' ,p_tz_dependent=>'N' ,p_static_id=>'DEBUT_EFECT' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456675819768875892) ,p_db_column_name=>'FIN_EFECT' ,p_display_order=>5 ,p_column_identifier=>'E' ,p_column_label=>'Fin effectivité' ,p_allow_pivot=>'N' ,p_column_type=>'DATE' ,p_column_alignment=>'CENTER' ,p_format_mask=>'YYYY-MM-DD' ,p_tz_dependent=>'N' ,p_static_id=>'FIN_EFECT' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456675950708875892) ,p_db_column_name=>'POURC_IMPLI_EQUIP' ,p_display_order=>6 ,p_column_identifier=>'F' ,p_column_label=>'Pourcentage' ,p_allow_pivot=>'N' ,p_column_type=>'NUMBER' ,p_heading_alignment=>'RIGHT' ,p_column_alignment=>'RIGHT' ,p_tz_dependent=>'N' ,p_static_id=>'POURC_IMPLI_EQUIP' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456713934433037159) ,p_db_column_name=>'REF_UTILS_FORMT' ,p_display_order=>7 ,p_column_identifier=>'G' ,p_column_label=>'Utilisateur' ,p_allow_pivot=>'N' ,p_column_type=>'STRING' ,p_heading_alignment=>'LEFT' ,p_tz_dependent=>'N' ,p_static_id=>'REF_UTILS_FORMT' ); wwv_flow_api.create_worksheet_rpt( p_id=>wwv_flow_api.id(456694119691493657) ,p_application_user=>'APXWS_DEFAULT' ,p_report_seq=>10 ,p_report_alias=>'4531113' ,p_status=>'PUBLIC' ,p_is_default=>'Y' ,p_display_rows=>15 ,p_report_columns=>'REF_UTILS_FORMT:POURC_IMPLI_EQUIP:DEBUT_EFECT:FIN_EFECT:' ,p_sort_column_1=>'REF_UTILS_FORMT' ,p_sort_direction_1=>'ASC' ,p_sort_column_2=>'DEBUT_EFECT' ,p_sort_direction_2=>'ASC' ,p_sort_column_3=>'0' ,p_sort_direction_3=>'ASC' ,p_flashback_enabled=>'N' ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(456609533771082166) ,p_button_sequence=>10 ,p_button_plug_id=>wwv_flow_api.id(456656134892495185) ,p_button_name=>'CANCEL' ,p_button_action=>'REDIRECT_URL' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_image_alt=>'Annuler' ,p_button_position=>'REGION_TEMPLATE_CLOSE' ,p_button_redirect_url=>'&A_AFW_04_SOURC_URL.' ,p_button_css_classes=>'btn-info' ,p_button_cattributes=>'fa-undo' ,p_grid_new_grid=>false ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(456609235396082166) ,p_button_sequence=>30 ,p_button_plug_id=>wwv_flow_api.id(456656134892495185) ,p_button_name=>'SAVE' ,p_button_action=>'SUBMIT' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_image_alt=>'Enregistrer' ,p_button_position=>'REGION_TEMPLATE_CREATE' ,p_button_condition=>'P1012_SEQNC' ,p_button_condition_type=>'ITEM_IS_NOT_NULL' ,p_button_css_classes=>'btn-success' ,p_button_cattributes=>'fa-save' ,p_grid_new_grid=>false ,p_security_scheme=>wwv_flow_api.id(1723923346971193396) ,p_database_action=>'UPDATE' ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(456609125003082166) ,p_button_sequence=>40 ,p_button_plug_id=>wwv_flow_api.id(456656134892495185) ,p_button_name=>'CREATE' ,p_button_action=>'SUBMIT' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_is_hot=>'Y' ,p_button_image_alt=>'Enregistrer' ,p_button_position=>'REGION_TEMPLATE_CREATE' ,p_button_condition=>'P1012_SEQNC' ,p_button_condition_type=>'ITEM_IS_NULL' ,p_button_css_classes=>'btn-success' ,p_button_cattributes=>'fa-save' ,p_grid_new_grid=>false ,p_security_scheme=>wwv_flow_api.id(1721922232923650037) ,p_database_action=>'INSERT' ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(456670136053779404) ,p_button_sequence=>50 ,p_button_plug_id=>wwv_flow_api.id(456675042558875884) ,p_button_name=>'CREER_LIEN_EQUIP' ,p_button_action=>'DEFINED_BY_DA' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_image_alt=>'Ajouter' ,p_button_position=>'REGION_TEMPLATE_CREATE' ,p_button_condition=>':P1012_seqnc is not null' ,p_button_condition_type=>'PLSQL_EXPRESSION' ,p_button_css_classes=>'btn-primary' ,p_button_cattributes=>'fa-plus' ,p_grid_new_grid=>false ,p_security_scheme=>wwv_flow_api.id(1721922232923650037) ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(456609334300082166) ,p_button_sequence=>20 ,p_button_plug_id=>wwv_flow_api.id(456656134892495185) ,p_button_name=>'DELETE' ,p_button_action=>'REDIRECT_URL' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976635139896554) ,p_button_is_hot=>'Y' ,p_button_image_alt=>'Supprimer' ,p_button_position=>'REGION_TEMPLATE_DELETE' ,p_button_redirect_url=>'javascript:apex.confirm(htmldb_delete_message,''DELETE'');' ,p_button_execute_validations=>'N' ,p_button_condition=>'P1012_SEQNC' ,p_button_condition_type=>'ITEM_IS_NOT_NULL' ,p_button_cattributes=>'fa-remove' ,p_grid_new_grid=>false ,p_security_scheme=>wwv_flow_api.id(1723935220091195070) ,p_database_action=>'DELETE' ); wwv_flow_api.create_page_branch( p_id=>wwv_flow_api.id(456655639909458842) ,p_branch_action=>'f?p=&APP_ID.:&A_AFW_04_SOURC_NUMR_PAGE.:&SESSION.::&DEBUG.::SIDF:&SIDF.' ,p_branch_point=>'AFTER_PROCESSING' ,p_branch_type=>'REDIRECT_URL' ,p_branch_when_button_id=>wwv_flow_api.id(456609334300082166) ,p_branch_sequence=>10 ,p_branch_comment=>'Created 22-JAN-2013 11:37 by FOUER' ); wwv_flow_api.create_page_branch( p_id=>wwv_flow_api.id(456610446470082170) ,p_branch_action=>'f?p=&APP_ID.:1012:&SESSION.::&DEBUG.:::&success_msg=#SUCCESS_MSG#' ,p_branch_point=>'AFTER_PROCESSING' ,p_branch_type=>'REDIRECT_URL' ,p_branch_sequence=>20 ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456610638012082171) ,p_name=>'P1012_SEQNC' ,p_item_sequence=>10 ,p_item_plug_id=>wwv_flow_api.id(1556119583145901512) ,p_use_cache_before_default=>'NO' ,p_prompt=>'Seqnc' ,p_source=>'SEQNC' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_HIDDEN' ,p_cSize=>30 ,p_cMaxlength=>2000 ,p_cHeight=>1 ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'RIGHT' ,p_field_template=>wwv_flow_api.id(524973645529896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'Y' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456610827753082180) ,p_name=>'P1012_CODE' ,p_is_required=>true ,p_item_sequence=>20 ,p_item_plug_id=>wwv_flow_api.id(456608943553082164) ,p_use_cache_before_default=>'NO' ,p_prompt=>'Code' ,p_source=>'CODE' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_TEXT_FIELD' ,p_cSize=>32 ,p_cMaxlength=>23 ,p_cHeight=>1 ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_field_template=>wwv_flow_api.id(524973827299896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'N' ,p_attribute_02=>'N' ,p_attribute_04=>'TEXT' ,p_attribute_05=>'NONE' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456611028177082181) ,p_name=>'P1012_NOM' ,p_is_required=>true ,p_item_sequence=>30 ,p_item_plug_id=>wwv_flow_api.id(456608943553082164) ,p_use_cache_before_default=>'NO' ,p_prompt=>'Nom' ,p_source=>'NOM' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_TEXT_FIELD' ,p_cSize=>32 ,p_cMaxlength=>60 ,p_cHeight=>1 ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_field_template=>wwv_flow_api.id(524973827299896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'N' ,p_attribute_02=>'N' ,p_attribute_04=>'TEXT' ,p_attribute_05=>'NONE' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456611221099082181) ,p_name=>'P1012_DESCR' ,p_item_sequence=>40 ,p_item_plug_id=>wwv_flow_api.id(456608943553082164) ,p_use_cache_before_default=>'NO' ,p_prompt=>'Description' ,p_source=>'DESCR' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_TEXTAREA' ,p_cSize=>60 ,p_cMaxlength=>4000 ,p_cHeight=>4 ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_field_template=>wwv_flow_api.id(524973645529896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'Y' ,p_attribute_02=>'N' ,p_attribute_03=>'N' ,p_attribute_04=>'NONE' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456704419419749073) ,p_name=>'P1012_LIEN_EQUIP' ,p_item_sequence=>50 ,p_item_plug_id=>wwv_flow_api.id(1556119583145901512) ,p_display_as=>'NATIVE_HIDDEN' ,p_cMaxlength=>4000 ,p_cAttributes=>'nowrap="nowrap"' ,p_begin_on_new_line=>'N' ,p_colspan=>1 ,p_rowspan=>1 ,p_item_template_options=>'#DEFAULT#' ,p_attribute_01=>'N' ); wwv_flow_api.create_page_da_event( p_id=>wwv_flow_api.id(456703343268727507) ,p_name=>'Lien équipe - Afficher dialogue (création)' ,p_event_sequence=>10 ,p_triggering_element_type=>'BUTTON' ,p_triggering_button_id=>wwv_flow_api.id(456670136053779404) ,p_bind_type=>'bind' ,p_bind_event_type=>'click' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(456703645514727508) ,p_event_id=>wwv_flow_api.id(456703343268727507) ,p_event_result=>'TRUE' ,p_action_sequence=>10 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_AFICH_DIALG_IFRAM' ,p_attribute_01=>'Ajouter un membre' ,p_attribute_03=>'640' ,p_attribute_04=>'480' ,p_attribute_05=>'dialg_lien_equip' ,p_attribute_07=>'PAGE' ,p_attribute_13=>'Y' ,p_attribute_14=>'afw_11_aplic_pkg.obten_numr_apex_aplic(''SAFM'')' ,p_attribute_15=>'1013' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_da_event( p_id=>wwv_flow_api.id(456704535134763057) ,p_name=>'Lien équipe - Afficher dialogue (modification)' ,p_event_sequence=>20 ,p_triggering_element_type=>'ITEM' ,p_triggering_element=>'P1012_LIEN_EQUIP' ,p_bind_type=>'bind' ,p_bind_event_type=>'change' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(456704834491763058) ,p_event_id=>wwv_flow_api.id(456704535134763057) ,p_event_result=>'TRUE' ,p_action_sequence=>10 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_AFICH_DIALG_IFRAM' ,p_attribute_01=>'Mettre à jour un membre' ,p_attribute_03=>'640' ,p_attribute_04=>'480' ,p_attribute_05=>'dialg_lien_equip' ,p_attribute_07=>'PAGE' ,p_attribute_10=>'P1012_LIEN_EQUIP' ,p_attribute_13=>'Y' ,p_attribute_14=>'afw_11_aplic_pkg.obten_numr_apex_aplic(''SAFM'')' ,p_attribute_15=>'1013' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_da_event( p_id=>wwv_flow_api.id(456705137474782616) ,p_name=>'Lien équipe - fermer dialogue' ,p_event_sequence=>30 ,p_triggering_element_type=>'JQUERY_SELECTOR' ,p_triggering_element=>'div.dialg_lien_equip div.afw_21_actio_dynmq_dialg' ,p_bind_type=>'live' ,p_bind_event_type=>'PLUGIN_IO_AFW_21_AFICH_DIALG_IFRAM|DYNAMIC ACTION|dialogbeforeclose' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(456705424989782617) ,p_event_id=>wwv_flow_api.id(456705137474782616) ,p_event_result=>'TRUE' ,p_action_sequence=>10 ,p_execute_on_page_init=>'N' ,p_action=>'NATIVE_EXECUTE_PLSQL_CODE' ,p_attribute_01=>'afw_21_plugn_dialg_ifram_pkg.defnr_contx_apres_fermt_dialg();' ,p_stop_execution_on_error=>'Y' ,p_wait_for_result=>'Y' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(456705621675787498) ,p_event_id=>wwv_flow_api.id(456705137474782616) ,p_event_result=>'TRUE' ,p_action_sequence=>20 ,p_execute_on_page_init=>'N' ,p_action=>'NATIVE_REFRESH' ,p_affected_elements_type=>'REGION' ,p_affected_region_id=>wwv_flow_api.id(456675042558875884) ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(456705825831788724) ,p_event_id=>wwv_flow_api.id(456705137474782616) ,p_event_result=>'TRUE' ,p_action_sequence=>30 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_REGN_AFICH_MESG_PR' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(456706029294789716) ,p_event_id=>wwv_flow_api.id(456705137474782616) ,p_event_result=>'TRUE' ,p_action_sequence=>40 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_REGN_AFICH_MESG_IN' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(456611919421082183) ,p_process_sequence=>10 ,p_process_point=>'AFTER_HEADER' ,p_process_type=>'NATIVE_FORM_FETCH' ,p_process_name=>'Fetch Row from VD_AFW_32_EQUIP' ,p_attribute_02=>'VD_AFW_32_EQUIP' ,p_attribute_03=>'P1012_SEQNC' ,p_attribute_04=>'SEQNC' ,p_process_error_message=>'&A_AFW_13_MESG_IMPOS_FETCH.' ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(456612144616082184) ,p_process_sequence=>30 ,p_process_point=>'AFTER_SUBMIT' ,p_process_type=>'NATIVE_FORM_PROCESS' ,p_process_name=>'Process Row of VD_AFW_32_EQUIP' ,p_attribute_02=>'VD_AFW_32_EQUIP' ,p_attribute_03=>'P1012_SEQNC' ,p_attribute_04=>'SEQNC' ,p_attribute_09=>'P1012_SEQNC' ,p_attribute_11=>'I:U:D' ,p_process_error_message=>'&A_AFW_13_MESG_ECHEC_SPECF.' ,p_error_display_location=>'INLINE_IN_NOTIFICATION' ,p_process_success_message=>'&A_AFW_13_MESG_SUCS_SPECF.' ,p_security_scheme=>wwv_flow_api.id(1723951025632196700) ); end; / prompt --application/pages/page_01013 begin wwv_flow_api.create_page( p_id=>1013 ,p_user_interface_id=>wwv_flow_api.id(3663430628528105) ,p_name=>'Lien équipe' ,p_page_mode=>'NORMAL' ,p_step_title=>'Lien équipe' ,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS' ,p_first_item=>'NO_FIRST_ITEM' ,p_html_page_header=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<script language="JavaScript" type="text/javascript">', '<!--', '', ' htmldb_delete_message=''"DELETE_CONFIRM_MSG"'';', '', '//-->', '</script>')) ,p_step_template=>wwv_flow_api.id(524954649145896531) ,p_page_template_options=>'#DEFAULT#' ,p_required_role=>wwv_flow_api.id(1724855148880581895) ,p_dialog_chained=>'Y' ,p_overwrite_navigation_list=>'N' ,p_nav_list_template_options=>'#DEFAULT#' ,p_page_is_public_y_n=>'N' ,p_cache_mode=>'NOCACHE' ,p_cache_timeout_seconds=>21600 ,p_last_upd_yyyymmddhh24miss=>'20160513152058' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(456679827209013375) ,p_plug_name=>'Lien équipe' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524964537325896540) ,p_plug_display_sequence=>10 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'BODY_3' ,p_plug_query_row_template=>1 ,p_plug_query_headings_type=>'QUERY_COLUMNS' ,p_plug_query_num_rows_type=>'NEXT_PREVIOUS_LINKS' ,p_plug_query_show_nulls_as=>' - ' ,p_pagination_display_position=>'BOTTOM_RIGHT' ,p_attribute_01=>'N' ,p_attribute_02=>'HTML' ,p_attribute_03=>'N' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(456680045909018786) ,p_plug_name=>'Barre de bouton (nav bar)' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524958835947896536) ,p_plug_display_sequence=>20 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'REGION_POSITION_05' ,p_plug_item_display_point=>'BELOW' ,p_plug_query_row_template=>1 ,p_plug_query_headings_type=>'QUERY_COLUMNS' ,p_plug_query_num_rows_type=>'NEXT_PREVIOUS_LINKS' ,p_plug_query_show_nulls_as=>' - ' ,p_pagination_display_position=>'BOTTOM_RIGHT' ,p_attribute_01=>'N' ,p_attribute_02=>'HTML' ,p_attribute_03=>'N' ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(456680937644044684) ,p_button_sequence=>10 ,p_button_plug_id=>wwv_flow_api.id(456680045909018786) ,p_button_name=>'CANCEL' ,p_button_action=>'DEFINED_BY_DA' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_image_alt=>'Annuler' ,p_button_position=>'REGION_TEMPLATE_CLOSE' ,p_button_css_classes=>'btn-info' ,p_button_cattributes=>'fa-undo' ,p_grid_new_grid=>false ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(456682243232074739) ,p_button_sequence=>20 ,p_button_plug_id=>wwv_flow_api.id(456680045909018786) ,p_button_name=>'CREATE' ,p_button_action=>'SUBMIT' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_is_hot=>'Y' ,p_button_image_alt=>'Enregistrer' ,p_button_position=>'REGION_TEMPLATE_CREATE' ,p_button_condition=>'P1013_SEQNC' ,p_button_condition_type=>'ITEM_IS_NULL' ,p_button_css_classes=>'btn-success' ,p_button_cattributes=>'fa-save' ,p_grid_new_grid=>false ,p_security_scheme=>wwv_flow_api.id(1721922232923650037) ,p_database_action=>'INSERT' ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(456690425607372376) ,p_button_sequence=>40 ,p_button_plug_id=>wwv_flow_api.id(456680045909018786) ,p_button_name=>'SAVE' ,p_button_action=>'SUBMIT' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_is_hot=>'Y' ,p_button_image_alt=>'Enregistrer' ,p_button_position=>'REGION_TEMPLATE_CREATE' ,p_button_condition=>'P1013_SEQNC' ,p_button_condition_type=>'ITEM_IS_NOT_NULL' ,p_button_css_classes=>'btn-success' ,p_button_cattributes=>'fa-save' ,p_grid_new_grid=>false ,p_security_scheme=>wwv_flow_api.id(1723923346971193396) ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(456690129500354552) ,p_button_sequence=>30 ,p_button_plug_id=>wwv_flow_api.id(456680045909018786) ,p_button_name=>'DELETE' ,p_button_action=>'REDIRECT_URL' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976635139896554) ,p_button_is_hot=>'Y' ,p_button_image_alt=>'Supprimer' ,p_button_position=>'REGION_TEMPLATE_DELETE' ,p_button_redirect_url=>'javascript:confirmDelete(htmldb_delete_message,''DELETE'');' ,p_button_condition=>'P1013_SEQNC' ,p_button_condition_type=>'ITEM_IS_NOT_NULL' ,p_button_cattributes=>'fa-remove' ,p_grid_new_grid=>false ,p_security_scheme=>wwv_flow_api.id(1723935220091195070) ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456690931971383727) ,p_name=>'P1013_SEQNC' ,p_item_sequence=>10 ,p_item_plug_id=>wwv_flow_api.id(1556119583145901512) ,p_use_cache_before_default=>'NO' ,p_source=>'SEQNC' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_HIDDEN' ,p_cMaxlength=>4000 ,p_cAttributes=>'nowrap="nowrap"' ,p_begin_on_new_line=>'N' ,p_colspan=>1 ,p_rowspan=>1 ,p_item_template_options=>'#DEFAULT#' ,p_attribute_01=>'Y' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456691123445390704) ,p_name=>'P1013_REF_EQUIP' ,p_item_sequence=>20 ,p_item_plug_id=>wwv_flow_api.id(1556119583145901512) ,p_use_cache_before_default=>'NO' ,p_item_default=>':A_AFW_04_SOURC_SEQNC_CONTX' ,p_item_default_type=>'PLSQL_EXPRESSION' ,p_source=>'REF_EQUIP' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_HIDDEN' ,p_cSize=>30 ,p_cMaxlength=>4000 ,p_cHeight=>1 ,p_cAttributes=>'nowrap="nowrap"' ,p_begin_on_new_line=>'N' ,p_colspan=>1 ,p_rowspan=>1 ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'Y' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456691922714437799) ,p_name=>'P1013_REF_UTILS' ,p_item_sequence=>30 ,p_item_plug_id=>wwv_flow_api.id(456679827209013375) ,p_use_cache_before_default=>'NO' ,p_prompt=>'Utilisateur' ,p_source=>'REF_UTILS' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'PLUGIN_IO_AFW_21_SELCT_2' ,p_lov=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select NOM_FORMT d,SEQNC r ', 'from VD_AFW_12_UTILS')) ,p_lov_display_null=>'YES' ,p_lov_null_text=>'- Choisir -' ,p_cSize=>250 ,p_cMaxlength=>4000 ,p_cHeight=>1 ,p_cAttributes=>'nowrap="nowrap"' ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_field_template=>wwv_flow_api.id(524973827299896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'SINGL_VALUE' ,p_attribute_02=>'Y' ,p_attribute_03=>'Y' ,p_attribute_04=>'10' ,p_attribute_05=>'100' ,p_attribute_06=>'0' ,p_attribute_07=>'0' ,p_attribute_09=>':' ,p_attribute_10=>'LIKE_IGNORE' ,p_attribute_11=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select NOM_FORMT d,SEQNC r ', 'from VD_AFW_12_UTILS')) ,p_attribute_12=>'300px' ,p_attribute_13=>'N' ,p_attribute_14=>'1' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456692525270447998) ,p_name=>'P1013_DEBUT_EFECT' ,p_is_required=>true ,p_item_sequence=>50 ,p_item_plug_id=>wwv_flow_api.id(456679827209013375) ,p_use_cache_before_default=>'NO' ,p_prompt=>'Date début effectif' ,p_format_mask=>'YYYY-MM-DD' ,p_source=>'DEBUT_EFECT' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_DATE_PICKER' ,p_cSize=>12 ,p_cMaxlength=>10 ,p_cHeight=>1 ,p_cAttributes=>'nowrap="nowrap"' ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_field_template=>wwv_flow_api.id(524973827299896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_04=>'button' ,p_attribute_05=>'Y' ,p_attribute_07=>'MONTH_AND_YEAR' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456692718821455555) ,p_name=>'P1013_FIN_EFECT' ,p_item_sequence=>60 ,p_item_plug_id=>wwv_flow_api.id(456679827209013375) ,p_use_cache_before_default=>'NO' ,p_prompt=>'Date fin effectif' ,p_format_mask=>'YYYY-MM-DD' ,p_source=>'FIN_EFECT' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_DATE_PICKER' ,p_cSize=>12 ,p_cMaxlength=>10 ,p_cHeight=>1 ,p_cAttributes=>'nowrap="nowrap"' ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_field_template=>wwv_flow_api.id(524973645529896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_04=>'button' ,p_attribute_05=>'Y' ,p_attribute_07=>'MONTH_AND_YEAR' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456693128995467941) ,p_name=>'P1013_POURC_IMPLI_EQUIP' ,p_is_required=>true ,p_item_sequence=>40 ,p_item_plug_id=>wwv_flow_api.id(456679827209013375) ,p_use_cache_before_default=>'NO' ,p_prompt=>'Pourcentage d''implication' ,p_post_element_text=>'%' ,p_format_mask=>'999G999G999G999G999G999G990' ,p_source=>'POURC_IMPLI_EQUIP' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_NUMBER_FIELD' ,p_cSize=>5 ,p_cMaxlength=>5 ,p_cHeight=>1 ,p_cAttributes=>'nowrap="nowrap"' ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_field_template=>wwv_flow_api.id(524973827299896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'0' ,p_attribute_02=>'100' ,p_attribute_03=>'left' ); wwv_flow_api.create_page_da_event( p_id=>wwv_flow_api.id(456695721254531985) ,p_name=>'Fermer le dialogue - lien équipe' ,p_event_sequence=>10 ,p_triggering_element_type=>'BUTTON' ,p_triggering_button_id=>wwv_flow_api.id(456680937644044684) ,p_bind_type=>'bind' ,p_bind_event_type=>'click' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(456696041361531985) ,p_event_id=>wwv_flow_api.id(456695721254531985) ,p_event_result=>'TRUE' ,p_action_sequence=>10 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_FERMR_DIALG_IFRAM' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(456693941031490375) ,p_process_sequence=>10 ,p_process_point=>'AFTER_HEADER' ,p_process_type=>'NATIVE_FORM_FETCH' ,p_process_name=>'Fetch Row from VD_AFW_32_LIEN_EQUIP' ,p_attribute_02=>'VD_AFW_32_LIEN_EQUIP' ,p_attribute_03=>'P1013_SEQNC' ,p_attribute_04=>'SEQNC' ,p_process_error_message=>'&A_AFW_13_MESG_IMPOS_FETCH.' ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(456695224109513847) ,p_process_sequence=>10 ,p_process_point=>'AFTER_SUBMIT' ,p_process_type=>'NATIVE_FORM_PROCESS' ,p_process_name=>'PROCESS ROW OF VD_AFW_32_LIEN_EQUIP' ,p_attribute_02=>'VD_AFW_32_LIEN_EQUIP' ,p_attribute_03=>'P1013_SEQNC' ,p_attribute_04=>'SEQNC' ,p_attribute_11=>'I:U:D' ,p_process_error_message=>'&A_AFW_13_MESG_ECHEC_SPECF.' ,p_error_display_location=>'INLINE_IN_NOTIFICATION' ,p_process_when=>':REQUEST IN (''CREATE'',''SAVE'',''DELETE'')' ,p_process_when_type=>'PLSQL_EXPRESSION' ,p_process_success_message=>'&A_AFW_13_MESG_SUCS_SPECF.' ,p_security_scheme=>wwv_flow_api.id(1723951025632196700) ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(456696225887542724) ,p_process_sequence=>20 ,p_process_point=>'AFTER_SUBMIT' ,p_process_type=>'PLUGIN_IO_AFW_21_FERMR_DIALG_IFRAM' ,p_process_name=>'Fermer dialogue' ,p_error_display_location=>'INLINE_IN_NOTIFICATION' ); end; / prompt --application/pages/page_01021 begin wwv_flow_api.create_page( p_id=>1021 ,p_user_interface_id=>wwv_flow_api.id(3663430628528105) ,p_name=>'Jalons' ,p_page_mode=>'NORMAL' ,p_step_title=>'Jalons' ,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS' ,p_first_item=>'AUTO_FIRST_ITEM' ,p_page_template_options=>'#DEFAULT#' ,p_required_role=>wwv_flow_api.id(1724855148880581895) ,p_dialog_chained=>'Y' ,p_overwrite_navigation_list=>'N' ,p_nav_list_template_options=>'#DEFAULT#' ,p_page_is_public_y_n=>'N' ,p_cache_mode=>'NOCACHE' ,p_cache_timeout_seconds=>21600 ,p_help_text=>'No help is available for this page.' ,p_last_upd_yyyymmddhh24miss=>'20160513151731' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(456602728562955399) ,p_plug_name=>'Jalons' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524964537325896540) ,p_plug_display_sequence=>10 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'BODY_3' ,p_plug_source=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select j.seqnc,', ' j.date_prevu,', ' j.nom', ' from vd_afw_32_jalon j', ' where j.ref_prodt = afw_04_contx_pkg.obten_seqnc_contx (''PRODT'')')) ,p_plug_source_type=>'NATIVE_IR' ,p_plug_query_row_template=>1 ); wwv_flow_api.create_worksheet( p_id=>wwv_flow_api.id(456602950658955399) ,p_name=>'Jalons' ,p_max_row_count=>'100000' ,p_max_row_count_message=>'&A_AFW_13_MESG_TROP_DON_TROUV.' ,p_no_data_found_message=>'&A_AFW_13_MESG_AUCUN_DON_TROUV.' ,p_allow_report_categories=>'N' ,p_show_nulls_as=>'-' ,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' ,p_pagination_display_pos=>'BOTTOM_RIGHT' ,p_report_list_mode=>'TABS' ,p_fixed_header=>'NONE' ,p_show_detail_link=>'C' ,p_show_pivot=>'N' ,p_show_calendar=>'N' ,p_download_formats=>'CSV:HTML:EMAIL' ,p_detail_link=>'f?p=&APP_ID.:1022:&SESSION.::&DEBUG.:RP:SSPC,SIDF:#SEQNC#,&SIDF.' ,p_detail_link_text=>'&A_AFW_13_LIEN_EDITN_RAPRT.' ,p_allow_exclude_null_values=>'N' ,p_allow_hide_extra_columns=>'N' ,p_icon_view_columns_per_row=>1 ,p_owner=>'CARLO' ,p_internal_uid=>1 ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456603039842955400) ,p_db_column_name=>'SEQNC' ,p_display_order=>1 ,p_column_identifier=>'A' ,p_column_label=>'Seqnc' ,p_allow_pivot=>'N' ,p_column_type=>'NUMBER' ,p_display_text_as=>'HIDDEN' ,p_heading_alignment=>'LEFT' ,p_tz_dependent=>'N' ,p_static_id=>'SEQNC' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456603247432955401) ,p_db_column_name=>'DATE_PREVU' ,p_display_order=>3 ,p_column_identifier=>'C' ,p_column_label=>'Date prévue' ,p_allow_pivot=>'N' ,p_column_type=>'DATE' ,p_column_alignment=>'CENTER' ,p_format_mask=>'YYYY-MM-DD' ,p_tz_dependent=>'N' ,p_static_id=>'DATE_PREVU' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456604726227000102) ,p_db_column_name=>'NOM' ,p_display_order=>4 ,p_column_identifier=>'D' ,p_column_label=>'Nom' ,p_allow_pivot=>'N' ,p_column_type=>'STRING' ,p_heading_alignment=>'LEFT' ,p_tz_dependent=>'N' ,p_static_id=>'NOM' ); wwv_flow_api.create_worksheet_rpt( p_id=>wwv_flow_api.id(456605227051009813) ,p_application_user=>'APXWS_DEFAULT' ,p_report_seq=>10 ,p_report_alias=>'4530224' ,p_status=>'PUBLIC' ,p_is_default=>'Y' ,p_display_rows=>15 ,p_report_columns=>'DATE_PREVU:NOM:REF_PRODT_FORMT:' ,p_sort_column_1=>'DATE_PREVU' ,p_sort_direction_1=>'ASC' ,p_sort_column_2=>'NOM' ,p_sort_direction_2=>'ASC' ,p_sort_column_3=>'0' ,p_sort_direction_3=>'ASC' ,p_flashback_enabled=>'N' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(456604144188976937) ,p_plug_name=>'Barre de bouton (nav bar)' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524958835947896536) ,p_plug_display_sequence=>20 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'REGION_POSITION_05' ,p_plug_item_display_point=>'BELOW' ,p_plug_query_row_template=>1 ,p_attribute_01=>'N' ,p_attribute_02=>'HTML' ,p_attribute_03=>'N' ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(456603840788955404) ,p_button_sequence=>30 ,p_button_plug_id=>wwv_flow_api.id(456604144188976937) ,p_button_name=>'CREATE' ,p_button_action=>'REDIRECT_PAGE' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_is_hot=>'Y' ,p_button_image_alt=>'Créer' ,p_button_position=>'REGION_TEMPLATE_CREATE' ,p_button_redirect_url=>'f?p=&APP_ID.:1022:&SESSION.::&DEBUG.::SIDF,SSPC:&SIDF.,' ,p_button_css_classes=>'btn-success' ,p_button_cattributes=>'fa-plus' ,p_grid_new_grid=>false ,p_security_scheme=>wwv_flow_api.id(1721922232923650037) ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(456632447734659132) ,p_process_sequence=>10 ,p_process_point=>'AFTER_HEADER' ,p_process_type=>'PLUGIN_IO_AFW_21_CHANG_LIBL_FIL_ARI' ,p_process_name=>'Changer libellé fil ariane' ,p_attribute_01=>'afw_11_prodt_pkg.obten_code_prodt(afw_04_contx_pkg.obten_seqnc_contx(''PRODT'')) ||'': Jalons''' ); end; / prompt --application/pages/page_01022 begin wwv_flow_api.create_page( p_id=>1022 ,p_user_interface_id=>wwv_flow_api.id(3663430628528105) ,p_name=>'Jalon' ,p_page_mode=>'NORMAL' ,p_step_title=>'Jalon' ,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS' ,p_first_item=>'AUTO_FIRST_ITEM' ,p_html_page_header=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<script language="JavaScript" type="text/javascript">', '<!--', '', ' htmldb_delete_message=''"DELETE_CONFIRM_MSG"'';', '', '//-->', '</script>')) ,p_page_template_options=>'#DEFAULT#' ,p_required_role=>wwv_flow_api.id(1724855148880581895) ,p_dialog_chained=>'Y' ,p_overwrite_navigation_list=>'N' ,p_nav_list_template_options=>'#DEFAULT#' ,p_page_is_public_y_n=>'N' ,p_cache_mode=>'NOCACHE' ,p_cache_timeout_seconds=>21600 ,p_last_upd_yyyymmddhh24miss=>'20160513152058' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(456599235085955357) ,p_plug_name=>'Jalon' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524961247111896538) ,p_plug_display_sequence=>10 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'BODY_3' ,p_plug_query_row_template=>1 ,p_attribute_01=>'N' ,p_attribute_02=>'HTML' ,p_attribute_03=>'N' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(456606446706034350) ,p_plug_name=>'Barre de bouton (nav bar)' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524958835947896536) ,p_plug_display_sequence=>30 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'REGION_POSITION_05' ,p_plug_item_display_point=>'BELOW' ,p_plug_query_row_template=>1 ,p_attribute_01=>'N' ,p_attribute_02=>'HTML' ,p_attribute_03=>'N' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(456665635912694152) ,p_plug_name=>'Équipes' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524965123033896540) ,p_plug_display_sequence=>20 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'BODY_3' ,p_plug_source=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'SELECT seqnc,', ' ref_equip_formt,', ' debut_efect,', ' fin_efect,', ' pourc_afect_equip_jalon', ' FROM vd_afw_32_jalon_equip', ' WHERE ref_jalon = :P1022_SEQNC')) ,p_plug_source_type=>'NATIVE_IR' ,p_plug_query_row_template=>1 ,p_plug_query_show_nulls_as=>' - ' ,p_plug_display_condition_type=>'ITEM_IS_NOT_NULL' ,p_plug_display_when_condition=>'P1022_SEQNC' ,p_pagination_display_position=>'BOTTOM_RIGHT' ); wwv_flow_api.create_worksheet( p_id=>wwv_flow_api.id(456665746139694154) ,p_name=>'Jalon par équipe' ,p_max_row_count=>'100000' ,p_max_row_count_message=>'&A_AFW_13_MESG_TROP_DON_TROUV.' ,p_no_data_found_message=>'&A_AFW_13_MESG_AUCUN_DON_TROUV.' ,p_allow_report_categories=>'N' ,p_show_nulls_as=>'-' ,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' ,p_pagination_display_pos=>'BOTTOM_RIGHT' ,p_report_list_mode=>'TABS' ,p_fixed_header=>'NONE' ,p_show_detail_link=>'C' ,p_show_pivot=>'N' ,p_show_calendar=>'N' ,p_download_formats=>'CSV:HTML:EMAIL' ,p_detail_link=>'javascript:apex.item(''P1022_JALON_EQUIP'').setValue(#SEQNC#);' ,p_detail_link_text=>'&A_AFW_13_LIEN_EDITN_RAPRT.' ,p_allow_exclude_null_values=>'N' ,p_allow_hide_extra_columns=>'N' ,p_icon_view_columns_per_row=>1 ,p_owner=>'GARJE' ,p_internal_uid=>1 ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456665924366694157) ,p_db_column_name=>'SEQNC' ,p_display_order=>1 ,p_column_identifier=>'A' ,p_column_label=>'Seqnc' ,p_allow_pivot=>'N' ,p_column_type=>'NUMBER' ,p_display_text_as=>'HIDDEN' ,p_column_alignment=>'RIGHT' ,p_tz_dependent=>'N' ,p_static_id=>'SEQNC' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456666048204694158) ,p_db_column_name=>'REF_EQUIP_FORMT' ,p_display_order=>2 ,p_column_identifier=>'B' ,p_column_label=>'Équipe' ,p_allow_pivot=>'N' ,p_column_type=>'STRING' ,p_heading_alignment=>'LEFT' ,p_tz_dependent=>'N' ,p_static_id=>'REF_EQUIP_FORMT' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456666225777694158) ,p_db_column_name=>'DEBUT_EFECT' ,p_display_order=>4 ,p_column_identifier=>'D' ,p_column_label=>'Début effectivité' ,p_allow_pivot=>'N' ,p_column_type=>'DATE' ,p_column_alignment=>'CENTER' ,p_format_mask=>'YYYY-MM-DD' ,p_tz_dependent=>'N' ,p_static_id=>'DEBUT_EFECT' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456666319564694158) ,p_db_column_name=>'FIN_EFECT' ,p_display_order=>5 ,p_column_identifier=>'E' ,p_column_label=>'Fin effectivité' ,p_allow_pivot=>'N' ,p_column_type=>'DATE' ,p_column_alignment=>'CENTER' ,p_format_mask=>'YYYY-MM-DD' ,p_tz_dependent=>'N' ,p_static_id=>'FIN_EFECT' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456666449024694158) ,p_db_column_name=>'POURC_AFECT_EQUIP_JALON' ,p_display_order=>6 ,p_column_identifier=>'F' ,p_column_label=>'Pourcentage affecté' ,p_allow_pivot=>'N' ,p_column_type=>'NUMBER' ,p_heading_alignment=>'RIGHT' ,p_column_alignment=>'RIGHT' ,p_tz_dependent=>'N' ,p_static_id=>'POURC_AFECT_EQUIP_JALON' ); wwv_flow_api.create_worksheet_rpt( p_id=>wwv_flow_api.id(456666930634711536) ,p_application_user=>'APXWS_DEFAULT' ,p_report_seq=>10 ,p_report_alias=>'4530841' ,p_status=>'PUBLIC' ,p_is_default=>'Y' ,p_display_rows=>15 ,p_report_columns=>'REF_EQUIP_FORMT:POURC_AFECT_EQUIP_JALON:DEBUT_EFECT:FIN_EFECT:' ,p_sort_column_1=>'REF_EQUIP_FORMT' ,p_sort_direction_1=>'ASC' ,p_sort_column_2=>'DEBUT_EFECT' ,p_sort_direction_2=>'ASC' ,p_sort_column_3=>'0' ,p_sort_direction_3=>'ASC' ,p_flashback_enabled=>'N' ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(456599841076955358) ,p_button_sequence=>20 ,p_button_plug_id=>wwv_flow_api.id(456606446706034350) ,p_button_name=>'CANCEL' ,p_button_action=>'REDIRECT_URL' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_image_alt=>'Annuler' ,p_button_position=>'REGION_TEMPLATE_CLOSE' ,p_button_redirect_url=>'&A_AFW_04_SOURC_URL.' ,p_button_css_classes=>'btn-info' ,p_button_cattributes=>'fa-undo' ,p_grid_new_grid=>false ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(456668950335764581) ,p_button_sequence=>10 ,p_button_plug_id=>wwv_flow_api.id(456665635912694152) ,p_button_name=>'CREER_JALON_EQUIP' ,p_button_action=>'DEFINED_BY_DA' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_is_hot=>'Y' ,p_button_image_alt=>'Ajouter' ,p_button_position=>'REGION_TEMPLATE_CREATE' ,p_button_css_classes=>'btn-primary' ,p_button_cattributes=>'fa-plus' ,p_grid_new_grid=>false ,p_security_scheme=>wwv_flow_api.id(1721922232923650037) ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(456599529500955358) ,p_button_sequence=>40 ,p_button_plug_id=>wwv_flow_api.id(456606446706034350) ,p_button_name=>'SAVE' ,p_button_action=>'SUBMIT' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_is_hot=>'Y' ,p_button_image_alt=>'Enregistrer' ,p_button_position=>'REGION_TEMPLATE_CREATE' ,p_button_condition=>'P1022_SEQNC' ,p_button_condition_type=>'ITEM_IS_NOT_NULL' ,p_button_css_classes=>'btn-success' ,p_button_cattributes=>'fa-save' ,p_grid_new_grid=>false ,p_security_scheme=>wwv_flow_api.id(1723923346971193396) ,p_database_action=>'UPDATE' ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(456599427498955358) ,p_button_sequence=>50 ,p_button_plug_id=>wwv_flow_api.id(456606446706034350) ,p_button_name=>'CREATE' ,p_button_action=>'SUBMIT' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_is_hot=>'Y' ,p_button_image_alt=>'Enregistrer' ,p_button_position=>'REGION_TEMPLATE_CREATE' ,p_button_condition=>'P1022_SEQNC' ,p_button_condition_type=>'ITEM_IS_NULL' ,p_button_css_classes=>'btn-success' ,p_button_cattributes=>'fa-save' ,p_grid_new_grid=>false ,p_security_scheme=>wwv_flow_api.id(1721922232923650037) ,p_database_action=>'INSERT' ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(456599627183955358) ,p_button_sequence=>30 ,p_button_plug_id=>wwv_flow_api.id(456606446706034350) ,p_button_name=>'DELETE' ,p_button_action=>'REDIRECT_URL' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976635139896554) ,p_button_is_hot=>'Y' ,p_button_image_alt=>'Supprimer' ,p_button_position=>'REGION_TEMPLATE_DELETE' ,p_button_redirect_url=>'javascript:apex.confirm(htmldb_delete_message,''DELETE'');' ,p_button_execute_validations=>'N' ,p_button_condition=>'P1022_SEQNC' ,p_button_condition_type=>'ITEM_IS_NOT_NULL' ,p_button_cattributes=>'fa-remove' ,p_grid_new_grid=>false ,p_security_scheme=>wwv_flow_api.id(1723935220091195070) ,p_database_action=>'DELETE' ); wwv_flow_api.create_page_branch( p_id=>wwv_flow_api.id(456658748230536900) ,p_branch_action=>'f?p=&APP_ID.:&A_AFW_04_SOURC_NUMR_PAGE.:&SESSION.::&DEBUG.::SIDF:&SIDF.' ,p_branch_point=>'AFTER_PROCESSING' ,p_branch_type=>'REDIRECT_URL' ,p_branch_when_button_id=>wwv_flow_api.id(456599627183955358) ,p_branch_sequence=>10 ,p_branch_comment=>'Created 22-JAN-2013 11:50 by GARJE' ); wwv_flow_api.create_page_branch( p_id=>wwv_flow_api.id(456600637081955367) ,p_branch_action=>'f?p=&APP_ID.:1022:&SESSION.::&DEBUG.:::&success_msg=#SUCCESS_MSG#' ,p_branch_point=>'AFTER_PROCESSING' ,p_branch_type=>'REDIRECT_URL' ,p_branch_sequence=>20 ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456600848134955374) ,p_name=>'P1022_SEQNC' ,p_item_sequence=>10 ,p_item_plug_id=>wwv_flow_api.id(1556119583145901512) ,p_use_cache_before_default=>'NO' ,p_prompt=>'Seqnc' ,p_source=>'SEQNC' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_HIDDEN' ,p_cSize=>30 ,p_cMaxlength=>2000 ,p_cHeight=>1 ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'RIGHT' ,p_field_template=>wwv_flow_api.id(524973645529896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'Y' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456601018129955381) ,p_name=>'P1022_NOM' ,p_is_required=>true ,p_item_sequence=>20 ,p_item_plug_id=>wwv_flow_api.id(456599235085955357) ,p_use_cache_before_default=>'NO' ,p_prompt=>'Nom' ,p_source=>'NOM' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_TEXT_FIELD' ,p_cSize=>32 ,p_cMaxlength=>60 ,p_cHeight=>1 ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_field_template=>wwv_flow_api.id(524973827299896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'N' ,p_attribute_02=>'N' ,p_attribute_04=>'TEXT' ,p_attribute_05=>'NONE' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456601224925955382) ,p_name=>'P1022_REF_PRODT' ,p_is_required=>true ,p_item_sequence=>30 ,p_item_plug_id=>wwv_flow_api.id(1556119583145901512) ,p_use_cache_before_default=>'NO' ,p_item_default=>'afw_04_contx_pkg.obten_seqnc_contx(''PRODT'')' ,p_item_default_type=>'PLSQL_EXPRESSION' ,p_source=>'REF_PRODT' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_HIDDEN' ,p_cSize=>32 ,p_cMaxlength=>255 ,p_cHeight=>1 ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'RIGHT' ,p_field_template=>wwv_flow_api.id(524973931159896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'Y' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456601437732955382) ,p_name=>'P1022_DATE_PREVU' ,p_is_required=>true ,p_item_sequence=>40 ,p_item_plug_id=>wwv_flow_api.id(456599235085955357) ,p_use_cache_before_default=>'NO' ,p_prompt=>'Date prévue' ,p_format_mask=>'YYYY-MM-DD' ,p_source=>'DATE_PREVU' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_DATE_PICKER' ,p_cSize=>12 ,p_cMaxlength=>10 ,p_cHeight=>1 ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_field_template=>wwv_flow_api.id(524973827299896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_04=>'button' ,p_attribute_05=>'Y' ,p_attribute_07=>'MONTH_AND_YEAR' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456695642594528611) ,p_name=>'P1022_JALON_EQUIP' ,p_item_sequence=>50 ,p_item_plug_id=>wwv_flow_api.id(1556119583145901512) ,p_display_as=>'NATIVE_HIDDEN' ,p_cSize=>30 ,p_cMaxlength=>4000 ,p_cHeight=>1 ,p_cAttributes=>'nowrap="nowrap"' ,p_begin_on_new_line=>'N' ,p_colspan=>1 ,p_rowspan=>1 ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'Y' ); wwv_flow_api.create_page_da_event( p_id=>wwv_flow_api.id(456693539992490021) ,p_name=>'Equipe du jalon - Afficher dialogue (Création)' ,p_event_sequence=>10 ,p_triggering_element_type=>'BUTTON' ,p_triggering_button_id=>wwv_flow_api.id(456668950335764581) ,p_bind_type=>'bind' ,p_bind_event_type=>'click' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(456693833419490022) ,p_event_id=>wwv_flow_api.id(456693539992490021) ,p_event_result=>'TRUE' ,p_action_sequence=>10 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_AFICH_DIALG_IFRAM' ,p_attribute_01=>'Ajouter une équipe' ,p_attribute_03=>'640' ,p_attribute_04=>'480' ,p_attribute_05=>'dialg_jalon_equip' ,p_attribute_07=>'PAGE' ,p_attribute_13=>'Y' ,p_attribute_14=>'afw_11_aplic_pkg.obten_numr_apex_aplic(''SAFM'')' ,p_attribute_15=>'1023' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_da_event( p_id=>wwv_flow_api.id(456694844064510120) ,p_name=>'Équipe du jalon - Afficher Dialogue (Modification)' ,p_event_sequence=>20 ,p_triggering_element_type=>'ITEM' ,p_triggering_element=>'P1022_JALON_EQUIP' ,p_bind_type=>'bind' ,p_bind_event_type=>'change' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(456695122839510120) ,p_event_id=>wwv_flow_api.id(456694844064510120) ,p_event_result=>'TRUE' ,p_action_sequence=>10 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_AFICH_DIALG_IFRAM' ,p_attribute_01=>'Mettre à jour une équipe' ,p_attribute_03=>'640' ,p_attribute_04=>'480' ,p_attribute_05=>'dialg_jalon_equip' ,p_attribute_07=>'PAGE' ,p_attribute_10=>'P1022_JALON_EQUIP' ,p_attribute_13=>'Y' ,p_attribute_14=>'afw_11_aplic_pkg.obten_numr_apex_aplic(''SAFM'')' ,p_attribute_15=>'1023' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_da_event( p_id=>wwv_flow_api.id(456697936108583571) ,p_name=>'Équipe du jalon - Fermer dialogue' ,p_event_sequence=>30 ,p_triggering_element_type=>'JQUERY_SELECTOR' ,p_triggering_element=>'div.dialg_jalon_equip div.afw_21_actio_dynmq_dialg' ,p_bind_type=>'live' ,p_bind_event_type=>'PLUGIN_IO_AFW_21_AFICH_DIALG_IFRAM|DYNAMIC ACTION|dialogbeforeclose' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(456698228385583573) ,p_event_id=>wwv_flow_api.id(456697936108583571) ,p_event_result=>'TRUE' ,p_action_sequence=>10 ,p_execute_on_page_init=>'N' ,p_action=>'NATIVE_EXECUTE_PLSQL_CODE' ,p_attribute_01=>'afw_21_plugn_dialg_ifram_pkg.defnr_contx_apres_fermt_dialg();' ,p_stop_execution_on_error=>'Y' ,p_wait_for_result=>'Y' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(456698618924588073) ,p_event_id=>wwv_flow_api.id(456697936108583571) ,p_event_result=>'TRUE' ,p_action_sequence=>20 ,p_execute_on_page_init=>'N' ,p_action=>'NATIVE_REFRESH' ,p_affected_elements_type=>'REGION' ,p_affected_region_id=>wwv_flow_api.id(456665635912694152) ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(456698826542590213) ,p_event_id=>wwv_flow_api.id(456697936108583571) ,p_event_result=>'TRUE' ,p_action_sequence=>30 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_REGN_AFICH_MESG_PR' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(456699130698591403) ,p_event_id=>wwv_flow_api.id(456697936108583571) ,p_event_result=>'TRUE' ,p_action_sequence=>40 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_REGN_AFICH_MESG_IN' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(456601831196955386) ,p_process_sequence=>10 ,p_process_point=>'AFTER_HEADER' ,p_process_type=>'NATIVE_FORM_FETCH' ,p_process_name=>'Fetch Row from VD_AFW_32_JALON' ,p_attribute_02=>'VD_AFW_32_JALON' ,p_attribute_03=>'P1022_SEQNC' ,p_attribute_04=>'SEQNC' ,p_process_error_message=>'&A_AFW_13_MESG_IMPOS_FETCH.' ,p_process_when=>'P1022_SEQNC' ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(456869350478609785) ,p_process_sequence=>30 ,p_process_point=>'AFTER_HEADER' ,p_process_type=>'PLUGIN_IO_AFW_21_CHANG_LIBL_FIL_ARI' ,p_process_name=>'Changer libellé fil ariane' ,p_attribute_01=>':P1022_NOM' ,p_process_when=>'P1022_SEQNC' ,p_process_when_type=>'ITEM_IS_NOT_NULL' ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(456602049207955387) ,p_process_sequence=>20 ,p_process_point=>'AFTER_SUBMIT' ,p_process_type=>'NATIVE_FORM_PROCESS' ,p_process_name=>'Process Row of VD_AFW_32_JALON' ,p_attribute_02=>'VD_AFW_32_JALON' ,p_attribute_03=>'P1022_SEQNC' ,p_attribute_04=>'SEQNC' ,p_attribute_09=>'P1022_SEQNC' ,p_attribute_11=>'I:U:D' ,p_process_error_message=>'&A_AFW_13_MESG_ECHEC_SPECF.' ,p_error_display_location=>'INLINE_IN_NOTIFICATION' ,p_process_success_message=>'&A_AFW_13_MESG_SUCS_SPECF.' ,p_security_scheme=>wwv_flow_api.id(1723951025632196700) ); end; / prompt --application/pages/page_01023 begin wwv_flow_api.create_page( p_id=>1023 ,p_user_interface_id=>wwv_flow_api.id(3663430628528105) ,p_name=>'Équipe jalon' ,p_page_mode=>'NORMAL' ,p_step_title=>'Équipe' ,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS' ,p_first_item=>'NO_FIRST_ITEM' ,p_html_page_header=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<script language="JavaScript" type="text/javascript">', '<!--', '', ' htmldb_delete_message=''"DELETE_CONFIRM_MSG"'';', '', '//-->', '</script>', '')) ,p_step_template=>wwv_flow_api.id(524954649145896531) ,p_page_template_options=>'#DEFAULT#' ,p_required_role=>wwv_flow_api.id(1724855148880581895) ,p_dialog_chained=>'Y' ,p_overwrite_navigation_list=>'N' ,p_nav_list_template_options=>'#DEFAULT#' ,p_page_is_public_y_n=>'N' ,p_cache_mode=>'NOCACHE' ,p_cache_timeout_seconds=>21600 ,p_last_upd_yyyymmddhh24miss=>'20160513152058' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(456676138364921995) ,p_plug_name=>'Équipe jalon' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524964537325896540) ,p_plug_display_sequence=>10 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'BODY_3' ,p_plug_query_row_template=>1 ,p_plug_query_headings_type=>'QUERY_COLUMNS' ,p_plug_query_num_rows=>15 ,p_plug_query_num_rows_type=>'NEXT_PREVIOUS_LINKS' ,p_plug_query_show_nulls_as=>' - ' ,p_pagination_display_position=>'BOTTOM_RIGHT' ,p_attribute_01=>'N' ,p_attribute_02=>'HTML' ,p_attribute_03=>'N' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(456676344944923871) ,p_plug_name=>'Barre de bouton (nav bar)' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524958835947896536) ,p_plug_display_sequence=>5 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'REGION_POSITION_05' ,p_plug_query_row_template=>1 ,p_plug_query_headings_type=>'QUERY_COLUMNS' ,p_plug_query_num_rows=>15 ,p_plug_query_num_rows_type=>'NEXT_PREVIOUS_LINKS' ,p_plug_query_show_nulls_as=>' - ' ,p_pagination_display_position=>'BOTTOM_RIGHT' ,p_attribute_01=>'N' ,p_attribute_02=>'HTML' ,p_attribute_03=>'N' ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(456678126075956200) ,p_button_sequence=>40 ,p_button_plug_id=>wwv_flow_api.id(456676344944923871) ,p_button_name=>'CANCEL' ,p_button_action=>'DEFINED_BY_DA' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_image_alt=>'Annuler' ,p_button_position=>'REGION_TEMPLATE_CLOSE' ,p_button_execute_validations=>'N' ,p_button_css_classes=>'btn-info' ,p_button_cattributes=>'fa-undo' ,p_grid_new_grid=>false ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(456676544036933038) ,p_button_sequence=>10 ,p_button_plug_id=>wwv_flow_api.id(456676344944923871) ,p_button_name=>'CREATE' ,p_button_action=>'SUBMIT' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_is_hot=>'Y' ,p_button_image_alt=>'Enregistrer' ,p_button_position=>'REGION_TEMPLATE_CREATE' ,p_button_condition=>'P1023_SEQNC' ,p_button_condition_type=>'ITEM_IS_NULL' ,p_button_css_classes=>'btn-success' ,p_button_cattributes=>'fa-save' ,p_grid_new_grid=>false ,p_security_scheme=>wwv_flow_api.id(1721922232923650037) ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(456677242913951696) ,p_button_sequence=>30 ,p_button_plug_id=>wwv_flow_api.id(456676344944923871) ,p_button_name=>'SAVE' ,p_button_action=>'SUBMIT' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_is_hot=>'Y' ,p_button_image_alt=>'Enregistrer' ,p_button_position=>'REGION_TEMPLATE_CREATE' ,p_button_condition=>'P1023_SEQNC' ,p_button_condition_type=>'ITEM_IS_NOT_NULL' ,p_button_css_classes=>'btn-success' ,p_button_cattributes=>'fa-save' ,p_grid_new_grid=>false ,p_security_scheme=>wwv_flow_api.id(1723923346971193396) ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(456676843475942370) ,p_button_sequence=>20 ,p_button_plug_id=>wwv_flow_api.id(456676344944923871) ,p_button_name=>'DELETE' ,p_button_action=>'REDIRECT_URL' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976635139896554) ,p_button_is_hot=>'Y' ,p_button_image_alt=>'Supprimer' ,p_button_position=>'REGION_TEMPLATE_DELETE' ,p_button_redirect_url=>'javascript:confirmDelete(htmldb_delete_message,''DELETE'');' ,p_button_condition=>'P1023_SEQNC' ,p_button_condition_type=>'ITEM_IS_NOT_NULL' ,p_button_cattributes=>'fa-remove' ,p_grid_new_grid=>false ,p_security_scheme=>wwv_flow_api.id(1723935220091195070) ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456679018288991833) ,p_name=>'P1023_REF_JALON' ,p_item_sequence=>10 ,p_item_plug_id=>wwv_flow_api.id(1556119583145901512) ,p_item_default=>':A_AFW_04_SOURC_SEQNC_CONTX' ,p_item_default_type=>'PLSQL_EXPRESSION' ,p_source=>'REF_JALON' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_HIDDEN' ,p_cSize=>30 ,p_cMaxlength=>4000 ,p_cHeight=>1 ,p_cAttributes=>'nowrap="nowrap"' ,p_begin_on_new_line=>'N' ,p_colspan=>1 ,p_rowspan=>1 ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'Y' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456681238337044917) ,p_name=>'P1023_SEQNC' ,p_item_sequence=>20 ,p_item_plug_id=>wwv_flow_api.id(1556119583145901512) ,p_source=>'SEQNC' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_HIDDEN' ,p_cSize=>30 ,p_cMaxlength=>4000 ,p_cHeight=>1 ,p_cAttributes=>'nowrap="nowrap"' ,p_begin_on_new_line=>'N' ,p_colspan=>1 ,p_rowspan=>1 ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'Y' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456681730157052015) ,p_name=>'P1023_DEBUT_EFEC' ,p_is_required=>true ,p_item_sequence=>30 ,p_item_plug_id=>wwv_flow_api.id(456676138364921995) ,p_prompt=>'Début effectivité' ,p_format_mask=>'YYYY-MM-DD' ,p_source=>'DEBUT_EFECT' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_DATE_PICKER' ,p_cSize=>12 ,p_cMaxlength=>10 ,p_cHeight=>1 ,p_cAttributes=>'nowrap="nowrap"' ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_field_alignment=>'LEFT-CENTER' ,p_field_template=>wwv_flow_api.id(524973827299896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_04=>'button' ,p_attribute_05=>'Y' ,p_attribute_07=>'MONTH_AND_YEAR' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456681942277055513) ,p_name=>'P1023_FIN_EFECT' ,p_item_sequence=>40 ,p_item_plug_id=>wwv_flow_api.id(456676138364921995) ,p_prompt=>'Fin effectivité' ,p_format_mask=>'YYYY-MM-DD' ,p_source=>'FIN_EFECT' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_DATE_PICKER' ,p_cSize=>12 ,p_cMaxlength=>10 ,p_cHeight=>1 ,p_cAttributes=>'nowrap="nowrap"' ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_field_alignment=>'LEFT-CENTER' ,p_field_template=>wwv_flow_api.id(524973645529896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_04=>'button' ,p_attribute_05=>'Y' ,p_attribute_07=>'MONTH_AND_YEAR' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456682634490091113) ,p_name=>'P1023_REF_EQUIP' ,p_item_sequence=>10 ,p_item_plug_id=>wwv_flow_api.id(456676138364921995) ,p_prompt=>'Équipe' ,p_source=>'REF_EQUIP' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'PLUGIN_IO_AFW_21_SELCT_2' ,p_lov=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'SELECT nom d, seqnc r ', 'FROM VD_AFW_12_UTILS')) ,p_lov_display_null=>'YES' ,p_lov_null_text=>'- Choisir -' ,p_cSize=>200 ,p_cMaxlength=>4000 ,p_cHeight=>1 ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_field_alignment=>'LEFT-CENTER' ,p_field_template=>wwv_flow_api.id(524973827299896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'NO' ,p_attribute_01=>'SINGL_VALUE' ,p_attribute_02=>'Y' ,p_attribute_03=>'Y' ,p_attribute_04=>'10' ,p_attribute_05=>'100' ,p_attribute_06=>'0' ,p_attribute_07=>'0' ,p_attribute_09=>':' ,p_attribute_10=>'LIKE_IGNORE' ,p_attribute_11=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'SELECT nom d, seqnc r ', 'FROM VD_AFW_12_UTILS')) ,p_attribute_12=>'300px' ,p_attribute_13=>'N' ,p_attribute_14=>'1' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456702227637694630) ,p_name=>'P1023_POURC_AFECT_EQUIP_JALON' ,p_is_required=>true ,p_item_sequence=>15 ,p_item_plug_id=>wwv_flow_api.id(456676138364921995) ,p_prompt=>'Pourcentage affecté' ,p_post_element_text=>'%' ,p_format_mask=>'999G999G999G999G990D00' ,p_source=>'POURC_AFECT_EQUIP_JALON' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_NUMBER_FIELD' ,p_cSize=>6 ,p_cMaxlength=>6 ,p_cHeight=>1 ,p_cAttributes=>'nowrap="nowrap"' ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_field_template=>wwv_flow_api.id(524973827299896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'0' ,p_attribute_02=>'100' ,p_attribute_03=>'right' ); wwv_flow_api.create_page_da_event( p_id=>wwv_flow_api.id(456692033450440861) ,p_name=>'Fermer dialogue' ,p_event_sequence=>10 ,p_triggering_element_type=>'BUTTON' ,p_triggering_button_id=>wwv_flow_api.id(456678126075956200) ,p_bind_type=>'bind' ,p_bind_event_type=>'click' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(456692341220440862) ,p_event_id=>wwv_flow_api.id(456692033450440861) ,p_event_result=>'TRUE' ,p_action_sequence=>10 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_FERMR_DIALG_IFRAM' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(456691230155402094) ,p_process_sequence=>10 ,p_process_point=>'AFTER_HEADER' ,p_process_type=>'NATIVE_FORM_FETCH' ,p_process_name=>'FETCH ROW VD_AFW_32_JALON_EQUIP' ,p_attribute_02=>'VD_AFW_32_JALON_EQUIP' ,p_attribute_03=>'P1023_SEQNC' ,p_attribute_04=>'SEQNC' ,p_process_error_message=>'&A_AFW_13_MESG_IMPOS_FETCH.' ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(456691629378420729) ,p_process_sequence=>10 ,p_process_point=>'AFTER_SUBMIT' ,p_process_type=>'NATIVE_FORM_PROCESS' ,p_process_name=>'PROCESS ROW OF VD_AFW_32_JALON_EQUIP' ,p_attribute_02=>'VD_AFW_32_JALON_EQUIP' ,p_attribute_03=>'P1023_SEQNC' ,p_attribute_04=>'SEQNC' ,p_attribute_09=>'P1023_SEQNC' ,p_attribute_11=>'I:U:D' ,p_process_error_message=>'&A_AFW_13_MESG_ECHEC_SPECF.' ,p_error_display_location=>'INLINE_IN_NOTIFICATION' ,p_process_when=>':REQUEST IN (''CREATE'',''SAVE'',''DELETE'')' ,p_process_when_type=>'PLSQL_EXPRESSION' ,p_process_success_message=>'&A_AFW_13_MESG_SUCS_SPECF.' ,p_security_scheme=>wwv_flow_api.id(1723951025632196700) ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(456692834058459979) ,p_process_sequence=>20 ,p_process_point=>'AFTER_SUBMIT' ,p_process_type=>'PLUGIN_IO_AFW_21_FERMR_DIALG_IFRAM' ,p_process_name=>'Fermer le dialogue' ,p_error_display_location=>'INLINE_IN_NOTIFICATION' ); end; / prompt --application/pages/page_01031 begin wwv_flow_api.create_page( p_id=>1031 ,p_user_interface_id=>wwv_flow_api.id(3663430628528105) ,p_name=>'Disponibilités' ,p_page_mode=>'NORMAL' ,p_step_title=>'Disponibilités' ,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS' ,p_first_item=>'AUTO_FIRST_ITEM' ,p_html_page_header=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<script language="JavaScript" type="text/javascript">', '<!--', '', ' htmldb_delete_message=''"DELETE_CONFIRM_MSG"'';', '', '//-->', '</script>', '')) ,p_page_template_options=>'#DEFAULT#' ,p_required_role=>wwv_flow_api.id(1724855148880581895) ,p_dialog_chained=>'Y' ,p_overwrite_navigation_list=>'N' ,p_nav_list_template_options=>'#DEFAULT#' ,p_page_is_public_y_n=>'N' ,p_cache_mode=>'NOCACHE' ,p_cache_timeout_seconds=>21600 ,p_last_upd_yyyymmddhh24miss=>'20160513151731' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(456765947688401705) ,p_plug_name=>'Disponibilités utilisateurs' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524964537325896540) ,p_plug_display_sequence=>10 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'BODY_3' ,p_plug_source=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'SELECT "SEQNC",', ' "REF_UTILS_FORMT",', ' "DEBUT_EFECT",', ' "EFORT_DISPN_SEMN",', ' "FIN_EFECT"', ' FROM "#OWNER#"."VD_AFW_32_DISPN_UTILS"', ' WHERE ref_utils = afw_04_contx_pkg.obten_seqnc_contx (''UTILS_SAFD'')', ' ', '')) ,p_plug_source_type=>'NATIVE_IR' ,p_plug_query_row_template=>1 ); wwv_flow_api.create_worksheet( p_id=>wwv_flow_api.id(456766124997401706) ,p_name=>'Disponibilités utilisateurs' ,p_max_row_count=>'100000' ,p_max_row_count_message=>'&A_AFW_13_MESG_TROP_DON_TROUV.' ,p_no_data_found_message=>'&A_AFW_13_MESG_AUCUN_DON_TROUV.' ,p_allow_report_categories=>'N' ,p_show_nulls_as=>'-' ,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' ,p_pagination_display_pos=>'BOTTOM_RIGHT' ,p_report_list_mode=>'TABS' ,p_fixed_header=>'NONE' ,p_show_detail_link=>'C' ,p_show_pivot=>'N' ,p_show_calendar=>'N' ,p_download_formats=>'CSV:HTML:EMAIL' ,p_detail_link=>'javascript:apex.item(''P1031_DISPN_UTILS'').setValue(#SEQNC#);' ,p_detail_link_text=>'&A_AFW_13_LIEN_EDITN_RAPRT.' ,p_allow_exclude_null_values=>'N' ,p_allow_hide_extra_columns=>'N' ,p_icon_view_columns_per_row=>1 ,p_owner=>'GARJE' ,p_internal_uid=>1 ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456766239635401708) ,p_db_column_name=>'SEQNC' ,p_display_order=>1 ,p_column_identifier=>'A' ,p_column_label=>'Seqnc' ,p_allow_pivot=>'N' ,p_column_type=>'NUMBER' ,p_display_text_as=>'HIDDEN' ,p_tz_dependent=>'N' ,p_static_id=>'SEQNC' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456766344688401710) ,p_db_column_name=>'REF_UTILS_FORMT' ,p_display_order=>2 ,p_column_identifier=>'B' ,p_column_label=>'Utilisateur' ,p_allow_pivot=>'N' ,p_column_type=>'STRING' ,p_heading_alignment=>'LEFT' ,p_tz_dependent=>'N' ,p_static_id=>'REF_UTILS_FORMT' ,p_display_condition_type=>'PLSQL_EXPRESSION' ,p_display_condition=>'afw_04_contx_pkg.obten_seqnc_contx(''UTILS_SAFD'') is null' ,p_column_comment=>'La condition "item / column null" ne marche pas dans ce cas ' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456766446609401711) ,p_db_column_name=>'DEBUT_EFECT' ,p_display_order=>3 ,p_column_identifier=>'C' ,p_column_label=>'Debut effectivité' ,p_allow_pivot=>'N' ,p_column_type=>'DATE' ,p_column_alignment=>'CENTER' ,p_format_mask=>'YYYY-MM-DD' ,p_tz_dependent=>'N' ,p_static_id=>'DEBUT_EFECT' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456766537222401711) ,p_db_column_name=>'EFORT_DISPN_SEMN' ,p_display_order=>4 ,p_column_identifier=>'D' ,p_column_label=>'Effort disponible' ,p_allow_pivot=>'N' ,p_column_type=>'NUMBER' ,p_heading_alignment=>'RIGHT' ,p_column_alignment=>'RIGHT' ,p_tz_dependent=>'N' ,p_static_id=>'EFORT_DISPN_SEMN' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456766630657401711) ,p_db_column_name=>'FIN_EFECT' ,p_display_order=>5 ,p_column_identifier=>'E' ,p_column_label=>'Fin effectivité' ,p_allow_pivot=>'N' ,p_column_type=>'DATE' ,p_column_alignment=>'CENTER' ,p_format_mask=>'YYYY-MM-DD' ,p_tz_dependent=>'N' ,p_static_id=>'FIN_EFECT' ); wwv_flow_api.create_worksheet_rpt( p_id=>wwv_flow_api.id(456783226970088673) ,p_application_user=>'APXWS_DEFAULT' ,p_report_seq=>10 ,p_report_alias=>'4532004' ,p_status=>'PUBLIC' ,p_is_default=>'Y' ,p_display_rows=>15 ,p_report_columns=>'REF_UTILS_FORMT:EFORT_DISPN_SEMN:DEBUT_EFECT:FIN_EFECT:' ,p_sort_column_1=>'DEBUT_EFECT' ,p_sort_direction_1=>'ASC' ,p_sort_column_2=>'0' ,p_sort_direction_2=>'ASC' ,p_flashback_enabled=>'N' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(456767240916449391) ,p_plug_name=>'Barre de bouton (nav bar)' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524958835947896536) ,p_plug_display_sequence=>20 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'REGION_POSITION_05' ,p_plug_item_display_point=>'BELOW' ,p_plug_query_row_template=>1 ,p_attribute_01=>'N' ,p_attribute_02=>'HTML' ,p_attribute_03=>'N' ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(456766833391401711) ,p_button_sequence=>30 ,p_button_plug_id=>wwv_flow_api.id(456767240916449391) ,p_button_name=>'CREATE' ,p_button_action=>'DEFINED_BY_DA' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_is_hot=>'Y' ,p_button_image_alt=>'Ajouter' ,p_button_position=>'REGION_TEMPLATE_CREATE' ,p_button_css_classes=>'btn-success' ,p_button_cattributes=>'fa-plus' ,p_grid_new_grid=>false ,p_security_scheme=>wwv_flow_api.id(1721922232923650037) ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456772830630578836) ,p_name=>'P1031_DISPN_UTILS' ,p_item_sequence=>10 ,p_item_plug_id=>wwv_flow_api.id(1556119583145901512) ,p_display_as=>'NATIVE_HIDDEN' ,p_cMaxlength=>4000 ,p_cAttributes=>'nowrap="nowrap"' ,p_begin_on_new_line=>'N' ,p_colspan=>1 ,p_rowspan=>1 ,p_item_template_options=>'#DEFAULT#' ,p_attribute_01=>'Y' ); wwv_flow_api.create_page_da_event( p_id=>wwv_flow_api.id(456768633129484964) ,p_name=>'Disponibilité - Afficher dialogue (création)' ,p_event_sequence=>10 ,p_triggering_element_type=>'BUTTON' ,p_triggering_button_id=>wwv_flow_api.id(456766833391401711) ,p_bind_type=>'bind' ,p_bind_event_type=>'click' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(456768941117484965) ,p_event_id=>wwv_flow_api.id(456768633129484964) ,p_event_result=>'TRUE' ,p_action_sequence=>10 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_AFICH_DIALG_IFRAM' ,p_attribute_01=>'Ajouter une disponibilité' ,p_attribute_03=>'640' ,p_attribute_04=>'480' ,p_attribute_05=>'dialg_dispn_utils' ,p_attribute_07=>'PAGE' ,p_attribute_13=>'Y' ,p_attribute_14=>'afw_11_aplic_pkg.obten_numr_apex_aplic(''SAFM'')' ,p_attribute_15=>'1032' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_da_event( p_id=>wwv_flow_api.id(456769536507504841) ,p_name=>'Disponibilité - Afficher dialogue (modification)' ,p_event_sequence=>20 ,p_triggering_element_type=>'ITEM' ,p_triggering_element=>'P1031_DISPN_UTILS' ,p_bind_type=>'bind' ,p_bind_event_type=>'change' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(456769830969504842) ,p_event_id=>wwv_flow_api.id(456769536507504841) ,p_event_result=>'TRUE' ,p_action_sequence=>10 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_AFICH_DIALG_IFRAM' ,p_attribute_01=>'Mettre à jour une disponibilité' ,p_attribute_03=>'640' ,p_attribute_04=>'480' ,p_attribute_05=>'dialg_dispn_utils' ,p_attribute_07=>'PAGE' ,p_attribute_10=>'P1031_DISPN_UTILS' ,p_attribute_13=>'Y' ,p_attribute_14=>'afw_11_aplic_pkg.obten_numr_apex_aplic(''SAFM'')' ,p_attribute_15=>'1032' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_da_event( p_id=>wwv_flow_api.id(456770446335517149) ,p_name=>'Disponibilité - Fermer dialogue' ,p_event_sequence=>30 ,p_triggering_element_type=>'JQUERY_SELECTOR' ,p_triggering_element=>'div.dialg_dispn_utils div.afw_21_actio_dynmq_dialg' ,p_bind_type=>'live' ,p_bind_event_type=>'PLUGIN_IO_AFW_21_AFICH_DIALG_IFRAM|DYNAMIC ACTION|dialogbeforeclose' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(456770737211517151) ,p_event_id=>wwv_flow_api.id(456770446335517149) ,p_event_result=>'TRUE' ,p_action_sequence=>10 ,p_execute_on_page_init=>'N' ,p_action=>'NATIVE_EXECUTE_PLSQL_CODE' ,p_attribute_01=>'afw_21_plugn_dialg_ifram_pkg.defnr_contx_apres_fermt_dialg();' ,p_stop_execution_on_error=>'Y' ,p_wait_for_result=>'Y' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(456770925688520648) ,p_event_id=>wwv_flow_api.id(456770446335517149) ,p_event_result=>'TRUE' ,p_action_sequence=>20 ,p_execute_on_page_init=>'N' ,p_action=>'NATIVE_REFRESH' ,p_affected_elements_type=>'REGION' ,p_affected_region_id=>wwv_flow_api.id(456765947688401705) ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(456771131921522434) ,p_event_id=>wwv_flow_api.id(456770446335517149) ,p_event_result=>'TRUE' ,p_action_sequence=>30 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_REGN_AFICH_MESG_PR' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(456771337462523997) ,p_event_id=>wwv_flow_api.id(456770446335517149) ,p_event_result=>'TRUE' ,p_action_sequence=>40 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_REGN_AFICH_MESG_IN' ,p_stop_execution_on_error=>'Y' ); end; / prompt --application/pages/page_01032 begin wwv_flow_api.create_page( p_id=>1032 ,p_user_interface_id=>wwv_flow_api.id(3663430628528105) ,p_name=>'Disponibilité' ,p_page_mode=>'NORMAL' ,p_step_title=>'Disponibilité' ,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS' ,p_first_item=>'AUTO_FIRST_ITEM' ,p_html_page_header=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<script language="JavaScript" type="text/javascript">', '<!--', '', ' htmldb_delete_message=''"DELETE_CONFIRM_MSG"'';', '', '//-->', '</script>', '')) ,p_step_template=>wwv_flow_api.id(524954649145896531) ,p_page_template_options=>'#DEFAULT#' ,p_required_role=>wwv_flow_api.id(1724855148880581895) ,p_dialog_chained=>'Y' ,p_overwrite_navigation_list=>'N' ,p_nav_list_template_options=>'#DEFAULT#' ,p_page_is_public_y_n=>'N' ,p_cache_mode=>'NOCACHE' ,p_cache_timeout_seconds=>21600 ,p_help_text=>'No help is available for this page.' ,p_last_upd_yyyymmddhh24miss=>'20160513152058' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(456761928819401676) ,p_plug_name=>'Disponibilité' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524961247111896538) ,p_plug_display_sequence=>10 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'BODY_3' ,p_plug_query_row_template=>1 ,p_attribute_01=>'N' ,p_attribute_02=>'HTML' ,p_attribute_03=>'N' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(456791334008298830) ,p_plug_name=>'Barre de bouton (nav bar)' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524958835947896536) ,p_plug_display_sequence=>20 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'REGION_POSITION_05' ,p_plug_item_display_point=>'BELOW' ,p_plug_query_row_template=>1 ,p_attribute_01=>'N' ,p_attribute_02=>'HTML' ,p_attribute_03=>'N' ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(456762523602401678) ,p_button_sequence=>10 ,p_button_plug_id=>wwv_flow_api.id(456791334008298830) ,p_button_name=>'CANCEL' ,p_button_action=>'DEFINED_BY_DA' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_image_alt=>'Annuler' ,p_button_position=>'REGION_TEMPLATE_CLOSE' ,p_button_css_classes=>'btn-info' ,p_button_cattributes=>'fa-undo' ,p_grid_new_grid=>false ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(456762218447401678) ,p_button_sequence=>30 ,p_button_plug_id=>wwv_flow_api.id(456791334008298830) ,p_button_name=>'SAVE' ,p_button_action=>'SUBMIT' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_is_hot=>'Y' ,p_button_image_alt=>'Enregistrer' ,p_button_position=>'REGION_TEMPLATE_CREATE' ,p_button_condition=>'P1032_SEQNC' ,p_button_condition_type=>'ITEM_IS_NOT_NULL' ,p_button_css_classes=>'btn-success' ,p_button_cattributes=>'fa-save' ,p_grid_new_grid=>false ,p_security_scheme=>wwv_flow_api.id(1723923346971193396) ,p_database_action=>'UPDATE' ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(456762150328401678) ,p_button_sequence=>40 ,p_button_plug_id=>wwv_flow_api.id(456791334008298830) ,p_button_name=>'CREATE' ,p_button_action=>'SUBMIT' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_is_hot=>'Y' ,p_button_image_alt=>'Enregistrer' ,p_button_position=>'REGION_TEMPLATE_CREATE' ,p_button_condition=>'P1032_SEQNC' ,p_button_condition_type=>'ITEM_IS_NULL' ,p_button_css_classes=>'btn-success' ,p_button_cattributes=>'fa-save' ,p_grid_new_grid=>false ,p_security_scheme=>wwv_flow_api.id(1721922232923650037) ,p_database_action=>'INSERT' ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(456762346156401678) ,p_button_sequence=>20 ,p_button_plug_id=>wwv_flow_api.id(456791334008298830) ,p_button_name=>'DELETE' ,p_button_action=>'REDIRECT_URL' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976635139896554) ,p_button_is_hot=>'Y' ,p_button_image_alt=>'Supprimer' ,p_button_position=>'REGION_TEMPLATE_DELETE' ,p_button_redirect_url=>'javascript:apex.confirm(htmldb_delete_message,''DELETE'');' ,p_button_execute_validations=>'N' ,p_button_condition=>'P1032_SEQNC' ,p_button_condition_type=>'ITEM_IS_NOT_NULL' ,p_button_cattributes=>'fa-remove' ,p_grid_new_grid=>false ,p_security_scheme=>wwv_flow_api.id(1723935220091195070) ,p_database_action=>'DELETE' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456763639232401682) ,p_name=>'P1032_SEQNC' ,p_item_sequence=>10 ,p_item_plug_id=>wwv_flow_api.id(1556119583145901512) ,p_use_cache_before_default=>'NO' ,p_prompt=>'Seqnc' ,p_source=>'SEQNC' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_HIDDEN' ,p_cSize=>30 ,p_cMaxlength=>2000 ,p_cHeight=>1 ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'RIGHT' ,p_field_template=>wwv_flow_api.id(524973645529896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'Y' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456764226065401692) ,p_name=>'P1032_DEBUT_EFECT' ,p_is_required=>true ,p_item_sequence=>40 ,p_item_plug_id=>wwv_flow_api.id(456761928819401676) ,p_use_cache_before_default=>'NO' ,p_prompt=>'Début effectivitée' ,p_format_mask=>'YYYY-MM-DD' ,p_source=>'DEBUT_EFECT' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_DATE_PICKER' ,p_cSize=>12 ,p_cMaxlength=>10 ,p_cHeight=>1 ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_field_template=>wwv_flow_api.id(524973827299896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_04=>'button' ,p_attribute_05=>'Y' ,p_attribute_07=>'MONTH_AND_YEAR' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456764435406401692) ,p_name=>'P1032_EFORT_DISPN_SEMN' ,p_is_required=>true ,p_item_sequence=>35 ,p_item_plug_id=>wwv_flow_api.id(456761928819401676) ,p_use_cache_before_default=>'NO' ,p_prompt=>'Effort disponible' ,p_format_mask=>'999G999G999G999G990D00' ,p_source=>'EFORT_DISPN_SEMN' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_NUMBER_FIELD' ,p_cSize=>3 ,p_cMaxlength=>3 ,p_cHeight=>1 ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_field_template=>wwv_flow_api.id(524973827299896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_03=>'right' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456764634476401692) ,p_name=>'P1032_FIN_EFECT' ,p_item_sequence=>60 ,p_item_plug_id=>wwv_flow_api.id(456761928819401676) ,p_use_cache_before_default=>'NO' ,p_prompt=>'Date début effectivitée' ,p_format_mask=>'YYYY-MM-DD' ,p_source=>'FIN_EFECT' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_DATE_PICKER' ,p_cSize=>12 ,p_cMaxlength=>10 ,p_cHeight=>1 ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_field_template=>wwv_flow_api.id(524973645529896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_04=>'button' ,p_attribute_05=>'Y' ,p_attribute_07=>'MONTH_AND_YEAR' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456796643807434129) ,p_name=>'P1032_REF_UTILS' ,p_item_sequence=>10 ,p_item_plug_id=>wwv_flow_api.id(456761928819401676) ,p_item_default=>'afw_04_contx_pkg.obten_seqnc_contx(''UTILS_SAFD'')' ,p_item_default_type=>'PLSQL_EXPRESSION' ,p_prompt=>'Utilisateur' ,p_source=>'REF_UTILS' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_SELECT_LIST' ,p_lov=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'SELECT nom_formt d, seqnc r ', 'FROM VD_AFW_12_UTILS')) ,p_lov_display_null=>'YES' ,p_lov_null_text=>'- Choisir -' ,p_cSize=>200 ,p_cMaxlength=>4000 ,p_cHeight=>1 ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_field_alignment=>'LEFT-CENTER' ,p_display_when=>'afw_04_contx_pkg.obten_seqnc_contx(''UTILS_SAFD'') is null' ,p_read_only_when=>'afw_04_contx_pkg.obten_seqnc_contx(''UTILS_SAFD'') is not null' ,p_read_only_when_type=>'PLSQL_EXPRESSION' ,p_field_template=>wwv_flow_api.id(524973827299896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'NO' ,p_attribute_01=>'NONE' ,p_attribute_02=>'N' ); wwv_flow_api.create_page_da_event( p_id=>wwv_flow_api.id(456793118864351187) ,p_name=>'Fermer dialogue' ,p_event_sequence=>10 ,p_triggering_element_type=>'BUTTON' ,p_triggering_button_id=>wwv_flow_api.id(456762523602401678) ,p_bind_type=>'bind' ,p_bind_event_type=>'click' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(456793440413351188) ,p_event_id=>wwv_flow_api.id(456793118864351187) ,p_event_result=>'TRUE' ,p_action_sequence=>10 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_FERMR_DIALG_IFRAM' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(456765043094401694) ,p_process_sequence=>10 ,p_process_point=>'AFTER_HEADER' ,p_process_type=>'NATIVE_FORM_FETCH' ,p_process_name=>'Fetch Row from VD_AFW_32_DISPN_UTILS' ,p_attribute_02=>'VD_AFW_32_DISPN_UTILS' ,p_attribute_03=>'P1032_SEQNC' ,p_attribute_04=>'SEQNC' ,p_process_error_message=>'&A_AFW_13_MESG_IMPOS_FETCH.' ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(456765248429401695) ,p_process_sequence=>30 ,p_process_point=>'AFTER_SUBMIT' ,p_process_type=>'NATIVE_FORM_PROCESS' ,p_process_name=>'Process Row of VD_AFW_32_DISPN_UTILS' ,p_attribute_02=>'VD_AFW_32_DISPN_UTILS' ,p_attribute_03=>'P1032_SEQNC' ,p_attribute_04=>'SEQNC' ,p_attribute_09=>'P1032_SEQNC' ,p_attribute_11=>'I:U:D' ,p_process_error_message=>'&A_AFW_13_MESG_ECHEC_SPECF.' ,p_error_display_location=>'INLINE_IN_NOTIFICATION' ,p_process_when=>':REQUEST IN (''CREATE'',''SAVE'',''DELETE'')' ,p_process_when_type=>'PLSQL_EXPRESSION' ,p_process_success_message=>'&A_AFW_13_MESG_SUCS_SPECF.' ,p_security_scheme=>wwv_flow_api.id(1723951025632196700) ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(456811746699718755) ,p_process_sequence=>40 ,p_process_point=>'AFTER_SUBMIT' ,p_process_type=>'PLUGIN_IO_AFW_21_FERMR_DIALG_IFRAM' ,p_process_name=>'Fermer le dialogue' ,p_error_display_location=>'INLINE_IN_NOTIFICATION' ); end; / prompt --application/pages/page_01041 begin wwv_flow_api.create_page( p_id=>1041 ,p_user_interface_id=>wwv_flow_api.id(3663430628528105) ,p_name=>'Rôles' ,p_page_mode=>'NORMAL' ,p_step_title=>'Rôles' ,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS' ,p_first_item=>'AUTO_FIRST_ITEM' ,p_page_template_options=>'#DEFAULT#' ,p_required_role=>wwv_flow_api.id(1724855148880581895) ,p_dialog_chained=>'Y' ,p_overwrite_navigation_list=>'N' ,p_nav_list_template_options=>'#DEFAULT#' ,p_page_is_public_y_n=>'N' ,p_cache_mode=>'NOCACHE' ,p_cache_timeout_seconds=>21600 ,p_last_upd_yyyymmddhh24miss=>'20160513151731' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(456804322090591161) ,p_plug_name=>'Rôles' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524964537325896540) ,p_plug_display_sequence=>10 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'BODY_3' ,p_plug_source=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select "SEQNC", ', '"CODE",', '"NOM",', '"DESCR"', 'from "VD_AFW_32_ROLE" ', ' ', '')) ,p_plug_source_type=>'NATIVE_IR' ,p_plug_query_row_template=>1 ); wwv_flow_api.create_worksheet( p_id=>wwv_flow_api.id(456804521455591161) ,p_name=>'Rôles' ,p_max_row_count=>'100000' ,p_max_row_count_message=>'&A_AFW_13_MESG_TROP_DON_TROUV.' ,p_no_data_found_message=>'&A_AFW_13_MESG_AUCUN_DON_TROUV.' ,p_allow_report_categories=>'N' ,p_show_nulls_as=>'-' ,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' ,p_pagination_display_pos=>'BOTTOM_RIGHT' ,p_report_list_mode=>'TABS' ,p_fixed_header=>'NONE' ,p_show_detail_link=>'C' ,p_show_pivot=>'N' ,p_show_calendar=>'N' ,p_download_formats=>'CSV:HTML:EMAIL' ,p_detail_link=>'f?p=&APP_ID.:1042:&SESSION.::&DEBUG.:RP:SIDF,SSPC:&SIDF.,#SEQNC#' ,p_detail_link_text=>' &A_AFW_13_LIEN_EDITN_RAPRT.' ,p_allow_exclude_null_values=>'N' ,p_allow_hide_extra_columns=>'N' ,p_icon_view_columns_per_row=>1 ,p_owner=>'FOUER' ,p_internal_uid=>1 ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456804625609591164) ,p_db_column_name=>'SEQNC' ,p_display_order=>1 ,p_column_identifier=>'A' ,p_column_label=>'Seqnc' ,p_allow_pivot=>'N' ,p_column_type=>'NUMBER' ,p_display_text_as=>'HIDDEN' ,p_heading_alignment=>'RIGHT' ,p_column_alignment=>'RIGHT' ,p_tz_dependent=>'N' ,p_static_id=>'SEQNC' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456804730253591165) ,p_db_column_name=>'CODE' ,p_display_order=>2 ,p_column_identifier=>'B' ,p_column_label=>'Code' ,p_allow_pivot=>'N' ,p_column_type=>'STRING' ,p_heading_alignment=>'LEFT' ,p_tz_dependent=>'N' ,p_static_id=>'CODE' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456804834924591165) ,p_db_column_name=>'NOM' ,p_display_order=>3 ,p_column_identifier=>'C' ,p_column_label=>'Nom' ,p_allow_pivot=>'N' ,p_column_type=>'STRING' ,p_heading_alignment=>'LEFT' ,p_tz_dependent=>'N' ,p_static_id=>'NOM' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456804945120591165) ,p_db_column_name=>'DESCR' ,p_display_order=>4 ,p_column_identifier=>'D' ,p_column_label=>'Description' ,p_allow_pivot=>'N' ,p_column_type=>'STRING' ,p_display_text_as=>'HIDDEN' ,p_heading_alignment=>'LEFT' ,p_tz_dependent=>'N' ,p_static_id=>'DESCR' ); wwv_flow_api.create_worksheet_rpt( p_id=>wwv_flow_api.id(456814536319791457) ,p_application_user=>'APXWS_DEFAULT' ,p_report_seq=>10 ,p_report_alias=>'4532317' ,p_status=>'PUBLIC' ,p_is_default=>'Y' ,p_display_rows=>15 ,p_report_columns=>'CODE:NOM:' ,p_sort_column_1=>'NOM' ,p_sort_direction_1=>'ASC' ,p_sort_column_2=>'0' ,p_sort_direction_2=>'ASC' ,p_flashback_enabled=>'N' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(456814927923807907) ,p_plug_name=>'Barre de bouton (nav bar)' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524958835947896536) ,p_plug_display_sequence=>20 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'REGION_POSITION_05' ,p_plug_item_display_point=>'BELOW' ,p_plug_query_row_template=>1 ,p_plug_query_headings_type=>'QUERY_COLUMNS' ,p_plug_query_num_rows_type=>'NEXT_PREVIOUS_LINKS' ,p_plug_query_show_nulls_as=>' - ' ,p_pagination_display_position=>'BOTTOM_RIGHT' ,p_attribute_01=>'N' ,p_attribute_02=>'HTML' ,p_attribute_03=>'N' ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(456805136018591166) ,p_button_sequence=>30 ,p_button_plug_id=>wwv_flow_api.id(456814927923807907) ,p_button_name=>'CREATE' ,p_button_action=>'REDIRECT_PAGE' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_is_hot=>'Y' ,p_button_image_alt=>'Créer' ,p_button_position=>'REGION_TEMPLATE_CREATE' ,p_button_redirect_url=>'f?p=&APP_ID.:1042:&SESSION.::&DEBUG.::SSPC,SIDF:,&SIDF.' ,p_button_css_classes=>'btn-success' ,p_button_cattributes=>'fa-plus' ,p_grid_new_grid=>false ,p_security_scheme=>wwv_flow_api.id(1721922232923650037) ); end; / prompt --application/pages/page_01042 begin wwv_flow_api.create_page( p_id=>1042 ,p_user_interface_id=>wwv_flow_api.id(3663430628528105) ,p_name=>'Rôle' ,p_page_mode=>'NORMAL' ,p_step_title=>'Rôle' ,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS' ,p_first_item=>'AUTO_FIRST_ITEM' ,p_html_page_header=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<script language="JavaScript" type="text/javascript">', '<!--', '', ' htmldb_delete_message=''"DELETE_CONFIRM_MSG"'';', '', '//-->', '</script>', '')) ,p_page_template_options=>'#DEFAULT#' ,p_required_role=>wwv_flow_api.id(1724855148880581895) ,p_dialog_chained=>'Y' ,p_overwrite_navigation_list=>'N' ,p_nav_list_template_options=>'#DEFAULT#' ,p_page_is_public_y_n=>'N' ,p_cache_mode=>'NOCACHE' ,p_cache_timeout_seconds=>21600 ,p_last_upd_yyyymmddhh24miss=>'20160513152058' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(456800749552591132) ,p_plug_name=>'Rôles' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524961247111896538) ,p_plug_display_sequence=>10 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'BODY_3' ,p_plug_query_row_template=>1 ,p_attribute_01=>'N' ,p_attribute_02=>'HTML' ,p_attribute_03=>'N' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(456819921446938551) ,p_plug_name=>'Barre de bouton (nav bar)' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524958835947896536) ,p_plug_display_sequence=>30 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'REGION_POSITION_05' ,p_plug_item_display_point=>'BELOW' ,p_plug_query_row_template=>1 ,p_plug_query_headings_type=>'QUERY_COLUMNS' ,p_plug_query_num_rows_type=>'NEXT_PREVIOUS_LINKS' ,p_plug_query_show_nulls_as=>' - ' ,p_pagination_display_position=>'BOTTOM_RIGHT' ,p_attribute_01=>'N' ,p_attribute_02=>'HTML' ,p_attribute_03=>'N' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(456846441130257105) ,p_plug_name=>'Affectation' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524965123033896540) ,p_plug_display_sequence=>20 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'BODY_3' ,p_plug_source=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select SEQNC, ', ' REF_ROLE, ', ' REF_UTILS,', ' REF_UTILS_FORMT, ', ' DEBUT_EFECT, ', ' FIN_EFECT', 'from VD_AFW_32_ROLE_UTILS', 'where REF_ROLE = :P1042_SEQNC')) ,p_plug_source_type=>'NATIVE_IR' ,p_plug_query_row_template=>1 ,p_plug_query_show_nulls_as=>' - ' ,p_plug_display_condition_type=>'ITEM_IS_NOT_NULL' ,p_plug_display_when_condition=>'P1042_SEQNC' ,p_pagination_display_position=>'BOTTOM_RIGHT' ); wwv_flow_api.create_worksheet( p_id=>wwv_flow_api.id(456846537787257107) ,p_name=>'Rôles utilisateur' ,p_max_row_count=>'100000' ,p_max_row_count_message=>'&A_AFW_13_MESG_TROP_DON_TROUV.' ,p_no_data_found_message=>'&A_AFW_13_MESG_AUCUN_DON_TROUV.' ,p_max_rows_per_page=>'15' ,p_allow_report_categories=>'N' ,p_show_nulls_as=>'-' ,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' ,p_pagination_display_pos=>'BOTTOM_RIGHT' ,p_report_list_mode=>'TABS' ,p_fixed_header=>'NONE' ,p_show_detail_link=>'C' ,p_show_pivot=>'N' ,p_show_calendar=>'N' ,p_download_formats=>'CSV:HTML:EMAIL' ,p_detail_link=>'javascript:apex.item(''P1042_ROLE_UTILS'').setValue(#SEQNC#);' ,p_detail_link_text=>' &A_AFW_13_LIEN_EDITN_RAPRT.' ,p_allow_exclude_null_values=>'N' ,p_allow_hide_extra_columns=>'N' ,p_icon_view_columns_per_row=>1 ,p_owner=>'FOUER' ,p_internal_uid=>1 ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456846724906257114) ,p_db_column_name=>'SEQNC' ,p_display_order=>1 ,p_column_identifier=>'A' ,p_column_label=>'Seqnc' ,p_allow_pivot=>'N' ,p_column_type=>'NUMBER' ,p_display_text_as=>'HIDDEN' ,p_heading_alignment=>'RIGHT' ,p_column_alignment=>'RIGHT' ,p_tz_dependent=>'N' ,p_static_id=>'SEQNC' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456846837944257115) ,p_db_column_name=>'REF_ROLE' ,p_display_order=>2 ,p_column_identifier=>'B' ,p_column_label=>'Ref Role' ,p_allow_pivot=>'N' ,p_column_type=>'NUMBER' ,p_display_text_as=>'HIDDEN' ,p_heading_alignment=>'RIGHT' ,p_column_alignment=>'RIGHT' ,p_tz_dependent=>'N' ,p_static_id=>'REF_ROLE' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456846927031257115) ,p_db_column_name=>'REF_UTILS' ,p_display_order=>3 ,p_column_identifier=>'C' ,p_column_label=>'Ref Utils' ,p_allow_pivot=>'N' ,p_column_type=>'NUMBER' ,p_display_text_as=>'HIDDEN' ,p_heading_alignment=>'LEFT' ,p_tz_dependent=>'N' ,p_static_id=>'REF_UTILS' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456847049296257115) ,p_db_column_name=>'DEBUT_EFECT' ,p_display_order=>4 ,p_column_identifier=>'D' ,p_column_label=>'Début effectivité' ,p_allow_pivot=>'N' ,p_column_type=>'DATE' ,p_column_alignment=>'CENTER' ,p_format_mask=>'YYYY-MM-DD' ,p_tz_dependent=>'N' ,p_static_id=>'DEBUT_EFECT' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456847127458257115) ,p_db_column_name=>'FIN_EFECT' ,p_display_order=>5 ,p_column_identifier=>'E' ,p_column_label=>'Fin effectivité' ,p_allow_pivot=>'N' ,p_column_type=>'DATE' ,p_column_alignment=>'CENTER' ,p_format_mask=>'YYYY-MM-DD' ,p_tz_dependent=>'N' ,p_static_id=>'FIN_EFECT' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456881834660813370) ,p_db_column_name=>'REF_UTILS_FORMT' ,p_display_order=>6 ,p_column_identifier=>'F' ,p_column_label=>'Utilisateur' ,p_allow_pivot=>'N' ,p_column_type=>'STRING' ,p_heading_alignment=>'LEFT' ,p_tz_dependent=>'N' ,p_static_id=>'REF_UTILS_FORMT' ); wwv_flow_api.create_worksheet_rpt( p_id=>wwv_flow_api.id(456848945640334096) ,p_application_user=>'APXWS_DEFAULT' ,p_report_seq=>10 ,p_report_alias=>'4532661' ,p_status=>'PUBLIC' ,p_is_default=>'Y' ,p_display_rows=>15 ,p_report_columns=>'REF_UTILS_FORMT:DEBUT_EFECT:FIN_EFECT:' ,p_sort_column_1=>'REF_UTILS_FORMT' ,p_sort_direction_1=>'ASC' ,p_sort_column_2=>'DEBUT_EFECT' ,p_sort_direction_2=>'ASC' ,p_sort_column_3=>'0' ,p_sort_direction_3=>'ASC' ,p_flashback_enabled=>'N' ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(456801319674591136) ,p_button_sequence=>10 ,p_button_plug_id=>wwv_flow_api.id(456819921446938551) ,p_button_name=>'CANCEL' ,p_button_action=>'REDIRECT_URL' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_image_alt=>'Annuler' ,p_button_position=>'REGION_TEMPLATE_CLOSE' ,p_button_redirect_url=>'&A_AFW_04_SOURC_URL.' ,p_button_css_classes=>'btn-info' ,p_button_cattributes=>'fa-undo' ,p_grid_new_grid=>false ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(456801043986591136) ,p_button_sequence=>30 ,p_button_plug_id=>wwv_flow_api.id(456819921446938551) ,p_button_name=>'SAVE' ,p_button_action=>'SUBMIT' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_is_hot=>'Y' ,p_button_image_alt=>'Enregistrer' ,p_button_position=>'REGION_TEMPLATE_CREATE' ,p_button_condition=>'P1042_SEQNC' ,p_button_condition_type=>'ITEM_IS_NOT_NULL' ,p_button_css_classes=>'btn-success' ,p_button_cattributes=>'fa-save' ,p_grid_new_grid=>false ,p_security_scheme=>wwv_flow_api.id(1723923346971193396) ,p_database_action=>'UPDATE' ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(456800947874591136) ,p_button_sequence=>40 ,p_button_plug_id=>wwv_flow_api.id(456819921446938551) ,p_button_name=>'CREATE' ,p_button_action=>'SUBMIT' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_is_hot=>'Y' ,p_button_image_alt=>'Enregistrer' ,p_button_position=>'REGION_TEMPLATE_CREATE' ,p_button_condition=>'P1042_SEQNC' ,p_button_condition_type=>'ITEM_IS_NULL' ,p_button_css_classes=>'btn-success' ,p_button_cattributes=>'fa-save' ,p_grid_new_grid=>false ,p_security_scheme=>wwv_flow_api.id(1721922232923650037) ,p_database_action=>'INSERT' ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(456849331919339551) ,p_button_sequence=>50 ,p_button_plug_id=>wwv_flow_api.id(456846441130257105) ,p_button_name=>'CREER_ROLE_UTILS' ,p_button_action=>'DEFINED_BY_DA' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_image_alt=>'Ajouter' ,p_button_position=>'REGION_TEMPLATE_CREATE' ,p_button_condition=>':P1042_seqnc is not null' ,p_button_condition_type=>'PLSQL_EXPRESSION' ,p_button_css_classes=>'btn-primary' ,p_button_cattributes=>'fa-plus' ,p_grid_new_grid=>false ,p_security_scheme=>wwv_flow_api.id(1721922232923650037) ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(456801118534591136) ,p_button_sequence=>20 ,p_button_plug_id=>wwv_flow_api.id(456819921446938551) ,p_button_name=>'DELETE' ,p_button_action=>'REDIRECT_URL' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976635139896554) ,p_button_is_hot=>'Y' ,p_button_image_alt=>'Supprimer' ,p_button_position=>'REGION_TEMPLATE_DELETE' ,p_button_redirect_url=>'javascript:apex.confirm(htmldb_delete_message,''DELETE'');' ,p_button_execute_validations=>'N' ,p_button_condition=>'P1042_SEQNC' ,p_button_condition_type=>'ITEM_IS_NOT_NULL' ,p_button_cattributes=>'fa-remove' ,p_grid_new_grid=>false ,p_security_scheme=>wwv_flow_api.id(1723935220091195070) ,p_database_action=>'DELETE' ); wwv_flow_api.create_page_branch( p_id=>wwv_flow_api.id(456821943405029976) ,p_branch_action=>'f?p=&APP_ID.:&A_AFW_04_SOURC_NUMR_PAGE.:&SESSION.::&DEBUG.::SIDF:&SIDF.' ,p_branch_point=>'AFTER_PROCESSING' ,p_branch_type=>'REDIRECT_URL' ,p_branch_when_button_id=>wwv_flow_api.id(456801118534591136) ,p_branch_sequence=>10 ,p_branch_comment=>'Created 23-JAN-2013 16:59 by FOUER' ); wwv_flow_api.create_page_branch( p_id=>wwv_flow_api.id(456802244162591141) ,p_branch_action=>'f?p=&APP_ID.:1042:&SESSION.::&DEBUG.:::&success_msg=#SUCCESS_MSG#' ,p_branch_point=>'AFTER_PROCESSING' ,p_branch_type=>'REDIRECT_URL' ,p_branch_sequence=>20 ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456802431386591143) ,p_name=>'P1042_SEQNC' ,p_item_sequence=>10 ,p_item_plug_id=>wwv_flow_api.id(1556119583145901512) ,p_prompt=>'Seqnc' ,p_source=>'SEQNC' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_HIDDEN' ,p_cSize=>30 ,p_cMaxlength=>2000 ,p_cHeight=>1 ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'RIGHT' ,p_field_template=>wwv_flow_api.id(524973645529896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'Y' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456802632555591151) ,p_name=>'P1042_CODE' ,p_is_required=>true ,p_item_sequence=>20 ,p_item_plug_id=>wwv_flow_api.id(456800749552591132) ,p_prompt=>'Code' ,p_source=>'CODE' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_TEXT_FIELD' ,p_cSize=>32 ,p_cMaxlength=>23 ,p_cHeight=>1 ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_field_template=>wwv_flow_api.id(524973827299896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'N' ,p_attribute_02=>'N' ,p_attribute_04=>'TEXT' ,p_attribute_05=>'NONE' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456802821128591152) ,p_name=>'P1042_NOM' ,p_is_required=>true ,p_item_sequence=>30 ,p_item_plug_id=>wwv_flow_api.id(456800749552591132) ,p_prompt=>'Nom' ,p_source=>'NOM' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_TEXT_FIELD' ,p_cSize=>32 ,p_cMaxlength=>60 ,p_cHeight=>1 ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_field_template=>wwv_flow_api.id(524973827299896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'N' ,p_attribute_02=>'N' ,p_attribute_04=>'TEXT' ,p_attribute_05=>'NONE' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456803031294591152) ,p_name=>'P1042_DESCR' ,p_item_sequence=>40 ,p_item_plug_id=>wwv_flow_api.id(456800749552591132) ,p_prompt=>'Description' ,p_source=>'DESCR' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_TEXTAREA' ,p_cSize=>60 ,p_cMaxlength=>4000 ,p_cHeight=>4 ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_field_template=>wwv_flow_api.id(524973645529896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'Y' ,p_attribute_02=>'N' ,p_attribute_03=>'N' ,p_attribute_04=>'NONE' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456848419190316916) ,p_name=>'P1042_ROLE_UTILS' ,p_item_sequence=>50 ,p_item_plug_id=>wwv_flow_api.id(1556119583145901512) ,p_display_as=>'NATIVE_HIDDEN' ,p_cSize=>30 ,p_cMaxlength=>4000 ,p_cHeight=>1 ,p_cAttributes=>'nowrap="nowrap"' ,p_begin_on_new_line=>'N' ,p_colspan=>1 ,p_rowspan=>1 ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'N' ); wwv_flow_api.create_page_da_event( p_id=>wwv_flow_api.id(456849634043368529) ,p_name=>'Rôle utilisateur - Afficher dialogue (création)' ,p_event_sequence=>10 ,p_triggering_element_type=>'BUTTON' ,p_triggering_button_id=>wwv_flow_api.id(456849331919339551) ,p_bind_type=>'bind' ,p_bind_event_type=>'click' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(456849926701368531) ,p_event_id=>wwv_flow_api.id(456849634043368529) ,p_event_result=>'TRUE' ,p_action_sequence=>10 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_AFICH_DIALG_IFRAM' ,p_attribute_01=>'Ajouter une affectation' ,p_attribute_03=>'640' ,p_attribute_04=>'480' ,p_attribute_05=>'dialg_role_utils' ,p_attribute_07=>'PAGE' ,p_attribute_13=>'Y' ,p_attribute_14=>'afw_11_aplic_pkg.obten_numr_apex_aplic(''SAFM'')' ,p_attribute_15=>'1043' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_da_event( p_id=>wwv_flow_api.id(456850342617389910) ,p_name=>'Rôle utilisateur - Afficher dialogue (modification)' ,p_event_sequence=>20 ,p_triggering_element_type=>'ITEM' ,p_triggering_element=>'P1042_ROLE_UTILS' ,p_bind_type=>'bind' ,p_bind_event_type=>'change' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(456850646086389911) ,p_event_id=>wwv_flow_api.id(456850342617389910) ,p_event_result=>'TRUE' ,p_action_sequence=>10 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_AFICH_DIALG_IFRAM' ,p_attribute_01=>'Mettre à jour une affectation' ,p_attribute_03=>'640' ,p_attribute_04=>'480' ,p_attribute_05=>'dialg_role_utils' ,p_attribute_07=>'PAGE' ,p_attribute_10=>'P1042_ROLE_UTILS' ,p_attribute_13=>'Y' ,p_attribute_14=>'afw_11_aplic_pkg.obten_numr_apex_aplic(''SAFM'')' ,p_attribute_15=>'1043' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_da_event( p_id=>wwv_flow_api.id(456851937338407326) ,p_name=>'Rôle utilisateur - fermer dialogue' ,p_event_sequence=>30 ,p_triggering_element_type=>'JQUERY_SELECTOR' ,p_triggering_element=>'div.dialg_role_utils div.afw_21_actio_dynmq_dialg' ,p_bind_type=>'live' ,p_bind_event_type=>'PLUGIN_IO_AFW_21_AFICH_DIALG_IFRAM|DYNAMIC ACTION|dialogbeforeclose' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(456852241329407327) ,p_event_id=>wwv_flow_api.id(456851937338407326) ,p_event_result=>'TRUE' ,p_action_sequence=>10 ,p_execute_on_page_init=>'N' ,p_action=>'NATIVE_EXECUTE_PLSQL_CODE' ,p_attribute_01=>'afw_21_plugn_dialg_ifram_pkg.defnr_contx_apres_fermt_dialg();' ,p_stop_execution_on_error=>'Y' ,p_wait_for_result=>'Y' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(456852423270412695) ,p_event_id=>wwv_flow_api.id(456851937338407326) ,p_event_result=>'TRUE' ,p_action_sequence=>20 ,p_execute_on_page_init=>'N' ,p_action=>'NATIVE_REFRESH' ,p_affected_elements_type=>'REGION' ,p_affected_region_id=>wwv_flow_api.id(456846441130257105) ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(456852631235415072) ,p_event_id=>wwv_flow_api.id(456851937338407326) ,p_event_result=>'TRUE' ,p_action_sequence=>30 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_REGN_AFICH_MESG_PR' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(456852834698416084) ,p_event_id=>wwv_flow_api.id(456851937338407326) ,p_event_result=>'TRUE' ,p_action_sequence=>40 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_REGN_AFICH_MESG_IN' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(456803424156591154) ,p_process_sequence=>10 ,p_process_point=>'AFTER_HEADER' ,p_process_type=>'NATIVE_FORM_FETCH' ,p_process_name=>'Fetch Row from VD_AFW_32_ROLE' ,p_attribute_02=>'VD_AFW_32_ROLE' ,p_attribute_03=>'P1042_SEQNC' ,p_attribute_04=>'SEQNC' ,p_process_error_message=>'&A_AFW_13_MESG_IMPOS_FETCH.' ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(456803641681591154) ,p_process_sequence=>30 ,p_process_point=>'AFTER_SUBMIT' ,p_process_type=>'NATIVE_FORM_PROCESS' ,p_process_name=>'Process Row of VD_AFW_32_ROLE' ,p_attribute_02=>'VD_AFW_32_ROLE' ,p_attribute_03=>'P1042_SEQNC' ,p_attribute_04=>'SEQNC' ,p_attribute_09=>'P1042_SEQNC' ,p_attribute_11=>'I:U:D' ,p_process_error_message=>'&A_AFW_13_MESG_ECHEC_SPECF.' ,p_error_display_location=>'INLINE_IN_NOTIFICATION' ,p_process_success_message=>'&A_AFW_13_MESG_SUCS_SPECF.' ,p_security_scheme=>wwv_flow_api.id(1723951025632196700) ); end; / prompt --application/pages/page_01043 begin wwv_flow_api.create_page( p_id=>1043 ,p_user_interface_id=>wwv_flow_api.id(3663430628528105) ,p_name=>'Rôle utilisateur' ,p_page_mode=>'NORMAL' ,p_step_title=>'Affectation' ,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS' ,p_first_item=>'NO_FIRST_ITEM' ,p_html_page_header=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<script language="JavaScript" type="text/javascript">', '<!--', '', ' htmldb_delete_message=''"DELETE_CONFIRM_MSG"'';', '', '//-->', '</script>')) ,p_step_template=>wwv_flow_api.id(524954649145896531) ,p_page_template_options=>'#DEFAULT#' ,p_required_role=>wwv_flow_api.id(1724855148880581895) ,p_dialog_chained=>'Y' ,p_overwrite_navigation_list=>'N' ,p_nav_list_template_options=>'#DEFAULT#' ,p_page_is_public_y_n=>'N' ,p_cache_mode=>'NOCACHE' ,p_cache_timeout_seconds=>21600 ,p_last_upd_yyyymmddhh24miss=>'20160513152058' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(456865224590583446) ,p_plug_name=>'Barre de bouton (nav bar)' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524958835947896536) ,p_plug_display_sequence=>10 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'REGION_POSITION_05' ,p_plug_query_row_template=>1 ,p_plug_query_headings_type=>'QUERY_COLUMNS' ,p_plug_query_num_rows_type=>'NEXT_PREVIOUS_LINKS' ,p_plug_query_show_nulls_as=>' - ' ,p_pagination_display_position=>'BOTTOM_RIGHT' ,p_attribute_01=>'N' ,p_attribute_02=>'HTML' ,p_attribute_03=>'N' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(456865945368589392) ,p_plug_name=>'Rôles utilisateurs' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524964537325896540) ,p_plug_display_sequence=>20 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'BODY_3' ,p_plug_query_row_template=>1 ,p_plug_query_headings_type=>'QUERY_COLUMNS' ,p_plug_query_num_rows_type=>'NEXT_PREVIOUS_LINKS' ,p_plug_query_show_nulls_as=>' - ' ,p_pagination_display_position=>'BOTTOM_RIGHT' ,p_attribute_01=>'N' ,p_attribute_02=>'HTML' ,p_attribute_03=>'N' ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(456867047577599564) ,p_button_sequence=>10 ,p_button_plug_id=>wwv_flow_api.id(456865224590583446) ,p_button_name=>'CANCEL' ,p_button_action=>'DEFINED_BY_DA' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_image_alt=>'Annuler' ,p_button_position=>'REGION_TEMPLATE_CLOSE' ,p_button_css_classes=>'btn-info' ,p_button_cattributes=>'fa-undo' ,p_grid_new_grid=>false ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(456869623598611550) ,p_button_sequence=>20 ,p_button_plug_id=>wwv_flow_api.id(456865224590583446) ,p_button_name=>'CREATE' ,p_button_action=>'SUBMIT' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_is_hot=>'Y' ,p_button_image_alt=>'Enregistrer' ,p_button_position=>'REGION_TEMPLATE_CREATE' ,p_button_condition=>'P1043_SEQNC' ,p_button_condition_type=>'ITEM_IS_NULL' ,p_button_css_classes=>'btn-success' ,p_button_cattributes=>'fa-save' ,p_grid_new_grid=>false ,p_security_scheme=>wwv_flow_api.id(1721922232923650037) ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(456870649140637848) ,p_button_sequence=>40 ,p_button_plug_id=>wwv_flow_api.id(456865224590583446) ,p_button_name=>'SAVE' ,p_button_action=>'SUBMIT' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_is_hot=>'Y' ,p_button_image_alt=>'Enregistrer' ,p_button_position=>'REGION_TEMPLATE_CREATE' ,p_button_condition=>'P1043_SEQNC' ,p_button_condition_type=>'ITEM_IS_NOT_NULL' ,p_button_css_classes=>'btn-success' ,p_button_cattributes=>'fa-save' ,p_grid_new_grid=>false ,p_security_scheme=>wwv_flow_api.id(1723923346971193396) ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(456870336542624752) ,p_button_sequence=>30 ,p_button_plug_id=>wwv_flow_api.id(456865224590583446) ,p_button_name=>'DELETE' ,p_button_action=>'REDIRECT_URL' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976635139896554) ,p_button_is_hot=>'Y' ,p_button_image_alt=>'Supprimer' ,p_button_position=>'REGION_TEMPLATE_DELETE' ,p_button_redirect_url=>'javascript:confirmDelete(htmldb_delete_message,''DELETE'');' ,p_button_condition=>'P1043_SEQNC' ,p_button_condition_type=>'ITEM_IS_NOT_NULL' ,p_button_cattributes=>'fa-remove' ,p_grid_new_grid=>false ,p_security_scheme=>wwv_flow_api.id(1723935220091195070) ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456871046500646537) ,p_name=>'P1043_SEQNC' ,p_item_sequence=>10 ,p_item_plug_id=>wwv_flow_api.id(1556119583145901512) ,p_source=>'SEQNC' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_HIDDEN' ,p_cSize=>30 ,p_cMaxlength=>4000 ,p_cHeight=>1 ,p_cAttributes=>'nowrap="nowrap"' ,p_begin_on_new_line=>'N' ,p_colspan=>1 ,p_rowspan=>1 ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'Y' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456871438320653640) ,p_name=>'P1043_REF_ROLE' ,p_item_sequence=>20 ,p_item_plug_id=>wwv_flow_api.id(1556119583145901512) ,p_item_default=>':A_AFW_04_SOURC_SEQNC_CONTX' ,p_item_default_type=>'PLSQL_EXPRESSION' ,p_source=>'REF_ROLE' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_HIDDEN' ,p_cSize=>30 ,p_cMaxlength=>4000 ,p_cHeight=>1 ,p_cAttributes=>'nowrap="nowrap"' ,p_begin_on_new_line=>'N' ,p_colspan=>1 ,p_rowspan=>1 ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'Y' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456873735166699972) ,p_name=>'P1043_REF_UTILS' ,p_item_sequence=>30 ,p_item_plug_id=>wwv_flow_api.id(456865945368589392) ,p_prompt=>'Utilisateur' ,p_source=>'REF_UTILS' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'PLUGIN_IO_AFW_21_SELCT_2' ,p_lov=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select NOM_FORMT d,SEQNC r ', 'from VD_AFW_12_UTILS')) ,p_lov_display_null=>'YES' ,p_lov_null_text=>'- Choisir -' ,p_cSize=>250 ,p_cMaxlength=>4000 ,p_cHeight=>1 ,p_cAttributes=>'nowrap="nowrap"' ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_field_template=>wwv_flow_api.id(524973827299896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'SINGL_VALUE' ,p_attribute_02=>'Y' ,p_attribute_03=>'Y' ,p_attribute_04=>'10' ,p_attribute_05=>'100' ,p_attribute_06=>'0' ,p_attribute_07=>'0' ,p_attribute_09=>':' ,p_attribute_10=>'LIKE_IGNORE' ,p_attribute_11=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select NOM_FORMT d,SEQNC r ', 'from VD_AFW_12_UTILS')) ,p_attribute_12=>'300px' ,p_attribute_13=>'N' ,p_attribute_14=>'1' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456874230926717688) ,p_name=>'P1043_DEBUT_EFECT' ,p_item_sequence=>40 ,p_item_plug_id=>wwv_flow_api.id(456865945368589392) ,p_prompt=>'Date début effectif' ,p_format_mask=>'YYYY-MM-DD' ,p_source=>'DEBUT_EFECT' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_DATE_PICKER' ,p_cSize=>12 ,p_cMaxlength=>10 ,p_cHeight=>1 ,p_cAttributes=>'nowrap="nowrap"' ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_field_template=>wwv_flow_api.id(524973827299896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_04=>'button' ,p_attribute_05=>'Y' ,p_attribute_07=>'MONTH_AND_YEAR' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456874433481727899) ,p_name=>'P1043_FIN_EFECT' ,p_item_sequence=>50 ,p_item_plug_id=>wwv_flow_api.id(456865945368589392) ,p_prompt=>'Date fin effectif' ,p_format_mask=>'YYYY-MM-DD' ,p_source=>'FIN_EFECT' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_DATE_PICKER' ,p_cSize=>12 ,p_cMaxlength=>10 ,p_cHeight=>1 ,p_cAttributes=>'nowrap="nowrap"' ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_field_template=>wwv_flow_api.id(524973645529896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_04=>'button' ,p_attribute_05=>'Y' ,p_attribute_07=>'MONTH_AND_YEAR' ); wwv_flow_api.create_page_da_event( p_id=>wwv_flow_api.id(456876649327751415) ,p_name=>'Fermer le dialogue - rôle utilisateur' ,p_event_sequence=>10 ,p_triggering_element_type=>'BUTTON' ,p_triggering_button_id=>wwv_flow_api.id(456867047577599564) ,p_bind_type=>'bind' ,p_bind_event_type=>'click' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(456876920138751417) ,p_event_id=>wwv_flow_api.id(456876649327751415) ,p_event_result=>'TRUE' ,p_action_sequence=>10 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_FERMR_DIALG_IFRAM' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(456875723700743947) ,p_process_sequence=>10 ,p_process_point=>'AFTER_HEADER' ,p_process_type=>'NATIVE_FORM_FETCH' ,p_process_name=>'Fetch Row from VD_AFW_32_ROLE_UTILS' ,p_attribute_02=>'VD_AFW_32_ROLE_UTILS' ,p_attribute_03=>'P1043_SEQNC' ,p_attribute_04=>'SEQNC' ,p_process_error_message=>'&A_AFW_13_MESG_IMPOS_FETCH.' ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(456877936776766707) ,p_process_sequence=>10 ,p_process_point=>'AFTER_SUBMIT' ,p_process_type=>'NATIVE_FORM_PROCESS' ,p_process_name=>'PROCESS ROW OF VD_AFW_32_ROLE_UTILS' ,p_attribute_02=>'VD_AFW_32_ROLE_UTILS' ,p_attribute_03=>'P1043_SEQNC' ,p_attribute_04=>'SEQNC' ,p_attribute_11=>'I:U:D' ,p_process_error_message=>'&A_AFW_13_MESG_ECHEC_SPECF.' ,p_error_display_location=>'INLINE_IN_NOTIFICATION' ,p_process_when=>':REQUEST IN (''CREATE'',''SAVE'',''DELETE'')' ,p_process_when_type=>'PLSQL_EXPRESSION' ,p_process_success_message=>'&A_AFW_13_MESG_SUCS_SPECF.' ,p_security_scheme=>wwv_flow_api.id(1723951025632196700) ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(456878940370777169) ,p_process_sequence=>20 ,p_process_point=>'AFTER_SUBMIT' ,p_process_type=>'PLUGIN_IO_AFW_21_FERMR_DIALG_IFRAM' ,p_process_name=>'Fermer dialogue' ,p_error_display_location=>'INLINE_IN_NOTIFICATION' ); end; / prompt --application/pages/page_01051 begin wwv_flow_api.create_page( p_id=>1051 ,p_user_interface_id=>wwv_flow_api.id(3663430628528105) ,p_name=>'Tâches' ,p_page_mode=>'NORMAL' ,p_step_title=>'Tâches' ,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS' ,p_first_item=>'AUTO_FIRST_ITEM' ,p_page_template_options=>'#DEFAULT#' ,p_required_role=>wwv_flow_api.id(1724855148880581895) ,p_dialog_chained=>'Y' ,p_overwrite_navigation_list=>'N' ,p_nav_list_template_options=>'#DEFAULT#' ,p_page_is_public_y_n=>'N' ,p_cache_mode=>'NOCACHE' ,p_cache_timeout_seconds=>21600 ,p_last_upd_yyyymmddhh24miss=>'20160513151731' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(456902135469104442) ,p_plug_name=>'Tâches' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524964537325896540) ,p_plug_display_sequence=>10 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'BODY_3' ,p_plug_source=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select t.seqnc,', ' t.numr_signf,', ' t.nom,', ' t.date_inscr,', ' t.ref_envir_formt,', ' t.ref_natr_tache_formt,', ' afw_11_prodt_pkg.obten_code_prodt (ref_prodt) "REF_PRODT_FORMT",', ' afw_14_domn_valr_pkg.obten_valr (ref_dv_prior) "REF_DV_PRIOR_FORMT",', ' afw_12_stat_pkg.obten_stat_formt (ref_stat) "REF_STAT_FORMT"', ' from vd_afw_32_tache t', ' where t.ref_natr_tache not in (select seqnc', ' from vd_afw_32_natr_tache', ' where code = ''REVSN_ASURN_QUALT'')', 'order by t.ref_dv_prior desc,t.date_inscr asc')) ,p_plug_source_type=>'NATIVE_IR' ,p_plug_query_row_template=>1 ); wwv_flow_api.create_worksheet( p_id=>wwv_flow_api.id(456902350614104442) ,p_name=>'Tâches' ,p_max_row_count=>'100000' ,p_max_row_count_message=>'&A_AFW_13_MESG_TROP_DON_TROUV.' ,p_no_data_found_message=>'&A_AFW_13_MESG_AUCUN_DON_TROUV.' ,p_allow_report_categories=>'N' ,p_show_nulls_as=>'-' ,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' ,p_pagination_display_pos=>'BOTTOM_RIGHT' ,p_report_list_mode=>'TABS' ,p_fixed_header=>'NONE' ,p_show_detail_link=>'C' ,p_show_pivot=>'N' ,p_show_calendar=>'N' ,p_download_formats=>'CSV:HTML:EMAIL' ,p_detail_link=>'f?p=&APP_ID.:1052:&SESSION.::&DEBUG.:RP:SSPC,SIDF:#SEQNC#,&SIDF.' ,p_detail_link_text=>'&A_AFW_13_LIEN_EDITN_RAPRT.' ,p_allow_exclude_null_values=>'N' ,p_allow_hide_extra_columns=>'N' ,p_icon_view_columns_per_row=>1 ,p_owner=>'GARJE' ,p_internal_uid=>1 ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456902423851104448) ,p_db_column_name=>'SEQNC' ,p_display_order=>1 ,p_column_identifier=>'A' ,p_column_label=>'Seqnc' ,p_allow_pivot=>'N' ,p_column_type=>'NUMBER' ,p_display_text_as=>'HIDDEN' ,p_heading_alignment=>'RIGHT' ,p_column_alignment=>'RIGHT' ,p_tz_dependent=>'N' ,p_static_id=>'SEQNC' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456902541441104448) ,p_db_column_name=>'NUMR_SIGNF' ,p_display_order=>2 ,p_column_identifier=>'B' ,p_column_label=>'Numéro' ,p_allow_pivot=>'N' ,p_column_type=>'STRING' ,p_heading_alignment=>'LEFT' ,p_tz_dependent=>'N' ,p_static_id=>'NUMR_SIGNF' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456902723966104449) ,p_db_column_name=>'NOM' ,p_display_order=>4 ,p_column_identifier=>'D' ,p_column_label=>'Nom' ,p_allow_pivot=>'N' ,p_column_type=>'STRING' ,p_heading_alignment=>'LEFT' ,p_tz_dependent=>'N' ,p_static_id=>'NOM' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456903420186104451) ,p_db_column_name=>'REF_ENVIR_FORMT' ,p_display_order=>11 ,p_column_identifier=>'K' ,p_column_label=>'Environnement' ,p_allow_pivot=>'N' ,p_column_type=>'STRING' ,p_heading_alignment=>'LEFT' ,p_tz_dependent=>'N' ,p_static_id=>'REF_ENVIR_FORMT' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456903528923104451) ,p_db_column_name=>'REF_DV_PRIOR_FORMT' ,p_display_order=>12 ,p_column_identifier=>'L' ,p_column_label=>'Priorité' ,p_allow_pivot=>'N' ,p_column_type=>'STRING' ,p_heading_alignment=>'LEFT' ,p_tz_dependent=>'N' ,p_static_id=>'REF_DV_PRIOR_FORMT' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(456903633911104451) ,p_db_column_name=>'REF_STAT_FORMT' ,p_display_order=>13 ,p_column_identifier=>'M' ,p_column_label=>'Statut' ,p_allow_pivot=>'N' ,p_column_type=>'STRING' ,p_heading_alignment=>'LEFT' ,p_tz_dependent=>'N' ,p_static_id=>'REF_STAT_FORMT' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(479300123339227584) ,p_db_column_name=>'DATE_INSCR' ,p_display_order=>14 ,p_column_identifier=>'N' ,p_column_label=>'Date inscription' ,p_allow_pivot=>'N' ,p_column_type=>'DATE' ,p_column_alignment=>'CENTER' ,p_format_mask=>'YYYY-MM-DD' ,p_tz_dependent=>'N' ,p_static_id=>'DATE_INSCR' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(486034219560213597) ,p_db_column_name=>'REF_NATR_TACHE_FORMT' ,p_display_order=>21 ,p_column_identifier=>'U' ,p_column_label=>'Nature' ,p_allow_pivot=>'N' ,p_column_type=>'STRING' ,p_heading_alignment=>'LEFT' ,p_tz_dependent=>'N' ,p_static_id=>'REF_NATR_TACHE_FORMT' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(486034338406213598) ,p_db_column_name=>'REF_PRODT_FORMT' ,p_display_order=>22 ,p_column_identifier=>'V' ,p_column_label=>'Produit' ,p_allow_pivot=>'N' ,p_column_type=>'STRING' ,p_heading_alignment=>'LEFT' ,p_tz_dependent=>'N' ,p_static_id=>'REF_PRODT_FORMT' ); wwv_flow_api.create_worksheet_rpt( p_id=>wwv_flow_api.id(456912432424276341) ,p_application_user=>'APXWS_DEFAULT' ,p_report_seq=>10 ,p_report_alias=>'4533296' ,p_status=>'PUBLIC' ,p_is_default=>'Y' ,p_display_rows=>15 ,p_report_columns=>'REF_PRODT_FORMT:REF_ENVIR_FORMT:REF_NATR_TACHE_FORMT:NUMR_SIGNF:NOM:REF_STAT_FORMT:REF_DV_PRIOR_FORMT:DATE_INSCR:' ,p_sort_column_1=>'REF_DV_PRIOR_FORMT' ,p_sort_direction_1=>'DESC' ,p_sort_column_2=>'DATE_INSCR' ,p_sort_direction_2=>'ASC' ,p_sort_column_3=>'0' ,p_sort_direction_3=>'ASC' ,p_flashback_enabled=>'N' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(456914740612344882) ,p_plug_name=>'Barre de bouton (nav bar)' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524958835947896536) ,p_plug_display_sequence=>20 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'REGION_POSITION_05' ,p_plug_item_display_point=>'BELOW' ,p_plug_query_row_template=>1 ,p_plug_query_headings_type=>'QUERY_COLUMNS' ,p_plug_query_num_rows=>15 ,p_plug_query_num_rows_type=>'NEXT_PREVIOUS_LINKS' ,p_plug_query_show_nulls_as=>' - ' ,p_pagination_display_position=>'BOTTOM_RIGHT' ,p_attribute_01=>'N' ,p_attribute_02=>'HTML' ,p_attribute_03=>'N' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(457036229818404872) ,p_plug_name=>'Onglets principaux' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_display_sequence=>10 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'REGION_POSITION_03' ,p_plug_item_display_point=>'BELOW' ,p_list_id=>wwv_flow_api.id(456862550301571950) ,p_plug_source_type=>'NATIVE_LIST' ,p_list_template_id=>wwv_flow_api.id(524971433690896548) ,p_plug_query_row_template=>1 ,p_plug_display_condition_type=>'NEVER' ,p_plug_display_when_condition=>'A_AFW_04_SOURC_CONTX' ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(456903946208104454) ,p_button_sequence=>30 ,p_button_plug_id=>wwv_flow_api.id(456914740612344882) ,p_button_name=>'CREATE' ,p_button_action=>'REDIRECT_PAGE' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_is_hot=>'Y' ,p_button_image_alt=>'Créer' ,p_button_position=>'REGION_TEMPLATE_CREATE' ,p_button_redirect_url=>'f?p=&APP_ID.:1052:&SESSION.::&DEBUG.::SIDF,SSPC:&SIDF.,' ,p_button_css_classes=>'btn-success' ,p_button_cattributes=>'fa-plus' ,p_grid_new_grid=>false ,p_security_scheme=>wwv_flow_api.id(1721922232923650037) ); end; / prompt --application/pages/page_01052 begin wwv_flow_api.create_page( p_id=>1052 ,p_user_interface_id=>wwv_flow_api.id(3663430628528105) ,p_name=>'Tâche' ,p_page_mode=>'NORMAL' ,p_step_title=>'Tâche' ,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS' ,p_first_item=>'AUTO_FIRST_ITEM' ,p_html_page_header=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<script language="JavaScript" type="text/javascript">', '<!--', '', ' htmldb_delete_message=''"DELETE_CONFIRM_MSG"'';', '', '//-->', '</script>')) ,p_page_template_options=>'#DEFAULT#' ,p_required_role=>wwv_flow_api.id(1724855148880581895) ,p_dialog_chained=>'Y' ,p_overwrite_navigation_list=>'N' ,p_nav_list_template_options=>'#DEFAULT#' ,p_page_is_public_y_n=>'N' ,p_cache_mode=>'NOCACHE' ,p_cache_timeout_seconds=>21600 ,p_last_upd_yyyymmddhh24miss=>'20160513152058' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(456895447524104398) ,p_plug_name=>'Tâche' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524961247111896538) ,p_plug_display_sequence=>10 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'BODY_3' ,p_plug_query_row_template=>1 ,p_attribute_01=>'N' ,p_attribute_02=>'HTML' ,p_attribute_03=>'N' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(456920622885510047) ,p_plug_name=>'Barre de bouton (nav bar)' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524958835947896536) ,p_plug_display_sequence=>20 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'REGION_POSITION_05' ,p_plug_item_display_point=>'BELOW' ,p_plug_query_row_template=>1 ,p_attribute_01=>'N' ,p_attribute_02=>'HTML' ,p_attribute_03=>'N' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(486842548923659816) ,p_plug_name=>'Contexte' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524965123033896540) ,p_plug_display_sequence=>40 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>2 ,p_plug_display_point=>'BODY_3' ,p_plug_query_row_template=>1 ,p_plug_query_headings_type=>'QUERY_COLUMNS' ,p_plug_query_num_rows_type=>'NEXT_PREVIOUS_LINKS' ,p_plug_query_show_nulls_as=>' - ' ,p_pagination_display_position=>'BOTTOM_RIGHT' ,p_attribute_01=>'N' ,p_attribute_02=>'HTML' ,p_attribute_03=>'N' ); wwv_flow_api.create_report_region( p_id=>wwv_flow_api.id(486899932975730901) ,p_name=>'Planification efforts' ,p_template=>wwv_flow_api.id(524965123033896540) ,p_display_sequence=>50 ,p_include_in_reg_disp_sel_yn=>'N' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_new_grid_row=>false ,p_new_grid_column=>false ,p_display_column=>2 ,p_display_point=>'BODY_3' ,p_source=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select seqnc,', ' ref_role_formt,', ' niv_avanc,', ' efort_a_faire', 'from VD_AFW_32_HISTR_TACHE_EFOR_ACT', 'where ref_tache = :P1052_SEQNC', 'order by ref_role_formt')) ,p_source_type=>'NATIVE_SQL_REPORT' ,p_display_when_condition=>'P1052_SEQNC' ,p_display_condition_type=>'ITEM_IS_NOT_NULL' ,p_ajax_enabled=>'Y' ,p_fixed_header=>'NONE' ,p_query_row_template=>wwv_flow_api.id(524966324975896545) ,p_query_num_rows=>15 ,p_query_options=>'DERIVED_REPORT_COLUMNS' ,p_query_show_nulls_as=>' - ' ,p_query_break_cols=>'0' ,p_query_no_data_found=>'&A_AFW_13_MESG_AUCUN_DON_TROUV.' ,p_query_more_data=>'&A_AFW_13_MESG_TROP_DON_TROUV.' ,p_query_num_rows_type=>'0' ,p_query_row_count_max=>500 ,p_pagination_display_position=>'BOTTOM_RIGHT' ,p_break_type_flag=>'DEFAULT_BREAK_FORMATTING' ,p_csv_output=>'N' ,p_query_asc_image=>'apex/builder/dup.gif' ,p_query_asc_image_attr=>'width="16" height="16" alt="" ' ,p_query_desc_image=>'apex/builder/ddown.gif' ,p_query_desc_image_attr=>'width="16" height="16" alt="" ' ,p_plug_query_strip_html=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(486900234797730912) ,p_query_column_id=>1 ,p_column_alias=>'SEQNC' ,p_column_display_sequence=>1 ,p_column_heading=>'SEQNC' ,p_column_alignment=>'RIGHT' ,p_heading_alignment=>'RIGHT' ,p_hidden_column=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(486900347427730913) ,p_query_column_id=>2 ,p_column_alias=>'REF_ROLE_FORMT' ,p_column_display_sequence=>2 ,p_column_heading=>'Rôle' ,p_heading_alignment=>'LEFT' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(486900420807730913) ,p_query_column_id=>3 ,p_column_alias=>'NIV_AVANC' ,p_column_display_sequence=>3 ,p_column_heading=>'Avancement' ,p_use_as_row_header=>'N' ,p_column_html_expression=>'#NIV_AVANC#%' ,p_column_alignment=>'RIGHT' ,p_heading_alignment=>'RIGHT' ,p_lov_show_nulls=>'NO' ,p_lov_display_extra=>'YES' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(486900542345730913) ,p_query_column_id=>4 ,p_column_alias=>'EFORT_A_FAIRE' ,p_column_display_sequence=>4 ,p_column_heading=>'Efforts à faire' ,p_use_as_row_header=>'N' ,p_column_html_expression=>'#EFORT_A_FAIRE# h' ,p_column_alignment=>'RIGHT' ,p_heading_alignment=>'RIGHT' ,p_lov_show_nulls=>'NO' ,p_lov_display_extra=>'YES' ,p_include_in_export=>'Y' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(510283334496331614) ,p_plug_name=>'Affectation' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524965123033896540) ,p_plug_display_sequence=>60 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>2 ,p_plug_display_point=>'BODY_3' ,p_plug_query_row_template=>1 ,p_plug_query_headings_type=>'QUERY_COLUMNS' ,p_plug_query_num_rows_type=>'NEXT_PREVIOUS_LINKS' ,p_plug_query_show_nulls_as=>' - ' ,p_plug_display_condition_type=>'ITEM_IS_NOT_NULL' ,p_plug_display_when_condition=>'P1052_SEQNC' ,p_pagination_display_position=>'BOTTOM_RIGHT' ,p_attribute_01=>'N' ,p_attribute_02=>'HTML' ,p_attribute_03=>'N' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(532973623490548466) ,p_plug_name=>'Déploiement' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524965123033896540) ,p_plug_display_sequence=>70 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>2 ,p_plug_display_point=>'BODY_3' ,p_plug_query_row_template=>1 ,p_plug_query_headings_type=>'QUERY_COLUMNS' ,p_plug_query_num_rows_type=>'NEXT_PREVIOUS_LINKS' ,p_plug_query_show_nulls_as=>' - ' ,p_plug_display_condition_type=>'ITEM_IS_NOT_NULL' ,p_plug_display_when_condition=>'P1052_SEQNC' ,p_pagination_display_position=>'BOTTOM_RIGHT' ,p_attribute_01=>'N' ,p_attribute_02=>'HTML' ,p_attribute_03=>'N' ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(456896026698104403) ,p_button_sequence=>10 ,p_button_plug_id=>wwv_flow_api.id(456920622885510047) ,p_button_name=>'CANCEL' ,p_button_action=>'REDIRECT_URL' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_image_alt=>'Annuler' ,p_button_position=>'REGION_TEMPLATE_CLOSE' ,p_button_redirect_url=>'&A_AFW_04_SOURC_URL.' ,p_button_css_classes=>'btn-info' ,p_button_cattributes=>'fa-undo' ,p_grid_new_grid=>false ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(456895750054104403) ,p_button_sequence=>30 ,p_button_plug_id=>wwv_flow_api.id(456920622885510047) ,p_button_name=>'SAVE' ,p_button_action=>'SUBMIT' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_is_hot=>'Y' ,p_button_image_alt=>'Enregistrer' ,p_button_position=>'REGION_TEMPLATE_CREATE' ,p_button_condition=>'P1052_SEQNC' ,p_button_condition_type=>'ITEM_IS_NOT_NULL' ,p_button_css_classes=>'btn-success' ,p_button_cattributes=>'fa-save' ,p_grid_new_grid=>false ,p_security_scheme=>wwv_flow_api.id(1723923346971193396) ,p_database_action=>'UPDATE' ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(456895625847104403) ,p_button_sequence=>40 ,p_button_plug_id=>wwv_flow_api.id(456920622885510047) ,p_button_name=>'CREATE' ,p_button_action=>'SUBMIT' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_is_hot=>'Y' ,p_button_image_alt=>'Enregistrer' ,p_button_position=>'REGION_TEMPLATE_CREATE' ,p_button_condition=>'P1052_SEQNC' ,p_button_condition_type=>'ITEM_IS_NULL' ,p_button_css_classes=>'btn-success' ,p_button_cattributes=>'fa-save' ,p_grid_new_grid=>false ,p_security_scheme=>wwv_flow_api.id(1721922232923650037) ,p_database_action=>'INSERT' ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(456895850495104403) ,p_button_sequence=>20 ,p_button_plug_id=>wwv_flow_api.id(456920622885510047) ,p_button_name=>'DELETE' ,p_button_action=>'REDIRECT_URL' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976635139896554) ,p_button_is_hot=>'Y' ,p_button_image_alt=>'Supprimer' ,p_button_position=>'REGION_TEMPLATE_DELETE' ,p_button_redirect_url=>'javascript:apex.confirm(htmldb_delete_message,''DELETE'');' ,p_button_execute_validations=>'N' ,p_button_condition=>'P1052_SEQNC' ,p_button_condition_type=>'ITEM_IS_NOT_NULL' ,p_button_cattributes=>'fa-remove' ,p_grid_new_grid=>false ,p_security_scheme=>wwv_flow_api.id(1723935220091195070) ,p_database_action=>'DELETE' ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(486904546191838778) ,p_button_sequence=>50 ,p_button_plug_id=>wwv_flow_api.id(486899932975730901) ,p_button_name=>'EDITER_PLANIF_EFORT' ,p_button_action=>'DEFINED_BY_DA' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_is_hot=>'Y' ,p_button_image_alt=>'Éditer' ,p_button_position=>'REGION_TEMPLATE_EDIT' ,p_button_condition=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select 1', 'from vd_afw_32_histr_tache_efort', 'where ref_tache = :P1052_SEQNC')) ,p_button_css_classes=>'btn-primary' ,p_button_cattributes=>'fa-pencil' ,p_grid_new_grid=>false ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(486937247322595967) ,p_button_sequence=>60 ,p_button_plug_id=>wwv_flow_api.id(510283334496331614) ,p_button_name=>'EDITER_AFECT' ,p_button_action=>'DEFINED_BY_DA' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_is_hot=>'Y' ,p_button_image_alt=>'Éditer' ,p_button_position=>'REGION_TEMPLATE_EDIT' ,p_button_condition=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select 1', 'from VD_AFW_32_HISTR_AFECT_TACHE', 'where ref_tache = :P1052_SEQNC')) ,p_button_css_classes=>'btn-primary' ,p_button_cattributes=>'fa-pencil' ,p_grid_new_grid=>false ); wwv_flow_api.create_page_branch( p_id=>wwv_flow_api.id(456925435361589348) ,p_branch_action=>'f?p=&APP_ID.:&A_AFW_04_SOURC_NUMR_PAGE.:&SESSION.::&DEBUG.::SIDF:&SIDF.' ,p_branch_point=>'AFTER_PROCESSING' ,p_branch_type=>'REDIRECT_URL' ,p_branch_when_button_id=>wwv_flow_api.id(456895850495104403) ,p_branch_sequence=>11 ,p_branch_comment=>'Created 24-JAN-2013 13:59 by GARJE' ); wwv_flow_api.create_page_branch( p_id=>wwv_flow_api.id(456896949633104410) ,p_branch_action=>'f?p=&APP_ID.:1052:&SESSION.::&DEBUG.:::&success_msg=#SUCCESS_MSG#' ,p_branch_point=>'AFTER_PROCESSING' ,p_branch_type=>'REDIRECT_URL' ,p_branch_sequence=>20 ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456897136743104413) ,p_name=>'P1052_SEQNC' ,p_item_sequence=>10 ,p_item_plug_id=>wwv_flow_api.id(1556119583145901512) ,p_use_cache_before_default=>'NO' ,p_prompt=>'Seqnc' ,p_source=>'SEQNC' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_HIDDEN' ,p_cSize=>30 ,p_cMaxlength=>2000 ,p_cHeight=>1 ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'RIGHT' ,p_field_template=>wwv_flow_api.id(524973645529896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'Y' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456897330602104422) ,p_name=>'P1052_NUMR_SIGNF' ,p_item_sequence=>10 ,p_item_plug_id=>wwv_flow_api.id(456895447524104398) ,p_use_cache_before_default=>'NO' ,p_prompt=>'Numéro' ,p_source=>'NUMR_SIGNF' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_TEXT_FIELD' ,p_cSize=>14 ,p_cMaxlength=>10 ,p_cHeight=>1 ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_display_when=>':P1052_SEQNC is not null' ,p_display_when_type=>'PLSQL_EXPRESSION' ,p_read_only_when_type=>'ALWAYS' ,p_field_template=>wwv_flow_api.id(524973827299896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'N' ,p_attribute_02=>'N' ,p_attribute_04=>'TEXT' ,p_attribute_05=>'NONE' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456897730270104424) ,p_name=>'P1052_NOM' ,p_is_required=>true ,p_item_sequence=>40 ,p_item_plug_id=>wwv_flow_api.id(456895447524104398) ,p_use_cache_before_default=>'NO' ,p_prompt=>'Nom' ,p_source=>'NOM' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_TEXT_FIELD' ,p_cSize=>72 ,p_cMaxlength=>120 ,p_cHeight=>1 ,p_colspan=>2 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_field_template=>wwv_flow_api.id(524973827299896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'N' ,p_attribute_02=>'N' ,p_attribute_04=>'TEXT' ,p_attribute_05=>'NONE' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456897941653104424) ,p_name=>'P1052_DESCR' ,p_item_sequence=>60 ,p_item_plug_id=>wwv_flow_api.id(456895447524104398) ,p_use_cache_before_default=>'NO' ,p_prompt=>'Description' ,p_source=>'DESCR' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_TEXTAREA' ,p_cSize=>75 ,p_cMaxlength=>1000 ,p_cHeight=>7 ,p_colspan=>2 ,p_rowspan=>3 ,p_label_alignment=>'ABOVE' ,p_field_template=>wwv_flow_api.id(524973827299896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'Y' ,p_attribute_02=>'N' ,p_attribute_03=>'Y' ,p_attribute_04=>'NONE' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456899122852104428) ,p_name=>'P1052_REF_ENVIR' ,p_item_sequence=>70 ,p_item_plug_id=>wwv_flow_api.id(486842548923659816) ,p_prompt=>'Environnement' ,p_source=>'REF_ENVIR' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_SELECT_LIST' ,p_lov=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'SELECT ordre_presn || '' - '' || nom d, seqnc r ', 'from VD_AFW_31_ENVIR', 'order by d')) ,p_cSize=>250 ,p_cMaxlength=>255 ,p_cHeight=>1 ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_field_template=>wwv_flow_api.id(524973827299896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'NONE' ,p_attribute_02=>'N' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456899338930104428) ,p_name=>'P1052_REF_DV_PRIOR' ,p_item_sequence=>80 ,p_item_plug_id=>wwv_flow_api.id(456895447524104398) ,p_use_cache_before_default=>'NO' ,p_item_default=>'afw_14_domn_valr_pkg.obten_seqnc(''PRIOR'', ''NORML'', ''AFW'')' ,p_item_default_type=>'PLSQL_EXPRESSION' ,p_prompt=>'Priorité' ,p_source=>'REF_DV_PRIOR' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_SELECT_LIST' ,p_lov=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select ddv.valr_court || '' - '' || ddv.valr d, ddv.seqnc r', ' from vd_afw_14_detl_domn_valr ddv, vd_afw_14_domn_valr dv', ' where dv.code = ''PRIOR'' ', ' and ddv.ref_domn_valr = dv.seqnc', 'order by ddv.seqnc_PRESN')) ,p_cSize=>250 ,p_cMaxlength=>255 ,p_cHeight=>1 ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_field_template=>wwv_flow_api.id(524973827299896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'NONE' ,p_attribute_02=>'N' ,p_item_comment=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'afw_14_domn_valr_pkg.obten_valr_court(afw_14_domn_valr_pkg.obten_seqnc(''PRIOR'',''NORML'')) ', '|| '' - '' ||afw_14_domn_valr_pkg.obten_valr(afw_14_domn_valr_pkg.obten_seqnc(''PRIOR'',''NORML''))')) ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456899531811104428) ,p_name=>'P1052_REF_STAT' ,p_item_sequence=>30 ,p_item_plug_id=>wwv_flow_api.id(456895447524104398) ,p_use_cache_before_default=>'NO' ,p_prompt=>'Statut' ,p_source=>'REF_STAT' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_SELECT_LIST' ,p_lov=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select d, r', ' from (select s.nom d,', ' s.seqnc r,', ' s.ordre o', ' from vd_afw_12_stat s,', ' vd_afw_12_evolt_stat es', ' where :P1052_SEQNC is not null ', ' and s.ref_struc_aplic = afw_12_struc_aplic_pkg.obten_seqnc(:A_AFW_04_CONTX) ', ' and ((es.ref_stat = :P1052_REF_STAT', ' and es.ref_stat_evolt = s.seqnc', ' and es.indic_code = ''N'') or :P1052_REF_STAT is null)', ' union all', ' select s.nom d,', ' s.seqnc r,', ' s.ordre o', ' from vd_afw_12_stat s', ' where s.ref_struc_aplic = afw_12_struc_aplic_pkg.obten_seqnc(:A_AFW_04_CONTX) ', ' and ((s.seqnc = :P1052_REF_STAT) or :P1052_REF_STAT is null))', 'order by o', '', '', '', '')) ,p_cSize=>250 ,p_cMaxlength=>255 ,p_cHeight=>1 ,p_begin_on_new_line=>'N' ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_display_when=>':P1052_SEQNC is not null' ,p_display_when_type=>'PLSQL_EXPRESSION' ,p_field_template=>wwv_flow_api.id(524973827299896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'NONE' ,p_attribute_02=>'N' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(456899750186104429) ,p_name=>'P1052_COMNT' ,p_item_sequence=>100 ,p_item_plug_id=>wwv_flow_api.id(456895447524104398) ,p_use_cache_before_default=>'NO' ,p_prompt=>'Commentaire' ,p_source=>'COMNT' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_TEXTAREA' ,p_cSize=>124 ,p_cMaxlength=>255 ,p_cHeight=>4 ,p_colspan=>3 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_field_template=>wwv_flow_api.id(524973645529896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'Y' ,p_attribute_02=>'Y' ,p_attribute_03=>'Y' ,p_attribute_04=>'NONE' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(485937428808966829) ,p_name=>'P1052_DATE_INSCR' ,p_is_required=>true ,p_item_sequence=>20 ,p_item_plug_id=>wwv_flow_api.id(456895447524104398) ,p_item_default=>'SYSDATE' ,p_item_default_type=>'PLSQL_EXPRESSION' ,p_prompt=>'Date inscription' ,p_format_mask=>'YYYY-MM-DD' ,p_source=>'DATE_INSCR' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_DATE_PICKER' ,p_cSize=>12 ,p_cMaxlength=>10 ,p_cHeight=>1 ,p_cAttributes=>'nowrap="nowrap"' ,p_begin_on_new_line=>'N' ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_field_template=>wwv_flow_api.id(524973827299896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_04=>'button' ,p_attribute_05=>'Y' ,p_attribute_07=>'MONTH_AND_YEAR' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(485942720441210381) ,p_name=>'P1052_REF_NATR_TACHE' ,p_item_sequence=>50 ,p_item_plug_id=>wwv_flow_api.id(456895447524104398) ,p_use_cache_before_default=>'NO' ,p_prompt=>'Nature de la tâche' ,p_source=>'REF_NATR_TACHE' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_SELECT_LIST' ,p_lov=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select nom d,seqnc r', 'from VD_AFW_32_NATR_TACHE', 'where code <> ''REVSN_ASURN_QUALT''', 'order by d')) ,p_cSize=>250 ,p_cMaxlength=>4000 ,p_cHeight=>1 ,p_cAttributes=>'nowrap="nowrap"' ,p_begin_on_new_line=>'N' ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_field_template=>wwv_flow_api.id(524973827299896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'NONE' ,p_attribute_02=>'N' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(485944139797263209) ,p_name=>'P1052_REF_PRODT' ,p_item_sequence=>80 ,p_item_plug_id=>wwv_flow_api.id(486842548923659816) ,p_use_cache_before_default=>'NO' ,p_prompt=>'Produit' ,p_source=>'REF_PRODT' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_SELECT_LIST' ,p_lov=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select code || '' - '' || nom d,seqnc r', 'from VD_AFW_11_PRODT', 'order by d')) ,p_cSize=>250 ,p_cMaxlength=>4000 ,p_cHeight=>1 ,p_cAttributes=>'nowrap="nowrap"' ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_field_alignment=>'LEFT-CENTER' ,p_field_template=>wwv_flow_api.id(524973827299896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'NONE' ,p_attribute_02=>'N' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(486806641102875421) ,p_name=>'P1052_REF_DV_COMPL' ,p_item_sequence=>90 ,p_item_plug_id=>wwv_flow_api.id(456895447524104398) ,p_item_default=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'declare ', 'vnu_compl number(10) default null;', 'begin', 'if :P1052_SEQNC is not null then', ' select ref_dv_compl', ' into vnu_compl', ' from vd_afw_32_tache', ' where seqnc = :P1052_SEQNC;', 'end if; ', '', 'return vnu_compl;', 'end;', '', '', ' ')) ,p_item_default_type=>'PLSQL_FUNCTION_BODY' ,p_prompt=>'Complexité' ,p_display_as=>'NATIVE_SELECT_LIST' ,p_lov=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select ddv.valr_court || '' - '' || ddv.valr d, ddv.seqnc r', 'from vd_afw_14_detl_domn_valr ddv, vd_afw_14_domn_valr dv', 'where dv.code = ''COMPL'' ', 'and ddv.ref_domn_valr = dv.seqnc ', 'order by ddv.seqnc_PRESN')) ,p_cSize=>30 ,p_cMaxlength=>4000 ,p_cHeight=>1 ,p_cAttributes=>'nowrap="nowrap"' ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_field_template=>wwv_flow_api.id(524973645529896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'NONE' ,p_attribute_02=>'N' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(486911323064087529) ,p_name=>'P1052_PLANIF_EFORT' ,p_item_sequence=>100 ,p_item_plug_id=>wwv_flow_api.id(1556119583145901512) ,p_display_as=>'NATIVE_HIDDEN' ,p_cMaxlength=>4000 ,p_cAttributes=>'nowrap="nowrap"' ,p_begin_on_new_line=>'N' ,p_colspan=>1 ,p_rowspan=>1 ,p_item_template_options=>'#DEFAULT#' ,p_attribute_01=>'N' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(488769730767881068) ,p_name=>'P1052_REF_JALON' ,p_item_sequence=>70 ,p_item_plug_id=>wwv_flow_api.id(456895447524104398) ,p_use_cache_before_default=>'NO' ,p_item_default=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'declare ', 'vnu_jalon number(10) default null;', 'begin', 'if :P1052_SEQNC is not null then', ' select REF_JALON', ' into vnu_jalon', ' from vd_afw_32_tache', ' where seqnc = :p1052_seqnc;', 'end if; ', '', 'return vnu_jalon;', 'end;')) ,p_item_default_type=>'PLSQL_FUNCTION_BODY' ,p_prompt=>'Jalon' ,p_source=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select REF_JALON', 'from vd_afw_32_tache', 'where seqnc = :p1052_seqnc')) ,p_source_type=>'QUERY' ,p_display_as=>'NATIVE_SELECT_LIST' ,p_lov=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select nom d,seqnc r', 'from vd_afw_32_jalon', 'order by d')) ,p_lov_display_null=>'YES' ,p_lov_null_text=>'- Aucun -' ,p_cSize=>30 ,p_cMaxlength=>4000 ,p_cHeight=>1 ,p_cAttributes=>'nowrap="nowrap"' ,p_begin_on_new_line=>'N' ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_field_template=>wwv_flow_api.id(524973645529896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'NONE' ,p_attribute_02=>'N' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(510280222891290485) ,p_name=>'P1052_AFECT' ,p_item_sequence=>110 ,p_item_plug_id=>wwv_flow_api.id(510283334496331614) ,p_item_default=>'&A_AFW_13_MESG_AUCUN_DON_TROUV.' ,p_source=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select listagg (ref_utils_formt, '','') within group (order by ref_utils_formt) utils_formt', 'from VD_AFW_32_HISTR_AFECT_TACHE', 'where ref_tache = :P1052_SEQNC and (FIN_AFECT > sysdate or FIN_AFECT is null)', 'order by ref_utils_formt')) ,p_source_type=>'QUERY_COLON' ,p_display_as=>'NATIVE_DISPLAY_ONLY' ,p_cSize=>30 ,p_cMaxlength=>4000 ,p_cHeight=>1 ,p_cAttributes=>'nowrap="nowrap"' ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'RIGHT' ,p_field_template=>wwv_flow_api.id(524973645529896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'N' ,p_attribute_02=>'VALUE' ,p_attribute_04=>'Y' ); wwv_flow_api.create_page_da_event( p_id=>wwv_flow_api.id(486913727875136272) ,p_name=>'Planification efforts - Afficher dialogue(modification)' ,p_event_sequence=>10 ,p_triggering_element_type=>'BUTTON' ,p_triggering_button_id=>wwv_flow_api.id(486904546191838778) ,p_bind_type=>'bind' ,p_bind_event_type=>'click' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(486914045247136273) ,p_event_id=>wwv_flow_api.id(486913727875136272) ,p_event_result=>'TRUE' ,p_action_sequence=>10 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_AFICH_DIALG_IFRAM' ,p_attribute_01=>'Modification de planification ' ,p_attribute_03=>'640' ,p_attribute_04=>'480' ,p_attribute_05=>'dialg_planif_efort' ,p_attribute_07=>'PAGE' ,p_attribute_13=>'Y' ,p_attribute_14=>'afw_11_aplic_pkg.obten_numr_apex_aplic' ,p_attribute_15=>'1054' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_da_event( p_id=>wwv_flow_api.id(486917736410204955) ,p_name=>'Planification efforts - Fermer dialogue' ,p_event_sequence=>20 ,p_triggering_element_type=>'JQUERY_SELECTOR' ,p_triggering_element=>'div.dialg_planif_efort div.afw_21_actio_dynmq_dialg' ,p_bind_type=>'live' ,p_bind_event_type=>'PLUGIN_IO_AFW_21_AFICH_DIALG_IFRAM|DYNAMIC ACTION|dialogbeforeclose' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(486918028160204956) ,p_event_id=>wwv_flow_api.id(486917736410204955) ,p_event_result=>'TRUE' ,p_action_sequence=>10 ,p_execute_on_page_init=>'N' ,p_action=>'NATIVE_EXECUTE_PLSQL_CODE' ,p_attribute_01=>'afw_21_plugn_dialg_ifram_pkg.defnr_contx_apres_fermt_dialg();' ,p_stop_execution_on_error=>'Y' ,p_wait_for_result=>'Y' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(486918248185208330) ,p_event_id=>wwv_flow_api.id(486917736410204955) ,p_event_result=>'TRUE' ,p_action_sequence=>20 ,p_execute_on_page_init=>'N' ,p_action=>'NATIVE_REFRESH' ,p_affected_elements_type=>'REGION' ,p_affected_region_id=>wwv_flow_api.id(486899932975730901) ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(486918419572209539) ,p_event_id=>wwv_flow_api.id(486917736410204955) ,p_event_result=>'TRUE' ,p_action_sequence=>30 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_REGN_AFICH_MESG_PR' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(486918622689210487) ,p_event_id=>wwv_flow_api.id(486917736410204955) ,p_event_result=>'TRUE' ,p_action_sequence=>40 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_REGN_AFICH_MESG_IN' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_da_event( p_id=>wwv_flow_api.id(486990734835841247) ,p_name=>'Affectations - Afficher dialogue(modification)' ,p_event_sequence=>30 ,p_triggering_element_type=>'BUTTON' ,p_triggering_button_id=>wwv_flow_api.id(486937247322595967) ,p_bind_type=>'bind' ,p_bind_event_type=>'click' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(486991037823841251) ,p_event_id=>wwv_flow_api.id(486990734835841247) ,p_event_result=>'TRUE' ,p_action_sequence=>10 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_AFICH_DIALG_IFRAM' ,p_attribute_01=>'Modifier l''affectation' ,p_attribute_03=>'640' ,p_attribute_04=>'480' ,p_attribute_05=>'dialg_afect' ,p_attribute_07=>'PAGE' ,p_attribute_13=>'Y' ,p_attribute_14=>'afw_11_aplic_pkg.obten_numr_apex_aplic' ,p_attribute_15=>'1053' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_da_event( p_id=>wwv_flow_api.id(486991743970853263) ,p_name=>'Affectations - Fermer dialogue' ,p_event_sequence=>40 ,p_triggering_element_type=>'JQUERY_SELECTOR' ,p_triggering_element=>'div.dialg_afect div.afw_21_actio_dynmq_dialg' ,p_bind_type=>'live' ,p_bind_event_type=>'PLUGIN_IO_AFW_21_AFICH_DIALG_IFRAM|DYNAMIC ACTION|dialogbeforeclose' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(486992044496853266) ,p_event_id=>wwv_flow_api.id(486991743970853263) ,p_event_result=>'TRUE' ,p_action_sequence=>10 ,p_execute_on_page_init=>'N' ,p_action=>'NATIVE_EXECUTE_PLSQL_CODE' ,p_attribute_01=>'afw_21_plugn_dialg_ifram_pkg.defnr_contx_apres_fermt_dialg();' ,p_stop_execution_on_error=>'Y' ,p_wait_for_result=>'Y' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(486992420552855970) ,p_event_id=>wwv_flow_api.id(486991743970853263) ,p_event_result=>'TRUE' ,p_action_sequence=>20 ,p_execute_on_page_init=>'N' ,p_action=>'NATIVE_REFRESH' ,p_affected_elements_type=>'REGION' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(486992724015856995) ,p_event_id=>wwv_flow_api.id(486991743970853263) ,p_event_result=>'TRUE' ,p_action_sequence=>30 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_REGN_AFICH_MESG_PR' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(486992927132857892) ,p_event_id=>wwv_flow_api.id(486991743970853263) ,p_event_result=>'TRUE' ,p_action_sequence=>40 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_REGN_AFICH_MESG_IN' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(456901248154104431) ,p_process_sequence=>10 ,p_process_point=>'AFTER_HEADER' ,p_process_type=>'NATIVE_FORM_FETCH' ,p_process_name=>'Fetch Row from VD_AFW_32_TACHE' ,p_attribute_02=>'VD_AFW_32_TACHE' ,p_attribute_03=>'P1052_SEQNC' ,p_attribute_04=>'SEQNC' ,p_process_error_message=>'&A_AFW_MESG_IMPOS_FETCH.' ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(456901446846104433) ,p_process_sequence=>10 ,p_process_point=>'AFTER_SUBMIT' ,p_process_type=>'NATIVE_FORM_PROCESS' ,p_process_name=>'Process Row of VD_AFW_32_TACHE' ,p_attribute_02=>'VD_AFW_32_TACHE' ,p_attribute_03=>'P1052_SEQNC' ,p_attribute_04=>'SEQNC' ,p_attribute_09=>'P1052_SEQNC' ,p_attribute_11=>'I:U:D' ,p_process_error_message=>'&A_AFW_13_MESG_ECHEC_SPECF.' ,p_error_display_location=>'INLINE_IN_NOTIFICATION' ,p_process_success_message=>'&A_AFW_13_MESG_SUCS_SPECF.' ,p_security_scheme=>wwv_flow_api.id(1723951025632196700) ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(486812237762158298) ,p_process_sequence=>20 ,p_process_point=>'AFTER_SUBMIT' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'Sauvegarde complexité' ,p_process_sql_clob=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'if :P1052_REF_DV_COMPL is not null then', ' afw_32_tache_pkg.gerer_ajout_compl(:P1052_SEQNC,:P1052_REF_DV_COMPL);', 'end if;')) ,p_error_display_location=>'INLINE_IN_NOTIFICATION' ,p_process_when=>'DELETE' ,p_process_when_type=>'REQUEST_NOT_EQUAL_CONDITION' ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(488794820836136521) ,p_process_sequence=>30 ,p_process_point=>'AFTER_SUBMIT' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'Sauvegarde jalon' ,p_process_sql_clob=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'IF :P1052_REF_STAT IS NULL THEN', ' :P1052_REF_STAT := afw_12_stat_pkg.obten_stat_initl_struc_aplic (''AFW_TACHE'');', 'END IF;', '', 'IF :P1052_REF_JALON IS NOT NULL THEN', ' afw_32_jalon_pkg.verfr_besn_ajout_jalon(:P1052_SEQNC,:P1052_REF_JALON);', '', ' UPDATE vd_afw_32_tache', ' SET ref_stat = :p1052_ref_stat', ' WHERE seqnc = :P1052_SEQNC;', 'END IF;', '', 'IF :P1052_REF_JALON IS NULL THEN', ' UPDATE vd_afw_32_tache', ' SET ref_stat = :p1052_ref_stat', ' WHERE seqnc = :P1052_SEQNC;', 'END IF;')) ,p_process_error_message=>'&A_AFW_13_MESG_ECHEC_SPECF.' ,p_error_display_location=>'INLINE_IN_NOTIFICATION' ,p_process_when=>'DELETE' ,p_process_when_type=>'REQUEST_NOT_EQUAL_CONDITION' ,p_process_success_message=>'&A_AFW_13_MESG_SUCS_SPECF.' ); end; / begin wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(532967747854139159) ,p_process_sequence=>40 ,p_process_point=>'BEFORE_HEADER' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'Alimenter complexité' ,p_process_sql_clob=>':P1052_REF_DV_COMPL := afw_14_domn_valr_pkg.obten_seqnc(''COMPL'', ''SIMPL'', ''AFW'');' ,p_process_when=>'P1052_seqnc' ,p_process_when_type=>'ITEM_IS_NULL' ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(532972547890441973) ,p_process_sequence=>40 ,p_process_point=>'BEFORE_HEADER' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'Alimenter environement' ,p_process_sql_clob=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select seqnc ', 'into :P1052_REF_ENVIR', 'from VD_AFW_31_ENVIR', 'where code = afw_11_parmt_afw_pkg.obten_valr_parmt(''ENVIR_EN_OPERT'');')) ,p_process_when=>'P1052_SEQNC' ,p_process_when_type=>'ITEM_IS_NULL' ); end; / prompt --application/pages/page_01053 begin wwv_flow_api.create_page( p_id=>1053 ,p_user_interface_id=>wwv_flow_api.id(3663430628528105) ,p_name=>'Affectations' ,p_page_mode=>'NORMAL' ,p_step_title=>'Affectations' ,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS' ,p_first_item=>'AUTO_FIRST_ITEM' ,p_html_page_header=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<script language="JavaScript" type="text/javascript">', '<!--', '', ' htmldb_delete_message=''"DELETE_CONFIRM_MSG"'';', '', '//-->', '</script>')) ,p_step_template=>wwv_flow_api.id(524954649145896531) ,p_page_template_options=>'#DEFAULT#' ,p_required_role=>wwv_flow_api.id(1724855148880581895) ,p_dialog_chained=>'Y' ,p_overwrite_navigation_list=>'N' ,p_nav_list_template_options=>'#DEFAULT#' ,p_page_is_public_y_n=>'N' ,p_cache_mode=>'NOCACHE' ,p_cache_timeout_seconds=>21600 ,p_last_upd_yyyymmddhh24miss=>'20160513152005' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(457071641461098862) ,p_plug_name=>'Barre de bouton (nav bar)' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524958835947896536) ,p_plug_display_sequence=>5 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'REGION_POSITION_05' ,p_plug_query_row_template=>1 ,p_attribute_01=>'N' ,p_attribute_02=>'HTML' ,p_attribute_03=>'N' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(487142846167304926) ,p_plug_name=>'Affectations' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524964537325896540) ,p_plug_display_sequence=>15 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'BODY_3' ,p_plug_query_row_template=>1 ,p_plug_query_headings_type=>'QUERY_COLUMNS' ,p_plug_query_num_rows_type=>'NEXT_PREVIOUS_LINKS' ,p_plug_query_show_nulls_as=>' - ' ,p_pagination_display_position=>'BOTTOM_RIGHT' ,p_attribute_01=>'N' ,p_attribute_02=>'HTML' ,p_attribute_03=>'N' ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(457060718233871171) ,p_button_sequence=>10 ,p_button_plug_id=>wwv_flow_api.id(457071641461098862) ,p_button_name=>'CANCEL' ,p_button_action=>'DEFINED_BY_DA' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_image_alt=>'Annuler' ,p_button_position=>'REGION_TEMPLATE_CLOSE' ,p_button_css_classes=>'btn-info' ,p_button_cattributes=>'fa-undo' ,p_grid_new_grid=>false ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(487146922832638788) ,p_button_sequence=>20 ,p_button_plug_id=>wwv_flow_api.id(457071641461098862) ,p_button_name=>'SAVE' ,p_button_action=>'SUBMIT' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_image_alt=>'Enregistrer' ,p_button_position=>'REGION_TEMPLATE_CREATE' ,p_button_css_classes=>'btn-success' ,p_button_cattributes=>'fa-save' ,p_grid_new_grid=>false ,p_security_scheme=>wwv_flow_api.id(1723923346971193396) ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(487145247485475576) ,p_name=>'P1053_REF_UTILS' ,p_item_sequence=>10 ,p_item_plug_id=>wwv_flow_api.id(487142846167304926) ,p_prompt=>'Utilisateurs' ,p_source=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select ref_utils_formt', 'from VD_AFW_32_HISTR_AFECT_TACHE', 'where ref_tache = :a_sourc_seqnc_contx and fin_afect >= sysdate', ' or fin_afect is null', 'order by ref_utils_formt;')) ,p_source_type=>'QUERY_COLON' ,p_display_as=>'NATIVE_SHUTTLE' ,p_lov=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select nom_formt d,seqnc r', 'from vd_afw_12_utils u', 'where not exists (select 1', ' from vd_afw_32_histr_afect_tache hat', ' where hat.ref_utils = u.seqnc and hat.ref_tache = :a_afw_04_sourc_seqnc_contx and ( hat.fin_afect >= sysdate', ' or hat.fin_afect is null))', 'order by nom_formt')) ,p_cSize=>150 ,p_cMaxlength=>4000 ,p_cHeight=>10 ,p_cAttributes=>'nowrap="nowrap"' ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_field_template=>wwv_flow_api.id(524973827299896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'ALL' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(487147323918667427) ,p_name=>'P1053_SEQNC' ,p_item_sequence=>20 ,p_item_plug_id=>wwv_flow_api.id(1556119583145901512) ,p_use_cache_before_default=>'NO' ,p_source=>'SEQNC' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_HIDDEN' ,p_cMaxlength=>4000 ,p_cAttributes=>'nowrap="nowrap"' ,p_begin_on_new_line=>'N' ,p_colspan=>1 ,p_rowspan=>1 ,p_item_template_options=>'#DEFAULT#' ,p_attribute_01=>'Y' ); wwv_flow_api.create_page_da_event( p_id=>wwv_flow_api.id(457070036819012366) ,p_name=>'Fermer dialogue' ,p_event_sequence=>10 ,p_triggering_element_type=>'BUTTON' ,p_triggering_button_id=>wwv_flow_api.id(457060718233871171) ,p_bind_type=>'bind' ,p_bind_event_type=>'click' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(457070349443012368) ,p_event_id=>wwv_flow_api.id(457070036819012366) ,p_event_result=>'TRUE' ,p_action_sequence=>10 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_FERMR_DIALG_IFRAM' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(487147438940681303) ,p_process_sequence=>50 ,p_process_point=>'AFTER_HEADER' ,p_process_type=>'NATIVE_FORM_FETCH' ,p_process_name=>'Fetch Row from vd_afw_32_histr_afect_tache' ,p_attribute_02=>'VD_AFW_32_HISTR_AFECT_TACHE' ,p_attribute_03=>'P1053_SEQNC' ,p_attribute_04=>'SEQNC' ,p_process_error_message=>'&A_AFW_13_MESG_IMPOS_FETCH.' ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(487147631929698161) ,p_process_sequence=>10 ,p_process_point=>'AFTER_SUBMIT' ,p_process_type=>'NATIVE_FORM_PROCESS' ,p_process_name=>'Process Row of vd_afw_32_histr_afect_tache' ,p_attribute_02=>'VD_AFW_32_HISTR_AFECT_TACHE' ,p_attribute_03=>'P1053_SEQNC' ,p_attribute_04=>'SEQNC' ,p_attribute_09=>'P1053_SEQNC' ,p_attribute_11=>'I:U' ,p_process_error_message=>'&A_AFW_13_MESG_ECHEC_SPECF.' ,p_error_display_location=>'INLINE_IN_NOTIFICATION' ,p_process_success_message=>'&A_AFW_13_MESG_SUCS_SPECF.' ,p_security_scheme=>wwv_flow_api.id(1723951025632196700) ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(457071323322084137) ,p_process_sequence=>40 ,p_process_point=>'AFTER_SUBMIT' ,p_process_type=>'PLUGIN_IO_AFW_21_FERMR_DIALG_IFRAM' ,p_process_name=>'Fermer le dialogue' ,p_error_display_location=>'INLINE_IN_NOTIFICATION' ); end; / prompt --application/pages/page_01054 begin wwv_flow_api.create_page( p_id=>1054 ,p_user_interface_id=>wwv_flow_api.id(3663430628528105) ,p_name=>'Planification efforts' ,p_page_mode=>'NORMAL' ,p_step_title=>'Planification efforts' ,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS' ,p_first_item=>'NO_FIRST_ITEM' ,p_step_template=>wwv_flow_api.id(524954649145896531) ,p_page_template_options=>'#DEFAULT#' ,p_required_role=>wwv_flow_api.id(1724855148880581895) ,p_dialog_chained=>'Y' ,p_overwrite_navigation_list=>'N' ,p_nav_list_template_options=>'#DEFAULT#' ,p_page_is_public_y_n=>'N' ,p_cache_mode=>'NOCACHE' ,p_cache_timeout_seconds=>21600 ,p_last_upd_yyyymmddhh24miss=>'20160513152005' ); wwv_flow_api.create_report_region( p_id=>wwv_flow_api.id(486961432495471525) ,p_name=>'Tabular Form' ,p_template=>wwv_flow_api.id(524964537325896540) ,p_display_sequence=>15 ,p_include_in_reg_disp_sel_yn=>'N' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_new_grid_row=>false ,p_new_grid_column=>false ,p_display_column=>1 ,p_display_point=>'BODY_3' ,p_source=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select ', 'SEQNC,', 'REF_ROLE_FORMT,', 'EFORT_A_FAIRE,', 'NIV_AVANC', 'from VD_AFW_32_HISTR_TACHE_EFOR_ACT', 'WHERE REF_TACHE = :A_AFW_04_SOURC_SEQNC_CONTX', 'order by REF_ROLE_FORMT')) ,p_source_type=>'NATIVE_TABFORM' ,p_ajax_enabled=>'N' ,p_fixed_header=>'NONE' ,p_query_row_template=>wwv_flow_api.id(524966324975896545) ,p_query_num_rows=>10 ,p_query_options=>'DERIVED_REPORT_COLUMNS' ,p_query_show_nulls_as=>'(null)' ,p_query_break_cols=>'0' ,p_query_no_data_found=>'&A_AFW_13_MESG_AUCUN_DON_TROUV.' ,p_query_more_data=>'&A_AFW_13_MESG_TROP_DON_TROUV.' ,p_query_num_rows_type=>'ROW_RANGES_WITH_LINKS' ,p_query_row_count_max=>500 ,p_pagination_display_position=>'BOTTOM_RIGHT' ,p_break_type_flag=>'DEFAULT_BREAK_FORMATTING' ,p_csv_output=>'N' ,p_query_asc_image=>'apex/builder/dup.gif' ,p_query_asc_image_attr=>'width="16" height="16" alt="" ' ,p_query_desc_image=>'apex/builder/ddown.gif' ,p_query_desc_image_attr=>'width="16" height="16" alt="" ' ,p_plug_query_strip_html=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(486986032727736092) ,p_query_column_id=>1 ,p_column_alias=>'SEQNC' ,p_column_display_sequence=>1 ,p_column_heading=>'Seqnc' ,p_use_as_row_header=>'N' ,p_column_alignment=>'RIGHT' ,p_heading_alignment=>'RIGHT' ,p_hidden_column=>'Y' ,p_display_as=>'HIDDEN' ,p_lov_show_nulls=>'NO' ,p_column_width=>16 ,p_pk_col_source_type=>'T' ,p_lov_display_extra=>'YES' ,p_include_in_export=>'Y' ,p_ref_table_name=>'VD_AFW_32_HISTR_TACHE_EFOR_ACT' ,p_ref_column_name=>'SEQNC' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(486988523134792117) ,p_query_column_id=>2 ,p_column_alias=>'REF_ROLE_FORMT' ,p_column_display_sequence=>2 ,p_column_heading=>'Rôle' ,p_heading_alignment=>'LEFT' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(486986335511736092) ,p_query_column_id=>3 ,p_column_alias=>'EFORT_A_FAIRE' ,p_column_display_sequence=>4 ,p_column_heading=>'Efforts à faire (h)' ,p_use_as_row_header=>'N' ,p_column_alignment=>'RIGHT' ,p_heading_alignment=>'RIGHT' ,p_display_as=>'TEXT' ,p_lov_show_nulls=>'NO' ,p_column_width=>6 ,p_cattributes=>'style="text-align:right"' ,p_lov_display_extra=>'YES' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(486986537573736093) ,p_query_column_id=>4 ,p_column_alias=>'NIV_AVANC' ,p_column_display_sequence=>3 ,p_column_heading=>'Avancement (%)' ,p_use_as_row_header=>'N' ,p_column_alignment=>'RIGHT' ,p_heading_alignment=>'RIGHT' ,p_display_as=>'TEXT' ,p_lov_show_nulls=>'NO' ,p_column_width=>4 ,p_cattributes=>'style="text-align:right"' ,p_lov_display_extra=>'YES' ,p_include_in_export=>'Y' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(486980334292651879) ,p_plug_name=>'Barre de bouton (nav bar)' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524958835947896536) ,p_plug_display_sequence=>10 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'REGION_POSITION_05' ,p_plug_query_row_template=>wwv_flow_api.id(524967524528896546) ,p_plug_query_headings_type=>'QUERY_COLUMNS' ,p_plug_query_num_rows=>15 ,p_plug_query_num_rows_type=>'NEXT_PREVIOUS_LINKS' ,p_plug_query_show_nulls_as=>' - ' ,p_pagination_display_position=>'BOTTOM_RIGHT' ,p_attribute_01=>'N' ,p_attribute_02=>'HTML' ,p_attribute_03=>'N' ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(487120522253796591) ,p_button_sequence=>60 ,p_button_plug_id=>wwv_flow_api.id(486961432495471525) ,p_button_name=>'P1054_AJOUTER' ,p_button_static_id=>'P1054_AJOUTER' ,p_button_action=>'SUBMIT' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_is_hot=>'Y' ,p_button_image_alt=>'Ajouter' ,p_button_position=>'BODY' ,p_button_alignment=>'LEFT' ,p_button_css_classes=>'btn-primary' ,p_button_cattributes=>'fa-plus' ,p_grid_new_grid=>false ,p_grid_new_row=>'N' ,p_grid_new_column=>'Y' ,p_grid_column_span=>1 ,p_grid_row_span=>1 ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(486962721033471530) ,p_button_sequence=>40 ,p_button_plug_id=>wwv_flow_api.id(486961432495471525) ,p_button_name=>'ADD' ,p_button_action=>'REDIRECT_URL' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_image_alt=>'Ajouter' ,p_button_position=>'BOTTOM' ,p_button_redirect_url=>'javascript:addRow();' ,p_button_execute_validations=>'N' ,p_button_condition_type=>'NEVER' ,p_button_css_classes=>'btn-primary' ,p_button_cattributes=>'fa-plus' ,p_grid_new_grid=>false ,p_security_scheme=>wwv_flow_api.id(1721922232923650037) ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(486962449756471530) ,p_button_sequence=>10 ,p_button_plug_id=>wwv_flow_api.id(486980334292651879) ,p_button_name=>'CANCEL' ,p_button_action=>'DEFINED_BY_DA' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_image_alt=>'Annuler' ,p_button_position=>'REGION_TEMPLATE_CLOSE' ,p_button_css_classes=>'btn-info' ,p_button_cattributes=>'fa-undo' ,p_grid_new_grid=>false ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(486962524547471530) ,p_button_sequence=>30 ,p_button_plug_id=>wwv_flow_api.id(486980334292651879) ,p_button_name=>'SUBMIT' ,p_button_action=>'SUBMIT' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_is_hot=>'Y' ,p_button_image_alt=>'Enregistrer' ,p_button_position=>'REGION_TEMPLATE_CREATE' ,p_button_condition=>'P1054_SEQNC' ,p_button_css_classes=>'btn-success' ,p_button_cattributes=>'fa-save' ,p_grid_new_grid=>false ,p_security_scheme=>wwv_flow_api.id(1723923346971193396) ); wwv_flow_api.create_page_branch( p_id=>wwv_flow_api.id(486964748006471539) ,p_branch_action=>'f?p=&APP_ID.:1054:&SESSION.&success_msg=#SUCCESS_MSG#' ,p_branch_point=>'AFTER_PROCESSING' ,p_branch_type=>'REDIRECT_URL' ,p_branch_sequence=>1 ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(487119232249771153) ,p_name=>'P1054_REF_ROLE_FORMT' ,p_item_sequence=>50 ,p_item_plug_id=>wwv_flow_api.id(486961432495471525) ,p_use_cache_before_default=>'NO' ,p_prompt=>'Rôle' ,p_source=>'REF_ROLE_FORMT' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_SELECT_LIST' ,p_lov=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select nom d,seqnc r ', 'from VD_AFW_32_ROLE', 'order by nom')) ,p_lov_display_null=>'YES' ,p_lov_null_text=>'- Choisir -' ,p_cSize=>30 ,p_cMaxlength=>4000 ,p_cHeight=>1 ,p_cAttributes=>'nowrap="nowrap"' ,p_begin_on_new_line=>'N' ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_field_template=>wwv_flow_api.id(524973827299896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'NONE' ,p_attribute_02=>'N' ); wwv_flow_api.create_page_da_event( p_id=>wwv_flow_api.id(487044629826370216) ,p_name=>'Fermer dialogue' ,p_event_sequence=>10 ,p_triggering_element_type=>'BUTTON' ,p_triggering_button_id=>wwv_flow_api.id(486962449756471530) ,p_bind_type=>'bind' ,p_bind_event_type=>'click' ); wwv_flow_api.create_page_da_action( p_id=>wwv_flow_api.id(487044928820370234) ,p_event_id=>wwv_flow_api.id(487044629826370216) ,p_event_result=>'TRUE' ,p_action_sequence=>10 ,p_execute_on_page_init=>'N' ,p_action=>'PLUGIN_IO_AFW_21_FERMR_DIALG_IFRAM' ,p_stop_execution_on_error=>'Y' ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(487000128171208276) ,p_process_sequence=>20 ,p_process_point=>'AFTER_HEADER' ,p_process_type=>'NATIVE_FORM_FETCH' ,p_process_name=>'FETCH ROW VD_AFW_32_HISTR_TACHE_EFOR_ACT' ,p_attribute_02=>'VD_AFW_32_HISTR_TACHE_EFOR_ACT' ,p_attribute_03=>'P1054_SEQNC' ,p_attribute_04=>'SEQNC' ,p_process_error_message=>'&A_AFW_13_MESG_IMPOS_FETCH.' ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(486964518978471537) ,p_process_sequence=>10 ,p_process_point=>'AFTER_SUBMIT' ,p_region_id=>wwv_flow_api.id(486961432495471525) ,p_process_type=>'NATIVE_TABFORM_UPDATE' ,p_process_name=>'ApplyMRU' ,p_attribute_02=>'VD_AFW_32_HISTR_TACHE_EFOR_ACT' ,p_attribute_03=>'SEQNC' ,p_process_error_message=>'&A_AFW_13_MESG_ECHEC_SPECF.' ,p_process_when_button_id=>wwv_flow_api.id(486962524547471530) ,p_process_success_message=>'&nbsp;#MRU_COUNT# &A_AFW_13_MESG_RANGE_MODF., #MRI_COUNT# &A_AFW_13_MESG_RANGE_INSER..' ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(487122141047858797) ,p_process_sequence=>35 ,p_process_point=>'AFTER_SUBMIT' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'Ajout nouveau rôle' ,p_process_sql_clob=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'INSERT INTO VD_AFW_32_HISTR_TACHE_EFOR_ACT (REF_TACHE,', ' REF_ROLE,', ' EFORT_A_FAIRE, ', ' NIV_AVANC)', ' VALUES (:A_AFW_04_SOURC_SEQNC_CONTX,', ' :P1054_REF_ROLE_FORMT,', ' 0, ', ' 0);')) ,p_process_error_message=>'&A_AFW_13_MESG_ECHEC_SPECF.' ,p_error_display_location=>'INLINE_IN_NOTIFICATION' ,p_process_when_button_id=>wwv_flow_api.id(487120522253796591) ,p_process_when=>'SUBMIT' ,p_process_success_message=>'&A_AFW_13_MESG_SUCS_SPECF.' ); end; / prompt --application/pages/page_01055 begin wwv_flow_api.create_page( p_id=>1055 ,p_user_interface_id=>wwv_flow_api.id(3663430628528105) ,p_name=>'Mes tâches' ,p_page_mode=>'NORMAL' ,p_step_title=>'Mes tâches' ,p_step_sub_title=>'Mes tâches' ,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS' ,p_first_item=>'AUTO_FIRST_ITEM' ,p_page_template_options=>'#DEFAULT#' ,p_required_role=>wwv_flow_api.id(1724855148880581895) ,p_dialog_chained=>'Y' ,p_overwrite_navigation_list=>'N' ,p_nav_list_template_options=>'#DEFAULT#' ,p_page_is_public_y_n=>'N' ,p_cache_mode=>'NOCACHE' ,p_cache_timeout_seconds=>21600 ,p_last_upd_yyyymmddhh24miss=>'20131031160452' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(532983448609719373) ,p_plug_name=>'Mes tâches' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524964537325896540) ,p_plug_display_sequence=>30 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'BODY_3' ,p_plug_source=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select seqnc,', ' numr_signf,', ' nom,', ' ref_envir_formt,', ' ref_prodt_formt,', ' ref_natr_tache_formt,', ' ref_dv_prior_formt,', ' ref_dv_prior,', ' ref_stat_reals,', ' ref_utils', 'from vs_afw_32_tache', '')) ,p_plug_source_type=>'NATIVE_IR' ,p_plug_query_row_template=>1 ,p_plug_query_show_nulls_as=>' - ' ,p_pagination_display_position=>'BOTTOM_RIGHT' ); wwv_flow_api.create_worksheet( p_id=>wwv_flow_api.id(532983542732719374) ,p_name=>'Mes tâche' ,p_max_row_count=>'100000' ,p_max_row_count_message=>'&A_AFW_13_MESG_TROP_DON_TROUV.' ,p_no_data_found_message=>'&A_AFW_13_MESG_AUCUN_DON_TROUV.' ,p_allow_report_categories=>'N' ,p_show_nulls_as=>'-' ,p_pagination_type=>'ROWS_X_TO_Y_OF_Z' ,p_pagination_display_pos=>'BOTTOM_RIGHT' ,p_report_list_mode=>'TABS' ,p_fixed_header=>'NONE' ,p_show_detail_link=>'C' ,p_show_pivot=>'N' ,p_show_calendar=>'N' ,p_download_formats=>'CSV:HTML:EMAIL' ,p_detail_link=>'f?p=&APP_ID.:1056:&SESSION.::&DEBUG.:RP:SSPC,SIDF:#SEQNC#,&SIDF.' ,p_detail_link_text=>'&A_AFW_13_LIEN_EDITN_RAPRT.' ,p_allow_exclude_null_values=>'N' ,p_allow_hide_extra_columns=>'N' ,p_icon_view_columns_per_row=>1 ,p_owner=>'FOUER' ,p_internal_uid=>1 ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(532983727436719382) ,p_db_column_name=>'SEQNC' ,p_display_order=>1 ,p_column_identifier=>'A' ,p_column_label=>'Seqnc' ,p_allow_pivot=>'N' ,p_column_type=>'NUMBER' ,p_display_text_as=>'HIDDEN' ,p_column_alignment=>'RIGHT' ,p_tz_dependent=>'N' ,p_static_id=>'SEQNC' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(532983847431719386) ,p_db_column_name=>'NUMR_SIGNF' ,p_display_order=>2 ,p_column_identifier=>'B' ,p_column_label=>'Numéro' ,p_allow_pivot=>'N' ,p_column_type=>'STRING' ,p_heading_alignment=>'LEFT' ,p_tz_dependent=>'N' ,p_static_id=>'NUMR_SIGNF' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(532983933484719386) ,p_db_column_name=>'NOM' ,p_display_order=>3 ,p_column_identifier=>'C' ,p_column_label=>'Nom' ,p_allow_pivot=>'N' ,p_column_type=>'STRING' ,p_heading_alignment=>'LEFT' ,p_tz_dependent=>'N' ,p_static_id=>'NOM' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(532984022677719386) ,p_db_column_name=>'REF_ENVIR_FORMT' ,p_display_order=>4 ,p_column_identifier=>'D' ,p_column_label=>'Environnement' ,p_allow_pivot=>'N' ,p_column_type=>'STRING' ,p_heading_alignment=>'LEFT' ,p_tz_dependent=>'N' ,p_static_id=>'REF_ENVIR_FORMT' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(532984134125719387) ,p_db_column_name=>'REF_PRODT_FORMT' ,p_display_order=>5 ,p_column_identifier=>'E' ,p_column_label=>'Produit' ,p_allow_pivot=>'N' ,p_column_type=>'STRING' ,p_heading_alignment=>'LEFT' ,p_tz_dependent=>'N' ,p_static_id=>'REF_PRODT_FORMT' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(532984222612719388) ,p_db_column_name=>'REF_NATR_TACHE_FORMT' ,p_display_order=>6 ,p_column_identifier=>'F' ,p_column_label=>'Nature ' ,p_allow_pivot=>'N' ,p_column_type=>'STRING' ,p_heading_alignment=>'LEFT' ,p_tz_dependent=>'N' ,p_static_id=>'REF_NATR_TACHE_FORMT' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(532984321187719388) ,p_db_column_name=>'REF_DV_PRIOR_FORMT' ,p_display_order=>7 ,p_column_identifier=>'G' ,p_column_label=>'Priorité' ,p_allow_pivot=>'N' ,p_column_type=>'STRING' ,p_heading_alignment=>'LEFT' ,p_tz_dependent=>'N' ,p_static_id=>'REF_DV_PRIOR_FORMT' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(532998931021736655) ,p_db_column_name=>'REF_DV_PRIOR' ,p_display_order=>8 ,p_column_identifier=>'H' ,p_column_label=>'Ref Dv Prior' ,p_allow_pivot=>'N' ,p_column_type=>'NUMBER' ,p_column_alignment=>'RIGHT' ,p_tz_dependent=>'N' ,p_static_id=>'REF_DV_PRIOR' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(532999641167872100) ,p_db_column_name=>'REF_UTILS' ,p_display_order=>9 ,p_column_identifier=>'I' ,p_column_label=>'Ref Utils' ,p_allow_pivot=>'N' ,p_column_type=>'NUMBER' ,p_column_alignment=>'RIGHT' ,p_tz_dependent=>'N' ,p_static_id=>'REF_UTILS' ); wwv_flow_api.create_worksheet_column( p_id=>wwv_flow_api.id(533564440395110972) ,p_db_column_name=>'REF_STAT_REALS' ,p_display_order=>10 ,p_column_identifier=>'J' ,p_column_label=>'Ref Stat Reals' ,p_allow_pivot=>'N' ,p_column_type=>'NUMBER' ,p_column_alignment=>'RIGHT' ,p_tz_dependent=>'N' ,p_static_id=>'REF_STAT_REALS' ); wwv_flow_api.create_worksheet_rpt( p_id=>wwv_flow_api.id(532986343293784031) ,p_application_user=>'APXWS_DEFAULT' ,p_report_seq=>10 ,p_report_alias=>'5294035' ,p_status=>'PUBLIC' ,p_is_default=>'Y' ,p_display_rows=>100000 ,p_report_columns=>'REF_PRODT_FORMT:REF_NATR_TACHE_FORMT:NUMR_SIGNF:NOM:REF_DV_PRIOR_FORMT:REF_ENVIR_FORMT:' ,p_sort_column_1=>'REF_UTILS' ,p_sort_direction_1=>'ASC' ,p_sort_column_2=>'REF_DV_PRIOR' ,p_sort_direction_2=>'DESC' ,p_sort_column_3=>'0' ,p_sort_direction_3=>'ASC' ,p_flashback_enabled=>'N' ); end; / prompt --application/pages/page_01056 begin wwv_flow_api.create_page( p_id=>1056 ,p_user_interface_id=>wwv_flow_api.id(3663430628528105) ,p_name=>'Consulter une tâche' ,p_page_mode=>'NORMAL' ,p_step_title=>'Consulter une tâche' ,p_step_sub_title=>'Tâche' ,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS' ,p_first_item=>'AUTO_FIRST_ITEM' ,p_html_page_header=>wwv_flow_utilities.join(wwv_flow_t_varchar2( '<script language="JavaScript" type="text/javascript">', '<!--', '', ' htmldb_delete_message=''"DELETE_CONFIRM_MSG"'';', '', '//-->', '</script>')) ,p_page_template_options=>'#DEFAULT#' ,p_required_role=>wwv_flow_api.id(1724855148880581895) ,p_dialog_chained=>'Y' ,p_overwrite_navigation_list=>'N' ,p_nav_list_template_options=>'#DEFAULT#' ,p_page_is_public_y_n=>'N' ,p_cache_mode=>'NOCACHE' ,p_cache_timeout_seconds=>21600 ,p_last_upd_yyyymmddhh24miss=>'20160513152058' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(533009623954419853) ,p_plug_name=>'Tâche' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524961247111896538) ,p_plug_display_sequence=>10 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'BODY_3' ,p_plug_query_row_template=>1 ,p_attribute_01=>'N' ,p_attribute_02=>'HTML' ,p_attribute_03=>'N' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(533012426975419868) ,p_plug_name=>'Gérer contexte' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524965123033896540) ,p_plug_display_sequence=>40 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>2 ,p_plug_display_point=>'BODY_3' ,p_plug_query_row_template=>1 ,p_plug_query_headings_type=>'QUERY_COLUMNS' ,p_plug_query_num_rows_type=>'NEXT_PREVIOUS_LINKS' ,p_plug_query_show_nulls_as=>' - ' ,p_pagination_display_position=>'BOTTOM_RIGHT' ,p_attribute_01=>'N' ,p_attribute_02=>'HTML' ,p_attribute_03=>'N' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(533014025684419872) ,p_plug_name=>'Barre de bouton (nav bar)' ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(524958835947896536) ,p_plug_display_sequence=>20 ,p_include_in_reg_disp_sel_yn=>'N' ,p_plug_new_grid_row=>false ,p_plug_new_grid_column=>false ,p_plug_display_column=>1 ,p_plug_display_point=>'REGION_POSITION_05' ,p_plug_item_display_point=>'BELOW' ,p_plug_query_row_template=>1 ,p_attribute_01=>'N' ,p_attribute_02=>'HTML' ,p_attribute_03=>'N' ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(533014445606419873) ,p_button_sequence=>10 ,p_button_plug_id=>wwv_flow_api.id(533014025684419872) ,p_button_name=>'CANCEL' ,p_button_action=>'REDIRECT_URL' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_image_alt=>'Annuler' ,p_button_position=>'REGION_TEMPLATE_CLOSE' ,p_button_redirect_url=>'&A_AFW_04_SOURC_URL.' ,p_button_condition=>'EDITER' ,p_button_css_classes=>'btn-info' ,p_button_cattributes=>'fa-undo' ,p_grid_new_grid=>false ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(533014624571419873) ,p_button_sequence=>30 ,p_button_plug_id=>wwv_flow_api.id(533014025684419872) ,p_button_name=>'SAVE' ,p_button_action=>'SUBMIT' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_is_hot=>'Y' ,p_button_image_alt=>'Enregistrer' ,p_button_position=>'REGION_TEMPLATE_CREATE' ,p_button_condition=>'P1056_SEQNC' ,p_button_condition_type=>'ITEM_IS_NOT_NULL' ,p_button_css_classes=>'btn-success' ,p_button_cattributes=>'fa-save' ,p_grid_new_grid=>false ,p_security_scheme=>wwv_flow_api.id(1723923346971193396) ,p_database_action=>'UPDATE' ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(533014826855419873) ,p_button_sequence=>40 ,p_button_plug_id=>wwv_flow_api.id(533014025684419872) ,p_button_name=>'CREATE' ,p_button_action=>'SUBMIT' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_is_hot=>'Y' ,p_button_image_alt=>'Enregistrer' ,p_button_position=>'REGION_TEMPLATE_CREATE' ,p_button_condition=>'P1056_SEQNC' ,p_button_condition_type=>'ITEM_IS_NULL' ,p_button_css_classes=>'btn-success' ,p_button_cattributes=>'fa-save' ,p_grid_new_grid=>false ,p_security_scheme=>wwv_flow_api.id(1721922232923650037) ,p_database_action=>'INSERT' ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(533014242706419872) ,p_button_sequence=>20 ,p_button_plug_id=>wwv_flow_api.id(533014025684419872) ,p_button_name=>'DELETE' ,p_button_action=>'REDIRECT_URL' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976635139896554) ,p_button_is_hot=>'Y' ,p_button_image_alt=>'Supprimer' ,p_button_position=>'REGION_TEMPLATE_DELETE' ,p_button_redirect_url=>'javascript:apex.confirm(htmldb_delete_message,''DELETE'');' ,p_button_execute_validations=>'N' ,p_button_condition=>'EDITER' ,p_button_condition_type=>'REQUEST_EQUALS_CONDITION' ,p_button_cattributes=>'fa-remove' ,p_grid_new_grid=>false ,p_security_scheme=>wwv_flow_api.id(1723935220091195070) ,p_database_action=>'DELETE' ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(533031739247158162) ,p_button_sequence=>50 ,p_button_plug_id=>wwv_flow_api.id(533014025684419872) ,p_button_name=>'EDITER' ,p_button_action=>'SUBMIT' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_is_hot=>'Y' ,p_button_image_alt=>'Éditer' ,p_button_position=>'REGION_TEMPLATE_PREVIOUS' ,p_button_execute_validations=>'N' ,p_button_condition=>'EDITER' ,p_button_condition_type=>'REQUEST_NOT_EQUAL_CONDITION' ,p_button_css_classes=>'btn-primary' ,p_button_cattributes=>'fa-pencil' ,p_grid_new_grid=>false ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(533567228095419569) ,p_button_sequence=>60 ,p_button_plug_id=>wwv_flow_api.id(533014025684419872) ,p_button_name=>'CONSULTER' ,p_button_action=>'SUBMIT' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(524976441906896554) ,p_button_is_hot=>'Y' ,p_button_image_alt=>'Consulter' ,p_button_position=>'REGION_TEMPLATE_PREVIOUS' ,p_button_condition=>'EDITER' ,p_button_condition_type=>'REQUEST_EQUALS_CONDITION' ,p_button_cattributes=>'fff-icon-magnifier' ,p_grid_new_grid=>false ); wwv_flow_api.create_page_branch( p_id=>wwv_flow_api.id(533019529669419886) ,p_branch_action=>'f?p=&APP_ID.:&A_AFW_04_SOURC_NUMR_PAGE.:&SESSION.::&DEBUG.::SIDF:&SIDF.' ,p_branch_point=>'AFTER_PROCESSING' ,p_branch_type=>'REDIRECT_URL' ,p_branch_when_button_id=>wwv_flow_api.id(533014242706419872) ,p_branch_sequence=>10 ,p_branch_comment=>'Created 24-JAN-2013 13:59 by GARJE' ); wwv_flow_api.create_page_branch( p_id=>wwv_flow_api.id(533035846809406324) ,p_branch_action=>'f?p=&APP_ID.:1056:&SESSION.:&REQUEST.:&DEBUG.:::' ,p_branch_point=>'AFTER_PROCESSING' ,p_branch_type=>'REDIRECT_URL' ,p_branch_when_button_id=>wwv_flow_api.id(533031739247158162) ,p_branch_sequence=>15 ,p_branch_comment=>'Created 28-FEB-2013 15:16 by FOUER' ); wwv_flow_api.create_page_branch( p_id=>wwv_flow_api.id(533019730504419889) ,p_branch_action=>'f?p=&APP_ID.:1056:&SESSION.::&DEBUG.:::&success_msg=#SUCCESS_MSG#' ,p_branch_point=>'AFTER_PROCESSING' ,p_branch_type=>'REDIRECT_URL' ,p_branch_sequence=>20 ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(533009821953419858) ,p_name=>'P1056_NUMR_SIGNF' ,p_item_sequence=>10 ,p_item_plug_id=>wwv_flow_api.id(533009623954419853) ,p_use_cache_before_default=>'NO' ,p_prompt=>'Numéro' ,p_source=>'NUMR_SIGNF' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_TEXT_FIELD' ,p_cSize=>14 ,p_cMaxlength=>10 ,p_cHeight=>1 ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_display_when=>':P1056_SEQNC is not null' ,p_display_when_type=>'PLSQL_EXPRESSION' ,p_read_only_when_type=>'ALWAYS' ,p_field_template=>wwv_flow_api.id(524973827299896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'N' ,p_attribute_02=>'N' ,p_attribute_04=>'TEXT' ,p_attribute_05=>'NONE' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(533010026866419861) ,p_name=>'P1056_NOM' ,p_is_required=>true ,p_item_sequence=>40 ,p_item_plug_id=>wwv_flow_api.id(533009623954419853) ,p_use_cache_before_default=>'NO' ,p_prompt=>'Nom' ,p_source=>'NOM' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_TEXT_FIELD' ,p_cSize=>72 ,p_cMaxlength=>120 ,p_cHeight=>1 ,p_colspan=>2 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_read_only_when=>'EDITER' ,p_read_only_when_type=>'REQUEST_NOT_EQUAL_CONDITION' ,p_field_template=>wwv_flow_api.id(524973827299896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'N' ,p_attribute_02=>'N' ,p_attribute_04=>'TEXT' ,p_attribute_05=>'NONE' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(533010244450419861) ,p_name=>'P1056_DESCR' ,p_item_sequence=>60 ,p_item_plug_id=>wwv_flow_api.id(533009623954419853) ,p_prompt=>'Description' ,p_source=>'DESCR' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_TEXTAREA' ,p_cSize=>75 ,p_cMaxlength=>4000 ,p_cHeight=>7 ,p_colspan=>2 ,p_rowspan=>3 ,p_label_alignment=>'ABOVE' ,p_read_only_when=>'EDITER' ,p_read_only_when_type=>'REQUEST_NOT_EQUAL_CONDITION' ,p_read_only_disp_attr=>'width="60px"' ,p_field_template=>wwv_flow_api.id(524973827299896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'Y' ,p_attribute_02=>'N' ,p_attribute_03=>'Y' ,p_attribute_04=>'NONE' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(533010427815419862) ,p_name=>'P1056_REF_DV_PRIOR' ,p_item_sequence=>80 ,p_item_plug_id=>wwv_flow_api.id(533009623954419853) ,p_use_cache_before_default=>'NO' ,p_item_default=>'afw_14_domn_valr_pkg.obten_seqnc(''PRIOR'', ''NORML'', ''AFW'')' ,p_item_default_type=>'PLSQL_EXPRESSION' ,p_prompt=>'Priorité' ,p_source=>'REF_DV_PRIOR' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_SELECT_LIST' ,p_lov=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select ddv.valr_court || '' - '' || ddv.valr d, ddv.seqnc r', ' from vd_afw_14_detl_domn_valr ddv, vd_afw_14_domn_valr dv', ' where dv.code = ''PRIOR'' ', ' and ddv.ref_domn_valr = dv.seqnc', 'order by ddv.seqnc_PRESN')) ,p_cSize=>250 ,p_cMaxlength=>255 ,p_cHeight=>1 ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_read_only_when=>'EDITER' ,p_read_only_when_type=>'REQUEST_NOT_EQUAL_CONDITION' ,p_field_template=>wwv_flow_api.id(524973827299896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'NONE' ,p_attribute_02=>'N' ,p_item_comment=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'afw_14_domn_valr_pkg.obten_valr_court(afw_14_domn_valr_pkg.obten_seqnc(''PRIOR'',''NORML'')) ', '|| '' - '' ||afw_14_domn_valr_pkg.obten_valr(afw_14_domn_valr_pkg.obten_seqnc(''PRIOR'',''NORML''))')) ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(533010624826419862) ,p_name=>'P1056_REF_STAT' ,p_item_sequence=>30 ,p_item_plug_id=>wwv_flow_api.id(533009623954419853) ,p_use_cache_before_default=>'NO' ,p_prompt=>'Statut' ,p_source=>'REF_STAT' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_SELECT_LIST' ,p_lov=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select d, r', ' from (select s.nom d,', ' s.seqnc r,', ' s.ordre o', ' from vd_afw_12_stat s,', ' vd_afw_12_evolt_stat es', ' where :P1056_SEQNC is not null ', ' and s.ref_struc_aplic = afw_12_struc_aplic_pkg.obten_seqnc(:A_AFW_04_CONTX) ', ' and ((es.ref_stat = :P1056_REF_STAT', ' and es.ref_stat_evolt = s.seqnc', ' and es.indic_code = ''N'') or :P1056_REF_STAT is null)', ' union all', ' select s.nom d,', ' s.seqnc r,', ' s.ordre o', ' from vd_afw_12_stat s', ' where s.ref_struc_aplic = afw_12_struc_aplic_pkg.obten_seqnc(:A_AFW_04_CONTX) ', ' and ((s.seqnc = :P1056_REF_STAT) or :P1056_REF_STAT is null))', 'order by o', '', '', '', '')) ,p_cSize=>250 ,p_cMaxlength=>255 ,p_cHeight=>1 ,p_begin_on_new_line=>'N' ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_display_when=>':P1056_SEQNC is not null' ,p_display_when_type=>'PLSQL_EXPRESSION' ,p_read_only_when=>'EDITER' ,p_read_only_when_type=>'REQUEST_NOT_EQUAL_CONDITION' ,p_field_template=>wwv_flow_api.id(524973827299896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'NONE' ,p_attribute_02=>'N' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(533010844224419862) ,p_name=>'P1056_COMNT' ,p_item_sequence=>110 ,p_item_plug_id=>wwv_flow_api.id(533009623954419853) ,p_use_cache_before_default=>'NO' ,p_prompt=>'Commentaire' ,p_source=>'COMNT' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_TEXTAREA' ,p_cSize=>124 ,p_cMaxlength=>255 ,p_cHeight=>4 ,p_colspan=>3 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_field_template=>wwv_flow_api.id(524973645529896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'Y' ,p_attribute_02=>'Y' ,p_attribute_03=>'Y' ,p_attribute_04=>'NONE' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(533011041359419863) ,p_name=>'P1056_REF_DV_COMPL' ,p_item_sequence=>90 ,p_item_plug_id=>wwv_flow_api.id(533009623954419853) ,p_item_default=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'declare ', 'vnu_compl number(10) default null;', 'begin', 'if :P1056_SEQNC is not null then', ' select ref_dv_compl', ' into vnu_compl', ' from vd_afw_32_tache', ' where seqnc = :P1056_SEQNC;', 'end if; ', '', 'return vnu_compl;', 'end;', '', '', ' ')) ,p_item_default_type=>'PLSQL_FUNCTION_BODY' ,p_prompt=>'Complexité' ,p_display_as=>'NATIVE_SELECT_LIST' ,p_lov=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select ddv.valr_court || '' - '' || ddv.valr d, ddv.seqnc r', 'from vd_afw_14_detl_domn_valr ddv, vd_afw_14_domn_valr dv', 'where dv.code = ''COMPL'' ', 'and ddv.ref_domn_valr = dv.seqnc ', 'order by ddv.seqnc_PRESN')) ,p_cSize=>30 ,p_cMaxlength=>4000 ,p_cHeight=>1 ,p_cAttributes=>'nowrap="nowrap"' ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_read_only_when=>'EDITER' ,p_read_only_when_type=>'REQUEST_NOT_EQUAL_CONDITION' ,p_field_template=>wwv_flow_api.id(524973645529896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'NONE' ,p_attribute_02=>'N' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(533011242380419863) ,p_name=>'P1056_DATE_INSCR' ,p_is_required=>true ,p_item_sequence=>20 ,p_item_plug_id=>wwv_flow_api.id(533009623954419853) ,p_item_default=>'SYSDATE' ,p_item_default_type=>'PLSQL_EXPRESSION' ,p_prompt=>'Date inscription' ,p_format_mask=>'YYYY-MM-DD' ,p_source=>'DATE_INSCR' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_DATE_PICKER' ,p_cSize=>12 ,p_cMaxlength=>10 ,p_cHeight=>1 ,p_cAttributes=>'nowrap="nowrap"' ,p_begin_on_new_line=>'N' ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_read_only_when=>'EDITER' ,p_read_only_when_type=>'REQUEST_NOT_EQUAL_CONDITION' ,p_field_template=>wwv_flow_api.id(524973827299896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_04=>'button' ,p_attribute_05=>'Y' ,p_attribute_07=>'MONTH_AND_YEAR' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(533011432112419863) ,p_name=>'P1056_REF_JALON' ,p_item_sequence=>70 ,p_item_plug_id=>wwv_flow_api.id(533009623954419853) ,p_use_cache_before_default=>'NO' ,p_prompt=>'Jalon' ,p_source=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select REF_JALON', 'from vd_afw_32_tache', 'where seqnc = :p1056_seqnc')) ,p_source_type=>'QUERY' ,p_display_as=>'NATIVE_SELECT_LIST' ,p_lov=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select nom d,seqnc r', 'from vd_afw_32_jalon', 'order by d')) ,p_lov_display_null=>'YES' ,p_lov_null_text=>'- Choisir -' ,p_cSize=>30 ,p_cMaxlength=>4000 ,p_cHeight=>1 ,p_cAttributes=>'nowrap="nowrap"' ,p_begin_on_new_line=>'N' ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_read_only_when=>'EDITER' ,p_read_only_when_type=>'REQUEST_NOT_EQUAL_CONDITION' ,p_field_template=>wwv_flow_api.id(524973645529896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'NONE' ,p_attribute_02=>'N' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(533011649461419864) ,p_name=>'P1056_REF_NATR_TACHE' ,p_item_sequence=>50 ,p_item_plug_id=>wwv_flow_api.id(533009623954419853) ,p_use_cache_before_default=>'NO' ,p_prompt=>'Nature de la tâche' ,p_source=>'REF_NATR_TACHE' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_SELECT_LIST' ,p_lov=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select nom d,seqnc r', 'from VD_AFW_32_NATR_TACHE', 'order by d')) ,p_cSize=>250 ,p_cMaxlength=>4000 ,p_cHeight=>1 ,p_cAttributes=>'nowrap="nowrap"' ,p_begin_on_new_line=>'N' ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_read_only_when=>'EDITER' ,p_read_only_when_type=>'REQUEST_NOT_EQUAL_CONDITION' ,p_field_template=>wwv_flow_api.id(524973827299896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'NONE' ,p_attribute_02=>'N' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(533012643215419869) ,p_name=>'P1056_REF_ENVIR' ,p_item_sequence=>70 ,p_item_plug_id=>wwv_flow_api.id(533012426975419868) ,p_prompt=>'Environnement' ,p_source=>'REF_ENVIR' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_SELECT_LIST' ,p_lov=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'SELECT nom d, seqnc r ', 'from VD_AFW_31_ENVIR', 'order by d')) ,p_cSize=>250 ,p_cMaxlength=>255 ,p_cHeight=>1 ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_read_only_when=>'EDITER' ,p_read_only_when_type=>'REQUEST_NOT_EQUAL_CONDITION' ,p_field_template=>wwv_flow_api.id(524973827299896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'NONE' ,p_attribute_02=>'N' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(533012829108419869) ,p_name=>'P1056_REF_PRODT' ,p_item_sequence=>80 ,p_item_plug_id=>wwv_flow_api.id(533012426975419868) ,p_use_cache_before_default=>'NO' ,p_prompt=>'Produit' ,p_source=>'REF_PRODT' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_SELECT_LIST' ,p_lov=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select code || '' - '' || nom d,seqnc r', 'from VD_AFW_11_PRODT', 'order by d')) ,p_cSize=>250 ,p_cMaxlength=>4000 ,p_cHeight=>1 ,p_cAttributes=>'nowrap="nowrap"' ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_field_alignment=>'LEFT-CENTER' ,p_read_only_when=>'EDITER' ,p_read_only_when_type=>'REQUEST_NOT_EQUAL_CONDITION' ,p_field_template=>wwv_flow_api.id(524973827299896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'NONE' ,p_attribute_02=>'N' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(533015048123419875) ,p_name=>'P1056_SEQNC' ,p_item_sequence=>10 ,p_item_plug_id=>wwv_flow_api.id(1556119583145901512) ,p_use_cache_before_default=>'NO' ,p_prompt=>'Seqnc' ,p_source=>'SEQNC' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_HIDDEN' ,p_cSize=>30 ,p_cMaxlength=>2000 ,p_cHeight=>1 ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'RIGHT' ,p_field_template=>wwv_flow_api.id(524973645529896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'Y' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(533015232086419876) ,p_name=>'P1056_PLANIF_EFORT' ,p_item_sequence=>100 ,p_item_plug_id=>wwv_flow_api.id(1556119583145901512) ,p_display_as=>'NATIVE_HIDDEN' ,p_cMaxlength=>4000 ,p_cAttributes=>'nowrap="nowrap"' ,p_begin_on_new_line=>'N' ,p_colspan=>1 ,p_rowspan=>1 ,p_item_template_options=>'#DEFAULT#' ,p_attribute_01=>'N' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(533572518988634574) ,p_name=>'P1056_REF_STAT_REALS' ,p_item_sequence=>100 ,p_item_plug_id=>wwv_flow_api.id(533009623954419853) ,p_prompt=>'Précision de réalisation' ,p_source=>'REF_STAT_REALS' ,p_source_type=>'DB_COLUMN' ,p_display_as=>'NATIVE_SELECT_LIST' ,p_lov=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select s.nom d, s.seqnc r', ' from vd_afw_12_stat s', ' where s.ref_struc_aplic =', ' afw_12_struc_aplic_pkg.obten_seqnc (''AFW_PRECN_REALS'')', 'order by ordre', '')) ,p_cSize=>30 ,p_cMaxlength=>4000 ,p_cHeight=>1 ,p_cAttributes=>'nowrap="nowrap"' ,p_colspan=>1 ,p_rowspan=>1 ,p_label_alignment=>'ABOVE' ,p_read_only_when=>'EDITER' ,p_read_only_when_type=>'REQUEST_NOT_EQUAL_CONDITION' ,p_field_template=>wwv_flow_api.id(524973645529896551) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'YES' ,p_attribute_01=>'NONE' ,p_attribute_02=>'N' ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(533016039295419879) ,p_process_sequence=>10 ,p_process_point=>'AFTER_HEADER' ,p_process_type=>'NATIVE_FORM_FETCH' ,p_process_name=>'Fetch Row from VD_AFW_32_TACHE' ,p_attribute_02=>'VD_AFW_32_TACHE' ,p_attribute_03=>'P1056_SEQNC' ,p_attribute_04=>'SEQNC' ,p_process_error_message=>'&A_AFW_MESG_IMPOS_FETCH.' ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(533616320166770176) ,p_process_sequence=>40 ,p_process_point=>'AFTER_HEADER' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'Alimenter précision de réalisation' ,p_process_sql_clob=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'SELECT seqnc', 'INTO :P1056_REF_STAT_REALS', 'FROM vd_afw_12_stat', 'WHERE ref_struc_aplic = afw_12_struc_aplic_pkg.obten_seqnc(''AFW_PRECN_REALS'')', 'AND code = ''AUCNE_PRECN'';')) ,p_process_when=>'P1056_REF_STAT_REALS ' ,p_process_when_type=>'ITEM_IS_NULL' ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(533016242494419879) ,p_process_sequence=>10 ,p_process_point=>'AFTER_SUBMIT' ,p_process_type=>'NATIVE_FORM_PROCESS' ,p_process_name=>'Process Row of VD_AFW_32_TACHE' ,p_attribute_02=>'VD_AFW_32_TACHE' ,p_attribute_03=>'P1056_SEQNC' ,p_attribute_04=>'SEQNC' ,p_attribute_09=>'P1056_SEQNC' ,p_attribute_11=>'I:U:D' ,p_process_error_message=>'&A_AFW_13_MESG_ECHEC_SPECF.' ,p_error_display_location=>'INLINE_IN_NOTIFICATION' ,p_process_success_message=>'&A_AFW_13_MESG_SUCS_SPECF.' ,p_security_scheme=>wwv_flow_api.id(1723951025632196700) ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(533015629898419879) ,p_process_sequence=>20 ,p_process_point=>'AFTER_SUBMIT' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'Sauvegarde complexité' ,p_process_sql_clob=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'if :P1056_REF_DV_COMPL is not null then', ' afw_32_tache_pkg.gerer_ajout_compl(:P1056_SEQNC,:P1056_REF_DV_COMPL);', 'end if;')) ,p_error_display_location=>'INLINE_IN_NOTIFICATION' ,p_process_when=>'DELETE' ,p_process_when_type=>'REQUEST_NOT_EQUAL_CONDITION' ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(533015838080419879) ,p_process_sequence=>30 ,p_process_point=>'AFTER_SUBMIT' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'Sauvegarde jalon' ,p_process_sql_clob=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'if :P1056_REF_JALON is not null then', ' afw_32_jalon_pkg.verfr_besn_ajout_jalon(:P1056_SEQNC,:P1056_REF_JALON);', 'end if;')) ,p_error_display_location=>'INLINE_IN_NOTIFICATION' ,p_process_when=>'DELETE' ,p_process_when_type=>'REQUEST_NOT_EQUAL_CONDITION' ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(533015439519419877) ,p_process_sequence=>40 ,p_process_point=>'BEFORE_HEADER' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'Alimenter environement' ,p_process_sql_clob=>wwv_flow_utilities.join(wwv_flow_t_varchar2( 'select seqnc ', 'into :P1056_REF_ENVIR', 'from VD_AFW_31_ENVIR', 'where code = afw_11_parmt_afw_pkg.obten_valr_parmt(''ENVIR_EN_OPERT'');')) ,p_process_when=>'P1056_SEQNC' ,p_process_when_type=>'ITEM_IS_NULL' ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(533016422551419879) ,p_process_sequence=>40 ,p_process_point=>'BEFORE_HEADER' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'Alimenter complexité' ,p_process_sql_clob=>':P1056_REF_DV_COMPL := afw_14_domn_valr_pkg.obten_seqnc(''COMPL'', ''SIMPL'', ''AFW'');' ,p_process_when=>'P1056_seqnc' ,p_process_when_type=>'ITEM_IS_NULL' ); end; / prompt --application/deployment/definition begin wwv_flow_api.create_install( p_id=>wwv_flow_api.id(9265913129058135) ); end; / prompt --application/deployment/install begin null; end; / prompt --application/deployment/checks begin null; end; / prompt --application/deployment/buildoptions begin null; end; / prompt --application/end_environment begin wwv_flow_api.import_end(p_auto_install_sup_obj => nvl(wwv_flow_application_install.get_auto_install_sup_obj, false)); commit; end; / set verify on feedback on define on prompt ...done
Markdown
UTF-8
1,094
2.671875
3
[]
no_license
--- layout: post title: "Django 1.5 configurable User model" date: 2012-12-06 12:22:05 -0300 categories: python django category: django --- Django 1.5 adds a new feature named "configurable User model" and here is one of the ways you can use it. {% highlight python linenos %} class Account(AbstractBaseUser): email = models.EmailField(max_length=40, unique=True, db_index=True) is_business = BooleanField(default=False) #... Other shared info is added here. USERNAME_FIELD = 'email' REQUIRED_FIELDS = ['is_business'] # This is deprecated in 1.5 but we use it to get profiles extension def get_profile(): if self.is_business: return BusinessProfile.objects.get(email=self.email) # or self.business_profile return UserProfile.objects.get(email=self.email) # or self.user_profile class BusinessProfile(models.Model): account = models.ForeignKey(Account, related_name='business_profile') #... class UserProfile(models.Model): account = models.ForeignKey(Account, related_name='user_profile') #... {% endhighlight %}
JavaScript
UTF-8
3,641
3.265625
3
[]
no_license
environmentVariableMetadata = function(name, type, required, description) { this.name = name; switch(type) { case "int": case "bool": case "string": break; default: throw new Error("Unexpected type."); } this.type = type; if(typeof required !== "boolean") throw new Error("Expected boolean."); this.required = required; this.description = description; } /** * Environment class */ environment = function() { environmentVariables = []; this.getEnvironmentVariable = function(name) { return environmentVariables[name.toLowerCase()]; } /** * Validates environment variables * envs: environmentVariableMetadata[] */ this.configureEnvironmentVariables = function(envs) { if(!Array.isArray(envs)) { throw new Error("environmentVariables: expected array."); } //The application may depend on the presence of certain configuration flags. Ensure that those flags are present in the environment //variables. let errorMessage = ""; envs.forEach((value) => { if(!(value instanceof environmentVariableMetadata)) throw new Error("Expected an environmentVariableMetadata object."); actualVariable = process.env[value.name.toUpperCase()]; //If the variable is required, ensure it's present. if(value.required) { if(actualVariable === undefined) { errorMessage += `Missing environment variable '${value.name}', expected type: ${value.type}, description: '${value.description}'\n`; } } //If the variable is present, check its type. if(actualVariable !== undefined) { let typeCheckError = false; switch(value.type.toLowerCase()) { case "int": if(isNaN(parseInt(actualVariable, 10))) { typeCheckError = true; } else { actualVariable = parseInt(actualVariable, 10); } break; case "bool": switch(actualVariable.toLowerCase()) { case "true": actualVariable = true; break; case "false": actualVariable = false; break; default: typeCheckError = true; } break; case "string": break; default: throw new Error("Unexpected 'type' in metadata describing expected environment variables."); } if(typeCheckError) { errorMessage += `Environment variable '${value.name}' failed type check, expected type: ${value.type}, description: '${value.description}'\n`; } } if(errorMessage.length <= 0) { environmentVariables[value.name.toLowerCase()] = actualVariable; } }); if(errorMessage.length > 0) throw new Error(errorMessage); } this.isDevelopmentEnvironment = function() { if(process.env.NODE_ENV === undefined) { return true; } return false; } } module.exports.environment = environment; module.exports.environmentVariableMetadata = environmentVariableMetadata;
C#
UTF-8
3,493
3.25
3
[]
no_license
public sealed class StringBoxer { public string GetBoxedString(string s, Size size, Font font) { int longestStringLengthInWidth = 0; var result = string.Empty; if (size.Height < font.Height) { return string.Empty; } using (var bmp = new Bitmap(size.Width, size.Height)) { int index = 0; var words = this.SplitString(s); var measuredSizeBeforeAddingWord = new SizeF(0, 0); using (var graphic = Graphics.FromImage(bmp)) { longestStringLengthInWidth = CalculateLongestStringLength(size, font); do { if (words[index].Length > longestStringLengthInWidth) { //// If a word is longer than the maximum string length for the specified size then break it into characters and add char 0 at the begining of each of those characters var brokenCharacters = words[index].Select(c => ((char)0) + c.ToString()).ToList(); brokenCharacters.Add(" "); words.RemoveAt(index); words.InsertRange(index, brokenCharacters); } var measuredSizeAfterAddingWord = graphic.MeasureString(result + (!words[index].EndsWith("\n") ? words[index] + " " : words[index]), font, size); if ((words[index].Contains('\n') || measuredSizeAfterAddingWord == measuredSizeBeforeAddingWord) && measuredSizeAfterAddingWord.Height >= size.Height-font.Height) { return result.TrimEnd(); } measuredSizeBeforeAddingWord = measuredSizeAfterAddingWord; if (words[index].Contains((char)0)) { result += words[index].Replace(((char)0).ToString(), string.Empty); } else { result += (!words[index].EndsWith("\n") ? words[index] + " " : words[index]); } index++; } while (index < words.Count); } } return result.TrimEnd(); } private List<string> SplitString(string s) { var words = s.Split(' ').ToList(); var index = 0; do { // If a word contains Enter key(s) then break it into more words and replace them with the original word. if (!words[index].Contains("\n")) { index++; continue; } var enterSplitWords = (words[index] + " ").Split('\n'); var brokenWords = enterSplitWords.Select(str => (enterSplitWords.LastOrDefault() != str ? str + "\n" : str).Replace(" ", string.Empty)).ToList(); words.RemoveAt(index); words.InsertRange(index, brokenWords); index += brokenWords.Count; } while (index < words.Count); return words; } private static int CalculateLongestStringLength(Size size, Font font) { var tempString = string.Empty; var longestStringLengthInWidth = 0; using (var bmp = new Bitmap(size.Width, size.Height)) { using (var graphic = Graphics.FromImage(bmp)) { do { if (Math.Floor(graphic.MeasureString(tempString, font, size).Height) <= font.Height) { longestStringLengthInWidth++; } else { break; } var rnd = new Random(); tempString += "x"; } while (true); } } return longestStringLengthInWidth; } }
C++
UTF-8
1,118
2.578125
3
[]
no_license
#include "Screen.hpp" #include "Config.hpp" #include "Logger.hpp" #include "Point.hpp" #ifdef MSVC #pragma warning(push, 0) #endif #include <SDL_video.h> #ifdef MSVC #pragma warning(pop) #endif Screen::Screen(const unsigned long _width, const unsigned long _height) { width = _width; height = _height; surface = SDL_SetVideoMode(width, height, 0, SDL_ANYFORMAT | SDL_SWSURFACE); bgColor = Config::Get().screen.bgColor; if(surface == NULL) Logger::Fatal(boost::format("Error creating screen: %1%") % SDL_GetError()); } Screen::~Screen() { SDL_FreeSurface(surface); } SDL_Surface* Screen::GetSurface() const { ++surface->refcount; return surface; } Point Screen::GetCenter() const { return Point(width / 2, height / 2); } Point Screen::GetBounds() const { return Point(width, height); } void Screen::Update() const { if(SDL_Flip(surface) != 0) Logger::Fatal(boost::format("Error updating screen: %1%") % SDL_GetError()); } void Screen::Clear() const { SDL_Rect blank; blank.x = blank.y = 0; blank.w = width; blank.h = height; SDL_FillRect(surface, &blank, bgColor.GetRGBMap(surface)); }
Java
UTF-8
5,601
2.78125
3
[]
no_license
package appfactory.utils; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List; import org.apache.http.Header; import org.apache.http.HttpResponse; import org.apache.http.NameValuePair; import org.apache.http.client.ClientProtocolException; import org.apache.http.client.HttpClient; import org.apache.http.client.entity.UrlEncodedFormEntity; import org.apache.http.client.methods.HttpGet; import org.apache.http.client.methods.HttpPost; import org.apache.http.client.methods.HttpRequestBase; import org.apache.http.impl.client.HttpClientBuilder; import org.apache.http.message.BasicNameValuePair; import appfactory.auth.Authenticator; /** * This class is responsible for making any kind of a rest call * */ public class RestHelper { /** * Given a map of <key, value> parameters it will change it to ArrayList<NameValuePair> which is accepted by a http request * @param parameters are the list of parameters to be added * @return ArrayList of NameValuePair objects accepted by http request */ private static ArrayList<NameValuePair> getParamsFromMap(HashMap<String, String> parameters){ ArrayList<NameValuePair> urlParameters = new ArrayList<NameValuePair>(); Iterator<String> iterator = parameters.keySet().iterator(); while(iterator.hasNext()) { String key = iterator.next(); String value = parameters.get(key); urlParameters.add(new BasicNameValuePair(key, value)); } return urlParameters; } /** * This method is responsible in making a post call * @param url is the target url * @param parameters that has to be passed as body * @param headers that has to be attached to request headers * @param authenticator holds the mechanism in which we want to do authentication * @return It returns httpresponse * @throws ClientProtocolException * @throws IOException */ public static HttpResponse executePostRequest(String url, HashMap<String, String> parameters, HashMap<String, String> headers, Authenticator authenticator) throws ClientProtocolException, IOException { HttpPost post = new HttpPost(url); if(parameters!=null) { List<NameValuePair> urlParameters = getParamsFromMap(parameters); post.setEntity(new UrlEncodedFormEntity(urlParameters)); } return executeRequest(post, parameters, headers, authenticator); } /** * This method is responsible in making a either a post or get call * @param url is the target url * @param parameters that has to be passed as body * @param headers that has to be attached to request headers * @param authenticator holds the mechanism in which we want to do authentication * @return It returns httpresponse * @throws ClientProtocolException * @throws IOException */ private static HttpResponse executeRequest(HttpRequestBase request, HashMap<String, String> parameters, HashMap<String, String> headers, Authenticator authenticator) throws ClientProtocolException, IOException { HttpClient client = HttpClientBuilder.create().build(); if (headers != null) { Iterator<String> iterator = headers.keySet().iterator(); while (iterator.hasNext()) { String key = iterator.next(); if(headers.get(key) != null) request.addHeader(key, headers.get(key)); } } if(authenticator != null) { request = authenticator.modifyRequest(request); } HttpResponse response = client.execute(request); return response; } /** * This method is responsible in making a get call * @param url is the target url * @param parameters that has to be passed as body * @param headers that has to be attached to request headers * @param authenticator holds the mechanism in which we want to do authentication * @return It returns httpresponse * @throws ClientProtocolException * @throws IOException */ public static HttpResponse executeGet(String url, HashMap<String, String> parameters, HashMap<String, String> headers, Authenticator authenticator) throws ClientProtocolException, IOException { HttpGet get = new HttpGet(url); return executeRequest(get, parameters, headers, authenticator); } /** * This function returns value for a specific header in response * @param response holds response for a request * @param headerKey is the key for which we need the value * @return it returns the value for the header */ public static String getHeaderValue(HttpResponse response, String headerKey) { List<Header> httpHeaders = Arrays.asList(response.getAllHeaders()); for (Header header : httpHeaders) { if(header.getName().equals(headerKey)) { return header.getValue(); } } return ""; } /** * This returns the content for a specific request * @param response holds the response object * @return Content of that response object * @throws UnsupportedOperationException * @throws IOException */ public static String getResponseContent(HttpResponse response) throws UnsupportedOperationException, IOException { BufferedReader rd = new BufferedReader( new InputStreamReader(response.getEntity().getContent())); if(response.getStatusLine().getStatusCode() != 200 && response.getStatusLine().getStatusCode() != 201) { System.out.println("This is the status line "+response.getStatusLine()); return null; } StringBuffer result = new StringBuffer(); String line = ""; while ((line = rd.readLine()) != null) { result.append(line); } return result.toString(); } }