My favorites | Sign in
Logo
                
Search
for
Updated Jun 09, 2009 by fedorchenko
DSMDoc_Layout  

NReco Layout DSM Documentation

view

Basic UI view.

Attribute Type Required Description
name xs:string Yes Unique view name. It can be used for view route, for instance.
caption xs:string No

Child Required Description
datasources No View data sources.
action No View actions.
field No
list No Generic ASP.NET ListView
form No Generic ASP.NET FormView
updatepanel No ASP.NET Update Panel.
expression No
linkbutton No ASP.NET Link Button.
link No HTML link.
googlechart No Google Chart
mschart No MS Chart
tabs No JQuery UI Tabs Control
widget No JQuery UI Widget
toolbox No
vfsmanager No VFS-based file manager

datasources

View data sources.


action

View actions.

Attribute Type Required Description
name viewActionNameType Yes Action name determines when it should be executed.

Child Required Description
redirect No
set No
databind No



Data Source:dalc

Attribute Type Required Description
id xs:string Yes Data Source ID. It should be unique in the view scope.
sourcename xs:string Yes Data source name (database table name or data view name) for select/update/insert/delete operations.
selectsourcename xs:string No Data source name for select operation.
condition xs:string No Data condition (relex syntax).
insertmode xs:boolean No Determines whether datasource should return empty new row for select operation if no resoults found.

Child Required Description
condition No

Data Source:condition



Renderer:field

Attribute Type Required Description
name xs:string Yes Field name (usually it is refers to database table field name or object property).
format xs:string No Format expression.
lookup xs:string No Provider name that should be used as 'lookup'.


Renderer:list

Generic ASP.NET ListView

Attribute Type Required Description
edit xs:boolean No
add xs:boolean No
datasource xs:string No

Child Required Description
datasource No


Renderer:form

Generic ASP.NET FormView

Attribute Type Required Description
caption xs:string No
datasource xs:string No

Child Required Description
datasource No
action No


Renderer:updatepanel

ASP.NET Update Panel.

Child Required Description
field No
list No Generic ASP.NET ListView
form No Generic ASP.NET FormView
updatepanel No ASP.NET Update Panel.
expression No
linkbutton No ASP.NET Link Button.
link No HTML link.
googlechart No Google Chart
mschart No MS Chart
tabs No JQuery UI Tabs Control
widget No JQuery UI Widget
toolbox No
vfsmanager No VFS-based file manager


Renderer:expression


Renderer:linkbutton

ASP.NET Link Button.

Attribute Type Required Description
caption xs:string Yes Fixed caption
command xs:string Yes Command name (depends from context). Possible values for linkbuttons inside "form"/"list" are "insert", "edit", "cancel", etc.
validate xs:boolean No Enables "form" validation for this linkbutton


Renderer:link

HTML link.

Attribute Type Required Description
url xs:string No Fixed url
caption xs:string No Fixed caption

Child Required Description
url No
caption No

Renderer:url


Renderer:caption



Renderer:googlechart

Google Chart


Renderer:mschart

MS Chart


Renderer:tabs

JQuery UI Tabs Control

Child Required Description
tab No

Renderer:tab

Attribute Type Required Description
caption xs:string No Fixed tab caption

Child Required Description
field No
list No Generic ASP.NET ListView
form No Generic ASP.NET FormView
updatepanel No ASP.NET Update Panel.
expression No
linkbutton No ASP.NET Link Button.
link No HTML link.
googlechart No Google Chart
mschart No MS Chart
tabs No JQuery UI Tabs Control
widget No JQuery UI Widget
toolbox No
vfsmanager No VFS-based file manager



Renderer:widget

JQuery UI Widget

Attribute Type Required Description
caption xs:string No Fixed widget caption

Child Required Description
field No
list No Generic ASP.NET ListView
form No Generic ASP.NET FormView
updatepanel No ASP.NET Update Panel.
expression No
linkbutton No ASP.NET Link Button.
link No HTML link.
googlechart No Google Chart
mschart No MS Chart
tabs No JQuery UI Tabs Control
widget No JQuery UI Widget
toolbox No
vfsmanager No VFS-based file manager


Renderer:toolbox

Child Required Description
field No
list No Generic ASP.NET ListView
form No Generic ASP.NET FormView
updatepanel No ASP.NET Update Panel.
expression No
linkbutton No ASP.NET Link Button.
link No HTML link.
googlechart No Google Chart
mschart No MS Chart
tabs No JQuery UI Tabs Control
widget No JQuery UI Widget
toolbox No
vfsmanager No VFS-based file manager


Renderer:vfsmanager

VFS-based file manager

Attribute Type Required Description
filesystem xs:string Yes Filesystem component name


Editor:textbox

ASP.NET TextBox Control


Editor:textarea

ASP.NET multiline TextBox Control

Attribute Type Required Description
rows xs:integer No


Editor:checkbox

ASP.NET CheckBox Control


Editor:dropdownlist

ASP.NET DropDownList Control

