Empty Theme

In the Portal page popup with empty theme and empty skin entry i talked about how to open a portlet in the dialog box. And how you can use empty theme and empty skin so that portlet has full control on what gets displayed in the dialog box.

You can download the empty theme from here , the empty theme has only one file Default.jsp, which is very simple like this


<%@ page session="false" buffer="none" %>
<%@ taglib uri="http://www.ibm.com/xmlns/prod/websphere/portal/v6.0/portal-core"
prefix="portal-core" %>
<portal-core:screenRender/>


Only thing that Default.jsp is doing is forwarding control to portal-core:screenRender, which will go pass control to portal page aggregation engine for generating markup for the page. If you look at a page after applying this theme you will notice that it has only the markup generated by skin

Important Note In the real world your Default.jsp should look like this


<%@ page session="false" buffer="none" %>
<%@ taglib uri="http://www.ibm.com/xmlns/prod/websphere/portal/v6.0/portal-core"
prefix="portal-core" %>
<html>
<head>
<head>
// JavaScript and CSS file includes to handle rendering

</head>
<body>
<portal-core:screenRender/>
</body>
</html>


You should include your style classes and JavaScript code inside head

3 comments:

Guru Raj said...

Can you tel me how theme will connect to skins.means the flow..

Vikas Chaudhary said...

Battery Mantra is Authorized exide car battery dealer in Noida and Greater Noida. We are providing our service in Indirapuram, Delhi, Ashok Nagar.

Exide Battery Dealer in Noida
Battery Dealer in Noida
Authorized Battery Dealer in Noida
Car Battery Dealer in Noida
Car Battery Dealer
Exide Battery Dealer

EG MEDI said...

Egmedi.com is online medical store pharmacy in laxmi nagar Delhi. You can Order prescription/OTC medicines online.
Cash on Delivery available. Free Home Delivery


Online Pharmacy in Delhi
Buy Online medicine in Delhi
Online Pharmacy in laxmi nagar
Buy Online medicine in laxmi nagar
Onine Medical Store in Delhi
Online Medical store in laxmi nagar
Online medicine store in delhi
online medicine store in laxmi nagar
Purchase Medicine Online
Online Pharmacy India
Online Medical Store