diff options
author | Rainer Niedermayr | 2015-04-24 09:21:26 +0000 |
---|---|---|
committer | Judith Gull | 2015-04-24 10:13:41 +0000 |
commit | 019cdf69779fa3a5ce722a1337f78545da879d11 (patch) | |
tree | 67bbefe5f6bed3eefa016c94a998dc03f3ce1b39 | |
parent | 0f9c18f991fa215b4d948c0ed0d4c4d5c598283e (diff) | |
download | org.eclipse.scout.rt-019cdf69779fa3a5ce722a1337f78545da879d11.tar.gz org.eclipse.scout.rt-019cdf69779fa3a5ce722a1337f78545da879d11.tar.xz org.eclipse.scout.rt-019cdf69779fa3a5ce722a1337f78545da879d11.zip |
Bug 463277 - Convenience for building HTML with encoded text binds
https://bugs.eclipse.org/bugs/show_bug.cgi?id=463277
HTML.fragments with list
Change-Id: Ic1ed76f00953af0a5ead70036bbd75f36b880956
Signed-off-by: Rainer Niedermayr <rainer.niedermayr@bsiag.com>
Reviewed-on: https://git.eclipse.org/r/46399
Tested-by: Hudson CI
Reviewed-by: Judith Gull <jgu@bsiag.com>
-rw-r--r-- | org.eclipse.scout.commons/src/main/java/org/eclipse/scout/commons/html/HTML.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/org.eclipse.scout.commons/src/main/java/org/eclipse/scout/commons/html/HTML.java b/org.eclipse.scout.commons/src/main/java/org/eclipse/scout/commons/html/HTML.java index 859336fbe2..0c779c786b 100644 --- a/org.eclipse.scout.commons/src/main/java/org/eclipse/scout/commons/html/HTML.java +++ b/org.eclipse.scout.commons/src/main/java/org/eclipse/scout/commons/html/HTML.java @@ -424,6 +424,13 @@ public final class HTML { } /** + * Creates HTML content from multiple elements. e.g. <b>Bold Text</b> Text <b> More bold text </b> + */ + public static IHtmlContent fragment(List<? extends CharSequence> elements) { + return new HtmlContentBuilder(elements); + } + + /** * Creates HTML content with <style type="text/css"> cssStype <style> */ public static IHtmlElement cssStyle(CharSequence... cssContent) { |