Composition Plugin

This plug-in allows generation of powerful and flexible reports to be displayed on Confluence pages.

Name Composition Plugin
Vendor CustomWare Asia Pacific (Website)
Authors David Peterson, Bo Wang
Homepage http://www.customware.net/repository/display/AtlassianPlugins/Composition+Plugin
Issue Management http://jira.adaptavist.com/browse/POSI
Continuous Integration n/a
Categories Formatting Macros
Most Recent Version 2.3.2
Availability Confluence v2.3 to v2.10
State Stable
Support Unsupported Plugins
License Freeware / Open Source (BSD)
Price Free
Release Docs http://www.customware.net/repository/display/AtlassianPlugins/Composition+Plugin
Java API Docs n/a
Download Source http://svn.atlassian.com/svn/public/contrib/confluence/composition-plugin/tags/2.3.2/
Download JAR composition-plugin-2.3.2.jar
This plugin can be installed and updated via the Confluence Repository Client.

Description/Features

This plugin contains macros which allow finer control over the layout (or composition) of a page.

The macros in this package use CSS and JavaScript (a.k.a. ECMAScript) extensively. The macros generally don't do anything other than allow you to control how and when page content is displayed.

This plugin uses Ben Nolan's 'Behaviour' script.

For more information, visit this plugin's homepage

Version History

Confluence 2.3 and newer

