You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2014/08/01 20:35:43 UTC
[jira] [Closed] (TAP5-2170) constructAssetPath() requires use of
internal service
[ https://issues.apache.org/jira/browse/TAP5-2170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship closed TAP5-2170.
--------------------------------------
Resolution: Invalid
The correct approach is to use Asset.toClientURL(), which does all the work of obtaining and using the StreamableResource based on the Asset (and it's underlying Resource).
> constructAssetPath() requires use of internal service
> -----------------------------------------------------
>
> Key: TAP5-2170
> URL: https://issues.apache.org/jira/browse/TAP5-2170
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.4
> Reporter: Lenny Primak
> Priority: Minor
>
> Since 5.4, constructAssetPath requires an argument that not easily obtained,
> and requires a use of internal API.
> Thread:
> http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/T5-4-Alpha-15-constructAssetPath-changes-td5723188.html
--
This message was sent by Atlassian JIRA
(v6.2#6252)