-
1. Re: PortletBridge Seam archetype and GateIn 3.0.1.Final - ERROR
davidhsv Oct 27, 2010 1:38 PM (in response to davidhsv)I looked deeper in the downloads.jboss.org/portletbridge/episode6.zip project and I discovered that the archetype isn't a complete HelloWorld project.
You need to edit the file porlet.xml to make a HelloWorld:
<?xml version="1.0" encoding="UTF-8"?><portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd"xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd"version="2.0"><portlet><portlet-name>episode6PortletA</portlet-name><portlet-class>javax.portlet.faces.GenericFacesPortlet</portlet-class><init-param><name>javax.portlet.faces.defaultViewId.view</name><value>/home.xhtml</value></init-param><init-param><name>javax.portlet.faces.preserveActionParams</name><value>true</value></init-param><expiration-cache>-0</expiration-cache><portlet-info><title>episode6A</title></portlet-info><supports><mime-type>text/html</mime-type><portlet-mode>VIEW</portlet-mode></supports></portlet></portlet-app><?xml version="1.0" encoding="UTF-8"?><portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd"
version="2.0">
<portlet>
<portlet-name>episode6PortletA</portlet-name>
<portlet-class>
javax.portlet.faces.GenericFacesPortlet
</portlet-class>
<init-param>
<name>javax.portlet.faces.defaultViewId.view</name>
<value>/home.xhtml</value>
</init-param>
<init-param>
<name>javax.portlet.faces.preserveActionParams</name>
<value>true</value>
</init-param>
<expiration-cache>-0</expiration-cache>
<portlet-info>
<title>episode6A</title>
</portlet-info>
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>VIEW</portlet-mode>
</supports>
</portlet>
</portlet-app>