6 Replies Latest reply on May 15, 2006 9:36 AM by roy.russo

    Defining which portlet handles requests by default

    adamw

      Hello,
      In portal 2.0, there was a property that could be set in portal-sth.xml, which told the portal which portlet (window) handles requests of type /a/b/c:

      <!-- Set the default window for request of the type /a/b/c -->
      <property>
       <name>org.jboss.portal.property.action</name>
       <value>MyWindow</value>
      </property>
      


      This doesn't seem to work in 2.2, and I am wondering, how can I do it now? I read on the forums about CommandMappers (a topic about URL rewriting), and I suppose that this is what I need. Do you have maybe at least a small example of how you configure and use it?

      --
      Cheers,
      Adam