Topic
  • No replies
Asif4u79
Asif4u79
1 Post

Pinned topic Freezing a 3 X 3 Portal layout in Websphere Portal 6.1

‏2012-01-17T12:51:30Z |
We are using IBM Websphere Portal v6.1.0.5 and using a SSA Theme and have a dashboard page where in we want to implement a drag and drop feature.
Following are the requirements
Client wants to use a 3 X 3 Column layout, They want to freeze this layout and no more rows or columns should be added to this layout when the portlet is pulled from the palette to the page. Is this something which is possible. Currently in the Portal default implementation whenever a portlet is pulled from the palette to the page, a row or a column gets added, which is not the requirement.
Within the 3 X 3 Column layout, They want to implement any one of the below drag and drop approach
A) Approach 1 (Insert Mode of Drag and Drop) :

The given 3 x 3 Layout needs to be frozen and Portlets can be drag and
dropped and their positions interchange as a result of insertion of the
portlet between the location of two portlets and this be persistent in the
portal DB and when user logs in next time or refreshes the page the new
arrangement with portlets interchanged should appear.
Example :-
Initial State of Portlets in a 3 x 3 Layout Before Insertion of Portlet 8
between Portlet Locations 1 and 2

--+--+--
1 2 3
--+--+--
4 5 6
--+--+--
7 8  
--+--+--

Final State of Portlets in a 3 x 3 Layout after Insertion of Portlet 8
between Portlet Locations 1 and 2.
The portlets positions are changes with each portlet from 2 onwards moving
to right and to the next row in case last column is reached etc..

--+--+--
1 8 2
--+--+--
3 4 5
--+--+--
6 7  
--+--+--

B) Approach 2 (Swap Mode of Drag and Drop) :

The given 3 x 3 Layout needs to be frozen and Portlets can be drag and
dropped and their positions should interchange and be persistent in the
portal DB and when user logs
in next time or refreshes the page the new arrangement with portlets
interchanged should appear.
Example :-
Initial State of Portlets in a 3 x 3 Layout

--+--+--
1 2 3
--+--+--
4 5 6
--+--+--
7 8  
--+--+--

Final State of Portlets in a 3 x 3 Layout after portlet 1 is dragged from
its location and dropped onto the 8th portlet location and portlets are
swapped

--+--+--
8 2 3
--+--+--
4 5 6
--+--+--
7 1  
--+--+--


In both cases a NO PAGE REFRESH or at a minimum single page
refresh is preferred.
Queries

Is this something which is supported by IBM Websphere Portal v6.1.0.5 or any custom implementation can be done for the same
If yes, we need to have a sample document on how to implement the same which would address the following reqmt