<?xml version="1.0"?>
<!--
	Licensed to the Apache Software Foundation (ASF) under one or more
	contributor license agreements.  See the NOTICE file distributed with
	this work for additional information regarding copyright ownership.
	The ASF licenses this file to You under the Apache License, Version 2.0
	(the "License"); you may not use this file except in compliance with
	the License.  You may obtain a copy of the License at
	
	http://www.apache.org/licenses/LICENSE-2.0
	
	Unless required by applicable law or agreed to in writing, software
	distributed under the License is distributed on an "AS IS" BASIS,
	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
	See the License for the specific language governing permissions and
	limitations under the License.
-->
<document>
	<properties>
		<title>Default Page</title>
		<subtitle>Modifying the Default Page</subtitle>
		<authors>
			<person name="David Sean Taylor" email="taylor@apache.org" />
		</authors>
	</properties>
	<body>
    <section name="Modifying the Default Page">
      <p> 
      Now that we have created our decorators and themes, lets put them to use on the default page.
	  Lets get started with customization of the default portal page decoration. Copy in our
	  sample default-page:</p>
	 <source>
	 <![CDATA[
# Linux	 
cd /JetspeedTraining/workspace/jetexpress
cp ../../resources/pages/default-page.psml portal/src/webapp/WEB-INF/pages/

# Windows
cd \JetspeedTraining\workspace\jetexpress
copy  ..\..\resources\pages\default-page.psml portal\src\webapp\WEB-INF\pages
     ]]>
     </source>	  	  
	<p>Refresh your Eclipse project and edit the default-page.psml.
	   Make the following modifications 
	   <ul>
	   <li>for the layout-decorator, replace tigris with <b>express-page</b></li>
	   <li>for the portlet-decorator, replace tigris with <b>express-portlet</b></li>
	   <li>add a skin default attribute as <b>skin="express"</b> for the desktop theme</li>
	   </ul>
	   </p>
	 <source>
	 <![CDATA[
<page>
  <defaults layout-decorator="express-page" 
            portlet-decorator="express-portlet"
            skin="express"/>	   	  
     ]]>
     </source>	  	  	   	
     <p>Go ahead and save that file. We are now ready to deploy your changes to the portal</p>  
	  <p>
	    <a href='desktop-theme.html'>Previous</a> <a href='deploy-custom.html'>Next</a>
	  </p>	        
	  </section>	  
	</body>
</document>