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   

Travelled to 11 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, sawdedvomwva, tslmcundralx, tvejysmllsmz

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

Formerly at http://tinybrain.de/1006401 & http://1006401.tinybrain.de