on 12-09-2009 3:12 PM
Hi
I have used the following code for auto referehs in WD java application.
>under init method of view controller...
wdContext.currentContextElement().setRefreshSec(PARAMETER);
Now what i observe is when application is refereshed, it doesn't detect the application parameters passed at iview level.
Do you guys have something to suggest here?
regards
Pranav
Pranav,
Can you please elaborate .
I still dont see how your code helps in refreshing the application
Regards,
Himanshu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI
I'm really sorry. My observation was wrong. This code doesn't help refereshing the wd java application, it is just a context field bound to TimedTrigger element. On action handler of TimedTrigger action, init() of view controller was being called, which was bydefault reading Application parameter and hence the application was failing because there is no parameter passed when init is called from TimedTrigger action handler.
Now i have changed the action handler logic and application is working fine......
Thank u guys...
regards
Pranav Goswami
Hi Pranav,
How does the above code help you refresh the application? And if the application is refreshed like from browser or something, the instance of the component is destroyed and is re-initialized. So, the context values are lost.
Can you please elaborate the problem?
Regards,
Tushar Sinha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.