Package org.chiba.adapter

Examples of org.chiba.adapter.DefaultChibaEventImpl.initEvent()


            webAdapter = xFormsSession.getAdapter();
            if (webAdapter == null) {
                throw new ServletException(Config.getInstance().getErrorMessage("session-invalid"));
            }
            ChibaEvent chibaEvent = new DefaultChibaEventImpl();
            chibaEvent.initEvent("http-request", null, request);
            webAdapter.dispatch(chibaEvent);

            boolean isUpload = FileUpload.isMultipartContent(request);

            if (isUpload) {
View Full Code Here


            webAdapter = xFormsSession.getAdapter();
            if (webAdapter == null) {
                throw new ServletException(Config.getInstance().getErrorMessage("session-invalid"));
            }
            ChibaEvent chibaEvent = new DefaultChibaEventImpl();
            chibaEvent.initEvent("http-request", null, request);
            webAdapter.dispatch(chibaEvent);

            XMLEvent exitEvent = webAdapter.checkForExitEvent();

            if (exitEvent != null) {
View Full Code Here

     * @return the list of events that may result through this action
     * @throws FluxException
     */
    public org.w3c.dom.Element fireAction(String id, String sessionKey) throws FluxException {
        ChibaEvent chibaActivateEvent = new DefaultChibaEventImpl();
        chibaActivateEvent.initEvent(FLUX_ACTIVATE_EVENT, id, null);
        return dispatch(chibaActivateEvent, sessionKey);
    }

    /**
     * sets the value of a control in the processor.
View Full Code Here

    public org.w3c.dom.Element setXFormsValue(String id, String value, String sessionKey) throws FluxException {
        if (LOGGER.isDebugEnabled()) {
            LOGGER.debug("FluxFacade instance: " + this.toString());
        }
        ChibaEvent event = new DefaultChibaEventImpl();
        event.initEvent("SETVALUE", id, value);
        return dispatch(event, sessionKey);
    }

    public org.w3c.dom.Element setRepeatIndex(String id, String position, String sessionKey) throws FluxException {
        ChibaEvent event = new DefaultChibaEventImpl();
View Full Code Here

        return dispatch(event, sessionKey);
    }

    public org.w3c.dom.Element setRepeatIndex(String id, String position, String sessionKey) throws FluxException {
        ChibaEvent event = new DefaultChibaEventImpl();
        event.initEvent("SETINDEX", id, position);
        return dispatch(event, sessionKey);
    }

    /**
     * fetches the progress of a running upload.
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.