Package pt.ist.fenixWebFramework.renderers.components

Examples of pt.ist.fenixWebFramework.renderers.components.HtmlTextInput


                MetaSlot slot = (MetaSlot) getContext().getMetaObject();

                HtmlBlockContainer container = new HtmlBlockContainer();

                String tags = (String) object;
                HtmlTextInput input = new HtmlTextInput();
                if (getSize() != null) {
                    input.setSize(getSize());
                }
                input.setValue(tags);
                input.bind(slot);
                input.setId(input.getName());

                TagCloudRenderer tagCloud = new TagCloudRenderer();
                tagCloud.setClasses(getTagClasses());
                tagCloud.setSortBy(getTagSort());
                tagCloud.setLinkFormat("#");
                tagCloud.setOnClick(getAction(input.getName()));
                tagCloud.setOnDblClick(getAction(input.getName()));
                Collection<UnitFileTag> tagList = getTags();

                PresentationContext newContext = getContext().createSubContext(getContext().getMetaObject());
                newContext.setProperties(new Properties());
                newContext.setRenderMode(RenderMode.OUTPUT);
View Full Code Here


                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

Related Classes of pt.ist.fenixWebFramework.renderers.components.HtmlTextInput

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.