Never meant to complain and definitely no intention to insult. If it's
perceived that way, my apologies.


In component search.dynamicAdvancedSearchForm (mentioned as
ABCAdvancedSearchForm previously) it's as
  @Parameter
    private boolean itemsFound;

In the containing component class AdvancedSearchComponent, also as
    @Parameter
    private boolean itemsFound;

In AdvancedSearch (container of AdvancedSearchComponent), it's 
    @Component(id="advancedSearchComponent", parameters={"state=state",
"itemsFound=itemsFound"})
    @SuppressWarnings("unused")
    private AdvancedSearchComponent advancedSearchComponent;

    public boolean isItemsFound() {
        return something boolean result;
    }
The AdvancedSearch.tml is (changed to resolve the original Block parameter
issue):
<t:layout xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"; >
        <t:parameter name="templateBody">
        <imgg src="  ....."      t:id="advancedSearchComponent"/>
        </t:parameter>
</t:layout>


Many Thanks,
Simon


--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Another-case-of-Block-parameters-are-only-allowed-directly-within-component-elements-tp4585262p4587972.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to