Hi, there,

The problem that causes the issue below is this:

In containerValve, SessionFullNavigationalState.sync() is called, which
synces the portlet modes (View, Edit, etc.) and window states (Min, Max,
Normal) between those in the request, which contains only the info for the
active window (like you clicked on Minimize icon on a portlet) and those in
the sessio, which remember the mode/state of all the other portlets.

In DecorationValve, getPortletMode() and getWindowState() are called to find
the mode/state of a porlet.

However, the default pipelines.xml lists DecorationValve before
containerValve. Thus only state/mode in the request is used. I swithed the
order, and this problem is gone.

Nevertheless, I do not feel very safe to change the order of valves. Can any
expert on those valves confirm whether what I did is correct?

Thanks,

Jay

On 5/23/06, (Jay) Jun Yan <[EMAIL PROTECTED]> wrote:

Hi, there,

I have the same problem. The issue is that DecorationValve.getPortletMode()
returns the "EDIT" mode for the portlet you are editing for the first time,
and when portlet mode in another portlet got changed, the mode for this
portlet in edit mode will have "VIEW" returned, which is a bug.

Anybody knows which class can be modified to have it fixed?

Thanks,

Jay

On 5/18/06, Balaji Chandrasekaran < [EMAIL PROTECTED]> wrote:
>
> Hi,
>
>
>
> Im currently using Jetspeed 2.0, when I go to edit mode of the page
> where I can move the portlets, my edit icon is changing to view icon.
> When I do some operation in the page, the view icon changing back to
> edit icon...is it a bug in Jetspeed? How do I resolve this issue?
>
>
>
> Regards,
>
> Balaji C
>
>
>


--
(Jay) Jun Yan
---------------------------------------
Phone number and address will change, and this email address will never
expire. (Never say never?)




--
(Jay) Jun Yan
---------------------------------------
Phone number and address will change, and this email address will never
expire. (Never say never?)

Reply via email to