Package at.reppeitsolutions.formbuilder.components.helper

Examples of at.reppeitsolutions.formbuilder.components.helper.FormDataStringResult


    @Override
    public void encodeBegin(FacesContext ctx, UIComponent component) throws IOException {
        ResponseWriter writer = ctx.getResponseWriter();
        FormDataResultString stringFormDatasResultComponent = (FormDataResultString) component;
        FormDataStringResult stringFormDataResult = stringFormDatasResultComponent.getStringFormDataResult();
        if (stringFormDataResult != null && stringFormDataResult.getStringFormDataResults() != null && !stringFormDataResult.getStringFormDataResults().isEmpty()) {
            writer.write("<p>");
            writer.write("<ul>");
            for (String value : stringFormDataResult.getStringFormDataResults()) {
                writer.write("<li>" + value + "</li>");
            }
            writer.write("</ul>");
            writer.write("</p>");
        }
View Full Code Here

TOP

Related Classes of at.reppeitsolutions.formbuilder.components.helper.FormDataStringResult

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.