title: Access ResourceBundle keys which contain dots ?
body: <p>My JSF2 application is fully internationalized, using a ResourceBundle. </p>
  
  <p>Now i have a lot of Javascript-code, which does some alerts and stuff. There i would like to access my ResourceBundle. I could successfully access simple ResourceBundle keys like this:</p>
  
  <pre><code>alert("#{bundle.message_email_sent}");
  </code></pre>
  
  <p>Unfortunately, my convention for keys in my bundle is to use dots <strong>.</strong> as seperators for my keys, for example <code>message.email.sent=E-Mails sent.</code>. But when i do </p>
  
  <pre><code>alert("#{bundle.message.email.sent}");
  </code></pre>
  
  <p>JSF tries to access "email" like a function on the string returned by bundle.message. 
  How can i tell the EL-resolver to use the whole "message.email.sent" as the key?</p>
  
  <p>I also tried stuff like</p>
  
  <pre><code>alert("#{bundle[\'message.email.sent\']}");
  </code></pre>
  
  <p>Which also results in errors.
  Any suggestions?</p>