Thank you Elif ! :) it works :)
Michael 2006/10/6, Elif Guner <[EMAIL PROTECTED]>:
In your psml file, try to give fragment name as <war file's name>::OnePortlet if your war file's name is oneportlet.war it should be oneportlet::OnePortlet I got the same error when my war file name was different than portlet-app-id and changing it to the war file's name fixed it. Elif On 10/6/06, Michael Boss <[EMAIL PROTECTED]> wrote: > Hi All, > > after deploying of portlet there is an error in portlet window (in a tomcat > log are not errors present): > Failed to retrieve Portlet Definition for oneportlet:: OnePortlet > > I understand that the portlet.xml contains an error. > > My portlet.xml: > <?xml version="1.0" encoding="UTF-8"?> > <portlet-app id="oneportlet" > 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="OnePortlet"> > <portlet-name>OnePortlet</portlet-name> > <portlet-class>op. OnePortlet</portlet-class> > <supports> > <mime-type>text/html</mime-type> > <portlet-mode>view</portlet-mode> > </supports> > <portlet-info> > <title>One Portlet</title> > </portlet-info> > </portlet> > </portlet-app> > > web.xml: > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web > Application 2.3//EN" > " http://java.sun.com/dtd/web-app_2_3.dtd"> > <web-app> > <display-name>OnePortlet</display-name> > <taglib> > <taglib-uri>http://java.sun.com/jstl/core</taglib-uri> > <taglib-location>/WEB-INF/tld/c.tld</taglib-location> > </taglib> > </web-app> > > Fragment in default-page.psml: > <fragment id="dp-100" type="portlet" name="oneportlet ::OnePortlet" > decorator="gray-gradient-noborder"> > <property layout="TwoColumns" name="row" value="3" /> > <property layout="TwoColumns" name="column" value="0" /> > </fragment> > > What can be wrong? > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
