'previousPage' actually would be whatever page came before 'currentPage'... unless there was no such page (i.e., 'currentPage' is the only page that was ever hit in that page flow instance). In that case, 'previousPage' is the same as 'currentPage'. But I still might be missing a crucial bit of information. If you attach your sample to the bug, I can take a look.

Rich

Yee, Sunny K wrote:

Hi Rich,

If 'currentPage' is as you explained, that's fine.  I don't understand
why my sample appl returns to the same page (the page of the calling
page flow) when I used 'currentPage' or 'previousPage'.  What does
'previousPage' mean then if the 'currentPage' is the current page in the
calling page flow?

-Sunny

-----Original Message-----
From: Rich Feit (JIRA) [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 23, 2005 4:11 PM
To: Yee, Sunny K
Subject: [jira] Resolved: (BEEHIVE-434)
navigateTo=Jpf.NavigateTo.currentPage returns to previous page


[ http://issues.apache.org/jira/browse/BEEHIVE-434?page=history ]
Rich Feit resolved BEEHIVE-434:
-------------------------------


   Resolution: Invalid

Hi Sunny,

I missed this originally, then went on vacation.  Sorry.  Just got back.
'currentPage' is the current page in *the original page flow* (or
whatever page flow contains the action that forwards to 'currentPage').
We keep track of it per-pageflow, otherwise you would not be able to get
back to the original page if you moved through more than a single page
in a nested page flow.

If I'm misunderstanding the issue, would you reopen this with a repro
app?

Thanks,
Rich



navigateTo=Jpf.NavigateTo.currentPage returns to previous page
--------------------------------------------------------------

Key: BEEHIVE-434
URL: http://issues.apache.org/jira/browse/BEEHIVE-434
Project: Beehive
Type: Bug
Components: NetUI
Versions: V1Alpha
Environment: Source snapshot of Beehive on Windows
Reporter: Sunny Yee





When returning from a nested page flow and the NavigateTo for the


return action is set to 'Jpf.navigateTo.currentPage, the page of the
calling page flow is rendered.


Shouldn't the current page be the nested page flow page?
I will supply my sample webapp. Use http://.../go_nested/Controller.jpf.
Click on go_nested link.
Nested page is displayed. Select 'done (return to current page)'


link, which uses the Jpf.navigateTo.currentPage value.


The original page with the go_nested link is rendered. Isn't this the


previous page, and not the current page.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
  http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
  http://www.atlassian.com/software/jira




Reply via email to