cancel
Showing results for 
Search instead for 
Did you mean: 

delay timer webdynpro java

Former Member
0 Kudos

Hello

I am calling a backend RFC module through java webdynpro and getting this data displayed in the first view.It is taking almost 10sec to retrive data.How can I implement a delay timer before the view is displayed.

thanks

John

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

John,

Try the following:

1. Create another "Start" view and add it to component window.

2. Make "Start" view default view on window.

3. Create a navigation link from "Start" view to "Main" view.

4. Add Timer UI control to "Start" view, bind it "enabled" property to boolean attribute EnableTimer, set "delay" to 1 second. Place soe text on view, like "Please wait. Application starting..."

5. In onTimer event set EnableTimer to false and fire plug to "Main" view.

6. In corresponding plug handler of "Main" view initiate loading of data.

The user will see "Wait" message, then "progress" image appears and stay for 10 seconds, then data is displayed.

VS

Former Member
0 Kudos

Hi Valery,

Thanks for your solution.

Just one clarification..Is onTimer Event assocoated with TimedTrigger UI.?? or should I need to create a new action and associate with onAction event of Timed Trigger.

thanks

John

Former Member
0 Kudos

John,

Sorry for confusing.

"OnTimer" in my post is the name of action that should be created by you and assigned as handler of TimedTrigger.onAction

VS