[
https://issues.apache.org/jira/browse/WICKET-2298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715531#action_12715531
]
Juergen Donnerstag commented on WICKET-2298:
--------------------------------------------
I agree. I think the whole mail discussion is mislead. We don't need a
mechanism in Wicket to easily read filenames and identify the constituent
parts. Wicket simply links them.
This is from Component.getStyle()
if (style != null && !"".equals(style))
{
style = variation + "_" + style;
}
else
{
style = variation;
}
If users define a rule that variations always have to start with a "_" whereas
style must not, than there will be no filename clash.
But in order for that to work StyleAndVariationResourceNameIterator must be
fixed to do what Ned in his very first post requested: consider variation for
the iteration as well, which we currently don't do.
> Style and variant resolution is broken
> --------------------------------------
>
> Key: WICKET-2298
> URL: https://issues.apache.org/jira/browse/WICKET-2298
> Project: Wicket
> Issue Type: Bug
> Reporter: Igor Vaynberg
> Fix For: 1.5-M1
>
>
> the resolution of style and variant is broken because there is no way to
> identify them if only one is used. eg panel_foo.html - is foo the style or
> the variant? for more details and possible solutions refer to
> http://markmail.org/thread/lj3luznjnvbun72r
> we will need to discuss, as a group, what format to use for the solution.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.