Module tapestry.portlet
Back to master index

[public] Service Point tapestry.portlet.PortletAssetLinkFactory Interface: org.apache.tapestry.services.LinkFactory
Implementation of LinkFactory for portlet assets. Uses servlet paths to generate asset links as is normally done, but also re encodes the URL's using IRequestCycle.encodeUrl(string).
Implementation
  • <invoke-factory service-id="hivemind.BuilderFactory" model="singleton" >
    • <construct class="PortletAssetLinkFactoryImpl" >
      • <set-object property="dataSqueezer" value="infrastructure:dataSqueezer" />
      • <set-configuration configuration-id="tapestry.url.ServiceEncoders" property="contributions" />
      • <set-object property="servletPath" value="app-property:org.apache.tapestry.servlet-path" />
      • <set-object property="contextPath" value="infrastructure:contextPath" />
      • <set-object property="request" value="infrastructure:request" />
      • <set-object property="requestCycle" value="infrastructure:requestCycle" />
      • <set-service property="persistenceStrategySource" service-id="tapestry.persist.PropertyPersistenceStrategySource" />
      </construct>
    </invoke-factory>

Module tapestry.portlet
Back to master index