hi i'm using the jboss-portal 2.4.1 bundle on java 1.5 and have got a problem with the portlet-instances. although i have created all necessary xml-files according to the 2.4 reference-guide the necessary instances aren't created and i get the "Object not found..."-Exception. below are the used xml-files. i hope you can help me
regards christof portlet.xml <?xml version="1.0" encoding="UTF-8"?> | <portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" version="1.0"> | <portlet> | <portlet-name>MyWorldPortlet</portlet-name> | <portlet-class>org.jboss.portlet.hello.MyPortlet</portlet-class> | <supports> | <mime-type>text/html</mime-type> | <portlet-mode>VIEW</portlet-mode> | <portlet-mode>HELP</portlet-mode> | <portlet-mode>EDIT</portlet-mode> | </supports> | <portlet-info> | <title>Mein Portlet</title> | </portlet-info> | </portlet> | </portlet-app> my-object.xml <?xml version="1.0" encoding="UTF-8"?> | <deployments> | <deployment> | <parent-ref/> | <if-exists>overwrite</if-exists> | <portal> | <portal-name>HelloPortal</portal-name> | <properties> | <!-- Set the layout for the default portal --> | <!-- see also portal-layouts.xml --> | <property> | <name>layout.id</name> | <value>generic</value> | </property> | <!-- Set the theme for the default portal --> | <!-- see also portal-themes.xml --> | <property> | <name>theme.id</name> | <value>Nphalanx</value> | </property> | <!-- set the default render set name (used by the render tag in layouts) --> | <!-- see also portal-renderSet.xml --> | <property> | <name>theme.renderSetId</name> | <value>divRenderer</value> | </property> | <!-- set the default strategy name (used by the strategy interceptor) --> | <!-- see also portal-strategies.xml --> | <property> | <name>layout.strategyId</name> | <value>maximizedRegion</value> | </property> | </properties> | <supported-modes> | <mode>view</mode> | <mode>edit</mode> | <mode>help</mode> | </supported-modes> | <supported-window-states> | <window-state>normal</window-state> | <window-state>minimized</window-state> | <window-state>maximized</window-state> | </supported-window-states> | <page> | <page-name>start</page-name> | <properties/> | <window> | <window-name>MyPortletWindow</window-name> | <instance-ref>MyWorldPortletInstance</instance-ref> | <region>center</region> | <height>0</height> | </window> | <security-constraint> | <policy-permission> | <unchecked/> | <action-name>viewrecursive</action-name> | </policy-permission> | </security-constraint> | </page> | <security-constraint> | <policy-permission> | <unchecked/> | <action-name>personalizerecursive</action-name> | </policy-permission> | </security-constraint> | </portal> | </deployment> | <deployment> | <if-exists>overwrite</if-exists> | <parent-ref>HelloPortal</parent-ref> | <page> | <page-name>test</page-name> | <window> | <window-name>MyPortletWindow</window-name> | <instance-ref>MyWorldPortletInstance</instance-ref> | <region>center</region> | <height>0</height> | </window> | <security-constraint> | <policy-permission> | <unchecked/> | <action-name>viewrecursive</action-name> | </policy-permission> | </security-constraint> | </page> | </deployment> | </deployments> portlet-instances.xml <?xml version="1.0" encoding="utf-8" standalone="yes"?> | <deployments> | <deployment> | <instance> | <instance-id>MyWorldPortletInstance</instance-id> | <portlet-ref>MyWorldPortlet</portlet-ref> | </instance> | </deployment> | </deployments> View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054283#4054283 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054283 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
