This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 147064

Summary: Groovy portlet.xml shows references describing Ruby for init and Action
Product: contrib Reporter: bharani <bharani>
Component: PortalpackAssignee: _ chetansanth <chetansanth>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: Macintosh   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description bharani 2008-09-12 11:33:18 UTC
Groovy portlet.xml shows references describing Ruby for init and Action. Find the trace of portlet.xml below:

<?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>
		<description>HelloGroovy</description>
		<portlet-name>HelloGroovy</portlet-name>
		<display-name>HelloGroovy</display-name>
		<portlet-class>com.liferay.util.bridges.groovy.GroovyPortlet</portlet-class>
		<init-param>
			<description>Portlet Init View Page</description>
			<name>view-file</name>
			<value>/WEB-INF/groovy/HelloGroovy.groovy</value>
		</init-param>
		<init-param>
			<description>Portlet Ruby Action Page</description>
			<name>action-file</name>
			<value>/WEB-INF/groovy/HelloGroovy_action.groovy</value>
		</init-param>
		<init-param>
			<description>Global ruby files</description>
			<name>global-files</name>
			<value>/WEB-INF/groovy/global/custom.groovy,/WEB-INF/groovy/global/liferay_portlet.groovy</value>
		</init-param>
		<expiration-cache>0</expiration-cache>
		<supports>
			<mime-type>text/html</mime-type>
			<portlet-mode>VIEW</portlet-mode>
		</supports>
		<supported-locale>en</supported-locale>
		<resource-bundle>messages</resource-bundle>
		<portlet-info>
			<title>HelloGroovy</title>
			<short-title>HelloGroovy</short-title>
		</portlet-info>
	</portlet>
</portlet-app>
Comment 1 Satyaranjan D 2008-11-13 07:27:07 UTC
Template file for Groovy portlet needs to be changed to remove all Ruby references.
Comment 2 _ chetansanth 2008-11-14 10:30:27 UTC
Fixed: Replaced ruby references with groovy