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 - Groovy portlet.xml shows references describing Ruby for init and Action
Summary: Groovy portlet.xml shows references describing Ruby for init and Action
Status: RESOLVED FIXED
Alias: None
Product: contrib
Classification: Unclassified
Component: Portalpack (show other bugs)
Version: 6.x
Hardware: Macintosh All
: P3 blocker (vote)
Assignee: _ chetansanth
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-12 11:33 UTC by bharani
Modified: 2009-11-07 10:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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