Package org.apache.tiles.mgmt

Examples of org.apache.tiles.mgmt.TileDefinition


     *
     *
     * @return
     */
    public int doEndTag() throws JspException {
        TileDefinition d = new TileDefinition();
        d.setName(name);
        d.setTemplate(template);
        d.setExtends(extend);
        d.setRole(role);
        d.setPreparer(preparer);
        d.getAttributes().putAll(attributes);
       
        try {
            container.register(d);
        } catch (TilesException e) {
            throw new JspException("Unable to add definition. " ,e);
View Full Code Here


        return EVAL_BODY_INCLUDE;
    }

    /** {@inheritDoc} */
    public int doEndTag() throws JspException {
        TileDefinition d = new TileDefinition();
        d.setName(name);
        d.setTemplate(template);
        d.setExtends(extend);
        d.setRole(role);
        d.setPreparer(preparer);
        d.getAttributes().putAll(attributes);
       
        try {
            container.register(d, pageContext);
        } catch (TilesException e) {
            throw new JspException("Unable to add definition. " ,e);
View Full Code Here

TOP

Related Classes of org.apache.tiles.mgmt.TileDefinition

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.