This server will be upgraded at 3pm Sydney time on December 3rd (December 2nd, 8pm PST) and will be down for up to 30 minutes.

Dynamic Table Macro

Name Dynamic Table
Vendor Revere Data LLC
Authors Marc Adams, Dimitry Voytenko
Homepage http://confluence.atlassian.com/display/CONFEXT/Dynamic+Table+Macro
Issue Management http://developer.atlassian.com/jira/browse/DTBL
Continuous Integration n/a
Categories Content Macros
Most Recent Version 1.2
Availability Confluence v2.2 to v2.10
State Stable
Support Unsupported Plugins
License Freeware / Open Source (BSD)
Price Free
Release Docs http://confluence.atlassian.com/display/CONFEXT/Dynamic+Table+Macro
Java API Docs n/a
Download Source https://svn.atlassian.com/svn/public/contrib/confluence/dynamic-table-plugin/trunk/
Download JAR dynamic-table-plugin-1.2.jar
This plugin now accessible through the Confluence Repository Client.

This macro creates and maintains a table that is modified dynamically in the view mode, similarly to the Dynamic Task List. Additionally it allows reordering of the rows.

Usage

{dynamictable:TableName[|title=Table Title]}
     |header1|header2|...|
{dynamictable}

Notice:

  • Table's name must be unique in the scope of a page.
  • "title" parameter is optional. If it's not specified table's name will be used as a title.

Screenshot

Download & Installation

Updated 22 March 2007

This should be installed via the Confluence Repository Client
You might have to restart your Confluence server after installing this plugin. This might not always be the case

If you don't have the Confluence Repository Client, use the instructions below to install manually.

  1. Download
  2. Drop it into WEB-INF/lib inside the Confluence web application
  3. Restart Confluence

Development Resources

  1. Jira: http://developer.atlassian.com/jira/browse/DTBL
  2. SVN: https://svn.atlassian.com/svn/public/contrib/confluence/dynamic-table-plugin/trunk/

Release History

Plugin Versions

