Razor Function: BaileyWeb.University.Courses.ShowCourses

This Razor Function named ShowCourses enables routing for courses (Page Datafolder BaileyWeb.University.Courses).

Files

The following files are supplied with the University Package:

  • ~/App_Data/Razor/BaileyWeb/University/Courses/ShowCourses.cshtml

Parameters

There are 3 parameters:

Parameter: Label: Help: Type: Default: Widget:
Items Items to display How many courses should be displayed per page? Integer 10 Text Box
Introduction Introduction Introductory text to precede list of courses. XHTML Visual XHTML Editor
Supplementary Supplementary Supplementary text to follow list of courses. XHTML Visual XHTML Editor

Function Markup

<f:function name="BaileyWeb.University.Courses.ShowCourses" 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 course.IsItem:

When routed data is course.IsItem:

Text Strings

None.


Updated: 27 February 2022