Package org.apache.tapestry.spec

Examples of org.apache.tapestry.spec.IComponentSpecification.addParameter()


        ps.setAliases(aliases);
        ps.setDeprecated(getBooleanAttribute("deprecated", false));

        IComponentSpecification cs = (IComponentSpecification) peekObject();

        cs.addParameter(ps);

        push(_elementName, ps, STATE_ALLOW_DESCRIPTION);
    }

    private void enterPrivateAsset30()
View Full Code Here


        if (type != null)
            ps.setType(type);

        IComponentSpecification cs = (IComponentSpecification) peekObject();

        cs.addParameter(name, ps);

        push(_elementName, ps, STATE_ALLOW_DESCRIPTION);
    }

    private void enterPrivateAsset_3_0()
View Full Code Here

        IParameterSpecification ps = new ParameterSpecification();

        ps.setAliases("wilma,barney");
        ps.setParameterName("bambam");

        s.addParameter(ps);

        expected.add("wilma");
        expected.add("barney");
        expected.add("bambam");
View Full Code Here

        if (type != null)
            ps.setType(type);

        IComponentSpecification cs = (IComponentSpecification) peekObject();

        cs.addParameter(name, ps);

        push(_elementName, ps, STATE_ALLOW_DESCRIPTION);
    }

    private void enterPrivateAsset_3_0()
View Full Code Here

            parameter.setType("java.lang.String");
            parameter.setDefaultValue("null");
            parameter.setLocation(specification.getLocation());
            parameter.setRequired(false);
           
            specification.addParameter(ITemplateSource.TEMPLATE_TAG_PARAMETER_NAME, parameter);
        }
    }
}
View Full Code Here

        ContainedComponent contained = new ContainedComponent();
        contained.setBinding("barney", bspec);
        contained.setType("FredComponent");

        IComponentSpecification spec = new ComponentSpecification();
        spec.addParameter(pspec);

        component.getSpecification();
        componentc.setReturnValue(spec);

        Log log = (Log) newMock(Log.class);
View Full Code Here

        ContainedComponent contained = new ContainedComponent();
        contained.setBinding("fred", bspec);
        contained.setType("FredComponent");

        IComponentSpecification spec = new ComponentSpecification();
        spec.addParameter(pspec);

        component.getSpecification();
        componentc.setReturnValue(spec);

        Log log = (Log) newMock(Log.class);
View Full Code Here

        ps.setAliases(aliases);
        ps.setDeprecated(getBooleanAttribute("deprecated", false));

        IComponentSpecification cs = (IComponentSpecification) peekObject();

        cs.addParameter(ps);

        push(_elementName, ps, STATE_ALLOW_DESCRIPTION);
    }

    private void enterPrivateAsset_3_0()
View Full Code Here

        __CLOVER_225_0.S[11486]++;if ((((type != null) && (++__CLOVER_225_0.CT[1970] != 0)) || (++__CLOVER_225_0.CF[1970] == 0))){
            __CLOVER_225_0.S[11487]++;ps.setType(type);}

        __CLOVER_225_0.S[11488]++;IComponentSpecification cs = (IComponentSpecification) peekObject();

        __CLOVER_225_0.S[11489]++;cs.addParameter(name, ps);

        __CLOVER_225_0.S[11490]++;push(_elementName, ps, STATE_ALLOW_DESCRIPTION);
    } finally { }}

    private void enterPrivateAsset()
View Full Code Here

        __CLOVER_225_0.S[5413]++;if ((((type != null) && (++__CLOVER_225_0.CT[950] != 0)) || (++__CLOVER_225_0.CF[950] == 0))){
            __CLOVER_225_0.S[5414]++;ps.setType(type);}

        __CLOVER_225_0.S[5415]++;IComponentSpecification cs = (IComponentSpecification) peekObject();

        __CLOVER_225_0.S[5416]++;cs.addParameter(name, ps);

        __CLOVER_225_0.S[5417]++;push(_elementName, ps, STATE_ALLOW_DESCRIPTION);
    } finally { }}

    private void enterPrivateAsset()
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.