view _test/Resources/form.schema @ 12:955b2324c1bf

Работа над навигаторами и схемой DOM модели
author Sergey
date Mon, 31 Aug 2009 01:37:43 +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>