Package at.reppeitsolutions.formbuilder.components.html

Examples of at.reppeitsolutions.formbuilder.components.html.HtmlListItem


                HtmlDiv icons = new HtmlDiv();
                icons.setClassString("icons");

                addInfoIcon(comp, icons, writer);

                HtmlListItem li = new HtmlListItem();
                li.getChildren().add(icons);
                li.setClassString("ui-state-default box-runde-ecken");
                li.setStyle("width:" + comp.getHtmlfbitem().getWidth() + ";");
                li.getChildren().add(comp.getHtmlfbitem());
                li.setTransient(true);
                li.setStyle("position: relative;width:" + comp.getHtmlfbitem().getWidth() + ";");
                formFiller.getFormContent().getChildren().add(li);
            }
        } else {
            HtmlOutputText output = new HtmlOutputText();
            output.setValue("ERROR: Model of form builder is null.");
View Full Code Here


    public static void encasulateForJQuery(UIComponent target, List<HtmlFormBuilderItem> components) {
        for (HtmlFormBuilderItem comp : components) {
            comp.render();
            comp.setTransient(true);
            HtmlListItem li = new HtmlListItem();
            li.setClassString("ui-state-default box-runde-ecken");
            li.getChildren().add(comp);
            li.setStyle("width: " + comp.getWidth() + ";");
            target.getChildren().add(li);
        }
    }
View Full Code Here

                    addPlaceholder(formBuilder);
                }
            }

            for (FormBuilderContainer comp : components) {
                HtmlListItem li = new HtmlListItem();
                HtmlDiv icons = new HtmlDiv();
                icons.setClassString("icons");

                addSettingsIcon(comp, icons);
                addDeleteIcon(comp, icons);
                FormFillerInternalRenderer.addInfoIcon(comp, icons, writer);

                li.getChildren().add(icons);
                li.setClassString("ui-state-default box-runde-ecken");
                li.setStyle("width:" + comp.getHtmlfbitem().getWidth() + ";");
                li.getChildren().add(comp.getHtmlfbitem());
                li.setTransient(true);
                formBuilder.getFormContent().getChildren().add(li);
            }
        } else {
            formBuilder.getChildren().clear();
            HtmlOutputText output = new HtmlOutputText();
View Full Code Here

    private void addPlaceholder(FormBuilderInternal formBuilder) {
        HtmlOutputText placeholderText = new HtmlOutputText();
        placeholderText.setValue(Messages.getStringJSF("emptyform.info"));

        HtmlListItem placeholder = new HtmlListItem();
        placeholder.setClassString("placeholder");
        placeholder.getChildren().add(placeholderText);
        placeholder.setTransient(true);
        placeholder.setStyle("border: 0px solid black;font-size: 10pt;");

        formBuilder.getFormContent().getChildren().add(placeholder);
    }
View Full Code Here

TOP

Related Classes of at.reppeitsolutions.formbuilder.components.html.HtmlListItem

Copyright © 2018 www.massapicom. 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.