You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by je...@jakarta.apache.org on 2004/09/08 21:43:37 UTC
[jira] Created: (JS1-518) Example HelloWorldPortlet gives error
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/JS1-518
Here is an overview of the issue:
---------------------------------------------------------------------
Key: JS1-518
Summary: Example HelloWorldPortlet gives error
Type: Bug
Status: Unassigned
Priority: Minor
Project: Jetspeed
Components:
Documentation
Versions:
1.5
Assignee:
Reporter: Shane Brooks
Created: Wed, 8 Sep 2004 12:43 PM
Updated: Wed, 8 Sep 2004 12:43 PM
Environment: RedHat ES 3, tomcat 4.1.30, j2sdk 1.4.2_04, maven 1.0, ant 1.6.2
Description:
the HelloWorldPortlet.java example from Step 5 in the jetspeed tutorial:
package org.apache.jetspeed.tutorial.portal.portlets;
import org.apache.jetspeed.portal.portlets.AbstractInstancePortlet;
import org.apache.turbine.util.RunData;
import org.apache.ecs.ConcreteElement;
import org.apache.ecs.StringElement;
/**
* Hello World portlet
*
* @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
* @version $Id: HelloWorldPortlet.java,v 1.1 2004/04/08 17:03:54 taylor Exp $
*/
public class HelloWorldPortlet extends AbstractInstancePortlet
{
public ConcreteElement getContent (RunData runData)
{
return (new StringElement ("Hello World! #" + getID()));
}
}
Compiles fine, added to registry, added to page.
When you login with the user, you get the following when viewing a page with the portlet on it:
There has been an Error!
Reason:
Get/Post Data:
mtype = html
user = turbine
page = default.psml
template = /html/Home.vm
media-type = html
(This happens with a default install of jetspeed, not with the deployed tutorial 5. The deployed jportal step 5 is also broken - there's no 'save' button when you click the pencil icon under 'Basic tutorials' - it's replaced with a $saveLabel button that doesn't work.)
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org
[jira] Updated: (JS1-518) Example HelloWorldPortlet gives error
Posted by je...@jakarta.apache.org.
The following issue has been updated:
Updater: Shane Brooks (mailto:sbrooks@orangelake.com)
Date: Wed, 8 Sep 2004 12:45 PM
Changes:
Attachment changed to HelloWorldPortletError.jpg
---------------------------------------------------------------------
For a full history of the issue, see:
http://issues.apache.org/jira/browse/JS1-518?page=history
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/JS1-518
Here is an overview of the issue:
---------------------------------------------------------------------
Key: JS1-518
Summary: Example HelloWorldPortlet gives error
Type: Bug
Status: Unassigned
Priority: Minor
Project: Jetspeed
Components:
Documentation
Versions:
1.5
Assignee:
Reporter: Shane Brooks
Created: Wed, 8 Sep 2004 12:43 PM
Updated: Wed, 8 Sep 2004 12:45 PM
Environment: RedHat ES 3, tomcat 4.1.30, j2sdk 1.4.2_04, maven 1.0, ant 1.6.2
Description:
the HelloWorldPortlet.java example from Step 5 in the jetspeed tutorial:
package org.apache.jetspeed.tutorial.portal.portlets;
import org.apache.jetspeed.portal.portlets.AbstractInstancePortlet;
import org.apache.turbine.util.RunData;
import org.apache.ecs.ConcreteElement;
import org.apache.ecs.StringElement;
/**
* Hello World portlet
*
* @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
* @version $Id: HelloWorldPortlet.java,v 1.1 2004/04/08 17:03:54 taylor Exp $
*/
public class HelloWorldPortlet extends AbstractInstancePortlet
{
public ConcreteElement getContent (RunData runData)
{
return (new StringElement ("Hello World! #" + getID()));
}
}
Compiles fine, added to registry, added to page.
When you login with the user, you get the following when viewing a page with the portlet on it:
There has been an Error!
Reason:
Get/Post Data:
mtype = html
user = turbine
page = default.psml
template = /html/Home.vm
media-type = html
(This happens with a default install of jetspeed, not with the deployed tutorial 5. The deployed jportal step 5 is also broken - there's no 'save' button when you click the pencil icon under 'Basic tutorials' - it's replaced with a $saveLabel button that doesn't work.)
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org
[jira] Updated: (JS1-518) Example HelloWorldPortlet gives error
Posted by je...@jakarta.apache.org.
The following issue has been updated:
Updater: Shane Brooks (mailto:sbrooks@orangelake.com)
Date: Wed, 8 Sep 2004 12:47 PM
Changes:
Attachment changed to TutorialStep5Error.jpg
---------------------------------------------------------------------
For a full history of the issue, see:
http://issues.apache.org/jira/browse/JS1-518?page=history
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/JS1-518
Here is an overview of the issue:
---------------------------------------------------------------------
Key: JS1-518
Summary: Example HelloWorldPortlet gives error
Type: Bug
Status: Unassigned
Priority: Minor
Project: Jetspeed
Components:
Documentation
Versions:
1.5
Assignee:
Reporter: Shane Brooks
Created: Wed, 8 Sep 2004 12:43 PM
Updated: Wed, 8 Sep 2004 12:47 PM
Environment: RedHat ES 3, tomcat 4.1.30, j2sdk 1.4.2_04, maven 1.0, ant 1.6.2
Description:
the HelloWorldPortlet.java example from Step 5 in the jetspeed tutorial:
package org.apache.jetspeed.tutorial.portal.portlets;
import org.apache.jetspeed.portal.portlets.AbstractInstancePortlet;
import org.apache.turbine.util.RunData;
import org.apache.ecs.ConcreteElement;
import org.apache.ecs.StringElement;
/**
* Hello World portlet
*
* @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
* @version $Id: HelloWorldPortlet.java,v 1.1 2004/04/08 17:03:54 taylor Exp $
*/
public class HelloWorldPortlet extends AbstractInstancePortlet
{
public ConcreteElement getContent (RunData runData)
{
return (new StringElement ("Hello World! #" + getID()));
}
}
Compiles fine, added to registry, added to page.
When you login with the user, you get the following when viewing a page with the portlet on it:
There has been an Error!
Reason:
Get/Post Data:
mtype = html
user = turbine
page = default.psml
template = /html/Home.vm
media-type = html
(This happens with a default install of jetspeed, not with the deployed tutorial 5. The deployed jportal step 5 is also broken - there's no 'save' button when you click the pencil icon under 'Basic tutorials' - it's replaced with a $saveLabel button that doesn't work.)
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org