<CF_GANTT 3.0>

  Creates a basic HTML Gantt chart, with horizontal scrolling, milestones, collapse and dependencies. Based on JSGantt

  USAGE
<cf_gantt showAssignedTo="true"	showDuration="true" showCompleted="true">
	<cf_ganttitem name="Plan CF_Gantt 3.0" startdate="10/08/08" enddate="10/15/08">
	<cf_ganttitem name="Release custom tag beta" startdate="10/10/08" enddate="10/17/08" complete="66" color="91DBFF">
	<cf_ganttitem name="Integrate comments" startdate="10/11/08" enddate="11/25/08" color="FF0000" complete="70" >
	<cf_ganttgroup name="World Domination" assignedTo="SG" complete="45"> 
		<cf_ganttitem name="Take over the world" startdate="10/15/08" enddate="10/18/08" complete="25%">
		<cf_ganttitem name="Create mind control mechanism" startdate="10/19/08" enddate="11/17/08" href="http://www.shlomygantz.com" complete=100>
		<cf_ganttgroup name="Testing"> 
			<cf_ganttitem name="Test mind control on the innocent" startdate="10/6/08" milestone="yes">
			<cf_ganttitem name="Integrate results into report" startdate="10/7/08" enddate="10/15/08" color="652322" id="5">
			<cf_ganttitem name="Follow up" startdate="10/8/08" enddate="10/10/08" id="1" >
			<cf_ganttitem name="Follow up 2" startdate="10/12/08" enddate="10/13/08" id="2" dependencies="1">
			<cf_ganttitem name="Follow up 3" startdate="10/14/08" enddate="10/16/08" id="4" dependencies="1">
		</cf_ganttgroup>
		<cf_ganttitem name="Activate mind control" startdate="10/17/08" enddate="10/18/08" complete="25%" assignedTo="SG"  dependencies="1">
	</cf_ganttgroup>
	<cf_ganttgroup name="Aftermath">
		<cf_ganttitem name="Gaze into the future" startdate="10/11/08" enddate="10/13/08" color="652322" assignedTo="SG">
		<cf_ganttitem name="Discover new planets to conquer" startdate="10/12/08" enddate="10/13/08">
	</cf_ganttgroup>
	<cf_ganttitem name="Clean up room" startdate="10/12/08" enddate="10/17/08" dependencies="5">
	<cf_ganttitem name="Wash the dishes" startdate="10/11/08" enddate="10/13/08" complete="0.50" color="91DBFF">
	<cf_ganttitem name="Slowly go back to reality" startdate="10/21/08" enddate="11/24/08" color="FF0000" >
</cf_gantt>

 

OR


<cf_gantt showAssignedTo="true"	showDuration="true" showCompleted="true" src="project.xml" />

  ATTRIBUTES

CF_GANTT
ATTRIBUTE DESCRIPTION
SHOWASSIGNEDTO [OPTIONAL] [Yes/No] Show assigned to column
SHOWDURATION [OPTIONAL] [Yes/No] Show duration of task in days
SHOWCOMPLETED [OPTIONAL] [Yes/No] Show duration of task in days
SRC [OPTIONAL] [URL] Relative path to XML file that contains the tasks. When used all CF_TASKITEM and CF_TASKGROUP tags will be ignored. XML file should be in the following format:
<project>
<task>
	<pID>10</pID>
	<pName>WCF Changes</pName>
	<pStart></pStart>
	<pEnd></pEnd>
	<pColor>0000ff</pColor>
	<pLink></pLink>
	<pMile>0</pMile>
	<pRes></pRes>
	<pComp>0</pComp>
	<pGroup>1</pGroup>
	<pParent>0</pParent>
	<pOpen>1</pOpen>
	<pDepend />
</task>
<task>
	<pID>20</pID>
	<pName>Move to WCF from remoting</pName>
	<pStart>8/11/2008</pStart>
	<pEnd>8/15/2008</pEnd>
	<pColor>0000ff</pColor>
	<pLink></pLink>
	<pMile>0</pMile>
	<pRes>Rich</pRes>
	<pComp>10</pComp>
	<pGroup>0</pGroup>
	<pParent>10</pParent>
	<pOpen>1</pOpen>
	<pDepend></pDepend>
</task>
<task>
	<pID>30</pID>
	<pName>add Auditing</pName>
	<pStart>8/19/2008</pStart>
	<pEnd>8/21/2008</pEnd>
	<pColor>0000ff</pColor>
	<pLink></pLink>
	<pMile>0</pMile>
	<pRes>Mal</pRes>
	<pComp>50</pComp>
	<pGroup>0</pGroup>
	<pParent>10</pParent>
	<pOpen>1</pOpen>
	<pDepend>20</pDepend>
</task>
</project>
    


CF_GANTTGROUP

ATTRIBUTE DESCRIPTION
NAME [REQUIRED] Gantt group name
ASSIGNEDTO [OPTIONAL] Name of person the item is assigned to
HREF [OPTIONAL] Link item name to URL
COMPLETE [OPTIONAL] [Number]Percent complete (examples: 25,50,60 ...)

CF_GANTTITEM

ATTRIBUTE DESCRIPTION
NAME [REQUIRED] Name of task
STARTDATE [REQUIRED] [Date]Task start date
ENDDATE [REQUIRED] [Date]Task end date
COLOR [OPTIONAL] [RGB]Task color
HREF [OPTIONAL] Link item name to URL
MILESTONE [OPTIONAL] [Yes/No]Mark as milestone (Will only work if no ENDDATE attribute has been specified)
ASSIGNEDTO [OPTIONAL] Name of person the item is assigned to
COMPLETE [OPTIONAL] [Number]Percent complete (examples: 25,50,60 ...)
DEPENDENCIES [OPTIONAL] [Number] Item IDs this item depends on
ID [REQUIRED] Unique identifier for the item, is required if another item depends on this one (beta)
  BUGS
  1. Currently only one gantt chart is allowed per page.
  DOWNLOAD
Click here to download the tag
  Variable Returned
No variables are returned
  INSTALLATION
Place the file gantt.cfm, ganttitem.cfm, ganttgroup.cfm in your COLDFUSION8\CUSTOM TAGS directory
  BUGS / FEATURE REQUESTS
shlomygantz@hotmail.com
  EXAMPLE
http://www.shlomyganz.com/customtags