Search in sources :

Example 6 with EmbeddedComponentModel

use of org.apache.tapestry5.model.EmbeddedComponentModel in project tapestry-5 by apache.

the class BindParameterWorker method getPublishedParameters.

private List<String> getPublishedParameters(ComponentModel model) {
    List<String> publishedParameters = CollectionFactory.newList();
    for (String embeddedComponentId : model.getEmbeddedComponentIds()) {
        EmbeddedComponentModel embeddedComponentModel = model.getEmbeddedComponentModel(embeddedComponentId);
        publishedParameters.addAll(embeddedComponentModel.getPublishedParameters());
    }
    return publishedParameters;
}
Also used : EmbeddedComponentModel(org.apache.tapestry5.model.EmbeddedComponentModel)

Aggregations

EmbeddedComponentModel (org.apache.tapestry5.model.EmbeddedComponentModel)3 MutableComponentModel (org.apache.tapestry5.model.MutableComponentModel)3 Location (org.apache.tapestry5.commons.Location)2 Resource (org.apache.tapestry5.commons.Resource)2 TapestryException (org.apache.tapestry5.commons.internal.util.TapestryException)2 MutableEmbeddedComponentModel (org.apache.tapestry5.model.MutableEmbeddedComponentModel)2 Logger (org.slf4j.Logger)2 Test (org.testng.annotations.Test)2 InternalComponentResources (org.apache.tapestry5.internal.InternalComponentResources)1 ComponentModel (org.apache.tapestry5.model.ComponentModel)1