Examples of FullScreenCopletEvent


Examples of org.apache.cocoon.portal.event.impl.FullScreenCopletEvent

        final Layout fullScreenLayout = service.getComponentManager().getProfileManager().getEntryLayout();
        if ( fullScreenLayout != null && fullScreenLayout.equals( layout )) {
            XMLUtils.createElement(handler, "fullscreen-uri", service.getComponentManager().getLinkService().getRefreshLinkURI());
        } else {
            FullScreenCopletEvent event = new FullScreenCopletEvent( cid, layout );
            XMLUtils.createElement(handler, "fullscreen-uri", service.getComponentManager().getLinkService().getLinkURI(event));
        }

        context.invokeNext(layout, service, handler);
  }
View Full Code Here

Examples of org.apache.cocoon.portal.event.impl.FullScreenCopletEvent

            for(int i=0; i<values.length; i++) {
                final String current = values[i];
                Event e = context.getEventConverter().decode(current);
                if ( null != e ) {
                    publisher.publish(e);
                    FullScreenCopletEvent fsce = (FullScreenCopletEvent)e;
                    if ( fsce.getLayout() != null) {
                        service.getComponentManager().getLinkService().addEventToLink( e );
                    }
                }
            }
        }
View Full Code Here

Examples of org.apache.cocoon.portal.event.impl.FullScreenCopletEvent

    /* (non-Javadoc)
     * @see org.apache.cocoon.portal.event.Subscriber#inform(org.apache.cocoon.portal.event.Event)
     */
    public void inform(Event event) {
        FullScreenCopletEvent e = (FullScreenCopletEvent) event;
        final Layout startingLayout = e.getLayout();
        if ( null != startingLayout ) {
            PortalService portalService = null;
            try {
                portalService = (PortalService) this.manager.lookup(PortalService.ROLE);
                portalService.getComponentManager().getProfileManager().setEntryLayout( startingLayout );
View Full Code Here

Examples of org.apache.cocoon.portal.event.impl.FullScreenCopletEvent

        final Layout fullScreenLayout = (Layout)service.getComponentManager().getProfileManager().getEntryLayout();
        if ( fullScreenLayout != null && fullScreenLayout.equals( layout )) {
            XMLUtils.createElement(handler, "fullscreen-uri", service.getComponentManager().getLinkService().getRefreshLinkURI());
        } else {
            FullScreenCopletEvent event = new FullScreenCopletEvent( cid, layout );
            XMLUtils.createElement(handler, "fullscreen-uri", service.getComponentManager().getLinkService().getLinkURI(event));
        }

        context.invokeNext(layout, service, handler);
  }
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.