function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ethan huntethan hunt 

Show result after 10 sec.

Hi,

 

Is ther any way to show result in a inputbox after 10 sec..Is there any time bound we can give.

 

 

Regards

Sidhartha

Sure@DreamSure@Dream

tried using actionpoller??

SachinSankadSachinSankad

Hi Siddhartha,

 

You can try using actionStatus tag to display loading/processing image.

 

Similarly, you can try using actionPoller tag which i never used. If it works, let me know also.

 

Thanks,
Sachin.

Maros SitkoMaros Sitko
You can write javascript , which call actionFunction . actionFunction will call function from controller to fill variable in inputbox + rerender inputbox.
in your javascript use setTimeout(call_of_action_function(),10000);

I recommend this solution, because actionpoller is calling your method in intervals (so for example every 10 seconds)