Package org.apache.cocoon.portal.event.impl

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


                    ContentHandler handler)
  throws SAXException {
       
        MaximizableLayoutStatus maximizable = (MaximizableLayoutStatus) this.getStatus(MaximizableLayoutStatus.class, ProfileManager.SESSION_STATUS, layout.getId());
        if ( maximizable != null ) {
            MaximizeEvent event = new MaximizeEvent(layout);
            XMLUtils.createElement(handler, "maxpage-uri", service.getLinkService().getLinkURI(event));

        }

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


    /* (non-Javadoc)
     * @see org.apache.cocoon.portal.event.Subscriber#inform(org.apache.cocoon.portal.event.Event)
     */
    public void inform(final Event e) {
        final MaximizeEvent event = (MaximizeEvent)e;
        // now we have to search the first parent that has static childs
        boolean found = false;
        Layout layout = event.getLayout();
        while (!found) {
            if ( layout.getParent() != null) {
                CompositeLayout parent = (CompositeLayout)layout.getParent().getLayout();
                Iterator iter = parent.getItems().iterator();
                while ( iter.hasNext() && !found) {
View Full Code Here

TOP

Related Classes of org.apache.cocoon.portal.event.impl.MaximizeEvent

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.