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)

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

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: 512 / 535
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)