portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 24150] New: - Lose one portlet when changing layout from 3 columns to 1 column
Date Mon, 27 Oct 2003 15:14:01 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24150>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24150

Lose one portlet when changing layout from 3 columns to 1 column

           Summary: Lose one portlet when changing layout from 3 columns to
                    1 column
           Product: Jetspeed
           Version: 1.4b3
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Layout
        AssignedTo: jetspeed-dev@jakarta.apache.org
        ReportedBy: dlo@metasolv.com


To duplicate the problem:
1. Setup portal with 3 columns, each column has one portlets, click Save and 
Apply.
2. Click portal customize icon, change layout from 3 columns to one column, the 
layout shows only 2 portlets.

To fix the problem, modify 
org.apache.jetspeed.modules.actions.controllers.MultiColumnControllerAction 
method addElement(IdentityElement element, List[] table, List work, int 
columnCount):

change from
    if ((row >= 0) && (col >= 0) && (col < columnCount))
to
    if ((row >= 0) && (col >= 0) && (col < columnCount) &&
(table[col].get(row) 
== null))

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message