This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Child pages
  • Case Insensitivity
Skip to end of metadata
Go to start of metadata

Ever get frustrated because you typed the right thing with the wrong case and your system blew up? We do.

Tapestry IoC attempts to be case insensitive for all the main constructs:

  • Service ids.
  • Object provider prefixes.
  • Message keys.

Thus, getService("Baz", Baz.class) is preferred, but getService("BAZ", Baz.class) (or any variation thereof) will work just exactly as well. This also extends to other naming conventions, such as contributeFoo methods. It also applies to values inside annotations.

Just case is ignored – other punctuation, as well as whitespace, must exactly match.

Under the covers, this is supported by the CaseInsensitiveMap class.


  • No labels