[ http://issues.apache.org/jira/browse/PB-38?page=comments#action_12437586 ] James May commented on PB-38: -----------------------------
I've also created a patch to address this issue. The portlet must maintain its state in regard to the current portlet mode. This will allow the portlet to get the correct page when the portlet mode changes. I will upload the patch file shortly. > Switching between View and Edit modes, portlet remembers only the last action > (and not the last action in that mode) and goes to that regardless of the > mode. > ------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: PB-38 > URL: http://issues.apache.org/jira/browse/PB-38 > Project: Portals Bridges > Issue Type: Bug > Components: struts > Affects Versions: 1.0 > Environment: Windows/Unix, Vignette Portal 7.2.1 > Reporter: Ramana Mallysetty > Assigned To: Ate Douma > Priority: Blocker > > When using struts to develop portlets using the struts bridge, switching > between VIEW and EDIT modes (for that matter possibly any modes) does not > work. Portlet seems to remember only the last action on that portlet, > irrespective of the mode. Thus, when you click on the portlet title bar to > switch between (typically VIEW and EDIT modes), the portlet takes to the > incorrect JSP page, the JSP page for the last render action. It should > instead remember the last render action for each of the modes, so that the > state is maintained properly. > I have used code for 1.0 and made fixes to StrutsPortal and that seems to fix > the problem. If you like, I can provide that fix. -- 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 - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
