Package: raptus.article.table
IntroductionYou have a site where you have a lot of tables to be displayed and styled, then this
package is for you. It provides a generic way to create tables in articles.The following features for raptus.article are provided by this package:ContentProvides a table content type for raptus.articleComponentsraptus.article.table.rightraptus.article.table.leftraptus.article.table.fullDependenciesarchetypes.schemaextenderraptus.article.coreInstallationTo install raptus.article.table into your Plone instance, locate the file
buildout.cfg in the root of your Plone instance directory on the file system,
and open it in a text editor.Add the actual raptus.article.table add-on to the “eggs” section of
buildout.cfg. Look for the section that looks like this:eggs =
    PloneThis section might have additional lines if you have other add-ons already
installed. Just add the raptus.article.table on a separate line, like this:eggs =
    Plone
    raptus.article.tableNote that you have to run buildout like this:$ bin/buildoutThen go to the “Add-ons” control panel in Plone as an administrator, and
install or reinstall the “raptus.article.default” product.Note that if you do not use the raptus.article.default package you have to
include the zcml of raptus.article.table either by adding it
to the zcml list in your buildout or by including it in another package’s
configure.zcml.UsageAdd tableYou may now add tables in your article. Click the “Add new” menu and select “Table” in the pull down menu.
You get the standard plone form to add your table.Configure your tableTables consist of a fixed column definition which may be set either per table or
globally in the table configlet. Every table needs either a global definition or
a local one to work.ComponentsNavigate to the “Components” tab of your article, select one of the table components
and press “save and view”. Note that at least one table has to be contained
in the article in which this component is active.Copyright and creditsraptus.article is copyrighted byRaptus AGand licensed under the GPL.
See LICENSE.txt for details.Developer ManualNote: You find a developer manual for raptus.article atraptus.article.core.
Please have look there if you need more information.Code overviewComponentsplone.abovecontentbodyraptus.article.table.rightraptus.article.table.leftplone.belowcontentbodyraptus.article.table.fullInterfacesfile: interfaces.pyITables (Provider for tables contained in an article)getTables - method (Returns a list of tables (catalog brains))IRows (Provider for rows contained in a table)getRows - method (Returns a list of rows (catalog brains))IDefinitions (Handles table definitions)getDefinition - method (Returns the definition)getAvailableDefinitions - method (Returns a dict of definitions available for this article)addDefinition - method (Adds a new global definition)removeDefinition - method (Removes a global definition)IDefinition (Definition provider for tables)getCurrentDefinition - method (Returns the definition for this article)ITable (Marker interface for the table content type)IRow (Marker interface for the row content type)IType (A column type)structure - method (Whether the value has to be rendered as structure or not)modifier - method (Returns the modified value)field - method (Returns the ExtensionField to be used in the SchemaExtender)Changelog2.0b14 (2013-07-02)Adjustments for new raptus.article.core functionality (drag’n’drop and edit components view)Added dependency for simplejson2.0b13 (2012-05-11)Allow renaming of existing table definitions which are in use2.0b12 (2012-05-08)Found and fixed another bug in configlet where the column type was not stored for table
definitions already in use2.0b11 (2012-05-08)Fixed major bug in configlet where table definitions in use where always deleted when saving2.0b10 (2011-11-21)Fixed JavaScript error resulting in wrong insertion position under some circumstancesAdded call to reindexOnReorder when inserting rows at a specific position2.0b9 (2011-11-21)Fixed KeyError if no columns are defined for a tableAdded possibility to select the position where to add new rows2.0b8 (2011-10-18)block modifications on a table definitions which are already in use.fixed odd/even rowsadd scrollbar to lightbox for large definitions.2.0b7 (2011-08-25)Added info message to column configuration popup and fixed bug where multiple
save button appearedAdded string normalization for column name to prevent exceptions when using non ascii
charactersReplaced text field for defining the table style by a drop down fed by a property in
portal propertiesImproved descriptions of style and columns field in table content type to illustrate
the override mechanism if a table definition is selected2.0b6 (2011-08-05)Fixed TableColumnsField (KeyError when saving columns)2.0b5 (2011-08-05)Improved configlet and added table columns widget for table content typeAdded image and file typesAdded possibility to define cell and heading classes per columnAdded possibility to define a colspan for columns2.0b4 (2010-11-10)Added French translationsUpdated German translations2.0b3 (2010-10-21)Updated readme and manual2.0b2 (2010-10-20)First public release