Attribute Type Required Description
lookup xs:string Yes "Lookup" provider name (should return entries list)
value xs:string No Entry member name that should be used as value
text xs:string No Entry member name that should be used as visible text


Editor:checkboxlist

ASP.NET CheckBoxList-based relation editor.

Attribute Type Required Description
id xs:string No

Child Required Description
relation Yes
lookup Yes

Editor:relation

Attribute Type Required Description
sourcename xs:string Yes
left xs:string Yes
right xs:string Yes


Editor:lookup

Attribute Type Required Description
name xs:string Yes
text xs:string Yes
value xs:string Yes



Editor:multiselect

JQuery Multiselect-based relation editor.

Attribute Type Required Description
id xs:string No

Child Required Description
relation Yes
lookup Yes

Editor:relation

Attribute Type Required Description
sourcename xs:string Yes
left xs:string Yes
right xs:string Yes


Editor:lookup

Attribute Type Required Description
name xs:string Yes
text xs:string Yes
value xs:string Yes



Editor:datepicker

JQuery DatePicker.


Editor:markitup

JQuery MarkItUp Textarea editor.

Attribute Type Required Description
rows xs:integer No


Editor:jwysiwyg

JQuery Wysiwyg Textarea HTML-editor.

Attribute Type Required Description
rows xs:integer No


Validator:required


Validator:regex


formFieldGroup:field

Form field

Attribute Type Required Description
name xs:string No Context object member name for the field
caption xs:string No Fixed caption
format xs:string No Format string for the field value (like '{0:d}')
lookup xs:string No "Lookup" provider name
view xs:boolean No Enables field for view (readonly) form
edit xs:boolean No Enables field for edit form
add xs:boolean No Enables field for add form
layout formFieldLayoutType No

Child Required Description
editor No Editor for the field
renderer No Custom renderer for the field


views

Child Required Description


Expression:route

Attribute Type Required Description
name xs:string Yes


Expression:context

Attribute Type Required Description
name xs:string Yes


Expression:request

Attribute Type Required Description
name xs:string Yes


Expression:format

Attribute Type Required Description
str xs:string Yes

Child Required Description
route No
context No
request No
format No
get No
lookup No
dictionary No


Expression:get

Attribute Type Required Description
name xs:string Yes


Expression:lookup

Attribute Type Required Description
service xs:string Yes

Child Required Description
route No
context No
request No
format No
get No
lookup No
dictionary No


Expression:dictionary

Child Required Description
entry No

Expression:entry

Attribute Type Required Description
key xs:string Yes



Operation:redirect

Attribute Type Required Description
url xs:string No


Operation:set

Attribute Type Required Description
name xs:string Yes


Operation:databind


buttons

Attribute Type Required Description
view xs:boolean No
edit xs:boolean No
add xs:boolean No


baseListElemsGroup:pager

Attribute Type Required Description
allow xs:boolean No
pagesize xs:integer No


baseListElemsGroup:sort

Attribute Type Required Description
field xs:string Yes
direction sortDirectionType Yes


baseListElemsGroup:action

Attribute Type Required Description
name listActionNameType Yes

Child Required Description
redirect No
set No
databind No


baseListElemsGroup:field

Attribute Type Required Description
name xs:string No Context object member name for the field
caption xs:string No Fixed caption
format xs:string No Format string for the field value (like '{0:d}')
lookup xs:string No "Lookup" provider name
view xs:boolean No Enables field for view (readonly) form
edit xs:boolean No Enables field for edit form
add xs:boolean No Enables field for add form
sort xs:boolean No

Child Required Description
editor No Editor for the field
renderer No Custom renderer for the field


googlechartGroup:bar

Attribute Type Required Description
width xs:integer Yes
height xs:integer Yes
title xs:string No
type chartBasicBarTypeEnum No
orientation chartBasicBarOrientationEnum No

Child Required Description
data Yes
dataset Yes
label No


googlechartGroup:pie

Attribute Type Required Description
width xs:integer Yes
height xs:integer Yes
title xs:string No
type chartBasicPieTypeEnum No

Child Required Description
data Yes
dataset Yes
label No


googlechartGroup:line

Attribute Type Required Description
width xs:integer Yes
height xs:integer Yes
title xs:string No

Child Required Description
data Yes
dataset Yes
label No


mschartGroup:bar

Attribute Type Required Description
width xs:integer Yes
height xs:integer Yes
title xs:string No
type chartBasicBarTypeEnum No
orientation chartBasicBarOrientationEnum No

Child Required Description
data Yes
dataset Yes
label No


mschartGroup:pie

Attribute Type Required Description
width xs:integer Yes
height xs:integer Yes
title xs:string No
type chartBasicPieTypeEnum No

Child Required Description
data Yes
dataset Yes
label No


mschartGroup:line

Attribute Type Required Description
width xs:integer Yes
height xs:integer Yes
title xs:string No

Child Required Description
data Yes
dataset Yes
label No



Sign in to add a comment
Hosted by Google Code