Examples of XFFormFieldAttributes


Examples of com.volantis.mcs.protocols.XFFormFieldAttributes

                FieldAttributes fieldAttributes = (FieldAttributes) fieldsIterator.next();

                // Get attributes of refered input element.
                String inputId = fieldAttributes.getRef();

                XFFormFieldAttributes formFieldAttributes = actualProtocol.getFormFieldAttributes(inputId);

                // If no attributes were found, it means that the refered text
                // input field
                // does not exist. In that case, don't render it.
                if (formFieldAttributes != null) {
                    // Render comma, if this is not the first rendered field.
                    if (!firstField) {
                        scriptWriter.write(", ");
                    }

                    // Get styles of the input element.
                    stylesExtractor.setStyles(formFieldAttributes.getStyles());

                    stylesExtractor.setPseudoClass(null);

                    // Render field name, which equals to ID of the input
                    // element.
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.