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