webscript getting invoked only after refreshing the page

cancel
Showing results for 
Search instead for 
Did you mean: 
riadhazzouz
Active Member

webscript getting invoked only after refreshing the page

I wrote a webscript, and it only get invoked when I refresh the page.
Is there a solution to make an auto refresh ?

3 Replies
krutik_jayswal
Senior Member II

Re: webscript getting invoked only after refreshing the page

Can you add more details in it, why you would like to call the webscript, what kind of webscript it is.If you would like to refresh the result after every minute or some thing like that in that case you can make the ajax call as well.Add information relate to page as well, in what page you want to make the auto refresh. 

riadhazzouz
Active Member

Re: webscript getting invoked only after refreshing the page

I added a dropdown list to the header, and each time I delete a file the webscript return some message, and that message is being added to that dropdown. But the message is not being displayed unless I refresh the page.
(I used actions and behaviours too).
Thanks.

krutik_jayswal
Senior Member II

Re: webscript getting invoked only after refreshing the page

you need to add lot more than this.add code ,file name, as a third person i don't know any thing what you have customized in alfresco.