Razor Function: BaileyWeb.University.Subjects.ShowSubjects
This Razor Function named ShowSubjects enables routing for subjects (Page Datafolder BaileyWeb.University.Subjects).
Files
The following files are supplied with the University Package:
- ~/App_Data/Razor/BaileyWeb/University/Subjects/ShowSubjects.cshtml
Parameters
There are 3 parameters:
Parameter: | Label: | Help: | Type: | Default: | Widget: |
---|---|---|---|---|---|
Items | Items to display | How many subjects should be displayed per page? | Integer | 10 | Text Box |
Introduction | Introduction | Introductory text to precede list of subjects. | XHTML | Visual XHTML Editor | |
Supplementary | Supplementary | Supplementary text to follow list of subjects. | XHTML | Visual XHTML Editor |
Function Markup
<f:function name="BaileyWeb.University.Subjects.ShowSubjects" xmlns:f="http://www.composite.net/ns/function/1.0"> <f:param name="Introduction"> <html> <head></head> <body></body> </html> </f:param> <f:param name="Supplementary"> <html> <head></head> <body></body> </html> </f:param> <f:param name="Items" value="10" /> </f:function>
Sub Functions
When routed data isn't subject.IsItem
:
When routed data is subject.IsItem
:
Text Strings
None.