view _test/Resources/form.schema @ 13:bb8d67f811ea

merge heads
author Sergey
date Wed, 02 Sep 2009 23:11:14 +0400
parents 63f6653b094e
children 16795016e70b
line wrap: on
line source

<?xml version="1.0" encoding="UTF-8"?>
<schema>
    <Include src="forms.schema"/>
    <Form
        dataObject="App::Data::User"
        dataPolicy="AddOrUpdate"
        messageMin="Вы не заполнили %Node.formLabel.%"
    >
        <EditBox nodeName="Name"
            formLabel="Имя"
            formLabel.blame="имя"
            formLabel.no="имени"
        />
        <EditBox nodeName="Nick"
            formLabel="Прозвище"
            formLabel.no="прозвища"
            minOccur="0"
        >
            <RegExp>\w{4,10}</RegExp>
        </EditBox>
        <ListBox nodeName="Role"
            dataObject="App::Data::Role"
            dataSource="roles"
            formLabel="Роль"
            formLabel.blame="роль"
        />
    </Form>
</schema>