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)

1  
static S htableRaw(L<? extends L> data, O... params) {
2  
  new StringBuilder buf;
3  
  for (L row : data) {
4  
    buf.append("<tr>");
5  
    for (O cell : row)
6  
      buf.append(htd(cell)).append("\n");
7  
    buf.append("</tr>\n");
8  
  }
9  
  ret htag("table", buf, params);
10  
}

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: 517 / 524
Referenced in: [show references]