Here is what I am doing.
I have a template view for card (let's call it CardTemplate) to display some information.
I have used this card on a view(let's call it MainView) in a flex repeater component to display 4 cards.
I want the card data on main view to be refreshed at certain time interval (let's say every 30s).
How can I achieve this?
I tried creating a Gateway Timer Function to send a message and implemented the message handler in the root of the MainView. The message handler would get the data and assign to the instances of the flexrepeater.
But I am getting an error in the gateway timer script execution saying that "Caused by: org.python.core.PyException: java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: No perspective session attached to this thread."
I'll appreciate any help in solving this.