edward pedersson wrote:
> Thank you very much. I will try that. Thanks again.
If you get it working, consider contributing an example to add
in our demo pages
http://opencomponentry.com:8080/tacos/app
>
> On 06/09/06, andyhot <[EMAIL PROTECTED]> wrote:
>>
>> edward pedersson wrote:
>> > I am guessing the only way to do this would be to somehow have
>> > tacos.defaultLinkAction call a delegate method to do anything
>> before it
>> > kicks in and then have the bind function do something after it is
>> > done. That
>> > would capture every ajax direct link and encapsulate the code.
>>
>> Actually, It's the other way around...
>> Simply redefine tacos.defaultLinkAction and make it execute your code
>> and then call
>> the original defaultLinkAction ( + do the same thing for
>> tacos.responseComplete )
>>
>> Of course, the dojo way is simply:
>>
>> function preDefaultLinkAction(kwArgs){
>> ...
>> }
>>
>> dojo.event.connect(tacos, " defaultLinkAction", "preDefaultLinkAction");
>>
>> See http://dojotoolkit.org/docs/dojo_event_system.html
>>
>> Finally, if you're digging inside tacos.js, take a look at the
>> tacos.requestsInFlight variable and the
>> tacos.isServingRequests() method
>>
>> They were added to assist selenium tests, but they might be useful.
>>
>> >
>> >
>> > On 06/09/06, andyhot <[EMAIL PROTECTED]> wrote:
>> >>
>> >> edward pedersson wrote:
>> >> > Hi
>> >> >
>> >> > I am interested in this as well. As i am new to Tacos how do I trap
>> >> the
>> >> > start and end events of the cycle. I have seen the update
>> >> components and
>> >> > effects parameters on the AJAXDirectlink but there does not seem to
>> be
>> >> > any
>> >> > where to add custom javascript. Ideally I would like to have
>> this div
>> >> > shown
>> >> > and hidden with every invocation of an ajax link. Do I need to
>> update
>> >> the
>> >> > tacos JavaScript files or some of the tacos java code?
>> >> no... i'll show an example
>> >>
>> >> Test.html
>> >>
>> >> <div id="mask" style="display:none" jwcid="[EMAIL PROTECTED]"></div>
>> >> ...
>> >>
>> >> <a jwcid="@tacos:AjaxDirectLink" updateComponents="ognl:{'mask'}"
>> >> preEffects="{fadein:{mask:'500'}}"
>> >> effects="{fadeout:{mask:'500'}}">blah</a>
>> >>
>> >> See the docs for more examples + parameters
>> >> >
>> >> > Many thanks for you help.
>> >> >
>> >> >
>> >> > On 06/09/06, andyhot <[EMAIL PROTECTED]> wrote:
>> >> >>
>> >> >> Cypher ! wrote:
>> >> >> > Hi
>> >> >> >
>> >> >> > Is it possible to have some sort of Flickr type mask over the
>> page
>> >> >> when
>> >> >> an
>> >> >> > ajax request is being handled. I would ideally like to have
>> it so
>> >> >> when a
>> >> >> > user clicks on an AJAXDirectLink, like expanding a tree node
>> say,
>> >> >> then a
>> >> >> > layer with some opacity would cover the entire page and have
>> come
>> >> text
>> >> >> or
>> >> >> > graphic depicting progress and when the response was
>> returned, the
>> >> >> > mask/layer would disappear.
>> >> >> >
>> >> >> > Is this possible in tacos at the moment?
>> >> >> >
>> >> >> You'll generally need to add a hidden div in your page (styled
>> >> however
>> >> >> you like)
>> >> >> and then show it when the request starts and hide it again when
>> the
>> >> >> response arrives.
>> >> >>
>> >> >> Then, either use custom effects -
>> >> >> http://tacos.sourceforge.net/userguide/CustomEffects.html
>> >> >> or use fadeshow (as preEffect) and fadehide (as effect)
>> >> >> http://tacos.sourceforge.net/userguide/EffectsPopups.html
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >> > Thanks
>> >> >> >
>> >> >> >
>> _________________________________________________________________
>> >> >> > Download the new Windows Live Toolbar, including Desktop search!
>> >> >> > http://toolbar.live.com/?mkt=en-gb
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >>
>> >>
>> -------------------------------------------------------------------------
>>
>> >>
>> >> >>
>> >> >> > Using Tomcat but need to do more? Need to support web services,
>> >> >> security?
>> >> >> > Get stuff done quickly with pre-integrated technology to make
>> your
>> >> job
>> >> >> easier
>> >> >> > Download IBM WebSphere Application Server v.1.0.1 based on
>> Apache
>> >> >> Geronimo
>> >> >> >
>> >> >>
>> >>
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> >> >> > _______________________________________________
>> >> >> > Tacos-devel mailing list
>> >> >> > [email protected]
>> >> >> > https://lists.sourceforge.net/lists/listinfo/tacos-devel
>> >> >> >
>> >> >> >
>> >> >>
>> >> >>
>> >> >> --
>> >> >> Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
>> >> >> Tapestry / Tacos developer
>> >> >> Open Source / J2EE Consulting
>> >> >>
>> >> >>
>> >> >>
>> >>
>> -------------------------------------------------------------------------
>>
>> >>
>> >> >>
>> >> >> Using Tomcat but need to do more? Need to support web services,
>> >> >> security?
>> >> >> Get stuff done quickly with pre-integrated technology to make your
>> >> job
>> >> >> easier
>> >> >> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>> >> >> Geronimo
>> >> >>
>> >>
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> >> >> _______________________________________________
>> >> >> Tacos-devel mailing list
>> >> >> [email protected]
>> >> >> https://lists.sourceforge.net/lists/listinfo/tacos-devel
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> >
>> >>
>> ------------------------------------------------------------------------
>> >> >
>> >> >
>> >>
>> -------------------------------------------------------------------------
>>
>> >>
>> >> > Using Tomcat but need to do more? Need to support web services,
>> >> security?
>> >> > Get stuff done quickly with pre-integrated technology to make your
>> job
>> >> easier
>> >> > Download IBM WebSphere Application Server v.1.0.1 based on Apache
>> >> Geronimo
>> >> >
>> >>
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> >> >
>> >>
>> ------------------------------------------------------------------------
>> >> >
>> >> > _______________________________________________
>> >> > Tacos-devel mailing list
>> >> > [email protected]
>> >> > https://lists.sourceforge.net/lists/listinfo/tacos-devel
>> >> >
>> >>
>> >>
>> >> --
>> >> Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
>> >> Tapestry / Tacos developer
>> >> Open Source / J2EE Consulting
>> >>
>> >>
>> >>
>> -------------------------------------------------------------------------
>>
>> >>
>> >> Using Tomcat but need to do more? Need to support web services,
>> >> security?
>> >> Get stuff done quickly with pre-integrated technology to make your
>> job
>> >> easier
>> >> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>> >> Geronimo
>> >>
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> >> _______________________________________________
>> >> Tacos-devel mailing list
>> >> [email protected]
>> >> https://lists.sourceforge.net/lists/listinfo/tacos-devel
>> >>
>> >
>> >
>> >
>> >
>> ------------------------------------------------------------------------
>> >
>> >
>> -------------------------------------------------------------------------
>>
>> > Using Tomcat but need to do more? Need to support web services,
>> security?
>> > Get stuff done quickly with pre-integrated technology to make your job
>> easier
>> > Download IBM WebSphere Application Server v.1.0.1 based on Apache
>> Geronimo
>> >
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> >
>> ------------------------------------------------------------------------
>> >
>> > _______________________________________________
>> > Tacos-devel mailing list
>> > [email protected]
>> > https://lists.sourceforge.net/lists/listinfo/tacos-devel
>> >
>>
>>
>> -- 
>> Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
>> Tapestry / Tacos developer
>> Open Source / J2EE Consulting
>>
>>
>> -------------------------------------------------------------------------
>>
>> Using Tomcat but need to do more? Need to support web services,
>> security?
>> Get stuff done quickly with pre-integrated technology to make your job
>> easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>> Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Tacos-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/tacos-devel
>>
>
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tacos-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tacos-devel
>   


-- 
Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / J2EE Consulting 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Tacos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tacos-devel

Reply via email to