|
- <?xml version="1.0"?>
- <?component error="true" debug="false"?>
- <component>
- <registration
- description="WscMvc HomeController"
- progid="WscMvc.HomeController"
- version="1.00"
- classid="{87488446-60BE-4068-8368-0B709BB68F3F}">
- </registration>
-
- <public>
- <method name="Hello">
- <parameter name="viewName"/>
- <parameter name="message"/>
- </method>
- </public>
-
- <script language="VBScript">
- <![CDATA[
- Option Explicit
-
- ' Returns scalar view-data only (viewName + message), never rendered HTML -
- ' Application.wsc owns building the Dictionary and calling ViewRenderer, so
- ' this controller stays primitive-only like the rest of the request-data
- ' boundary (see docs/ARCHITECTURE.md).
- Sub Hello(viewName, message)
- viewName = "Home"
- message = "Hello from WSC-MVC!"
- End Sub
- ]]>
- </script>
- </component>
|