Package org.chiba.adapter

Examples of org.chiba.adapter.ChibaEvent


            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

     * @param id the id of the trigger to execute
     * @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);
    }
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);
    }
View Full Code Here

        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();
        event.initEvent("SETINDEX", id, position);
        return dispatch(event, sessionKey);
    }
View Full Code Here

TOP

Related Classes of org.chiba.adapter.ChibaEvent

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.