/*
 * Author       : gotamo
 * Generated on : 23-Nov-2009 00:47:28
 * Version      : 3.0
 */
application "Copy of Skill"
{
    type = public
    date format = "dd-MMM-yyyy"
    time zone = "Europe/Rome"
    section Home
    {
        form  Skill_Form
        {
            displayname  =  "Skill Form"
            
            Data
            (
                type  =  formula
                value  =  zoho.currenttime
            )

            must  have  Nome
            (
                displayname  =  "Cognome"
                type  =  text
            )

            must  have  Nome1
            (
                displayname  =  "Nome"
                type  =  text
            )

            Cliente
            (
                type  =  textarea
                width  =  5 , 25
                tooltip  =  "Web application"
            )

            Attivit_prodotto_competenza
            (
                displayname  =  "Attività, prodotto, competenza"
                type  =  textarea
                width  =  5 , 25
            )

            Zona
            (
                displayname  =  "Zona (Roma, Milano, Napoli, etc)"
                type  =  textarea
                width  =  5 , 25
                tooltip  =  "Roma, Milano o Napoli"
            )

            actions
            {
                on add
                {
                    Submit
                    (
                        type  =  submit
                        displayname  =  "Submit"
                    )
                    Reset
                    (
                        type  =  reset
                        displayname  =  "Reset"
                    )
                }
                on edit
                {
                    Update
                    (
                        type  =  submit
                        displayname  =  "Update"
                    )
                    Cancel
                    (
                        type  =  cancel
                        displayname  =  "Cancel"
                    )
                }
            }
        }

        form  Formazione
        {
            captcha = true
            success message  =  "Data Added Successfully!"
            
            must  have  Nominativo_partecipante
            (
                displayname  =  "Cognome"
                type  =  text
                tooltip  =  "Web application"
            )

            must  have  Nome
            (
                type  =  text
            )

            Eseguito_presso
            (
                displayname  =  "Eseguito presso"
                type  =  textarea
                width  =  5 , 25
                tooltip  =  "Web application"
            )

            Argomenti_trattati
            (
                displayname  =  "Argomenti trattati"
                type  =  textarea
                width  =  5 , 25
                tooltip  =  "Web application"
            )

            Data_Inizio_Corso
            (
                displayname  =  "Data Inizio Corso"
                type  =  date
            )

            Data_Fine_Corso
            (
                displayname  =  "Data Fine Corso"
                type  =  date
            )

            actions
            {
                on add
                {
                    Submit
                    (
                        type  =  submit
                        displayname  =  "Submit"
                    )
                    Reset
                    (
                        type  =  reset
                        displayname  =  "Reset"
                    )
                }
                on edit
                {
                    Update
                    (
                        type  =  submit
                        displayname  =  "Update"
                    )
                    Cancel
                    (
                        type  =  cancel
                        displayname  =  "Cancel"
                    )
                }
            }
        }

        list  Skill_Form_View
        {
            displayname = "Skill Form View"
            show  all  rows  from  Skill_Form 
            (
                Nome as "Cognome"
                Cliente
                Attivit_prodotto_competenza as "Attività/prodotto/competenza"
                Zona as "Zona (Roma, Milano, Napoli, etc)"
                Nome1 as "Nome"
            )
            options
            (
                display rows = 100
            )
        }

        list  Formazione_View
        {
            displayname = "Formazione View"
            show  all  rows  from  Formazione 
            (
                Nominativo_partecipante as "Nominativo partecipante"
                Eseguito_presso as "Eseguito presso"
                Argomenti_trattati as "Argomenti trattati"
                Data_Inizio_Corso as "Data Inizio Corso"
                Data_Fine_Corso as "Data Fine Corso"
                Nome
            )
            filters 
            (
                Data_Inizio_Corso
                Data_Fine_Corso
            )
            options
            (
                display rows = 100
            )
        }

    }

}
