cancel
Showing results for 
Search instead for 
Did you mean: 

some navigation related problem

Former Member
0 Kudos

There are three screens-A,B,C

now <b>A-main search screen</b>

It has two buttons-<b>create an activity</b> and <b>search</b>

When Search button is clicked it opens a new screen <b>B-list of activities</b>.afterthis when we click on create an activity the third screen is opened .there we have button to navigate back to the search screen.This navigation should give two results:

1)When search button is clicked and then we creeate a new activity it should show the screen B when navigated back

2)When search button is not clicked and directly we click create new activity.then after create when back button is pressed it should not show the list screen-B <b>only search screen-A</b> should be diplayed.

The <b>first condition is achieved</b> but second condition is not fulfilled.plz help

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Nisha,

You need to have two outbound plugs eg. ToB and ToA.

Now on action of the back button say OnActionBack

write this code

if(<condition: is it coming from Screen B>)

{

wdThis.wdFirePlugToB()

}

else

{

wdThis.wdFirePlugToA()

}

Regards,

Murtuza

Former Member
0 Kudos

Hi Nisha

Check the OutBound Plug of C View . is it connected to A Main Search

the problem is with the plug connections only

Regards

Chaitanya.A

Former Member
0 Kudos

yes c is connected to the search screen .otherwise first codition will not be full filled.plz teel how will i create the second contion through navigation

Former Member
0 Kudos

Hi

What is happening in the second condition,is it showing Screen B instead of A ? can you explain

Regards

Chaitanya.A

Former Member
0 Kudos

actually in the second condition only screen A should be diplayed but it shows screen B also .which is not required