David,
Attached is a Portlet.xml that I have shortened.
Joe
-----Original Message-----
From: David Sean Taylor [mailto:[EMAIL PROTECTED]
Sent: Monday, June 04, 2007 1:19 PM
To: Jetspeed Users List
Subject: Re: Google gadgets in Jetspeed 2.1.1-dev desktop portlets
On Jun 1, 2007, at 11:01 AM, Witt, Joseph wrote:
> Hi all,
>
> Has anyone deployed a GoogleGadget Portlet in the Jetspeed 2.1.1-Dev
> desktop environment? I am using the PAL googlegadget Portlet and a
> proxy servlet to handle the cross domain ajax calls, but I am not
> having
> any success with evaluating the googlegadget javascript returned in
> the
> ajax call. When the javascript is received the Dojo ContentPane
> appears
> to be executing the script but is taking over the browser window
> and the
> desktop is lost. Does anyone have a solution for this?
>
I had the Google Gadgets working on my machine here at one time, but
it required editing the portlet.xml
It seems that some of the identifiers were too long and the
registration process fails
Caused by:
com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long
for column 'PORTLET_IDENTIFIER' at row 1
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2868)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1573)
I can't find that editing version of the portlet.xml
Does anyone have a portlet.xml for the gadgets PA that works with
MySQL 5?
In order to help out on this issue, I need to be able to deploy
I tried version 0.2, which I think is the latest version
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
The contents of this e-mail are intended for the named addressee only.
It contains information that may be confidential. Unless you are the
named addressee or an authorized designee, you may not copy or use it,
or disclose it to anyone else. If you received it in error please notify
us immediately and then destroy it.
The contents of this e-mail are intended for the named addressee only. It
contains information that may be confidential. Unless you are the named
addressee or an authorized designee, you may not copy or use it, or disclose it
to anyone else. If you received it in error please notify us immediately and
then destroy it.
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2004 The Apache Software Foundation
Licensed 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.
-->
<portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
version="1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
<portlet id="GoogleMapGoogleGadget">
<portlet-name>GoogleMapGoogleGadget</portlet-name>
<display-name>Google Map</display-name>
<description>Google Gadgets: Google Map Gadget</description>
<portlet-class>com.covisint.portlets.google.GoogleGadgetsPortlet</portlet-class>
<expiration-cache>-1</expiration-cache>
<init-param>
<name>jp.sf.pal.webparts.Title</name>
<value>Google Map</value>
</init-param>
<init-param>
<name>jp.sf.pal.webparts.Code</name>
<value><script src="http://gmodules.com/ig/ifr?url=http://ralph.feedback.googlepages.com/googlemap.xml&synd=open&border=%23ffffff%7C3px%2C1px+solid+%23999999&output=js"></script></value>
</init-param>
<init-param>
<name>jp.sf.pal.webparts.Url</name>
<value>http://gmodules.com/ig/creator?synd=open&url=http://ralph.feedback.googlepages.com/googlemap.xml</value>
</init-param>
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>VIEW</portlet-mode>
<portlet-mode>EDIT</portlet-mode>
</supports>
<supported-locale>en</supported-locale>
<supported-locale>ja</supported-locale>
<resource-bundle>jp.sf.pal.webparts.resources.WebPartsResources</resource-bundle>
<portlet-info>
<title>Google Map</title>
<short-title>Google Map</short-title>
<keywords>Google,Gadgets</keywords>
</portlet-info>
</portlet>
<portlet id="GoogleCalendarViewerGoogleGadget">
<portlet-name>GoogleCalendarViewerGoogleGadget</portlet-name>
<display-name>Google Calendar Viewer</display-name>
<description>Google Gadgets: Google Calendar Viewer Gadget</description>
<portlet-class>com.covisint.portlets.google.GoogleGadgetsPortlet</portlet-class>
<expiration-cache>-1</expiration-cache>
<init-param>
<name>jp.sf.pal.webparts.Title</name>
<value>Google Calendar Viewer</value>
</init-param>
<init-param>
<name>jp.sf.pal.webparts.Code</name>
<value><script src="http://gmodules.com/ig/ifr?url=http://ralph.feedback.googlepages.com/googlecalendarviewer.xml&synd=open&border=%23ffffff%7C3px%2C1px+solid+%23999999&output=js"></script></value>
</init-param>
<init-param>
<name>jp.sf.pal.webparts.Url</name>
<value>http://gmodules.com/ig/creator?synd=open&url=http://ralph.feedback.googlepages.com/googlecalendarviewer.xml</value>
</init-param>
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>VIEW</portlet-mode>
<portlet-mode>EDIT</portlet-mode>
</supports>
<supported-locale>en</supported-locale>
<supported-locale>ja</supported-locale>
<resource-bundle>jp.sf.pal.webparts.resources.WebPartsResources</resource-bundle>
<portlet-info>
<title>Google Calendar Viewer</title>
<short-title>Google Calendar Viewer</short-title>
<keywords>Google,Gadgets</keywords>
</portlet-info>
</portlet>
<portlet id="DateampTimeGoogleGadget">
<portlet-name>DateampTimeGoogleGadget</portlet-name>
<display-name>Date & Time</display-name>
<description>Google Gadgets: Date & Time Gadget</description>
<portlet-class>com.covisint.portlets.google.GoogleGadgetsPortlet</portlet-class>
<expiration-cache>-1</expiration-cache>
<init-param>
<name>jp.sf.pal.webparts.Title</name>
<value>Date & Time</value>
</init-param>
<init-param>
<name>jp.sf.pal.webparts.Code</name>
<value><script src="http://gmodules.com/ig/ifr?url=http://www.google.com/ig/modules/datetime.xml&synd=open&border=%23ffffff%7C3px%2C1px+solid+%23999999&output=js"></script></value>
</init-param>
<init-param>
<name>jp.sf.pal.webparts.Url</name>
<value>http://gmodules.com/ig/creator?synd=open&url=http://www.google.com/ig/modules/datetime.xml</value>
</init-param>
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>VIEW</portlet-mode>
<portlet-mode>EDIT</portlet-mode>
</supports>
<supported-locale>en</supported-locale>
<supported-locale>ja</supported-locale>
<resource-bundle>jp.sf.pal.webparts.resources.WebPartsResources</resource-bundle>
<portlet-info>
<title>Date & Time</title>
<short-title>Date & Time</short-title>
<keywords>Google,Gadgets</keywords>
</portlet-info>
</portlet>
<portlet id="AJokeADayGoogleGadget">
<portlet-name>AJokeADayGoogleGadget</portlet-name>
<display-name>A Joke A Day</display-name>
<description>Google Gadgets: A Joke A Day Gadget</description>
<portlet-class>com.covisint.portlets.google.GoogleGadgetsPortlet</portlet-class>
<expiration-cache>-1</expiration-cache>
<init-param>
<name>jp.sf.pal.webparts.Title</name>
<value>A Joke A Day</value>
</init-param>
<init-param>
<name>jp.sf.pal.webparts.Code</name>
<value><script src="http://gmodules.com/ig/ifr?url=http://www.happy-gods.com/jokes/joke.xml&synd=open&border=%23ffffff%7C3px%2C1px+solid+%23999999&output=js"></script></value>
</init-param>
<init-param>
<name>jp.sf.pal.webparts.Url</name>
<value>http://gmodules.com/ig/creator?synd=open&url=http://www.happy-gods.com/jokes/joke.xml</value>
</init-param>
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>VIEW</portlet-mode>
<portlet-mode>EDIT</portlet-mode>
</supports>
<supported-locale>en</supported-locale>
<supported-locale>ja</supported-locale>
<resource-bundle>jp.sf.pal.webparts.resources.WebPartsResources</resource-bundle>
<portlet-info>
<title>A Joke A Day</title>
<short-title>A Joke A Day</short-title>
<keywords>Google,Gadgets</keywords>
</portlet-info>
</portlet>
</portlet-app>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]