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

11
LINES

< > BotCompany Repo | #1006401 // htableRaw2 - simple HTML table with params for tr and td

JavaX fragment (include)

1  
// params arrays can also be null
2  
static S htableRaw2(L<? extends L> data, L paramsTable, L paramsTR, L paramsTD) {
3  
  new StringBuilder buf;
4  
  for (L row : data) {
5  
    buf.append(hopeningTag("tr", toObjectArray(paramsTR));
6  
    for (O cell : row)
7  
      buf.append(htd(cell, toObjectArray(paramsTD))).append("\n");
8  
    buf.append("</tr>\n");
9  
  }
10  
  ret htag("table", buf, toObjectArray(paramsTable));
11  
}

Author comment

Began life as a copy of #1005274

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1006401
Snippet name: htableRaw2 - simple HTML table with params for tr and td
Eternal ID of this version: #1006401/1
Text MD5: c5df65527b26e676bf8390e0cf1ea2d9
Author: stefan
Category: javax html
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-30 01:18:19
Source code size: 409 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 511 / 535
Referenced in: [show references]