-
1. Re: portlet not deployed properly
peterj Jun 25, 2008 5:51 PM (in response to sumeet.singh)Did you create a portlet-instances.xml file and *-object.xml file? If not, please read the documentation - it tells you all about them. If you have, please post them.
-
2. Re: portlet not deployed properly
sumeet.singh Jun 26, 2008 2:55 AM (in response to sumeet.singh)ues, i have created both of them:
portlet-instances.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE deployments PUBLIC
"-//JBoss Portal//DTD Portlet Instances 2.6//EN" "http://www.jboss.org/portal/dtd/portlet-instances_2_6.dtd">
<instance-id>TestPortletInstance</instance-id>
<portlet-ref>TestPortlet</portlet-ref>
testPortal-object.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE deployments PUBLIC
"-//JBoss Portal//DTD Portal Object 2.6//EN"
"http://www.jboss.org/portal/dtd/portal-object_2_6.dtd">
<if-exists>overwrite</if-exists>
<parent-ref>default.default</parent-ref>
<window-name>TestPortletWindow</window-name>
<instance-ref>TestPortletInstance</instance-ref>
center
1 -
3. Re: portlet not deployed properly
peterj Jun 26, 2008 1:57 PM (in response to sumeet.singh)Please use the [ code ] tags when posting XML text (select the text and click the Code button).
As far as I can tell from the config files you posted, your portlet should show up on the default page when you bring up the portal. -
4. Re: portlet not deployed properly
sumeet.singh Jun 27, 2008 9:25 AM (in response to sumeet.singh)hi,
thnx, but my problem has been solved.
actually the instance of the portlet has not been created automatically.
So first i create the instance from portlet-defincation and then it became visible in that portion...