[jboss-user] [JBoss Portal] - Re: how to develop a JBossPortlet?

bvogt do-not-reply at jboss.com
Fri Oct 10 09:11:30 EDT 2008


web.xml is not meant, but jboss-web.xml instead - just create one. It resides in WEB-INF too.

Try this one:<?xml version="1.0" encoding="UTF-8"?>
  | <portlet-app>
  |   <portlet>
  |     <portlet-name>UserAdminPortlet</portlet-name>
  |     <transaction>
  |       <trans-attribute>Required</trans-attribute>
  |     </transaction>
  |   </portlet>
  |   <service>
  |     <service-name>UserModule</service-name>
  |     <service-class>org.jboss.portal.identity.UserModule</service-class>
  |     <service-ref>:service=Module,type=User</service-ref>
  |   </service>
  | </portlet-app>
This might help:
http://docs.jboss.com/jbportal/v2.6.6/referenceGuide/html/xmldescriptors.html#descriptors_portlet

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181495#4181495

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181495



More information about the jboss-user mailing list