Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using a4j:loadBundle with facelets

Andres Guerrero
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I'm working in the development of a site that uses Facelets and RichFaces.

I'm trying to use a message file loaded from a properties bundle included in the main template of the site, but also, a different messages file for other pages. For example, I placed the tag:

In the main template and works fine in all the pages, but, I tried placing:

In a different page that uses the template (ui:composition) and doesn't work, it worked only when I placed the tag in the main template.

Any suggestion for having a common message file and specific messages files for other pages without including all the bundles in the main template?

Thanks in advance,

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic