[
https://issues.apache.org/jira/browse/WICKET-1700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12621134#action_12621134
]
Martin Simons commented on WICKET-1700:
---------------------------------------
There seems to be a small bug in the new ContextPathGenerator:
The prefix and the supplied path are joined in the wrong order.
final String contextRelativePath = Strings.join("/", path, prefix);
should be
final String contextRelativePath = Strings.join("/", prefix, path);
> Make functionality of ContextImage a behavior so that other types of
> components can utilize its functionality
> -------------------------------------------------------------------------------------------------------------
>
> Key: WICKET-1700
> URL: https://issues.apache.org/jira/browse/WICKET-1700
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 1.4-M2
> Environment: N/A
> Reporter: Will Hoover
> Assignee: Igor Vaynberg
> Priority: Trivial
> Fix For: 1.3.6
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> It would be better if ContextImage was a behavior rather than an actual
> component. For instance, if you have an html input of type=image (or a link
> for that matter) you can still utilize the behavior whereas a component you
> cannot.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.