You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by Jeremy Thomerson <je...@wickettraining.com> on 2010/09/22 07:02:24 UTC

Request for input: resource loading search pattern flowchart

I am trying to create an image that accurately describes the (rather
complex) search pattern Wicket uses to find a String resource, looping
through all the properties files that it will search.  I've created the
following flowchart [1], and would like to gather comments on it.
 Primarily, I'm interested in:

 - Do you have any suggestions on how to make it more understandable?   (Or
do you think, "hey, I can understand that!"?)
 - Do you see any technical inaccuracies?

[1] -
http://wickettraining.com/images/i18n-string-loading-search-pattern.png

<http://wickettraining.com/images/i18n-string-loading-search-pattern.png>
Thanks!

-- 
Jeremy Thomerson
http://www.wickettraining.com

Re: Request for input: resource loading search pattern flowchart

Posted by Juergen Donnerstag <ju...@gmail.com>.
may be that is of help as well:
https://issues.apache.org/jira/browse/WICKET-2713

regards
Juergen

On Wed, Sep 22, 2010 at 1:14 PM, Clint Checketts <ch...@gmail.com> wrote:
> Jeremy,
>
> If possible you may try color coding the different sections of the file
> name:
>
> filename_variation_style_es_MX.xml
>
> That way as the pieces are removed the pattern will be obvious to the
> reader. Just be cautious in your color choices: you wouldn't want a double
> rainbow clear across your slide.
>
> -Clint
>
> On Wed, Sep 22, 2010 at 2:55 AM, Sven Meier <sv...@meiers.net> wrote:
>
>>
>> Hi Jeremy,
>>
>> IMHO your chart misses two important points:
>> - string resources from parental components take precedence,
>> - Wicket mangles string resource keys, e.g.
>>    foo.bar.baz.Required
>>    bar.baz.Required
>>    baz.Required
>>
>> Regards
>>
>> Sven
>> --
>> View this message in context:
>> http://apache-wicket.1842946.n4.nabble.com/Request-for-input-resource-loading-search-pattern-flowchart-tp2549733p2549872.html
>> Sent from the Forum for Wicket Core developers mailing list archive at
>> Nabble.com.
>>
>

Re: Request for input: resource loading search pattern flowchart

Posted by Clint Checketts <ch...@gmail.com>.
Jeremy,

If possible you may try color coding the different sections of the file
name:

filename_variation_style_es_MX.xml

That way as the pieces are removed the pattern will be obvious to the
reader. Just be cautious in your color choices: you wouldn't want a double
rainbow clear across your slide.

-Clint

On Wed, Sep 22, 2010 at 2:55 AM, Sven Meier <sv...@meiers.net> wrote:

>
> Hi Jeremy,
>
> IMHO your chart misses two important points:
> - string resources from parental components take precedence,
> - Wicket mangles string resource keys, e.g.
>    foo.bar.baz.Required
>    bar.baz.Required
>    baz.Required
>
> Regards
>
> Sven
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Request-for-input-resource-loading-search-pattern-flowchart-tp2549733p2549872.html
> Sent from the Forum for Wicket Core developers mailing list archive at
> Nabble.com.
>

Re: Request for input: resource loading search pattern flowchart

Posted by Sven Meier <sv...@meiers.net>.
Hi Jeremy,

IMHO your chart misses two important points:
- string resources from parental components take precedence,
- Wicket mangles string resource keys, e.g.
    foo.bar.baz.Required
    bar.baz.Required
    baz.Required

Regards

Sven
-- 
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Request-for-input-resource-loading-search-pattern-flowchart-tp2549733p2549872.html
Sent from the Forum for Wicket Core developers mailing list archive at Nabble.com.