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

From same Button how to navigate to different Views in WEBDYNPRO

Hi,

In WEBDYNPRO i am trying to generate this but not able to..i have three views in which i have a NEXT button in the 1st view and BACK button in 2nd and 3rd view.

first time click NEXT button should go to 2nd View and then BACK button with back to 1st view.

again when i click on the NEXT button it should navigate to 3rd VIEW.

program flow:

1st VIEW-(next)--->2nd VIEW-(back) ->1st view-(next) ->3rd VIEW

hope i can find the solution here.

thanks in advance

ashique

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on May 12, 2011 at 11:42 AM

    It seems like you need to keep an attribute in your component controller so that once you have navigated to view #2, you can set a flag in this atttribute. Then when the button event fires for next in View #1, you check the status of this flag. Depending upon the value of this attribute you fire one of the two navigation plugs - either for View #2 or View #3.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 12, 2011 at 07:39 PM

    Hey Ashique,

    Just think about it.

    1st VIEW-(next)--->2nd VIEW-(back) ->1st view-(next)->3rd VIEW

    If you already have a flow in hand, you can implement it different ways:.

    1. As Thomas Said, a flag has to be checked if a button event is clicked.

    2. Use of two different buttons, and hiding one button at one point of time.

    3. If you navigation is complex, store your navigation in a context node/global table.

    You can also use the ViewContainer UI Element and play with visibility. On a similar requirement, where i had to display 6 dynamic reports on screen, i had to use VCUIElement, to achieve this, i created a context node which will store attributes like display, visibility, texts etc., your requirement should be simple though.

    Regards,

    Santosh Verma.

    Add a comment
    10|10000 characters needed characters exceeded

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.