cancel
Showing results for 
Search instead for 
Did you mean: 

Suppression of round trip logic to the server

Former Member
0 Kudos

because of the nature of WebDynpro having little logic on the client and everything executing on the server, we have noticed sometimes that when a control is clicked, you can see several round trips to the server. Whilst you expected an immediate refresh of the screen, sometimes clicking on a checkbox result in a delay in the refresh. We actually see the browser fetching something from the server! Sounds like clicking on some of these control, WebDynpro triggers an event that requires a round trip to the server to see if there is any custom code that needs to be executed. Because this is done, it results in some slowdown. If we know that there is no logic tied to an event, I'm wondering if we can suppress this round trip to the server

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

not true. we have verified this with a WDP developer from the labs. Apparently this is inherent in the architecture because everything executes on the server.

Former Member
0 Kudos

The number of roundtrips depends on the client implementation, e.g. the HTML client in some cases needs a server roundtrip when the smart client doesn't.

In any case, your application should never depend on this behaviour.

To avoid unnecessary roundtrips you might avoid binding events to actions if they are not needed.

Armin

Former Member
0 Kudos

Hi Yew,

the answer is really simple: If there's no action bound to an UI element (checkbox, button or whatever), there's no roundtrip (resulting from user interaction), if there's an action bound, there is one.

Hope that helps.

Regards

Stefan