[
https://issues.apache.org/jira/browse/WICKET-3987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13090482#comment-13090482
]
Peter Ertl commented on WICKET-3987:
------------------------------------
not pretty but working:
String url = urlFor(new
ResourceReference(StarRatingPanel.class, "img")
{
@Override
public IResource getResource()
{
return new IResource()
{
@Override
public void respond(Attributes
attributes)
{
}
};
}
}, new PageParameters()).toString();
log.info("url=" + url);
Basically it's a kludge to resolve the url to a package location with a
resource reference pointing to a non-existant resource. I don't know if a
package counts as a resource. Maybe we should add some kind of official support
for that?!
> 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
> Assignee: Peter Ertl
>
> 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