How about making onActionFromALink() return a zone that contains a 
ProgressiveDisplay, and have the ProgressiveDisplay do "do something"?

        
http://jumpstart.doublenegative.com.au/jumpstart7/examples/ajax/progressivedisplay

Cheers,

Geoff

On 4 Sep 2014, at 10:56 am, Chung Khanh Duy <chungkhanhduy1...@gmail.com> wrote:

> Thanks for your answers. Does any one have example for that ? I went
> through all samples in jumpstart site but it looks like does not have any
> sample that I am looking for.
> 
> Thanks.
> Duy
> 
> 
> On Wed, Sep 3, 2014 at 10:09 PM, Thiago H de Paula Figueiredo <
> thiag...@gmail.com> wrote:
> 
>> On Wed, 03 Sep 2014 08:51:29 -0300, Chung Khanh Duy <
>> chungkhanhduy1...@gmail.com> wrote:
>> 
>> Hi experts,
>>> 
>> 
>> Hi!
>> 
>> 
>> So now I would like to do something in another thread and after this
>>> thread completed, I will render resultZone. Is that possible ?
>>> 
>> 
>> Yes and no. Yes if you don't mind the AJAX request being blocked until the
>> other thread finishes, no otherwise. That would need async support,
>> something Tapestry doesn't have yet and only the latest servlet containers
>> support.
>> 
>> 
>> Because I would
>>> like to increase performance in case "do something" consume a lot of time.
>>> 
>> 
>> The general rule for performance in any kind of program is to not optimize
>> something anything unless you're already sure this something is actually a
>> bottleneck. Otherwise, you risk complicating and breaking a piece of code
>> for no gain.
>> 
>> --
>> Thiago H. de Paula Figueiredo
>> Tapestry, Java and Hibernate consultant and developer
>> http://machina.com.br
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>> 
>> 
> 
> 
> -- 
> Chung Khánh Duy
> Project Support Manager
> Formos


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

Reply via email to