Is it possible to put a simple seam app such as the registration example into a portlet? I have attempted using portal2.2.1RC2 and failed. Here are my efforts:
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 /opt/SUNWps/dtd/portlet.xsd" | version="1.0"> | <portlet> | | <portlet-name>Registration</portlet-name> | <portlet-class>org.apache.myfaces.portlet.MyFacesGenericPortlet</portlet-class> | | <init-param> | <name>default-view</name> | <value>/register.seam</value> | </init-param> | | <supports> | <mime-type>text/html</mime-type> | <portlet-mode>VIEW</portlet-mode> | </supports> | | <portlet-info> | <title>Registration</title> | </portlet-info> | | </portlet> | </portlet-app> | jboss-portlet.xml | <portlet-app> | <portlet> | <portlet-name>Registration</portlet-name> | <transaction> | <trans-attribute>Required</trans-attribute> | </transaction> | <header-content> | </header-content> | </portlet> | </portlet-app> | I am very new at both seam and portlets, so this is basically cut, guess and paste. With this I am able to create a portlet instance for registraion, but when I use it in page, the page is empty. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3924625#3924625 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3924625 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
