Synchronized core with APLAWS repository (r 2675 / part 1).

git-svn-id: https://svn.libreccm.org/ccm/trunk@2488 8810af33-2d31-482b-a856-94f89814c4df
master
pb 2014-01-14 00:15:27 +00:00
parent f7298bca6b
commit 53935cc654
35 changed files with 47 additions and 89 deletions

View File

@ -44,7 +44,6 @@
<ccm:application name="ccm-navigation"/> <ccm:application name="ccm-navigation"/>
<!-- ccm-portalworkspace depends on ccm-subsite --> <!-- ccm-portalworkspace depends on ccm-subsite -->
<ccm:application name="ccm-portalworkspace"/> <ccm:application name="ccm-portalworkspace"/>
<ccm:application name="ccm-portalworkspace-homepage"/>
<ccm:application name="ccm-shortcuts"/> <ccm:application name="ccm-shortcuts"/>
<ccm:application name="ccm-subsite"/> <ccm:application name="ccm-subsite"/>
@ -74,18 +73,19 @@
<!-- Content Types --> <!-- Content Types -->
<ccm:application name="ccm-cms-types-bookmark"/> <ccm:application name="ccm-cms-types-bookmark"/>
<!--
<ccm:application name="ccm-cms-types-event"/> <ccm:application name="ccm-cms-types-event"/>
<ccm:application name="ccm-cms-types-image"/> <ccm:application name="ccm-cms-types-image"/>
<ccm:application name="ccm-cms-types-mparticle"/> <ccm:application name="ccm-cms-types-mparticle"/>
<!--
--> -->
<ccm:application name="ccm-cms-types-newsitem"/> <ccm:application name="ccm-cms-types-newsitem"/>
<!--
<ccm:application name="ccm-cms-types-person"/> <ccm:application name="ccm-cms-types-person"/>
<!--
--> -->
<!-- Applications --> <!-- Applications -->
<!-- <!--
<ccm:application name="ccm-cms-publicpersonalprofile"/> <ccm:application name="ccm-cms-publicpersonalprofile"/>
<ccm:application name="ccm-portalworkspace-homepage"/>
--> -->
<!-- LDN extension --> <!-- LDN extension -->
@ -100,10 +100,10 @@
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- CMS Content Types --> <!-- CMS Content Types -->
<!--
<ccm:application name="ccm-cms-types-address"/> <ccm:application name="ccm-cms-types-address"/>
<ccm:application name="ccm-cms-types-agenda"/> <ccm:application name="ccm-cms-types-agenda"/>
<ccm:application name="ccm-cms-types-contact"/> <ccm:application name="ccm-cms-types-contact"/>
<!--
<ccm:application name="ccm-cms-types-faqitem"/> <ccm:application name="ccm-cms-types-faqitem"/>
<ccm:application name="ccm-cms-types-glossaryitem"/> <ccm:application name="ccm-cms-types-glossaryitem"/>
<ccm:application name="ccm-cms-types-htmlform"/> <ccm:application name="ccm-cms-types-htmlform"/>
@ -143,8 +143,10 @@
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- Libre CMS modules under development --> <!-- Libre CMS modules under development -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!--
<ccm:application name="ccm-portlet-bookmarks"/> <ccm:application name="ccm-portlet-bookmarks"/>
<ccm:application name="ccm-portlet-latestnews"/> <ccm:application name="ccm-portlet-latestnews"/>
-->

View File

