[ 
https://issues.apache.org/jira/browse/TAPESTRY-2313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12585021#action_12585021
 ] 

Massimo Lusetti commented on TAPESTRY-2313:
-------------------------------------------

Maybe another way could be to use the action link event handler to return a url 
(relative) built on top of assets virtual folder. But that is problematic since 
you have to eventually deal with context prefix and others development 
configuration options, i don't know if this is easly handled.

After that the job is ended with a custom factory.

> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to