You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Yubraj Ghimire <ea...@gmail.com> on 2014/08/18 20:18:55 UTC

Ajax Zone Overlay - Selective Links

Hello,

I have followed the example code at tapestry jumpstart for the
zone-overlay example (Tapestry 5.4, RequireJS ). I have some zones with
hidden event links in my page which require this zone-overlay and some
zones which do not require it.Also since t:progressive display is also
treated as zone, a zone overlay is getting added to it.  All these zones
are using eventlinks (not the progressive display). How can I make this
zone-overlay available only for the eventlinks which I want and not for all
Zones.

Thanks in advance ,

Y.G.

Re: Ajax Zone Overlay - Selective Links

Posted by Lance Java <la...@googlemail.com>.
Why not add a html class or a data- attribute to the zones which need
overlays. You can then test for the flag then test for the flag before
showing / hiding the overlay?