Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

10
LINES

< > BotCompany Repo | #1005274 // htableRaw - simple HTML table

JavaX fragment (include)

static S htableRaw(L<? extends L> data, O... params) {
  new StringBuilder buf;
  for (L row : data) {
    buf.append("<tr>");
    for (O cell : row)
      buf.append(htd(cell)).append("\n");
    buf.append("</tr>\n");
  }
  ret htag("table", buf, params);
}

Author comment

Began life as a copy of #1002949

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1005274
Snippet name: htableRaw - simple HTML table
Eternal ID of this version: #1005274/1
Text MD5: 62934c4845b5fcfc57c262534ba4c951
Author: stefan
Category: javax html
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-10-28 14:44:08
Source code size: 267 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 518 / 524
Referenced in: #1006401 - htableRaw2 - simple HTML table with params for tr and td
#1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1007540 - htableRaw_valignTop - simple HTML table with valign=top
#1014219 - htableRaw_singleRow - simple HTML table (one row)