/*
 * Author       : glamupurstyle
 * Generated on : 23-Nov-2009 01:43:32
 * Version      : 3.0
 */
application "GLAMOROUS LIST"
{
    type = public
    date format = "dd-MMM-yyyy"
    time zone = "America/Los_Angeles"
    section Home
    {
        form  GLAMOROUS_LIST
        {
            displayname  =  "GLAMOROUS LIST"
            
            First_Name
            (
                displayname  =  "First Name"
                type  =  text
            )

            Last_Name
            (
                displayname  =  "Last Name"
                type  =  text
            )

            Gender
            (
                type  =  radiobuttons
                values  =  {"Male",   "Female"}
            )

            Mobile_number
            (
                displayname  =  "Mobile number"
                type  =  text
            )

            BirthDay
            (
                type  =  date
            )

            Contact_Address
            (
                displayname  =  "Contact Address"
                type  =  textarea
            )

            Email_Id
            (
                displayname  =  "Email"
                type  =  email
            )

            Webpage
            (
                displayname  =  "Multiply URL"
                type  =  text
            )

            Yahoo_ID
            (
                displayname  =  "Yahoo ID"
                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  GLAMOROUS_LIST_View
        {
            displayname = "GLAMOROUS LIST View"
            show  all  rows  from  GLAMOROUS_LIST 
            (
                ID
                First_Name as "First Name"
                Last_Name as "Last Name"
                Gender
                Mobile_number as "Mobile number"
                BirthDay
                Contact_Address as "Contact Address"
                Email_Id as "EmailId"
                Webpage
                Yahoo_ID as "Yahoo ID"
            )
            options
            (
                display rows = 100
            )
        }

    }

}
