Package org.jitterbit.util.html

Examples of org.jitterbit.util.html.HtmlListGenerator.newItem()


        } else {
            StringBuilder s = new StringBuilder("<html>");
            s.append("<b>Validation Problems:</b><br>");
            HtmlListGenerator list = HtmlListGenerator.unordered();
            for (ValidationMessage m : v.allMessages()) {
                list.newItem().escapeAndAdd(m.message());
            }
            return s.append(list.toHtml()).append("</html>").toString();
        }
    }
View Full Code Here


            HtmlListGenerator list = HtmlListGenerator.unordered();
            list.add("<code>" + AutoCompletionMode.AUTOMATIC.toString() + "</code>: ", HtmlStyleTag.BOLD);
            list.add("When typing in a field, a list of matching values is automatically displayed " +
                "under the field. You can navigate through the list using the arrow keys on your keyboard. " +
                "Use <code>Enter</code> or <code>Tab</code> to select a value from the list.");
            list.newItem();
            list.add("<code>" + AutoCompletionMode.CODE_EDITOR.toString() + "</code>: ", HtmlStyleTag.BOLD);
            list.add("Auto-completion is triggered by hitting <code>CTRL-SPACE</code> in the field (same as in " +
                "the Formula Builder).");
            html.append(list.toHtml());
            html.append(HtmlStyleTag.BOLD.wrap("Note: "));
View Full Code Here

        HtmlListGenerator list = HtmlListGenerator.unordered();
        list.escapeAndAdd("Reference backups: ", HtmlStyleTag.BOLD);
        list.escapeAndAdd("These backups are considered to be permanent; a permanent backup will never be " +
            "deleted by the system. They provide snapshots of the project at a regular time interval, " +
            "e.g. once a week.");
        list.newItem();
        list.escapeAndAdd("Intermediate backups: ", HtmlStyleTag.BOLD);
        list.escapeAndAdd("These backups are considered to be transient; they provide snapshots of the ongoing " +
            "work on a project, typically within a single client session.");
        html.append(list.toHtml()).append("<br>");
        html.append("The backup policy is defined by two parameters:<br><br>");
View Full Code Here

        list.escapeAndAdd("Reference frequency (in days): ", HtmlStyleTag.BOLD);
        list.escapeAndAdd("When a new backup is made, the system checks how long time ago the last reference backup " +
            "was made. If the last reference backup is older than the number of days defined by this property, " +
            "the new backup is flagged as a reference backup. Otherwise the new backup is flagged as an " +
            "intermediate backup. If this value is <= 0, all backups will be regarded as intermediate.");
        list.newItem();
        list.escapeAndAdd("Max number of intermediate backups: ", HtmlStyleTag.BOLD);
        list.escapeAndAdd("This property defines the maximum number of intermediate (non-reference) backups to keep on " +
            "the client. Once this limit is exceeded, the oldest intermediate backups will be deleted. If this " +
            "value is <= 0, no intermediate backups will be made.");
        html.append(list.toHtml()).append("<br>");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.