Problem with table macro

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Problem with table macro

Jean Couteau
Dear list,

I have a problem with tables : i have a foreach method to create a table
for each instance. There is an other foreach to create the content
inside the table. The first table is well rendered, but after, i have
the following :

table: TableMacro: missing table content
ID | Task | Description | Nb hours | Edit 2,0,8,0,3,0 | testing | | |
table: TableMacro: missing table content

My code is :

#foreach ($link in $allsprintLinks)

  some code

  {table}
    ID | Task | Description | Nb hours | Edit
    #foreach ($item in $tasks)
      #set($task=$xwiki.getDocument($item).getObject("TaskClass"))
      $task.id | $task.get("name") | $task.description | $task.nbHourInit |
    #end
  {table}
#end


Any clue on what could be wrong ?

--
----
Jean Couteau
Code Lutin - http://www.codelutin.com
44 Bd des Pas Enchantés - 44230 St-Sébastien/Loire
Tél : 02 40 50 29 28 - Fax : 09 59 92 29 28

_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users