/*
 * Author       : boynas
 * Generated on : 24-Nov-2009 13:58:07
 * Version      : 3.0
 */
application "Cumbias"
{
    type = public
    date format = "dd-MMM-yyyy"
    time zone = "America/Los_Angeles"
    section Home
    {
        form  ListaCumbias
        {
            success message  =  "Muchas gracias por su compra!\nTenquiu cam agen!"
            
            must  have  Titulo
            (
                displayname  =  "Cancion Camionera"
                type  =  text
                width  =  25
                tooltip  =  "Web application"
            )

            Grupo
            (
                displayname  =  "Grupo Cumbianchero"
                type  =  text
                width  =  25
                tooltip  =  "Web application"
            )

            Descripcion
            (
                displayname  =  "Notas"
                type  =  textarea
            )

            Nombre
            (
                displayname  =  "Tu Nombre"
                type  =  text
            )

            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  ListaCumbias_View
        {
            displayname = "ListaCumbias View"
            show  all  rows  from  ListaCumbias 
            (
                Titulo
                Grupo
                Descripcion as "Notas"
                Nombre as "Tu Nombre"
            )
            options
            (
                display rows = 100
            )
            permission
            (
                add = true
                edit = true
            )
        }

    }

}
