Package org.jitterbit.util.html

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


            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();
        }
    }

    @Override
    public void doLayout() {
View Full Code Here


                "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: "));
            html.append("Changes in this preference will not take effect in pages that are alredy open.");
            html.append("</table></html>");
            return TextStyles.InfoText.makeLabel(html.toString());
        }
View Full Code Here

            "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>");
        list = HtmlListGenerator.unordered();
        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, " +
View Full Code Here

        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>");
        html.append("By setting both these parameters to 0, no backups will be created.");
        html.append("<br><br>");
        html.append(HtmlStyleTag.BOLD.escapeAndWrap("NOTE: "));
        html.append("These parameters control the policy of the local backups that are stored on the client. " +
            "Each Jitterbit server has its own backup policy (in the current version controlled by " +
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.