Version Date State License Price
Show description 2.3.2 (#14) 21 Oct 2007 Stable Freeware / Open Source (BSD) Free

Release Notes

Jira Issues
Type Key Priority Summary Updated Reporter Status
Bug POSI-71 Major Auto-ids on cloaks are not created correctly for imported pages Aug 10, 2007 David Peterson Closed

Contributors

  • David Peterson — Developer
  • Bo Wang — Developer

Show description 2.3.1 (#13) 10 Aug 2007 Stable Freeware / Open Source (BSD) Free

Release Notes

Jira Issues
Type Key Priority Summary Updated Reporter Status
Bug POSI-71 Major Auto-ids on cloaks are not created correctly for imported pages Aug 10, 2007 David Peterson Closed

Contributors

  • David Peterson — Developer

Show description 2.3 (#12) 28 Feb 2007 Stable Freeware / Open Source (BSD) Free

Release Notes

Jira Issues
Type Key Priority Summary Updated Reporter Status
Task POSI-62 Major Switch to Maven 2 Feb 27, 2007 David Peterson Closed
Task POSI-61 Major Confluence 2.3 Compatibility Feb 27, 2007 David Peterson Closed

Contributors

  • David Peterson — Developer

Confluence 2.2 and older

Version Date State License Price
Show description 2.2 (#11) 22 Sep 2006 Stable Freeware / Open Source (BSD) Free

Release Notes

Jira Issues
Type Key Priority Summary Updated Reporter Status
Task POSI-52 Major Remove dependencies on Utilities Plugin Sep 22, 2006 David Peterson Closed
Bug POSI-51 Major Included JavaScript libraries don't play nice with other plugins using same libraries. Sep 22, 2006 David Peterson Closed
Bug POSI-48 Critical Fade transition is mis-positioned when deck is contained in an absolutely positioned element. Sep 22, 2006 David Peterson Closed

Contributors

  • David Peterson — Developer

Show description 2.0 (#10) 09 Jul 2006 Stable Freeware / Open Source (BSD) Free

Release Notes

*This version requires the appropriate Utilities Plugin to be installed into WEB-INF/lib.

Jira Issues
Type Key Priority Summary Updated Reporter Status
New Feature POSI-46 Major Special effects for transitions Jul 08, 2006 David Peterson Closed
New Feature POSI-45 Minor Timed slideshow Jul 08, 2006 David Peterson Closed
Improvement POSI-35 Major Add configuration property to force assume Javascript Jul 08, 2006 Jason Dillon Closed
Bug POSI-34 Major Image URL dulicates /confluence base Jul 08, 2006 Tim Colson Closed
New Feature POSI-27 Minor Height property Jul 08, 2006 Guy Fraser Closed
New Feature POSI-23 Major Ability to easily create links to go to a specific tab Jul 08, 2006 Guy Fraser Closed

Contributors

  • David Peterson — Developer

Show description 1.4.8 (#8) 06 Feb 2006 Stable Freeware / Open Source (BSD) Free

Release Notes

*This version requires the appropriate Utilities Plugin to be installed into WEB-INF/lib.

Jira Issues
Type Key Priority Summary Updated Reporter Status
Bug POSI-41 Critical Missing Context Root for toggle-cloak nav buttons Feb 06, 2006 Ed Horne Closed
Bug POSI-38 Critical Default cloak toggle icons break if confluence isn't the root webapp Feb 01, 2006 David Peterson Closed

Contributors

  • David Peterson — Developer

Labels

confluence13 confluence13 Delete
macro macro Delete
plugin plugin Delete
confluence14 confluence14 Delete
confluence15 confluence15 Delete
confluence20 confluence20 Delete
confluence21 confluence21 Delete
repository_current repository_current Delete
confluence22 confluence22 Delete
confluence23 confluence23 Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Nov 02, 2005

    Guy Fraser says:

    For an example of the extremes that you can take the deck/card macros to, check ...

    For an example of the extremes that you can take the deck/card macros to, check out http://adaptavist.com

  2. Mar 13, 2006

    Dan Hardiker says:

    This plugin is now available in the Confluence Repository Client.

    This plugin is now available in the Confluence Repository Client.

  3. Nov 30, 2006

    James Mortimer says:

    A really neat macro. it would be nice if, instead of using a complicated deck/c...

    A really neat macro.

    it would be nice if, instead of using a complicated deck/card hierarchy for nested cards, you were able to tell the page to convert heading tags into cards, so that:

    {format-heading-as-cards}
    h1. something
    
    h2. alpha
    
    h2. beta
    
    content
    
    h1. someting else
    

    would render as the following card (excuse the approximate card formating):

    SOMETHING something else
    alpha BETA
    content
    

    Options could specifiy what level to 'card' versus traditional heading layouts.

  4. Feb 14, 2007

    Vincent Thoulé says:

    Hi David, As the mentioned Issues Tracker (http://jira.adaptavist.com/browse/PO...

    Hi David,

    As the mentioned Issues Tracker (http://jira.adaptavist.com/browse/POSI) required account, I post my issue here ...

    Have a look on CONF-7850, where I describe a conflict between composition macros used in Navigation page and Normal pages.

    Rgds
    Vincent

    1. Feb 14, 2007

      David Peterson [CustomWare] says:

      Hi Vincent, From reading your issue report I'm not entirely clear what you are ...

      Hi Vincent,

      From reading your issue report I'm not entirely clear what you are trying to achieve. Are you using the Composition macros in the 'Navigation' page while using the Left Navigation theme, or something else entirely?

      Sorting this issue out in comments is not the best approach for several reasons. It would be best if you signed up for an account at the JIRA tracker above and create a bug report there with more details on the nature of the problem.

      David

  5. Apr 25, 2007

    Christopher Christophorou says:

    Hi, I'm using Ajax to display a "Loading" message while the page is loading in ...

    Hi,

    I'm using Ajax to display a "Loading" message while the page is loading in the background, but when the page is displayed all deck/cards elements on the page are not showing.

    Everything else works fine.

    Any ideas why that happens? Not sure if this is because of the composiiton macro.

    Thanks,

    Chris

    1. Apr 25, 2007

      David Peterson [CustomWare] says:

      Decks and cards use JavaScript in the background to arrange and render the cards...

      Decks and cards use JavaScript in the background to arrange and render the cards. Most likely, your ajax is interfering with the initialisation process.

      Try adding something like this to your 'done loading' JavaScript code:

      if (Behaviour) {
          Behaviour.apply(document.body);
      }
      

      It may not be exactly correct. Also, if you're just hiding a specific <div> tag, you can pass that in instead of 'document.body'.

      1. Apr 26, 2007

        Christopher Christophorou says:

        Hi David, thank you for the quick response. When I try to use the code you ind...

        Hi David,

        thank you for the quick response.

        When I try to use the code you indicated I get a "Behaviour is not defined" error message.

        The following is the Ajax code I'm using. I also tries to include the 3 .js files indicated in http://www.randombits.org/x/ugo but that didn't work either.

        var page = "$body";
        function loadPage() {
        var h = document.getElementById('contentContainer')
        h.innerHTML = "Loading data.... Please wait...."
        var ajaxRequest;  // The variable that makes Ajax possible!
        
        	try{
        		// Opera 8.0+, Firefox, Safari
        		ajaxRequest = new XMLHttpRequest();
        	} catch (e){
        		// Internet Explorer Browsers
        		try{
        			ajaxRequest = new ActiveXObject("Msxml2.XMLHTTP");
        		} catch (e) {
        			try{
        				ajaxRequest = new ActiveXObject("Microsoft.XMLHTTP");
        			} catch (e){
        				// Something went wrong
        				alert("Your browser broke!");
        				return false;
        			}
        		}
        	}
        	// Create a function that will receive data sent from the server
        	ajaxRequest.onreadystatechange = function(){
        		if(ajaxRequest.readyState == 4){
        var a = document.getElementsByTagName('body');
        a[0].innerHTML = ajaxRequest.responseText;
        		}
        	}
                        ajaxRequest.open("GET", page, true);
        	ajaxRequest.send(null);
        }
        
        }
        window.onload=loadPage;
        
  6. Jul 17, 2007

    John Moiraskik says:

    Hi David, i havent a Jira-accout on your site. So i post an issue here. There i...

    Hi David,

    i havent a Jira-accout on your site. So i post an issue here. There is something missing within the css to display the cards (tabbed) correctly in Internet Explorer (Firefox works fine).

    Just add

    position: relative;
    

    to the following style class:

    .deck .cards.tabbed {
           border: 1px solid #339999;
    }
    

    Then scroll bars will correctly be displayed and there isnt a tab overflow if there is to much content in a tab.

    cheers

  7. Nov 01, 2007

    Pranav Olkar says:

    Can you please tell when this plugin will be available for version 2.6 ?

    Can you please tell when this plugin will be available for version 2.6 ?

  8. Nov 26, 2007

    Landis Linford says:

    I'm getting the following error message: Error formatting macro: composition-se...

    I'm getting the following error message:

    Error formatting macro: composition-setup: java.lang.IllegalStateException: zip file closed

    Any way to get this to work correctly? The plugin is installed on our system.

    1. Nov 26, 2007

      Landis Linford says:

      Never Mind. I uninstalled and reinstalled the plugin and it's working just fine...

      Never Mind. I uninstalled and reinstalled the plugin and it's working just fine.

  9. May 22, 2008

    Mark says:

    Seems to not work in 2.8 - I get nothing where I used to have tabs.

    Seems to not work in 2.8 - I get nothing where I used to have tabs.

  10. Jun 26

    Carolina Niebres says:

    Any news on when it will work for 2.7 and above?

    Any news on when it will work for 2.7 and above?

  11. Jul 08

    Brian Bukowski says:

    This is a great plugin.  Is there any plans to release a new version that's...

    This is a great plugin.  Is there any plans to release a new version that's compatible with 2.7?  We would GREATLY appreciate it. 

  12. Jul 16

    Dhana Lakshmi Marothu says:

    we are using version 2.6.2. I knew that Composition plugin is compatible fr...

    we are using version 2.6.2. I knew that Composition plugin is compatible from Confluence v2.3 to v2.5.8. still I am able to use this plugin in my version 2.6