You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Randy Watler (JIRA)" <je...@portals.apache.org> on 2006/01/07 04:07:19 UTC

[jira] Commented: (JS2-459) TwoColumns2575 and TwoColumnsSmallLeft don't work

    [ http://issues.apache.org/jira/browse/JS2-459?page=comments#action_12362038 ] 

Randy Watler commented on JS2-459:
----------------------------------

I plan on making a few modifications to the 'columns' layout to support
nested layouts and to implement the missing 'sizes' functionality that
allowed columns to be sized in the portlet.xml or layout fragment PSML.

In a nutshell:

1. Remove the fixed width and padding css styles in
src/webapp/decorations/layout/css/standard-columns.css,

2. replace them with dynamically generated style attributes on the <div>
layout tags that are computed using the sizes layout configuration
values,

3. generate unique class names for the one, two, and three column layout
<div> tags so that they can be addressed directly instead of using
contextual selectors that fail when layouts are nested, and

4. improve appearance of nested column layouts by padding based on left,
middle, and right portlet positions.

I have already modified the Jetspeed Theme and Decorator code to once
again support nested layout portlets. This turns out to be trivial due
to Scott's well thought out designs.

However, the customizer is going to have problems with the nested
layouts this time around, primarily because the layout portlet actions
used to invoke the customizer are now part of the page decorators. I am
not sure how to handle this at the moment, but I will be making a
separate subsequent pass to bring the customizer online for nested
layouts.

All of this is required for me to deploy 2.01, so naturally I'd like to
push these changes into that release.


> TwoColumns2575 and TwoColumnsSmallLeft don't work
> -------------------------------------------------
>
>          Key: JS2-459
>          URL: http://issues.apache.org/jira/browse/JS2-459
>      Project: Jetspeed 2
>         Type: Bug
>   Components: Layout
>     Versions: 2.0-FINAL
>  Environment: Tomcat 5.0.28
> Linux
>     Reporter: Andre Michel Gauthier
>     Assignee: Randy Watler
>  Attachments: warfare-scam.psml
>
> When Selecting either TwoColumns2575 or  TwoColumnsSmallLeft as layouts for a page I still get a 50/50 two column page. I have specified the layout in the psml page and performed a complete redeployment of my portal (including db).
> The page source contains the following section which I would expect to state the exact layout I have requested so that the css can format the columns appropriately.
> <!--  END: layout/html/gserv/decorator.vm -->
>    
>  <div id="js_scam_1_" class="portal-layout portal-layout-TwoColumns">
> 			  
> 	  
> 	  	  <div id="column-1" class="portal-layout-column" >
> 		<!--  <div class="portal-layout-column-gutter"> --> 
> 	       	     
>            			
>            		   <div class="portal-layout-cell" >
> 		   		   		   
> 		   			 
> <!-- Begin: Fragment: scam-101 Decoration: ${decoratorId} -->

-- 
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: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org