So.. you know you could get the AssetSource, and create the desired Asset directly, whenever you like..


Massimo Lusetti (JIRA) wrote:
Make usage of expansion within Asset injection and template definition
----------------------------------------------------------------------

                 Key: TAPESTRY-2313
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2313
             Project: Tapestry
          Issue Type: Improvement
          Components: tapestry-core
    Affects Versions: 5.0
         Environment: Any
            Reporter: Massimo Lusetti


It would be great if we could provide a way to use Asset with a dynamic path, 
known only at runtime.
Typical usage is for asset relative to a product in a online shot where i got 
the id of the prodcut beeing displayed and want to display the relative image 
via Asset to benefit of caching and others.
For the records, now the problem is solved using and an action link as the src 
attribute of img tag and from the action event handler returning a 
StreamResposne.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to