Re: Minimized Window State NOT working-NOT SOLVED

2007-07-09 Thread tom tom
I doubt, the reason is, before struts 2, we developed all portlets using struts-bridge, there the functionality works fine same container, Due to this reason I dont think this is a portal container bug. It looks to me for some reason for previously minimized portlets in render method it gives as '

Re: Minimized Window State NOT working-NOT SOLVED

2007-07-08 Thread Nils-Helge Garli
Hi! I just tried, and the proposed solution works nicely in pluto, even when a user minimizes another portlet. So it might be a container bug. Try your portlets in a different container and see if the problem persists, or attach a debugger and try to figure out what information is set on the requ

Re: Minimized Window State NOT working-NOT SOLVED

2007-07-08 Thread Tracy12
Yes it appeared everything is fine as per the following solution, but that is not the case. What happens is, This will work only for the portlet where user just minimized. If user tries to minimize another portlet the previous one get Expanded, It looks to me server is not detected the portlet ha

Re: Minimized Window State NOT working

2007-06-26 Thread Nils-Helge Garli
I have to correct myself. The dispatcher extends the GenericPortlet class, but it overrides the render method because of the specialized mode handling. But the effect is still the same, the window state logic in doDispatch is not invoked. Sorry for the confusion. Nils-H On 6/26/07, Nils-Helge G

Re: Minimized Window State NOT working

2007-06-26 Thread Nils-Helge Garli
All portlets are responsible for what to render in the different window states, even when caching is enabled, if the portlet is the "target" of a user interaction (PLT.18.1 in the spec). But usually when creating portlets, you extend the GenericPortlet class, which has built in logic for skipping

Re: Minimized Window State NOT working

2007-06-25 Thread tom tom
> "When a portlet is in MINIMIZED window state, the > portlet should only render > minimal output or no output at all." Ealier we were using struts-bridge for portlet development, there it was showing no output for the MINIMIZED window state, also I have seen lot of other portlet development str

Re: Minimized Window State NOT working

2007-06-24 Thread Nils-Helge Garli
Hi! To quote the spec: "When a portlet is in MINIMIZED window state, the portlet should only render minimal output or no output at all." As I interpret this, it's the responsibility of the portlet to display the correct content. So you need to do some checking for the window state and take acco