Skip to Content
author's profile photo Former Member
Former Member

Suppression of round trip logic to the server

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 27, 2004 at 12:26 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 28, 2004 at 03:35 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.