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

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


    /* (non-Javadoc)
     * @see org.apache.cocoon.portal.event.Subscriber#inform(org.apache.cocoon.portal.event.Event)
     */
    public void inform(Event e) {
        final LayoutAspectDataEvent event = (LayoutAspectDataEvent)e;
        final Layout layout = event.getTarget();
        layout.setAspectData(event.getAspectName(), event.getData());
    }
View Full Code Here


                    attributes.clear();
                    attributes.addCDATAAttribute("name", String.valueOf(tab.getName()));
                    if (j == selected) {
                        attributes.addCDATAAttribute("selected", "true");
                    } else {
                        LayoutAspectDataEvent event = new LayoutAspectDataEvent(tabLayout, "tab", new Integer(j));
                        attributes.addCDATAAttribute("parameter", portalService.getLinkService().getLinkURI(event));
                    }
                    XMLUtils.startElement(handler, "named-item", attributes);
                    if (j == selected) {
                        this.processLayout(tab.getLayout(), service, handler);
View Full Code Here

TOP

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

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.