[jboss-user] [JBoss Portal] - Re: Getting org.jboss.portal.portlet.container.PortletInitia
rajamalik
do-not-reply at jboss.com
Wed Dec 12 03:24:47 EST 2007
Please find the jsp, Portlet-instances.xml and spellcheck-object.xml below as they did not appear correctly in the previous post.
spellcheck.jsp
----------------
<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
<portlet:defineObjects/>
This is sample Spell Check Portlet.
Please Enter text for Spell Check in the text area below.
<form action="<portlet:actionURL><portlet:param name="page"
value="mainview"/></portlet:actionURL>"
method="POST">
Name:
You can also link to other pages, using a renderURL, like <a
href="<portlet:renderURL><portlet:param name="spellCheckText" value="Enter the text for
Spell Check."></portlet:param></portlet:renderURL>">this.
portlet-instances.xml
------------------------
<?xml version="1.0" standalone="yes"?>
<!DOCTYPE deployments PUBLIC
"-//JBoss Portal//DTD Portlet Instances 2.6//EN"
"http://www.jboss.org/portal/dtd/portlet-instances_2_6.dtd">
<instance-id>SpellCheckPortletInstance</instance-id>
<portlet-ref>SpellCheckPortlet</portlet-ref>
spellcheck-object.xml
-------------------------
<?xml version="1.0" encoding="UTF-8"?>
<if-exists>overwrite</if-exists>
<parent-ref>default.default</parent-ref>
<window-name>SpellCheckPortletWindow</window-name>
<instance-ref>SpellCheckPortletInstance</instance-ref>
center
1
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112168#4112168
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112168
More information about the jboss-user
mailing list