Source: site.view [edit]
Function name: rowRender
Arguments: listlist
Description: Render a lists of items in rows
Page type: webl
Render function:  
Module: global

Page source:

var table = "<table>";

every list in listlist do

table = table + "<tr>";

// list may hold strings or markup

every obj in list do
   var str;
   if Type(obj) == "string" then
     str = obj;
   else
     str = Markup(obj);
   end;
   table = table + "<td>" + str + "</td>";
end;

table = table + "</tr>";

end;

table = table + "</table>";

NewPiece(table, "text/html");