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

Navigation between 2 view in a WebDynpro

Hi all,

I've a WD with two view; in the first, I input some data, and the result is displayed in the seconda...simple not???

But I've got a problem: I insert a butto to navigate between the two view, but the context is'nt refreshed, so the data displayed are always the same...

any suggestion?

Regards

ED

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

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

    Hi ED,

    if i get you right, you want to share data between two views. This is simple. Define the context in the component controller or a custom controller of your choice and map the requested context nodes of the view(s) to those in this controller. After the navigation, the second view will retrieve the data from (physically) the same context than the first one and display the correct data. It's like magic 😉

    To map context nodes (attributes), declare a controller usage of the "data controller" in the Properties tab of the views at "Required Controllers". After that the context elements of the data controller will be mappable in the Context editor of the views.

    Hope that helps.

    Regards

    Stefan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 26, 2004 at 01:24 PM

    Hi Stefan,

    no, not exactly...what you said is right, but that's easy and already done.

    Instead, the problem is that I've a problem with the navigation; the first time, I put the data in the first screen and in the second in displayed correctly the result...then I come back to the first using a button I defined and I insert another data as input, but this time the result in the second screen is wrong because is always the first one...

    hope to be clear...

    best regards

    ED

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Ok, I find how to: in the onFormPlugIn<wd> I Invalidate() my node; then I created a new One and I bind it again to the given node in the context...that is what Komal suggested, in the last instance.

      Thank again to both, Stefan and komal

      ED

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.