Package org.apache.wicket

Examples of org.apache.wicket.Component.send()


            IRequestParameters parameters = request.getRequestParameters();
            Component component = getComponent();

            try {
                JsonNode jsonNode = Json.parse(parameters.getParameterValue("datum").toString());
                component.send(component.getPage(), Broadcast.BREADTH, new TypeaheadEvent(type, jsonNode));
            } catch (IllegalStateException ise) {
                LOG.warn("Unable to get page for sending typeahead event");
            } catch (Json.ParseException pe) {
                LOG.warn("Unable to parse selected typeahead datum");
            }
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.