Wednesday 17 February 2016

Redirect to the previous page

When there are multiple pages and you want to be redirected to the the page where you redirected from then you need to do following steps.

I have three pages 1,2,3. and three buttons page1,page2,page3.

Now when i click on button page1 of page 1 then it should redirect me to the page3 and from page3's button if i click on same time then it should redirect me to page1(It's caled Previous page) and same for the page2 if i click of button page2 of page2 then it should redirect me to the page3,on same time if i click on page3's button then it should redirect me to page 2(page2 will be previous page this time).

Create One Hidden item on page 3 : P3_PREVIOUS_PAGE

On page 1 and 2 create branch to redirect to page 3 and in set values of branch put P3_PREVIOUS_PAGE and page value.

For page 1 branch  Item Name = P3_PREVIOUS_PAGE set this value = 1
for page 2 branch item name = P3_PREVIOUS_PAGE set this value = 2

or

You can create a Global page and item in it Call P0_PREVIOUS_PAGE and result will be same.

 LinkedIN


No comments:

Post a Comment

Show values in right side of shuttle

While working with select list and shuttle, when we want to display values into right side of shuttle depending upon selection from select ...