Thank you. I went to add the additional information about "Add Portlet" doesn't seem to use the resource information when displaying or searching for portlets but after several attempts at creating a Jira account and failing to match the generated image I gave up.
I will try again later. Jeff On Mon, Sep 14, 2009 at 10:17 AM, Ate Douma <[email protected]> wrote: > Frank Otto wrote: > >> Hi, >> >> I have the same problem and I have created an issue: >> >> https://issues.apache.org/jira/browse/JS2-1045 >> >> Thanks, I missed that one. > > I've assigned it to myself and will try to look into this week. > > @Jeff: if you have more specifics to add to this issue, please do. > > Regards, > > Ate > > > >> kind regards, >> >> Frank >> >> Ate Douma schrieb: >> >>> Hi Jeff, >>> >>> Although I don't have time right now to test and debug this but it seems >>> like a bug to me. >>> Can you enter this as a new JIRA issue and then assign it to me? >>> I will try to find some time this week to dive deeper into it. >>> >>> Thanks, >>> >>> Ate >>> >>> Jeff Pierce wrote: >>> >>>> I seem to be having an issue when using <resource-bundle> in my >>>> portlet.xml. This is what I have observed. >>>> >>>> The portlet description and information does not appear when you edit a >>>> page >>>> and try to add a portlet using the Add Portlet page. It just shows >>>> blank >>>> information next to the icon and above the Add link. Also, the keywords >>>> from the resource bundle don't work. If you put the same information >>>> directly into the portlet.xml, it shows up and works fine on the Add >>>> Portlet >>>> page. >>>> >>>> When you add the portlet, the title shows up fine using the resource >>>> bundle. >>>> >>>> >>>> The Portlet Application Manager appears to get the resource bundle >>>> information OK, at least the first time the portlet is deployed. When >>>> viewing the portlet details, the PortletDetailsManager shows the >>>> correction >>>> information on the Languages tab. However, if you redeploy your portlet >>>> with changes to the resource information, it is not picked up and >>>> continues >>>> to show the information from the first deployment. I've tried several >>>> variations on redeploying, delete the portlet webapp, restarting without >>>> much luck here. Seems only after building our custom portal with a >>>> target=all the new info is picked up. >>>> >>>> Here is my resource bundle: >>>> javax.portlet.title=SimplePortletTitle >>>> javax.portlet.short-title=SimpleShortTitle >>>> javax.portlet.description=This is a simple portlet example >>>> javax.portlet.display-name=SimpleDisplayName >>>> javax.portlet.keywords=simple,sample,spring >>>> >>>> Here is my portlet.xml file >>>> <?xml version="1.0" encoding="UTF-8"?> >>>> <portlet-app id='vs-demo' >>>> xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd" >>>> version="2.0" >>>> 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"> >>>> >>>> <portlet> >>>> <portlet-name>simpleportlet</portlet-name> >>>> >>>> <portlet-class>org.springframework.web.portlet.DispatcherPortlet</portlet-class> >>>> >>>> <init-param> >>>> <name>contextConfigLocation</name> >>>> <value>/WEB-INF/context/simpleportlet.xml</value> >>>> </init-param> >>>> <supports> >>>> <mime-type>text/html</mime-type> >>>> <portlet-mode>VIEW</portlet-mode> >>>> <portlet-mode>HELP</portlet-mode> >>>> </supports> >>>> <resource-bundle>com.sample.simpleportlet</resource-bundle> >>>> </portlet> >>>> >>>> </portlet-app> >>>> >>>> Any help would be appreciated. Thanks. >>>> >>>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
