SilkBuilder
  • SilkBuilder
  • Development Environment
    • Development Environment
    • System Elements
    • Project, Data Model and ORM
    • Development Formats
  • Silk Builder Training
    • Sample Database
    • Plain Application
    • Easy Application
    • Simple Application
    • Complex Application
    • Report Application
    • System Environment
  • Docs
    • The ORM Structure
    • SilkBuilder
    • Silk Service
    • Java Database Class
    • Report
  • Silk Tags
    • App
    • AppHeader
    • Button
    • ButtonItem
    • Chart
    • Column
    • Content
    • DataProvider
    • DataService
    • Form
    • Group
    • Header
    • HelpBox
    • If
    • Input
    • JQcode
    • JScode
    • LogicAction
    • LogicDimension
    • LogicGrid
    • Modal
    • ModalBody
    • ModalFooter
    • Module
    • Page
    • Pagination
    • Screen
    • ScreenFooter
    • ScreenHeader
    • Tab
    • TabItem
    • Table
    • TableBody
    • TableHeader
    • TabsNav
    • Tile
  • JavaScript Objects
    • Button
    • ChartJS
    • Column
    • DataProvider
    • EventManager
    • Form
    • Input
    • Modal
    • Pagination
    • SilkPage
    • Table
    • TabsNav
    • Tile
    • Utility Functions
  • Coding Techniques
    • Data Trees
    • Pagination
    • Mark Deleted
    • Record Sync
    • Filtering Code
    • Content Template
    • Sort Data Columns
    • Form Input File
    • Button with Confirmation
    • Toggle List
    • Table Inputs
Powered by GitBook
On this page
  • Tag Definition
  • Properties
  • id
  • title
  • theme
  • timeout
  • role
  • ipFilter
  • loader
  • renderIf
  1. Silk Tags

App

This tag defines a SilkBuilder Application and is required. It loads the application's environment, which is necessary for the other Silk Components to operate.

Tag Definition

Used standalone:

<silk:App
  id=""
  title=""
  theme="default"
  timeout="true"
  role=""
  ipFilter=""
  loader="true"
  renderIf=""
/>

Used as a container:

<silk:App
  id=""
  title=""
  theme="default"
  timeout="true"
  role=""
  ipFilter=""
  loader="true"
  renderIf=""
>
   Contains: Other HTML and/or Silk components. *
</silk:App>

Properties

*Required property.

id

The app's unique identifier. This is added during SilkBuilder's code rendering. Default Value: Empty.

title

Used to define the web page title that the navigator will display. Default Value: Empty.

theme

The name of the theme defines the styles used by the components. This property is only necessary if the application uses a different template from the "default". The theme value is defined as the session variable 'silkTheme' and is automatically loaded. Default Value: default.

timeout

Defines if the application will timeout and request authentication. The default value is "true" and can be disabled by setting the property to "false". It is only required if the value will be set to "false". Default Value: true.

role

Set the roles that are authorized to run the application. It should contain a list of string values separated by commas. These roles will be checked against the user's roles loaded at authentication time. By default, it is empty, allowing access to any logged-in user. The validation process only happens if a value is provided. Default Value: Empty.

ipFilter

Will restrict the application use to the provided IP filter. Default Value: Empty.

loader

Defines if the loader image (.gif) will be displayed. The default value is "true". Default Value: true.

renderIf

PreviousSilk TagsNextAppHeader

Last updated 1 day ago

It contains the logic sentence defining whether the component should be rendered. The logic statement's explanation is in the documentation. Default Value: Empty.

Server Code Logic