Examples of MetaSlotKey


Examples of pt.ist.fenixWebFramework.renderers.model.MetaSlotKey

            @Override
            public HtmlComponent createComponent(Object object, Class type) {

                addValidator();

                final MetaSlotKey key = (MetaSlotKey) getInputContext().getMetaObject().getKey();
                final HtmlBlockContainer container = new HtmlBlockContainer();

                final HtmlImage image = new HtmlImage();
                image.setSource(getContext().getViewState().getRequest().getContextPath() + getJcaptchaUrl());
                image.setStyle(getImageStyle());
                container.addChild(image);

                final HtmlText text = new HtmlText(getResourceMessage("fenix.renderers.captcha.process"));
                text.setFace(Face.PARAGRAPH);
                text.setClasses(getTextStyle());
                container.addChild(text);

                final HtmlTextInput input = new HtmlTextInput();
                input.setName(key.toString() + "_response");
                input.setTargetSlot(key);
                container.addChild(input);

                return container;
            }
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.