Book Image

GateIn Cookbook

By : Ken Finnigan, Luca Stancapiano, Piergiorgio Lucidi
Book Image

GateIn Cookbook

By: Ken Finnigan, Luca Stancapiano, Piergiorgio Lucidi

Overview of this book

<p>Enterprises have websites constructed in different web frameworks and the need for them to work together cohesively. GateIn will provide the solution to effectively integrate them into a single website. GateIn is an open source website framework that does more than a web framework by letting you use your preferred one.<br /><br />This GateIn Cookbook provides solutions whether you're planning to develop a new GateIn portal, migrate a portal, or only need to answer a specific query. It is filled with bite-sized recipes for quick and easy problem resolution. From the beginning to the end it will guide you through the process of configuring and securing a portal, managing content and resources, and developing applications as you go.<br /><br />Beginning with installation and configuration, the book swiftly moves on to discussing content, users, and security. The second half covers all aspects of developing on a portal, such as portlets, gadgets, migration, and integration.<br /><br />The goal of the book is to show GateIn as an open source website framework piece by piece. Starting with simple recipes, you will see each step analyzed with code examples and images, before progressing to more advanced recipes.<br /><br />This GateIn Cookbook will help you with a quick approach to building portals.</p>
Table of Contents (19 chapters)
GateIn Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Resizing gadgets


For the purpose of this recipe, we will be using the configuration example to resize the gadget.

Getting ready

Modify the SkypeTalk.xml file of the previous example and add the height field, or use the web console.

How to do it...

Here is an example of the configuration:

   <ModulePrefs author="Cookbook Developer"
                title="Skype Talk"
                directory_title="Skype Talk"
                title_url="http://www.vige.it"
                description="Speak with your friends on Skype."
                thumbnail="images/SkypeTalk.gif"
                height="24">

The following steps show how to do it with the web console:

  1. Go to the Application Registry, click on the Gadgets button, and select the Skype Talk gadget as shown in the following screenshot:

  2. Set the height to 62 and click on the Save button.

  3. Go to the dashboard. You will see the result as follows:

Note

By using the gadget, you can only configure the height because the layout and the skin manage...