[jboss-user] [JBoss Portal] - Re: Porlet Tutorial WebWork 2.2
PeterJ
do-not-reply at jboss.com
Wed Oct 8 14:10:45 EDT 2008
You need to create a portlet-instanxes.xml file and move the 'instance' entry from MyPortlet-object.xml to there. Thus portlet-instances.xml should contain:
<deployments>
| <deployment>
| <instance>
| <instance-id>MyPortletInstance</instance-id>
| <portlet-ref>MyPortlet</portlet-ref>
| </instance>
| </deployment>
| </deployments>
and MyPortlet-object.xml should contain:
<deployments>
| <deployment>
| <if-exists>overwrite</if-exists>
| <parent-ref>default</parent-ref>
| <properties />
| <page>
| <page-name>MyPortlet Tutorial</page-name>
| <properties />
| <window>
| <window-name>MyPortletWindow</window-name>
| <instance-ref>MyPortletInstance</instance-ref>
| <region>center</region>
| <height>0</height>
| </window>
| </page>
| </deployment>
| </deployments>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181098#4181098
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181098
More information about the jboss-user
mailing list