<%@language = "javascript" %>
<% /*
    $Revision$
    $Id$

    File:           faq_kenmerk.asp

    Description:    fac_management aanroep van model_faq_kenmerk

    Context:

    Notes:
*/
%>
<!-- #include file="../scf/scaffolding.inc" -->
<!-- #include file="../api2/model_faq_kenmerk.inc" -->
<%
var this_model = new model_faq_kenmerk();

scaffolding(this_model,
    {
        "search": {
            "autosearch": true,
            "filters": [
                "name",
                "facdiscipline",
                "attributetype"
            ],
            "transit": [
                "facdiscipline",
                "attributetype"
            ]
        },
        "list": {
            "columns": [
                "sequence",
                "facdiscipline",
                "name",
                "rolecode",
                "attributetype",
                "authorization",
                "code",
                "id"
            ],
            "orderby": [
                "sequence",
                "name"
            ]
        },
        "edit": {
            "requires": {
                "js": [
                    "./mgt_srtkenmerk.js"
                ]
            }
        },
        "layout": {
            "block": [
                {
                    "blockid": "faqKenmerkAlgemeen",
                    "label": L("mgt_kenmerk"),
                    "icon": "fa-table-tree",
                    "ishtmlsafe": true,
                    "hidden": false,
                    "buttons": [],
                    "fields": [
                        "id",
                        "name",
                        "facdiscipline",
                        "rolecode",
                        "group",
                        "sequence",
                        "propertydefault",
                        "hint",
                        "regexp",
                        "code"
                    ]
                },
                {
                    "blockid": "faqKenmerkType",
                    "label": L("mgt_srtkenmerk_kenmerktype"),
                    "icon": "fa-asterisk",
                    "ishtmlsafe": true,
                    "hidden": false,
                    "buttons": [],
                    "fields": [
                        "attributetype",
                        "domain",
                        "length",
                        "decimals",
                        "minimum",
                        "maximum",
                        "unit"
                    ]
                },
                {
                    "blockid": "faqKenmerkFormat",
                    "label": L("mgt_kenmerk_displayprops"),
                    "icon": "fa-face-viewfinder",
                    "ishtmlsafe": true,
                    "hidden": false,
                    "buttons": [],
                    "fields": [
                        "required",
                        "authorization",
                        "showexpression",
                        "readonly",
                        "inlist",
                        "system"
                    ]
                }
            ]
        }
    });
%>
<% ASPPAGE_END(); %>
