added content metadata processing and its first application, making the Front

Page auto-refresh
This commit is contained in:
Eric J. Bowersox
2004-06-27 02:38:51 +00:00
parent aa186601a4
commit b437a15e73
10 changed files with 364 additions and 140 deletions

View File

@@ -8,9 +8,9 @@
//
// The Original Code is the Venice Web Communities System.
//
// The Initial Developer of the Original Code is Eric J. Bowersox <erbo@silcom.com>,
// The Initial Developer of the Original Code is Eric J. Bowersox <erbo@ricochet.com>,
// for Silverwrist Design Studios. Portions created by Eric J. Bowersox are
// Copyright (C) 2001 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
// Copyright (C) 2001-2004 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
//
// Contributor(s):
@@ -54,6 +54,11 @@ try
view.menuSelector = Content.MENU_SELECTOR_TOP;
view.pageQID = "top";
// set it up to auto-refresh if configured to do that
ar = rinput.getConfigProperty("top.refresh");
if (ar!=null)
view.addHTTPMetadata("refresh",ar);
// wrap the JSP view in our sidebox view for return
rc = new SideBoxNestedView(rinput,view);