Community / Wiki / Category » Category ·

Action: File Example

This example demonstrates use of the File Action to Upload, Download, Store and retrieve files from the database, Delete Files and Folders, Transform thumbnail images, detect whether a file is an image and Compress groups of files together.

Escaping

OpenWebStudio is a tag based language, which provides the ability for each tag value to contain multiple attribute values. OpenWebStudio tags are enclosed with either Brackets or Curly Braces ([,{.}.]) and may contain tags within tags. The result of this, at times, is the desire to either ignore tags within conditions which will not be displayed, and therefore should not be rendered or executed unless the condition were to pass.

Sort and SortHeader

Sorting your results by utilizing the built in syntax provided for controlling not only the rendered data order, but also for dynamically modifying the standard, ascending and descending display headers is easy with our syntax specification.

Tag: COALESCE

The COALESCE tag provides extensive capabilities, acting as a first available determination conditional as well as providing the ability to apply multiple formatters to the resulting value. The COALES

Token: Action / Actions

Setting session variable values to specific column values and immediately transporting to the Tab/Page associated with consuming those values is made simple with out Action syntax. All runtime actions like Sorting, Interactive Lists and Actions utilize the similar formatting structures contained within curly braces {...}. Actions require four parameters. The first is simply the type of interaction performed, in this case ACTION.

Token: Aggregations, Count and Sum

Because you always need to provide summary information within websites, grids and other interfaces, it become apparent that it would be far easier to control the tallies within the rendered UI rather than provide additional complex query joins to support them. The concept provided by OWS is quite simple, it can SUM or COUNT values contained within records in your query, and provide a means of pulling the current tally at any time in the interface, either at grouping levels or within your global

Token: Alternate

The need to alternate between specific values at any given position within the ListX engine arose, and the ALTERNATE tag was added to provide just that capability. This is useful in scenarios where you need to switch between two class names to alternate background colors on Group rows, rather than detail, but this is not the only solution. Since it can alternate between as many items as you want – you can alternate between 100 different colors or text values if you desire.

Token: CheckItem, Radio and CheckItem Lists

Providing the added interaction of check lists, or radio lists with automatic selection of all items under a group header checkbox item is made simple using the integrated syntax. All runtime actions like Sorting, Interactive Lists and Actions utilize the similar formatting structures contained within curly braces {...}. Check Lists, Radio Lists, Check List Items, and Check Items all have slightly different syntax - so follow the links to learn more about each of the syntax elements.

Token: IIF (Inline or Immediate If)

IIF (read Inline or Immediate If) provides the ability to utilize inline conditional checking within your queries and formatting to support nearly any requirement specified. Sometimes, it's necessary to have conditions directly in your list. Perhaps you want to show a column only if the record meets a certain criteria. Using simple Boolean logic, the IIF statement will render one string if the condition is true and the other string if false.

Token: Math

The MATH tag provides the ability to render and display any evaluation quickly and easily within any portion of the OpenWebStudio engine. The provided math library functionality is extensive, and provides the ability to use not only the Math tag, but to also use Mathematical logic in any provided IIF condition Sometimes, it's necessary to have conditions directly in your list. MATH can be used in any of the rendering areas or in the query itself.

Token: Set

There are times within your content that your may need a customized way of calculating or tallying a variable value within the runtime of your page. This is made possible through the use of the SET tag. With this tag, you can specify the Name of the value, Value which you want to assign, and the Collection which houses the value.

Token: Sort

orting your results by utilizing the built in syntax provided for controlling not only the rendered data order, but also for dynamically modifying the standard, ascending and descending display headers is easy with our syntax specification. All runtime actions like Sorting, Interactive Lists and Actions utilize the similar formatting structures contained within curly braces {...}.

Token: Subquery

OWS now allows the use of embedded sub queries to get details of information that are otherwise unavailable to your primary query. An example may be if you are using OWS to design an entry form and you need a <select> list.

Token: TextEditor

Using the rich text feature supported by the platform is provided as a token within Open Web Studio. The token works well in both AJAX and Non-AJAX interaction, although on some platforms (like DotNetNuke) a little bit of extra know-how is necessary to re