summaryrefslogtreecommitdiff
path: root/demos/controls
diff options
context:
space:
mode:
Diffstat (limited to 'demos/controls')
-rw-r--r--demos/controls/protected/application.xml4
-rw-r--r--demos/controls/protected/pages/HomePage.tpl4
2 files changed, 4 insertions, 4 deletions
diff --git a/demos/controls/protected/application.xml b/demos/controls/protected/application.xml
index ef8280d6..9bfa0ac6 100644
--- a/demos/controls/protected/application.xml
+++ b/demos/controls/protected/application.xml
@@ -12,8 +12,8 @@
<module id="session" type="THttpSession" />
</modules>
<services>
- <!-- page service, PageRootPath is required -->
- <service id="page" PageRootPath="Demo.pages" DefaultPage="home">
+ <!-- page service, PageBasePath is required -->
+ <service id="page" PageBasePath="Demo.pages" DefaultPage="home">
<!-- modules configured and loaded when page service is requested -->
<modules>
<!-- user manager module -->
diff --git a/demos/controls/protected/pages/HomePage.tpl b/demos/controls/protected/pages/HomePage.tpl
index c7b35f02..322f28a1 100644
--- a/demos/controls/protected/pages/HomePage.tpl
+++ b/demos/controls/protected/pages/HomePage.tpl
@@ -5,8 +5,8 @@
<com:TLabel Text="label" /><br/>
<com:System.Web.UI.WebControls.TButton text="Toggle Button" ForeColor="red" Font.size="18" Click="testClick" /> (requires membership)<br/>
<com:TCheckBox Text="Checkbox" /><br/>
-<com:TImage ImageUrl="/prado3/demos/images/fungii_logo.gif" />
-<com:TImageButton ImageUrl="/prado3/demos/images/fungii_logo.gif" /><br/>
+<com:TImage ImageUrl=<%=$this->TemplateControl->getAsset('fungii_logo.gif') %> />
+<com:TImageButton ImageUrl=<%=$this->TemplateControl->getAsset('fungii_logo.gif')%> /><br/>
<com:THyperLink Text="Visit a 'classless' page" NavigateUrl="?sp=page.plain" /> |
<com:THyperLink Text="Visit member only page" NavigateUrl="?sp=page.private.member" />
</com:TForm> \ No newline at end of file