Hi,

You could make use of a property to hide/show the content of the zone:

Page.class
---------

@Inject
private AjaxResponseRenderer ajaxResponseRenderer;

@InjectComponent
private Zone someZone;

@Property
private boolean show;

void onSomeEvent() {
    show = true;
    ajaxResponseRenderer.addRender(someZone);
}

Page.tml
-------

<t:zone t:id="someZone">
    <t:if t:test="show">
           Hi
    </t:if>
</t:zone>



On 06/08/14 12:32, Muhammad Gelbana wrote:
> Why is Zone's *visible* parameter deprecated ?
>
> Is there another Tapestry way to initially hide a zone ?
> *---------------------*
> *Muhammad Gelbana*
> http://www.linkedin.com/in/mgelbana
>


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

Reply via email to