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

13
LINES

< > BotCompany Repo | #1001959 // callHtmlMethod

JavaX fragment (include)

// o can be a class, then we search for a static method called "html".
static S callHtmlMethod(Object o, S uri) {
  ret callHtmlMethod(o, uri, null);
}

static S callHtmlMethod(Object o, S uri, Map<S, S> params) {
  S s = (S) callOpt(o, "html", uri, params);
  if (s == null)
    s = (S) callOpt(o, "html", uri);
  if (s == null)
    s = (S) callOpt(o, "html");
  ret s;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1001959
Snippet name: callHtmlMethod
Eternal ID of this version: #1001959/1
Text MD5: b4dca0af9328e02fd15d4d61d997714b
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-12-13 21:26:45
Source code size: 386 bytes / 13 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 608 / 1335
Referenced in: [show references]