generator_settings

auto-webclient grammar version worf.13

  1. Settings

Settings

Global settings for the user interface:

'application creator': [ application creator: ] text
'application name': [ application name: ] text
'allow anonymous user': [ anonymous login: ] stategroup (
	'no' { [ disabled ] }
	'yes' { [ enabled ] }
)
'enable csv actions': [ csv actions: ] stategroup (
	'no' { [ disabled ] }
	'yes' { [ enabled ] }
)
'report limit': [ report limit: ] integer
'announcement title': [ announcement: ] text
'announcements': [ [, ] ] dictionary { }
'custom color theme': stategroup (
	'no' { }
	'yes' { [ color theme: ]
		'foreground': [ foreground: ] text
		'background': [ background: ] text
		'brand': [ brand: ] text
		'link': [ link: ] text
		'accent': [ accent: ] text
		'success': [ success: ] text
		'warning': [ warning: ] text
		'error': [ error: ] text
		'blue': [ blue: ] text
		'orange': [ orange: ] text
		'green': [ green: ] text
		'red': [ red: ] text
		'purple': [ purple: ] text
		'teal': [ teal: ] text
	}
)
'language': [ language: ] text
'engine language': [ engine language: ] stategroup (
	'english' { [ english ] }
	'dutch' { [ dutch ] }
)
'generator': stategroup (
	'default' { }
	'production' { [ generator: production ] }
	'handheld' { [ generator: handheld ] }
)
'has landing page': stategroup (
	'yes' { [ landing-page: ]
		'from': stategroup (
			'user' { [ user ] }
			'root' { [ root ] }
		)
		'expression': component 'landing page selector'
	}
	'no' { }
)
'ancestor node path' {
	'has step': stategroup (
		'yes' { [ ^ ]
			'tail': component 'ancestor node path'
		}
		'no' { }
	)
}
'landing page path' {
	'from': stategroup (
		'current' {
			'path': component 'ancestor node path'
		}
		'user' { [ user ] }
		'root' { [ root ] }
	)
}
'landing page branches' {
	'branch': [ (, ) ] component 'landing page selector'
	'has alternative': stategroup (
		'yes' {
			'alternative': component 'landing page branches'
		}
		'no' { }
	)
}
'landing page selector' {
	'type': stategroup (
		'group step' {
			'group': [ . ] reference
			'tail': component 'landing page selector'
		}
		'state switch' { [ switch ]
			'stategroup': [ . ] reference
			'cases': [ (, ) ] dictionary { [ | ]
				'path': component 'ancestor node path'
				'tail': component 'landing page selector'
			}
		}
		'reference step' {
			'type': stategroup (
				'reference' {
					'reference': [ > ] reference
				}
				'property rule' {
					'property': [ . ] reference
					'rule': [ & ] reference
				}
				'context rule' {
					'rule': [ .& ] reference
				}
			)
			'tail': component 'landing page selector'
		}
		'collection lookup' {
			'collection': [ . ] reference
			'tail': [ [ user ] ] component 'landing page selector'
		}
		'branches' {
			'list': [ (, ) ] component 'landing page branches'
		}
		'page select' { [ open ]
			'type': stategroup (
				'reports' { [ reports ] }
				'todos' { [ todos ] }
				'dashboard' { [ dashboard ] }
				'entity view' { [ entity ]
					'entity': component 'landing page path'
				}
				'collection view' { [ collection ]
					'attribute': reference
				}
			)
		}
		'none' { [ none ] }
	)
}