diff options
author | xue <> | 2005-11-12 18:17:58 +0000 |
---|---|---|
committer | xue <> | 2005-11-12 18:17:58 +0000 |
commit | 8a4e5a9b04c479fa027acfba52f4d68cf3bd6679 (patch) | |
tree | 461c326e7a2a82a998e329e29b1b28c65d1be7db /demos | |
parent | 63386d118321bbff8af2d8c480b89fe226400d53 (diff) |
Added asset manager.
Diffstat (limited to 'demos')
-rw-r--r-- | demos/controls/protected/application.xml | 4 | ||||
-rw-r--r-- | demos/controls/protected/pages/HomePage.tpl | 4 |
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 |