added community home page - first step into community support

This commit is contained in:
Eric J. Bowersox
2003-06-16 00:45:33 +00:00
parent 80d4ba4212
commit 96b6f27e2c
14 changed files with 319 additions and 11 deletions

View File

@@ -40,6 +40,7 @@
<username>veniceuser</username>
<password>XYZZY0099</password>
<connections initial="5" max="20" busywait="true"/>
<initialize test="true"/>
</dbconnection>
<!-- Infrastructure objects -->

View File

@@ -1368,9 +1368,11 @@ INSERT INTO sbox_master (sbid, sb_nsid, sb_name, type_nsid, type_name, descr) VA
(3, 18, 'test2', 18, 'test', 'Test Sidebox #2' );
INSERT INTO sbox_context (sbid, ctx_nsid, ctx_name) VALUES
(1, 17, 'top'),
(2, 17, 'top'),
(3, 17, 'top');
(1, 17, 'top' ),
(2, 17, 'top' ),
(2, 17, 'community'),
(3, 17, 'top' ),
(3, 17, 'community');
INSERT INTO sbox_props (sbid, nsid, prop_name, prop_value) VALUES
(1, 6, 'normal.title', '!Your Communities' ),
@@ -1380,9 +1382,13 @@ INSERT INTO sbox_props (sbid, nsid, prop_name, prop_value) VALUES
(1, 7, 'security.provider', '!srm' );
INSERT INTO sbox_deploy (uid, ctx_nsid, ctx_name, param, seq, sbid) VALUES
(1, 17, 'top', NULL, 0, 1),
(1, 17, 'top', NULL, 1, 2),
(1, 17, 'top', NULL, 2, 3),
(2, 17, 'top', NULL, 0, 1),
(2, 17, 'top', NULL, 1, 2),
(2, 17, 'top', NULL, 2, 3);
(1, 17, 'top', NULL, 0, 1),
(1, 17, 'top', NULL, 1, 2),
(1, 17, 'top', NULL, 2, 3),
(1, 17, 'community', '.Community:1', 0, 2),
(1, 17, 'community', '.Community:1', 1, 3),
(2, 17, 'top', NULL, 0, 1),
(2, 17, 'top', NULL, 1, 2),
(2, 17, 'top', NULL, 2, 3),
(2, 17, 'community', '.Community:1', 0, 2),
(2, 17, 'community', '.Community:1', 1, 3);

View File

@@ -12,7 +12,7 @@
The Initial Developer of the Original Code is Eric J. Bowersox <erbo@silcom.com>,
for Silverwrist Design Studios. Portions created by Eric J. Bowersox are
Copyright (C) 2002 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
Copyright (C) 2002-03 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
Contributor(s):
-->
@@ -157,6 +157,12 @@
<servlet-class>com.silverwrist.venice.servlet.UserServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>Community</servlet-name>
<description>Displays the community homepage.</description>
<servlet-class>com.silverwrist.venice.servlet.CommunityServlet</servlet-class>
</servlet>
<!-- Servlet mappings -->
<servlet-mapping>
@@ -204,6 +210,16 @@
<url-pattern>/user/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Community</servlet-name>
<url-pattern>/community/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Community</servlet-name>
<url-pattern>/sig/*</url-pattern> <!-- the backwards-compatible mapping -->
</servlet-mapping>
<!-- Global parameters for the HTTP session -->
<session-config>
<session-timeout>60</session-timeout> <!-- 1 hour -->