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:[EMAIL PROTECTED]">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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
