It worked... Also, I may have found an easier way, just use Asset.toClientURL() and don't need to worry about asset path at all.
On Sep 4, 2013, at 1:45 PM, Howard Lewis Ship wrote: > StreamableResource is a kind of wrapper around Resource that includes > additional information needed to generate asset URLs and a bunch of other > related concerns. > > There's a StreamableResourceSource service. > > Oops, that's unfortunate; you'll need the internal ResourceChangeTracker > service (which implementes ResourceDependencies) generate a > StreamableResource. > > We should probably provide an override of getStreamableResource() that > provides the ResourceChangeTracker for you, since it is internal. And > actually, one that defaults StreamableResourceProcessing for you as well. > > > On Mon, Sep 2, 2013 at 12:48 PM, Lenny Primak <lpri...@hope.nyc.ny.us>wrote: > >> I am trying to migrate to T5.4, and so far I don't understand how to use >> constructAssetPath() >> It now requires a third parameter, StreamableResource. >> >> What I am trying to do is get a path for application asset to a >> non-tapestry module of the app. >> >> Does anyone have an example of how to use constructAssetPath() in T5.4? >> >> Thanks >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> > > > -- > Howard M. Lewis Ship > > Creator of Apache Tapestry > > The source for Tapestry training, mentoring and support. Contact me to > learn how I can get you up and productive in Tapestry fast! > > (971) 678-5210 > http://howardlewisship.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org