[
https://issues.apache.org/jira/browse/WICKET-2298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715537#action_12715537
]
Juergen Donnerstag commented on WICKET-2298:
--------------------------------------------
The problem will be that we usually call Component.getStyle() to get the
combination of variation and style. If we are going to change that, than we
need to check every place where getStyle() is used today. Teadious, but
probably not complicated. Introducing Component.getStyleAndVariation() (which
is equal to todays getStyle()) would make that transition more simple. I still
would suggest to make getStyleAndVariation() final and not allow users to
change it, since resource name iterator needs to implement that concatenation
scheme as well.
> 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.