[jboss-user] [JBoss Portal] - Custom Window State

2007-04-17 Thread engela
Does the JBoss Portal (2.4) support custom window states? Which class do I need 
to overwrite if I want to add my custom window state?

For printing the content of a portlet I quite like to introduce a custom window 
state 'print' which is mapped by by layout descriptor to print.jsp, which will 
only display the portlet without heading or navigation.


  |
  |   mylayout
  |   /layouts/mylayout/index.jsp
  |   /layouts/mylayout/maximized.jsp
  |   /layouts/mylayout/print.jsp
  |   
  |  
  |  
  |  
  |   
  |
  | 

Is that possible?

Thanks,

Anette

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037913#4037913

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037913
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - custom-window-state

2008-04-17 Thread tinico
Hi,

I've read lot of pages about that... But When I want to reproduce all what I've 
read, it doesn't work... That why I post a new subject in order to help me...

The problem : I just want to add a custom-window-state called "solo" (in order 
to display the portlet on page without any other portlet, header, footer, 
etc...).

I've add the following lines on my application portlet.xml :


  | ...
  | 
  | solo
  | 
  | 
  | 

On the  *-object.xml, I've added :


  |  ...
  |  
  | view
  | edit
  | help
  | admin
  |  
  |  ...
  | 

On all my personal layout, I've add :


  |
  |   HGPP-Layout-4R
  |   /layouts/HGPP-Layout-4R/index.jsp
  |   /layouts/generic/maximized.jsp
  |   /layouts/generic/solo.jsp
  |   
  |  
  |  
  |  
  |  
  |   
  |
  | 

And I declare my /layouts/generic/solo.jsp like that :


  | <%@ page import="org.jboss.portal.server.PortalConstants"%>
  | <%@ taglib uri="/WEB-INF/theme/portal-layout.tld" prefix="p" %>
  | http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
  | http://www.w3.org/1999/xhtml";>
  | 
  |Printed Mode
  |
  |
  |
  |
  |
  |
  |
  | 
  | 
  | 
  | 
  | 
  | 
  | 

I've declare a "Printed-Theme" without header, and in the css, I've add 


  | .portlet-mode-solo {
  |background-image: url( images/ico_16_maximize.gif );
  |background-repeat: no-repeat;
  |width: 16px;
  |height: 16px;
  |float: left;
  |display: inline;
  |cursor: pointer;
  |padding-left: 3px;
  | }
  | 
  | .portlet-mode-solo:hover {
  |text-decoration: none;
  | }
  | 

My application is like that :


  | + layouts
  |+ generic
  |   + solo.jsp
  |   + maximized.jsp
  |+ ...
  | + themes
  |+ Printed-Theme
  |   + images
  |   + portal_styles.css
  |+ ...
  | + WEB-INF
  |+ *.layouts.xml
  |+ *.themes.xml
  |+ porlets-object.xml
  | 

The problem is : the state "solo" doesn't work... The render is like "normal" 
state and I havn't any error message...

Thank you in advance for your help !!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144837#4144837

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4144837
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - custom window-state and layout

2008-03-20 Thread PMN
Does JBP 2.6.4 support custom window state ? and if so, is it possible to 
associate a layout to a custom window state, like this ?


  EvosCalendar
  /layouts/EvosCalendar/index.jsp
  /layouts/EvosHalfPage/index.jsp
  
  
  
  



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137973#4137973

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137973
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user