on 2005 Nov 16 9:09 PM
Hi,
How do I set an Iview to refresh itself ? There is settings for refresh function in Iview properties under "load" I tried to set it but It didn't work. ( isolation method is URL and these iview pull information&reports from BW )
Thanks,
Serkan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Serkan, When we were on EP5, we used a setting in the iView properties to automatically refresh. I believe it was something like....
<i>
Peter mentioned
<b>cache settings for "Load" parameter!</b></i>
When we went to EP6, we could not find this property anymore, so we had to come up with something else. We used the timer HTMLB tag. Its been working good ever since.
Peter, after I posted, I saw that you referenced the link to the weblog. Thanks for the comments.
Regards,
Rich Heilman
Also, if you use Web Dynpro, implementing automatic refresh is even easier. You just pull in the UI element for Timer, set the interval, set the action, and then call your initialization method when the action is fired. Very easy, we use it in two of our dashboard iViews in our portal.
Regards,
Rich Heilman
To tell you the truth, I don't know why it doesn't work. I believe that we tried using it without success and gave up on it. Then discovered the HTMLB tag. Do you really not want to use the HTMLB. Its fairly simple, but if you need some help, I can walk you thru it. My weblog should help a little.
Regards,
Rich Heilman
All you need is this line in your JSP page.
<hbj:timer id="tmrRefresh" serverEventName="refresh"
timeOut="<%=Refresh.getRefreshMillSecs() %>" />
Here refresh is the name of the "action" that is being fired. In the Navigation class of the project, you will need a method to handle it, like...
public void onRefresh(Event event) throws PageException {
this.getData();
}
Notice here, that the method on<b>Refresh</b> is just calling the method getData to get the data again.
That's pretty much it.
Regards,
Rich Heilman
User | Count |
---|---|
69 | |
13 | |
10 | |
9 | |
9 | |
8 | |
6 | |
6 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.