Package org.apache.tiles.definition

Examples of org.apache.tiles.definition.Definition


        // TODO Factories our factory implementations will be context agnostic,
        //  however, this may cause errors for other implementations.
        //  we should probably make all factories agnostic and allow the manager to
        //  utilize the correct factory based on the context.
        Definition parent = getDefinition(definition.getExtends(), request);


        if (parent == null) { // error
            String msg = "Error while resolving definition inheritance: child '"
                + definition.getName()
View Full Code Here


     */
    protected void register(TileDefinition definition,
            TilesRequestContext request) throws DefinitionsFactoryException {
        DefinitionManager mgr = getProperDefinitionManager(
                getDefinitionsFactoryKey(request));
        Definition def = new Definition(definition);
        mgr.addDefinition(def, request);
    }
View Full Code Here

     * @throws DefinitionsFactoryException If something goes wrong during adding
     * a definition, such as missing parent definitions.
     */
    protected void register(TileDefinition definition,
            TilesRequestContext request) throws DefinitionsFactoryException {
        Definition def = new Definition(definition);
        mgr.addDefinition(def, request);
    }
View Full Code Here

TOP

Related Classes of org.apache.tiles.definition.Definition

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.