/*
 * Author       : roliveira
 * Generated on : 24-Nov-2009 13:13:33
 * Version      : 3.0
 */
application "Tool Suggestion"
{
    type = public
    date format = "dd-MMM-yyyy"
    time zone = "America/Los_Angeles"
    section Home
    {
        form  Tool_Suggestion
        {
            displayname  =  "Tool Suggestion"
            captcha = true
            success message  =  "Tool Added SuccessFully! Thanks"
            
            plain
            (
                type  =  plaintext
                value = "<P>You can use this form to put your tool suggestion and the text box to put your comments and your identification.</P>\n<P>Thanks.</P>\n"
            )

            must  have  Url_1
            (
                displayname  =  "Tool"
                type  =  url
                enable   linkname
            )

            must  have  Your_tool_comment_your_link_your_name
            (
                displayname  =  "Text"
                type  =  textarea
                tooltip  =  "Use this box to write your comment on the tool, your link, your name and anything else you want :)"
            )

            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"
                    )
                }
            }
        }

        summary  Tool_Suggestion_View
        {
            displayname = "Tool Suggestion View"
            show  all  rows  from  Tool_Suggestion 
            (
                Your_tool_comment_your_link_your_name as "Your tool comment, your link, your name..."
                Url_1 as "Url 1"
            )
            options
            (
                display rows = 100
            )
        }

        list  tool_sugestion
        {
            displayname = "tool sugestion"
            show  all  rows  from  Tool_Suggestion 
            (
                Your_tool_comment_your_link_your_name as "Text"
                Url_1 as "Tool"
            )
            options
            (
                display rows = 100
            )
            permission
            (
                add = true
            )
        }

    }

}
