[jboss-user] [JBoss Seam] - Re: Seam + Portlets + JSF + Facelets problem: Exception in P
chuaky
do-not-reply at jboss.com
Fri Sep 15 10:32:47 EDT 2006
9. Create .\booking\resources\WEB-INF\seam-booking-object.xml, as follows:
| <?xml version="1.0" encoding="UTF-8"?>
| <deployments>
| <deployment>
| <if-exists>overwrite</if-exists>
| <parent-ref>default</parent-ref>
| <page>
| <page-name>SeamBooking</page-name>
| <window>
| <window-name>SeamBookingPortletWindow</window-name>
| <instance-ref>SeamBookingPortletInstance</instance-ref>
| <region>center</region>
| <height>0</height>
| </window>
| </page>
| </deployment>
| <deployment>
| <if-exists>overwrite</if-exists>
| <instance>
| <instance-name>SeamBookingPortletInstance</instance-name>
| <component-ref>seam-booking.SeamBookingPortlet</component-ref>
| </instance>
| </deployment>
| </deployments>
|
10. Create .\booking\resources\WEB-INF\jboss-portlet.xml, as follows:
| <portlet-app>
| <portlet>
| <portlet-name>SeamBookingPortlet</portlet-name>
| </portlet>
| </portlet-app>
|
11. Create .\booking\resources\WEB-INF\portlet.xml, as follows:
| <?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 /opt/SUNWps/dtd/portlet.xsd"
| version="1.0">
| <portlet>
| <portlet-name>SeamBookingPortlet</portlet-name>
| <init-param>
| <name>default-view</name>
| <value>/home.xhtml</value>
| </init-param>
| <portlet-class>org.apache.myfaces.portlet.MyFacesGenericPortlet</portlet-class>
| <supports>
| <mime-type>text/html</mime-type>
| <portlet-mode>VIEW</portlet-mode>
| </supports>
| <portlet-info>
| <title>SeamBookingPortlet</title>
| </portlet-info>
| </portlet>
| </portlet-app>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971936#3971936
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971936
More information about the jboss-user
mailing list