Version Date State License Price
Show description 1.0 (#1) 06 Apr 2006 Stable Freeware / Open Source (BSD) Free

Contributors

  • Dimitry Voytenko — Author, Developer

Show description 1.1 (#2) 06 Mar 2007 Stable Freeware / Open Source (BSD) Free

Release Notes

Jira Issues
Type Key Summary Assignee Reporter Priority Status Resolution Created Updated Due
Task DTBL-5 Add this plugin to the Confluence Plugin Repository Unassigned Marc Adams Minor Closed Fixed Mar 22, 2007 Mar 22, 2007
Bug DTBL-3 Error formatting macro: dynamictable: java.lang.NullPointerException Unassigned Jag Gill Major Closed Fixed Feb 13, 2007 Mar 22, 2007

Contributors

Show description 1.2 (#5) 22 Mar 2007 Stable Freeware / Open Source (BSD) Free

Release Notes

Jira Issues
Type Key Summary Assignee Reporter Priority Status Resolution Created Updated Due

Contributors

Labels

plugin plugin Delete
macro macro Delete
repository_current repository_current Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Mar 29, 2006

    Bob Swift says:

    Very nice . Thanks for providing this. A suggestion: can you leave out the "Ta...

    Very nice . Thanks for providing this. A suggestion: can you leave out the "Table:" or make it an optional parameter. If I want table in the name, I can just put it in the table name.

    1. Apr 06, 2006

      Dimitry Voytenko says:

      Yep, I took it off. Doesn't seem to be usefull at all. I also added optional "ti...

      Yep, I took it off. Doesn't seem to be usefull at all. I also added optional "title" parameter. If it's not specified table's name is used.

  2. Mar 30, 2006

    Christian Barthelemy says:

    This is a great macro. I would like to suggest a couple of enhancements: Sort...

    This is a great macro.

    I would like to suggest a couple of enhancements:

    • Sort on header: by clicking on a header name, the list is sorted by alpha-num order and the display is refreshed. Clicking again on the same header name reverse the sort order.
    • Update row: to allow the modification of an existing entry.

    Thanks again for this very useful contribution

    1. Apr 06, 2006

      Dimitry Voytenko says:

      These both seem to be great suggestions. Thanks a lot. But I was planning t...

      These both seem to be great suggestions. Thanks a lot. But I was planning to run with current "manual" sorting and updating for a while. I'll put it for version 2.0

  3. Apr 04, 2006

    Bradley Beddoes says:

    Do links to pages work within the cells in this macro? I note they unfortunately...

    Do links to pages work within the cells in this macro? I note they unfortunately don't with dynamictasklist

    1. Apr 06, 2006

      Dimitry Voytenko says:

      Yes, I'm looking into it, will probably come up with something soon.

      Yes, I'm looking into it, will probably come up with something soon.

      1. May 03, 2006

        Mahendra Bhegade says:

        Is the sorting now available. Is there any way to disable to deletion , sorting ...

        Is the sorting now available. Is there any way to disable to deletion , sorting or moving the records

      2. Aug 30, 2006

        Gary Hewitt says:

        Links to pages would be the coolest thing - to apply tabular information like th...

        Links to pages would be the coolest thing - to apply tabular information like this to a set of pages would be enormous - issue tracking for those of us who don't want to install JIRA....  Great work - looks cool, works great.

        By the way - the tablename appears to show up as unescaped javascript code - which throws errors if you have bad characters in the tablename (I found it by putting in an extra ] ) - but also an XSS attack vector if one were so inclined.

  4. Apr 06, 2006

    Dimitry Voytenko says:

    Jira project is now available.

    Jira project is now available.

  5. Aug 22, 2006

    Bijan Marjan says:

    Hi.... We wanted to use this macro but also export the data that is posted using...

    Hi.... We wanted to use this macro but also export the data that is posted using it to another system. Where is the data actually stored? It appears to be stored as XML but I was not sure where.

    1. Aug 26, 2006

      Jens Schumacher says:

      The data is stored in the Confluence database as a page property.

      The data is stored in the Confluence database as a page property.

  6. Nov 07, 2006

    mayas patrick says:

    hi, i am very new to macro. i have managed to install the plugins possibly the...

    hi,

    i am very new to macro.

    i have managed to install the plugins possibly the macro's as well without experiencing any error.

    my question is: how do you finally get to the point of using a plugin or a macro?

    thanx in advance

    1. Nov 13, 2006

      EnBW says:

      Take a loog in the part usage above. You have to insert that into the Wiki Marku...

      Take a loog in the part usage above. You have to insert that into the Wiki Markup Editor.

  7. Feb 07, 2007

    Pete Hale says:

    Hi, I am trying to use this plugin on version 2.3 of confluence and when I incl...

    Hi,

    I am trying to use this plugin on version 2.3 of confluence and when I include the macro,

    Unknown macro: {dynamictable}

    |A|B|C|

    ,  on a page the following message appears when viewing the page.

    One can also see this behavior here: http://confluence.atlassian.com/display/TEST/title 

     Thanks

    1. Feb 25, 2007

      Craig McElroy says:

      This sounds like http://jira.atlassian.com/browse/CONF-7748 The Google Maps plu...

      This sounds like http://jira.atlassian.com/browse/CONF-7748 The Google Maps plugin suffered from the same problem for us before adjusting it.

  8. Feb 16, 2007

    Anja Gruss says:

    this sounds like a wonderful addon in theory, is it still supported/in developme...

    this sounds like a wonderful addon in theory, is it still supported/in development? The issues are rather old and uncommented by Mr. Voytenko... Any reason to worry?

  9. Mar 05, 2007

    Marc Adams says:

    I don't have access to commit to the Subversion, but I created a patch and also ...

    I don't have access to commit to the Subversion, but I created a patch and also a build of the Jar file that has a fix for the "Unknown Macro" issue above. I attached them to the Jira issue here: http://developer.atlassian.com/jira/browse/DTBL-3

    I've tested it on 2.3.3 and it's working. If your mileage varies please let me know. I'm afraid the original Author has up and forgotten about his creation here so if anyone has commit privileges to the subversion repo of this plugin, you can apply the patch in the above Jira link.

  10. Mar 06, 2007

    Marc Adams says:

    Try downloading the plugin now and see if it works for you.

    Try downloading the plugin now and see if it works for you.

  11. Mar 20, 2007

    Girard Jérémy says:

    Great plugin. Is it possible to display smiley like   ? Thx, 

    Great plugin.

    Is it possible to display smiley like   ?

    Thx, 

    1. Mar 22, 2007

      Marc Adams says:

      Where would you like to put the emoticon? Did you just want it in a cell? Did yo...

      Where would you like to put the emoticon? Did you just want it in a cell? Did you want it to auto-populate the first cell of a row? What are you looking for specifically?

      IT would also help if you entered a Jira issue in the Jira project for the Dynamic Table: http://developer.atlassian.com/jira/browse/DTBL

  12. Mar 24, 2007

    Maximiliano Damian says:

    I created 2 issues in the DTBL Project on JIRA. Task Summary DTBL-8 ...

    I created 2 issues in the DTBL Project on JIRA.

    Task Summary
    DTBL-8 Wrap text in a cell
    DTBL-7 Define type of each field

    I think they could be useful to the macro improvement.

    What do you think?

  13. Apr 04, 2007

    Vasyl Matyashovskyy says:

    where system keep information from that tables? Because if you add some table, a...

    where system keep information from that tables? Because if you add some table, add records, latter you add columns - this will not working correctly. And I need change table name.

  14. Apr 04, 2007

    Pranav Olkar says:

    Hello All, I upgraded confluence from v2.2.9 to v2.4.3.I had a page in v2.2.9 w...

    Hello All,

    I upgraded confluence from v2.2.9 to v2.4.3.I had a page in v2.2.9 which had dynamic table macro 1.1 (usage was :

    s.no|Task|Status|Start Date|End Date

    ).Now when i upgraded to 2.4.3 and saw the page it gives following error,

    Error formatting macro: dynamictable: com.thoughtworks.xstream.converters.ConversionException : default : default --- -

    debugging information : required-type : java.util.Collections$SynchronizedCollection cause-message : default : default class : com.revere.confluence.dynamictable.model.Table message : default : default line number : 5 path : /com.revere.confluence.dynamictable.model.Table/rows/java.util.Collections-SynchronizedCollection/default cause-exception : com.thoughtworks.xstream.alias.CannotResolveClassException -------------------------

     I tried downgrading dynamic table macro from 1.2 back to 1.1 as also vice versa.No success.
    After this,I created a new page and pasted the same usage code in this. It WORKED !! But the other migrated page is still not working.atlassian support directed me here. click here for the image attachment of the support request

    Any ideas?

    Thanks in advance,

    Pranav Olkar

  15. Apr 11, 2007

    yamini chinnareddygari says:

    If there is an "EDIT" link for each entry in the table it would be really helpfu...

    If there is an "EDIT" link for each entry in the table it would be really helpful. Are there any chances of having one in the near future?

    thanks,

    Yamini.

    1. Apr 12, 2007

      Danny Smitherman says:

      I second that motion - would be great to allow editing of existing entry.

      I second that motion - would be great to allow editing of existing entry.

    2. Jun 06, 2007

      Mark says:

      Yea me too. The whole benefit of dynamic lists is that you don't have to EDIT p...

      Yea me too.

      The whole benefit of dynamic lists is that you don't have to EDIT page to update anything, you work right there on page.
      This results in good usability which makes for an active 'task list' or list of whatever type you want to call it.

      Without editing on the fly, the lists go stale and people don't want to work with them, especially if you have somethign like Responsible or Date columns, which are always changing.

  16. May 04, 2007

    Haider says:

    Dynamic table does not work with version 2.5. I click on add and it just does no...

    Dynamic table does not work with version 2.5. I click on add and it just does not add the row.

    1. May 28, 2007

      Ryan Cheung says:

      @Haider: Actually it does work. I had the same problem until I looked at the co...

      @Haider:

      Actually it does work. I had the same problem until I looked at the code. The example piece given at the top has a syntax error.

      In the title parameter, there should be no square brackets. Should be this:

      {dynamictable:TableName|title=Table Title}
      
           |header1|header2|...|
      
      {dynamictable}
      

      Best of luck.

      1. May 29, 2007

        Stuart Gilberd says:

        It does seem to me to be broken in 2.5.1. I originally thought it was just old ...

        It does seem to me to be broken in 2.5.1. I originally thought it was just old tables that were created on a previous version of confluence/java but now I see that although you can create a new table using that syntax - adding an entry results in the following error:

        com.thoughtworks.xstream.converters.ConversionException: Invalid final field java.util.Collections$SynchronizedCollection.c \-\--\- Debugging information ---\- message : Invalid final field java.util.Collections$SynchronizedCollection.c line number : 14 path : /com.revere.confluence.dynamictable.model.Table/rows/java.util.Collections-SynchronizedCollection/default/c cause-message : Invalid final field java.util.Collections$SynchronizedCollection.c class : com.revere.confluence.dynamictable.model.Table cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessException required-type : java.util.Collections$SynchronizedRandomAccessList --\----------------------------\-
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:45)
        
  17. Jun 11, 2007

    Wish J says:

    I am working with Version: 2.4.5. When i say dynamictable  only .. then I will...

    I am working with Version: 2.4.5. When i say
    dynamictable  only .. then I will able to add the data.

    But when I say:

    dynamictable:Vishal-Dynamic Table}

    Action#|Summary|Due Date|Person\
    {dynamictable

    It will display the table.. but while adding the data its not showing the added data.

    Let me know Where am doing wrong.. or its issue with Version: 2.4.5...?