GIT Mirror of the the legacy CCM
 
 
 
 
 
 
Go to file
pb 6acf25bc14 incorporating APLAWS patches 166-168:
r1666 | chrisg23 | 2007-09-19 12:40:53 +0200 (Mi, 19 Sep 2007) 
Currently date order categories work fine unless you have more than one page of objects - as the ordering is only done in xsl, when you have pagination, the java side returns a subset of objects ordered according to order set in jsp page (eg alphabetical) and then that subset is date ordered, but that means that as you page back and forth the date ordering is completely wrong. This change fixes that by enforcing date ordering in the java code if the current category is date ordered. Different object types have different attribute names for date - and only the renderer knows which attributes are available. I have added a method to the definition that gives the definition a reference to the renderer - the renderer now returns a list of attributes which the definition looks through and finds the first attribute that is of type date and uses that as the basis for date ordering if the current category is date ordered.If there is more than one date ordered attribute output in the list, then ensure the one used for ordering in xsl is the first one specified in jsp. I could have just made a setDateOrderAttribute method that takes a string attribute name argument and called that from the jsp page - it would have made the code quite a bit simpler. I chose this route to ensure that the date attribute specified for ordering in java was present in the datacollection, and so that there is no need to edit existing jsp pages. That is probably being overcautious though. Never mind, this works fine anyway - maybe one day I will refactor it to use the simpler approach
------------------------------------------------------------------------
r1667 | chrisg23 | 2007-09-19 12:48:36 +0200 (Mi, 19 Sep 2007) 
Continuation of changes in r1651 - output publisher flag on index pages too
------------------------------------------------------------------------
r1668 | chrisg23 | 2007-09-19 12:53:08 +0200 (Mi, 19 Sep 2007) 
See r1661 - ensure that this version of object-list.xsl caters for all listed objects, not just content pages, by referring to displayName (defined in ACSObject and now output on all object lists in default navigation jsp page


git-svn-id: https://svn.libreccm.org/ccm/trunk@28 8810af33-2d31-482b-a856-94f89814c4df
2008-02-15 19:07:48 +00:00
ccm-auth-http Initiale Version 2008-02-04 11:59:05 +00:00
ccm-bookmarks Initiale Version 2008-02-04 11:59:05 +00:00
ccm-cms incorporate 2008-02-15 17:17:20 +00:00
ccm-cms-assets-fileattachment Initiale Version 2008-02-04 11:59:05 +00:00
ccm-cms-assets-notes Addendum to r20 (missing file) 2008-02-15 16:46:33 +00:00
ccm-cms-assets-relatedlink Initiale Version 2008-02-04 11:59:05 +00:00
ccm-cms-types-address Initiale Version 2008-02-04 11:59:05 +00:00
ccm-cms-types-agenda Initiale Version 2008-02-04 11:59:05 +00:00
ccm-cms-types-article Initiale Version 2008-02-04 11:59:05 +00:00
ccm-cms-types-bookmark Initiale Version 2008-02-04 11:59:05 +00:00
ccm-cms-types-contact Initiale Version 2008-02-04 11:59:05 +00:00
ccm-cms-types-esdservice Initiale Version 2008-02-04 11:59:05 +00:00
ccm-cms-types-event Initiale Version 2008-02-04 11:59:05 +00:00
ccm-cms-types-faqitem Initiale Version 2008-02-04 11:59:05 +00:00
ccm-cms-types-filestorageitem Initiale Version 2008-02-04 11:59:05 +00:00
ccm-cms-types-formitem Initiale Version 2008-02-04 11:59:05 +00:00
ccm-cms-types-formsectionitem Initiale Version 2008-02-04 11:59:05 +00:00
ccm-cms-types-glossaryitem Initiale Version 2008-02-04 11:59:05 +00:00
ccm-cms-types-htmlform Initiale Version 2008-02-04 11:59:05 +00:00
ccm-cms-types-inlinesite Initiale Version 2008-02-04 11:59:05 +00:00
ccm-cms-types-job Initiale Version 2008-02-04 11:59:05 +00:00
ccm-cms-types-legalnotice Initiale Version 2008-02-04 11:59:05 +00:00
ccm-cms-types-minutes Initiale Version 2008-02-04 11:59:05 +00:00
ccm-cms-types-motditem Initiale Version 2008-02-04 11:59:05 +00:00
ccm-cms-types-mparticle incorporating APLAWS patch: 2008-02-15 18:16:09 +00:00
ccm-cms-types-newsitem incorporating: 2008-02-15 16:50:45 +00:00
ccm-cms-types-organization Initiale Version 2008-02-04 11:59:05 +00:00
ccm-cms-types-pressrelease Initiale Version 2008-02-04 11:59:05 +00:00
ccm-cms-types-service Initiale Version 2008-02-04 11:59:05 +00:00
ccm-cms-types-siteproxy Initiale Version 2008-02-04 11:59:05 +00:00
ccm-core incoroirating APLAWS patches: 2008-02-15 18:29:37 +00:00
ccm-docmgr Initiale Version 2008-02-04 11:59:05 +00:00
ccm-formbuilder-pdf Initiale Version 2008-02-04 11:59:05 +00:00
ccm-forum Addendum to r15 (missing file) 2008-02-15 11:21:29 +00:00
ccm-ldn-aplaws incorporating APLAWS patch: 2008-02-15 18:36:38 +00:00
ccm-ldn-atoz Initiale Version 2008-02-04 11:59:05 +00:00
ccm-ldn-dublin Initiale Version 2008-02-04 11:59:05 +00:00
ccm-ldn-exporter Initiale Version 2008-02-04 11:59:05 +00:00
ccm-ldn-freeform Initiale Version 2008-02-04 11:59:05 +00:00
ccm-ldn-image-step incorporating APLAWS patch: 2008-02-15 18:53:06 +00:00
ccm-ldn-importer Initiale Version 2008-02-04 11:59:05 +00:00
ccm-ldn-navigation incorporating APLAWS patches 166-168: 2008-02-15 19:07:48 +00:00
ccm-ldn-portal Initiale Version 2008-02-04 11:59:05 +00:00
ccm-ldn-rss Initiale Version 2008-02-04 11:59:05 +00:00
ccm-ldn-search Initiale Version 2008-02-04 11:59:05 +00:00
ccm-ldn-shortcuts ccm-ldn-shortcuts: incorporating 2008-02-15 12:27:19 +00:00
ccm-ldn-subsite Initiale Version 2008-02-04 11:59:05 +00:00
ccm-ldn-terms Initiale Version 2008-02-04 11:59:05 +00:00
ccm-ldn-theme Initiale Version 2008-02-04 11:59:05 +00:00
ccm-ldn-util incorporating: 2008-02-15 00:09:13 +00:00
ccm-ldn-xmlfeed Initiale Version 2008-02-04 11:59:05 +00:00
ccm-shp-aplaws Initiale Version 2008-02-04 11:59:05 +00:00
ccm-simplesurvey Initiale Version 2008-02-04 11:59:05 +00:00
ccm-user-preferences Initiale Version 2008-02-04 11:59:05 +00:00
ccm-weblog Initiale Version 2008-02-04 11:59:05 +00:00
ccm-webpage Initiale Version 2008-02-04 11:59:05 +00:00
nbproject Initiale Version 2008-02-04 11:59:05 +00:00
tools Initiale Version 2008-02-04 11:59:05 +00:00
www/alm-process/snippets Initiale Version 2008-02-04 11:59:05 +00:00
ant.properties Initiale Version 2008-02-04 11:59:05 +00:00
build.xml Initiale Version 2008-02-04 11:59:05 +00:00
ccm.classpath Initiale Version 2008-02-04 11:59:05 +00:00
project.xml Initiale Version 2008-02-04 11:59:05 +00:00
project.xml.complete Initiale Version 2008-02-04 11:59:05 +00:00