@ -41,14 +41,14 @@ public abstract class Completable implements Component {
private final static Logger s_log = Logger.getLogger(Completable.class); private final static Logger s_log = Logger.getLogger(Completable.class);
private ArrayList m_completionListeners = new ArrayList();
public Completable() { public Completable() {
if ( s_log.isDebugEnabled() ) { if ( s_log.isDebugEnabled() ) {
StackTraces.captureStackTrace(this); StackTraces.captureStackTrace(this);
} }
} }
private ArrayList m_completionListeners = new ArrayList();
public void addCompletionListener(ActionListener listener) { public void addCompletionListener(ActionListener listener) {
Assert.isUnlocked(this); Assert.isUnlocked(this);
m_completionListeners.add(listener); m_completionListeners.add(listener);

View File

@ -28,10 +28,6 @@ import org.apache.log4j.Logger;
* @author Justin Ross * @author Justin Ross
*/ */
public final class DatabaseTransaction { public final class DatabaseTransaction {
public static final String versionId =
"$Id: DatabaseTransaction.java 287 2005-02-22 00:29:02Z sskracic $" +
"$Author: sskracic $" +
"$DateTime: 2004/08/16 18:10:38 $";
private static final Logger s_log = Logger.getLogger private static final Logger s_log = Logger.getLogger
(DatabaseTransaction.class); (DatabaseTransaction.class);

View File

@ -47,12 +47,9 @@ import com.arsdigita.persistence.DataObject;
* *
* @author Oumi Mehrotra * @author Oumi Mehrotra
* @version $Id: EmailAddress.java 738 2005-09-01 12:36:52Z sskracic $ * @version $Id: EmailAddress.java 738 2005-09-01 12:36:52Z sskracic $
**/ */
public class EmailAddress { public class EmailAddress {
public static final String versionId = "$Id: EmailAddress.java 738 2005-09-01 12:36:52Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/16 18:10:38 $";
private String m_emailAddress; private String m_emailAddress;
private EmailAddressRecord m_emailRecord; private EmailAddressRecord m_emailRecord;

View File

@ -25,12 +25,8 @@ import com.arsdigita.persistence.DataCollection;
* *
* @author Phong Nguyen * @author Phong Nguyen
* @version 1.0 * @version 1.0
**/ */
public class GroupCollection extends PartyCollection { public class GroupCollection extends PartyCollection {
public static final String versionId =
"$Id: GroupCollection.java 287 2005-02-22 00:29:02Z sskracic $" +
"$Author: sskracic $" +
"$DateTime: 2004/08/16 18:10:38 $";
/** /**
* Constructor. * Constructor.

View File

@ -24,7 +24,6 @@ import org.apache.log4j.Logger;
public class HashPasswords { public class HashPasswords {
public static final String versionId = "$Id: HashPasswords.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/16 18:10:38 $";
private static final Logger s_log = private static final Logger s_log =
Logger.getLogger(HashPasswords.class); Logger.getLogger(HashPasswords.class);

View File

@ -36,9 +36,6 @@ import org.apache.log4j.Logger;
*/ */
public abstract class KernelDispatcherServlet extends BaseDispatcherServlet { public abstract class KernelDispatcherServlet extends BaseDispatcherServlet {
public static final String versionId =
"$Id: KernelDispatcherServlet.java 287 2005-02-22 00:29:02Z sskracic $";
private static final Logger s_cat = private static final Logger s_cat =
Logger.getLogger(KernelDispatcherServlet.class.getName()); Logger.getLogger(KernelDispatcherServlet.class.getName());

View File

@ -26,9 +26,6 @@ package com.arsdigita.kernel;
*/ */
public class KernelException extends Exception { public class KernelException extends Exception {
public static final String versionId = "$Id: KernelException.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/16 18:10:38 $";
public KernelException() { public KernelException() {
super(); super();
} }

View File

@ -26,9 +26,6 @@ package com.arsdigita.kernel;
*/ */
public class NoValidURLException extends URLServiceException { public class NoValidURLException extends URLServiceException {
public static final String versionId = "$Id: NoValidURLException.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/16 18:10:38 $";
public NoValidURLException() { public NoValidURLException() {
super(); super();
} }

View File

@ -29,8 +29,6 @@ import com.arsdigita.persistence.Filter;
**/ **/
public class PartyCollection extends ACSObjectCollection { public class PartyCollection extends ACSObjectCollection {
public static final String versionId = "$Id: PartyCollection.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/16 18:10:38 $";
/** /**
* Constructor. * Constructor.
* *

View File

@ -42,8 +42,6 @@ import org.apache.log4j.Logger;
**/ **/
public class PersonName extends DomainObject { public class PersonName extends DomainObject {
public static final String versionId = "$Id: PersonName.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/16 18:10:38 $";
private static final String m_baseDataObjectType = private static final String m_baseDataObjectType =
"com.arsdigita.kernel.PersonName"; "com.arsdigita.kernel.PersonName";

View File

@ -42,7 +42,7 @@ import org.apache.log4j.Logger;
* @see ResourceConfigFormSection * @see ResourceConfigFormSection
* @see com.arsdigita.kernel.Resource * @see com.arsdigita.kernel.Resource
* @author Justin Ross * @author Justin Ross
* @version $Id: ResourceTypeConfig.java 1270 2006-07-18 13:34:55Z cgyg9330 $ * @version $Id: ResourceTypeConfig.java 1942 2009-05-29 07:53:23Z terry $
*/ */
public class ResourceTypeConfig { public class ResourceTypeConfig {

View File

@ -29,11 +29,9 @@ import com.arsdigita.persistence.DataCollection;
* *
* @author Michael Bryzek * @author Michael Bryzek
* @version 1.0 * @version 1.0
**/ */
public class RoleCollection extends DomainCollection { public class RoleCollection extends DomainCollection {
public static final String versionId = "$Id: RoleCollection.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/16 18:10:38 $";
/** /**
* Constructor. * Constructor.
* *

View File

@ -26,9 +26,6 @@ package com.arsdigita.kernel;
*/ */
public class URLFinderNotFoundException extends URLServiceException { public class URLFinderNotFoundException extends URLServiceException {
public static final String versionId = "$Id: URLFinderNotFoundException.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/16 18:10:38 $";
public URLFinderNotFoundException() { public URLFinderNotFoundException() {
super(); super();
} }

View File

@ -26,9 +26,6 @@ package com.arsdigita.kernel;
*/ */
public class URLServiceException extends RuntimeException { public class URLServiceException extends RuntimeException {
public static final String versionId = "$Id: URLServiceException.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/16 18:10:38 $";
public URLServiceException() { public URLServiceException() {
super(); super();
} }

View File

@ -31,11 +31,10 @@ import com.arsdigita.persistence.OID;
* @see com.arsdigita.kernel.permissions.PermissionDescriptor * @see com.arsdigita.kernel.permissions.PermissionDescriptor
* @see com.arsdigita.kernel.permissions.PrivilegeDescriptor * @see com.arsdigita.kernel.permissions.PrivilegeDescriptor
* @see com.arsdigita.kernel.permissions.PermissionService * @see com.arsdigita.kernel.permissions.PermissionService
**/ * @version $Id: UniversalPermissionDescriptor.java 287 2005-02-22 00:29:02Z sskracic $
*/
public class UniversalPermissionDescriptor extends PermissionDescriptor { public class UniversalPermissionDescriptor extends PermissionDescriptor {
public static final String versionId = "$Id: UniversalPermissionDescriptor.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/16 18:10:38 $";
static final OID ROOT_CONTEXT_OID = static final OID ROOT_CONTEXT_OID =
new OID("com.arsdigita.kernel.ACSObject", 0); new OID("com.arsdigita.kernel.ACSObject", 0);

View File

@ -25,10 +25,10 @@ import javax.servlet.http.HttpServletRequest;
* Callback to retrieve the current <code>HttpServletRequest</code>. * Callback to retrieve the current <code>HttpServletRequest</code>.
* *
* @author Sameer Ajmani * @author Sameer Ajmani
**/ * @version $Id: HTTPRequestCallback.java 287 2005-02-22 00:29:02Z sskracic $
*/
public class HTTPRequestCallback implements Callback { public class HTTPRequestCallback implements Callback {
public static final String versionId = "$Id: HTTPRequestCallback.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/16 18:10:38 $";
private HttpServletRequest m_request; private HttpServletRequest m_request;
/** /**

View File

@ -25,10 +25,10 @@ import javax.servlet.http.HttpServletResponse;
* Callback to retrieve the current <code>HttpServletResponse</code>. * Callback to retrieve the current <code>HttpServletResponse</code>.
* *
* @author Sameer Ajmani * @author Sameer Ajmani
**/ * @version $Id: HTTPResponseCallback.java 287 2005-02-22 00:29:02Z sskracic $
*/
public class HTTPResponseCallback implements Callback { public class HTTPResponseCallback implements Callback {
public static final String versionId = "$Id: HTTPResponseCallback.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/16 18:10:38 $";
private HttpServletResponse m_response; private HttpServletResponse m_response;
/** /**

View File

@ -28,7 +28,6 @@ import javax.security.auth.callback.Callback;
**/ **/
public class LifetimeCallback implements Callback { public class LifetimeCallback implements Callback {
public static final String versionId = "$Id: LifetimeCallback.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/16 18:10:38 $";
private boolean m_forever; private boolean m_forever;
/** /**

View File

@ -34,10 +34,9 @@ import org.apache.log4j.Logger;
* PasswordLoginModule. * PasswordLoginModule.
* *
* @author Sameer Ajmani * @author Sameer Ajmani
**/ */
public abstract class MappingLoginModule implements LoginModule { public abstract class MappingLoginModule implements LoginModule {
public static final String versionId = "$Id: MappingLoginModule.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/16 18:10:38 $";
private static final Logger s_log = private static final Logger s_log =
Logger.getLogger(MappingLoginModule.class.getName()); Logger.getLogger(MappingLoginModule.class.getName());

View File

@ -29,15 +29,14 @@ import javax.servlet.http.HttpServletRequest;
* *
* @author Sameer Ajmani * @author Sameer Ajmani
* @see SecurityHelper * @see SecurityHelper
**/ */
public class ParanoidSecurityHelper extends DefaultSecurityHelper { public class ParanoidSecurityHelper extends DefaultSecurityHelper {
public static final String versionId = "$Id: ParanoidSecurityHelper.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/16 18:10:38 $";
/** /**
* Always returns true (to simulate secure conditions). * Always returns true (to simulate secure conditions).
* *
* @return <code>true</code>. * @return <code>true</code>.
**/ */
public boolean isSecure(HttpServletRequest req) { public boolean isSecure(HttpServletRequest req) {
return true; return true;
} }

View File

@ -25,14 +25,13 @@ import java.security.Principal;
* A Principal that stores a numeric ID, such as a party ID. * A Principal that stores a numeric ID, such as a party ID.
* *
* @author Sameer Ajmani * @author Sameer Ajmani
**/ */
public class PartyPrincipal implements Principal { public class PartyPrincipal implements Principal {
public static final String versionId = "$Id: PartyPrincipal.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/16 18:10:38 $";
private BigDecimal m_id; private BigDecimal m_id;
/** /**
* Creates a new PartyPrincipal that stores the given ID. * Creates a new PartyPrincipal that stores the given ID.
**/ */
public PartyPrincipal(BigDecimal id) { public PartyPrincipal(BigDecimal id) {
m_id = id; m_id = id;
} }
@ -40,7 +39,7 @@ public class PartyPrincipal implements Principal {
* Returns the stored ID. * Returns the stored ID.
* *
* @return the stored ID. * @return the stored ID.
**/ */
public BigDecimal getID() { public BigDecimal getID() {
return m_id; return m_id;
} }
@ -48,7 +47,7 @@ public class PartyPrincipal implements Principal {
* Returns the ID number as a string. * Returns the ID number as a string.
* *
* @return the ID number as a string. * @return the ID number as a string.
**/ */
public String getName() { public String getName() {
return m_id.toString(); return m_id.toString();
} }
@ -66,7 +65,7 @@ public class PartyPrincipal implements Principal {
* *
* @return <code>true</code> if the given object is a * @return <code>true</code> if the given object is a
* <code>PartyPrincipal</code> with the same ID. * <code>PartyPrincipal</code> with the same ID.
**/ */
public boolean equals(Object that) { public boolean equals(Object that) {
return (that instanceof PartyPrincipal) return (that instanceof PartyPrincipal)
&& this.m_id.equals(((PartyPrincipal)that).m_id); && this.m_id.equals(((PartyPrincipal)that).m_id);
@ -75,7 +74,7 @@ public class PartyPrincipal implements Principal {
* Returns the <code>hashCode</code> of the stored ID number. * Returns the <code>hashCode</code> of the stored ID number.
* *
* @return the <code>hashCode</code> of the stored ID number. * @return the <code>hashCode</code> of the stored ID number.
**/ */
public int hashCode() { public int hashCode() {
return this.m_id.hashCode(); return this.m_id.hashCode();
} }

View File

@ -39,7 +39,6 @@ package com.arsdigita.kernel.ui;
* @version $Revision: #6 $ $Date: 2004/08/16 $ * @version $Revision: #6 $ $Date: 2004/08/16 $
*/ */
public interface Globalized extends com.arsdigita.globalization.Globalized { public interface Globalized extends com.arsdigita.globalization.Globalized {
public final static String versionId = "$Id: Globalized.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/16 18:10:38 $";
public static final String BUNDLE_NAME = "com.arsdigita.kernel/ui/KernelResources"; public static final String BUNDLE_NAME = "com.arsdigita.kernel/ui/KernelResources";

View File

@ -40,10 +40,6 @@ import org.apache.log4j.Logger;
* @author Daniel Berrange &lt;<a href="mailto:berrange@redhat.com">berrange@redhat.com</a>&gt; * @author Daniel Berrange &lt;<a href="mailto:berrange@redhat.com">berrange@redhat.com</a>&gt;
*/ */
public class ResourceConfigComponent extends SimpleContainer { public class ResourceConfigComponent extends SimpleContainer {
public static final String versionId =
"$Id: ResourceConfigComponent.java 287 2005-02-22 00:29:02Z sskracic $" +
"$Author: sskracic $" +
"$DateTime: 2004/08/16 18:10:38 $";
private static final Logger s_log = Logger.getLogger private static final Logger s_log = Logger.getLogger
(ResourceConfigComponent.class); (ResourceConfigComponent.class);

View File

@ -26,11 +26,8 @@ import junit.framework.Test;
* *
* @version $Id: RuntimeSuite.java 750 2005-09-02 12:38:44Z sskracic $ * @version $Id: RuntimeSuite.java 750 2005-09-02 12:38:44Z sskracic $
*/ */
public class RuntimeSuite extends PackageTestSuite { public class RuntimeSuite extends PackageTestSuite {
public static final String versionId = "$Id: RuntimeSuite.java 750 2005-09-02 12:38:44Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/16 18:10:38 $";
public static Test suite() { public static Test suite() {
RuntimeSuite suite = new RuntimeSuite(); RuntimeSuite suite = new RuntimeSuite();
populateSuite(suite); populateSuite(suite);

View File

@ -27,8 +27,6 @@ import junit.framework.TestCase;
public class StartupTest extends TestCase { public class StartupTest extends TestCase {
public static final String versionId = "$Id: StartupTest.java 752 2005-09-02 12:55:24Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/16 18:10:38 $";
public StartupTest(String name) { public StartupTest(String name) {
super(name); super(name);
} }

View File

@ -40,7 +40,6 @@ import org.apache.log4j.Logger;
* @version 1.0 * @version 1.0
**/ **/
public class SearchIndexHelpTest extends TestCase { public class SearchIndexHelpTest extends TestCase {
public static final String versionId = "$Id: SearchIndexHelpTest.java 750 2005-09-02 12:38:44Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/16 18:10:38 $";
// Creates a s_logging category with name = to the full name of class // Creates a s_logging category with name = to the full name of class
private static Logger s_log = private static Logger s_log =

View File

@ -31,9 +31,9 @@ import junit.framework.TestSuite;
* *
* @author Daniel Berrange * @author Daniel Berrange
* @version 1.0 * @version 1.0
**/ */
public class SearchSuite extends PackageTestSuite { public class SearchSuite extends PackageTestSuite {
public static final String versionId = "$Id: SearchSuite.java 745 2005-09-02 10:50:34Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/16 18:10:38 $";
public SearchSuite() { public SearchSuite() {
super(); super();
} }

View File

@ -35,7 +35,6 @@ import com.arsdigita.persistence.OID;
* @author Jeff Teeters * @author Jeff Teeters
**/ **/
public class SearchTestAuthor extends ACSObject { public class SearchTestAuthor extends ACSObject {
public static final String versionId = "$Id: SearchTestAuthor.java 745 2005-09-02 10:50:34Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/16 18:10:38 $";
// Chapters associated with this author // Chapters associated with this author
DataAssociation m_chapters = null; DataAssociation m_chapters = null;

View File

@ -34,9 +34,8 @@ import java.math.BigDecimal;
* for related objects. * for related objects.
* *
* @author Jeff Teeters * @author Jeff Teeters
**/ */
public class SearchTestBook extends ACSObject { public class SearchTestBook extends ACSObject {
public static final String versionId = "$Id: SearchTestBook.java 745 2005-09-02 10:50:34Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/16 18:10:38 $";
// Chapters associated with this book // Chapters associated with this book
DataAssociation m_chapters = null; DataAssociation m_chapters = null;

View File

@ -34,7 +34,6 @@ import com.arsdigita.persistence.OID;
* @author Jeff Teeters * @author Jeff Teeters
**/ **/
public class SearchTestBookH extends SearchableACSObject { public class SearchTestBookH extends SearchableACSObject {
public static final String versionId = "$Id: SearchTestBookH.java 745 2005-09-02 10:50:34Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/16 18:10:38 $";
// Chapters associated with this book // Chapters associated with this book
DataAssociation m_chapters = null; DataAssociation m_chapters = null;

View File

@ -33,9 +33,8 @@ import com.arsdigita.persistence.OID;
* (gathering content to index for related objects). * (gathering content to index for related objects).
* *
* @author Jeff Teeters * @author Jeff Teeters
**/ */
public class SearchTestChapter extends ACSObject { public class SearchTestChapter extends ACSObject {
public static final String versionId = "$Id: SearchTestChapter.java 750 2005-09-02 12:38:44Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/16 18:10:38 $";
public static final String BASE_DATA_OBJECT_TYPE = public static final String BASE_DATA_OBJECT_TYPE =
"com.arsdigita.search.intermedia.SearchTestChapter"; "com.arsdigita.search.intermedia.SearchTestChapter";

View File

@ -58,6 +58,11 @@ public class ThreadsList extends SimpleComponent implements Constants {
/** Default max number of threads (rows) per page */ /** Default max number of threads (rows) per page */
private int m_pageSize = 15; private int m_pageSize = 15;
/**
*
* @param p
*/
@Override
public void register(Page p) { public void register(Page p) {
super.register(p); super.register(p);
@ -92,6 +97,7 @@ public class ThreadsList extends SimpleComponent implements Constants {
* @param state * @param state
* @param parent * @param parent
*/ */
@Override
public void generateXML(PageState state, public void generateXML(PageState state,
Element parent) { Element parent) {
// Begin of thread list, XSL constructs (and localizes) the list title bar // Begin of thread list, XSL constructs (and localizes) the list title bar

View File

@ -144,7 +144,8 @@ public class ThreadsPanel extends SimpleContainer
Container forumOptions = new SimpleContainer( Container forumOptions = new SimpleContainer(
FORUM_XML_PREFIX + ":forumOptions", Constants.FORUM_XML_NS); FORUM_XML_PREFIX + ":forumOptions", Constants.FORUM_XML_NS);
// XXX APLAWS standard theme currently (2010-09) does not use the label! // XXX APLAWS standard theme currently (2010-09) does not use the label!
m_newThreadLink = new ToggleLink(new Label(GlobalizationUtil.gz("forum.ui.thread.newPost"))); m_newThreadLink = new ToggleLink(new Label(GlobalizationUtil.gz(
"forum.ui.thread.newPost")));
m_newThreadLink.setClassAttr("actionLink"); m_newThreadLink.setClassAttr("actionLink");
// chris.gilbert@westsussex.gov.uk - security container added // chris.gilbert@westsussex.gov.uk - security container added
@ -168,9 +169,7 @@ public class ThreadsPanel extends SimpleContainer
TopicSelector topics = new TopicSelector(); TopicSelector topics = new TopicSelector();
forums.add(topics); forums.add(topics);
ThreadsList threads ThreadsList threads = new ThreadsList();
= new ThreadsList();
forums.add(threads); forums.add(threads);
return forums; return forums;

View File

@ -164,13 +164,17 @@
<!-- Applications under evaluation --> <!-- Applications under evaluation -->
<!-- Currently broken. --> <!-- Currently broken. -->
<!--
<ccm:application name="ccm-atoz"/> <ccm:application name="ccm-atoz"/>
<ccm:application name="ccm-atoz-siteproxy"/> <ccm:application name="ccm-atoz-siteproxy"/>
<ccm:application name="ccm-ldn-atoz"/> <ccm:application name="ccm-ldn-atoz"/>
<ccm:application name="ccm-docmgr"/> <ccm:application name="ccm-docmgr"/>
-->
<!-- some minor program issues --> <!-- some minor program issues -->
<ccm:application name="ccm-portalserver"/> <ccm:application name="ccm-portalserver"/>
<!-- currently doesn't work for unknown reason / no documentation -->
<!-- currently doesn't work for unknown reason / no documentation
currently doesn't load bundle (references to apm_packages) -->
<!-- <ccm:application name="ccm-simplesurvey"/> --> <!-- <ccm:application name="ccm-simplesurvey"/> -->
<!-- no documentation --> <!-- no documentation -->
<ccm:application name="ccm-weblog"/> <ccm:application name="ccm-weblog"/>