Skip to Content
avatar image
Former Member

How to Refresh a View

Hi.

Can anyone tell me how to refresh a view in Java Webdynpro.

Is there any methods to do refresh? Plz let me know.

Regards

Bala

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    avatar image
    Former Member
    Feb 06, 2007 at 10:13 AM

    Only with the setLeadSelection, my code works.

    Thanks for the reply!

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      I think refreshing a view mean that you want to refresh content and the caption of some of the fields, For this what you can do is set the context atrributes associated with wit each field to NULL or to space.

      Hope this hepls you.

      jeet

  • avatar image
    Former Member
    Feb 05, 2007 at 05:04 AM

    Hi Balachandar,

    What do you mean by refresh a view.

    what is ur exact requirement

    With Regards

    Naidu

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 06, 2007 at 10:00 AM

    I have the same problem,

    Ï have a dropdown with some values, and depending of the value of this dropdown I can change the value of a Caption that its above.

    E.g: The user selects a Country from a Dropdown, so a Caption with the name of the Owner of this Country is shown, if the user change again the caption changes too.

    Thanks in advance

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 06, 2007 at 10:07 AM

    Hi,

    Have you tried <i>view.resetView()</i>? This will reset the view to its original state. Note that this should be done in <i>wdDoModifyView()</i> method.

    Regards,

    Satyajit.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 06, 2007 at 11:54 AM

    You only have to trigger a server roundtrip. What's the exact use case?

    Armin

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi.

      Thanks to everyone for the reply.

      My issue solved by getting more information on view.reset().

      Regards

      Bala