This was committed yesterday, check it out at https://svn.apache.org/repos/asf/tapestry/tapestry4/trunk/tapestry-framework/src/js/tapestry/fx.js
It'll be included in the next snapshot build, and will form the basis of supporting such effects (perhaps along with some new parameter in DirectLink and/or Form) But, till that happens, try playing directly with the javascript, i.e. dojo.require("tapestry.fx"); tapestry.fx.attachPreEffect("MyDirectLinkId", function(){return dojo.lfx.wipeOut("divIdToFade", 800, dojo.lfx.easeDefault) }); but make sure you read its docs :) Erik Johansson wrote: > Hi, > > When I submit/click a async request I want to do a fade on a div (the > one getting replaced by the async call). Anyone know how I can invoke > the fade effect (dojo.lfx.html.fadeOut) before the async. call is made? > > Im using a DirectLink to update the component 'toplist' like this > right now and I want the div 'fade' to fade out. > > <a href="#" jwcid="[EMAIL PROTECTED]" listener="listener:clickNext" > async="ognl:true" updateComponents="toplist" parameters="ognl:offset"> > <img src="images/btn_arrow_right_on.gif" /> > </a> > > <form jwcid="[EMAIL PROTECTED]"> > <div id="fade"> > <jwcid="@TopList" list="ognl:list"/> > </div> > </form> > > -erik > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr Tapestry / Tacos developer Open Source / J2EE Consulting --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]