You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Tony Vegas (JIRA)" <ji...@apache.org> on 2008/05/09 17:40:55 UTC

[jira] Created: (WICKET-1606) ResourceNameIterator not regarding Variation?

ResourceNameIterator not regarding Variation?
---------------------------------------------

                 Key: WICKET-1606
                 URL: https://issues.apache.org/jira/browse/WICKET-1606
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.3.3
            Reporter: Tony Vegas


Hi,
it seems that the ResourceNameIterator is not regarding a set variation, cause it calls "new StyleAndVariationResourceNameIterator(path, style, null);" where null should be the variation.
Thus, the lookup for resources does not work in the described way, checking all combinations of locale, style and variation.

Greetings,
Tony

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WICKET-1606) ResourceNameIterator not regarding Variation?

Posted by "Tony Vegas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-1606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12596372#action_12596372 ] 

Tony Vegas commented on WICKET-1606:
------------------------------------

Please apologize the question, but i want to be sure on this:

If i have a Component
"Component_style_variation.html" 
and in that Component i add another component
"OtherComponent" 
of which only the files
"OtherComponent.html" and "OtherComponent_style.html" exist, wicket will always choose "OtherComponent.html" where it appeared to me that it should choose "OtherComponent_style.html" ?

Tony

> ResourceNameIterator not regarding Variation?
> ---------------------------------------------
>
>                 Key: WICKET-1606
>                 URL: https://issues.apache.org/jira/browse/WICKET-1606
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.3
>            Reporter: Tony Vegas
>            Assignee: Juergen Donnerstag
>
> Hi,
> it seems that the ResourceNameIterator is not regarding a set variation, cause it calls "new StyleAndVariationResourceNameIterator(path, style, null);" where null should be the variation.
> Thus, the lookup for resources does not work in the described way, checking all combinations of locale, style and variation.
> Greetings,
> Tony

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (WICKET-1606) ResourceNameIterator not regarding Variation?

Posted by "Juergen Donnerstag (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-1606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Juergen Donnerstag resolved WICKET-1606.
----------------------------------------

    Resolution: Invalid
      Assignee: Juergen Donnerstag

I understand that it looks like, but actually due to historically reasons, Component.getStyle() return style + variation.

Juergen

> ResourceNameIterator not regarding Variation?
> ---------------------------------------------
>
>                 Key: WICKET-1606
>                 URL: https://issues.apache.org/jira/browse/WICKET-1606
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.3
>            Reporter: Tony Vegas
>            Assignee: Juergen Donnerstag
>
> Hi,
> it seems that the ResourceNameIterator is not regarding a set variation, cause it calls "new StyleAndVariationResourceNameIterator(path, style, null);" where null should be the variation.
> Thus, the lookup for resources does not work in the described way, checking all combinations of locale, style and variation.
> Greetings,
> Tony

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.