[ 
https://issues.apache.org/jira/browse/WICKET-3987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13089772#comment-13089772
 ] 

Konstantin Ignatyev commented on WICKET-3987:
---------------------------------------------

 val imgUrl = RequestCycle.get().urlFor(new 
PackageResourceReference(classOf[StarRatingPanel], "jquery.raty-1.0.1/img"){

      override def getLastModified = null//prevent cacheable urls       <--  
this does not work any more

    }, null)
    response.renderJavaScript("$j.fn.raty.defaults.path= '" + imgUrl + "';", 
"raty-images-fix")

> setUseTimestampOnResources and PackageResourceReference#getLastModified 
> removed
> -------------------------------------------------------------------------------
>
>                 Key: WICKET-3987
>                 URL: https://issues.apache.org/jira/browse/WICKET-3987
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.0
>         Environment: 1.5.0 trunk
>            Reporter: Konstantin Ignatyev
>
> IResourceSettings#setUseTimestampOnResources and 
> PackageResourceReference#getLastModified removed in the trunk breaking some 
> of my components which rendered JScript reference from a component package. 
> Now URL has timestamp and therefore parts of JScript relying on relative to 
> the script positions of assets stopped working.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to