How many frameworks actually use the id attribute in their faces-config.xml file? I don't remember seeing any.
Kito D. Mann -- Author, JavaServer Faces in Action
http://twitter.com/kito99  http://twitter.com/jsfcentral
http://www.virtua.com - JSF/Java EE consulting, training, and mentoring
http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info
+1 203-404-4848 x3

On Fri, May 29, 2009 at 5:53 PM, Dan Allen <dan.j.allen@gmail.com> wrote:
I'm very eager to take advantage of the configuration document ordering in JSF 2 because it will bring decidedly deterministic behavior when mixing JSF frameworks and libraries. However, I noticed something that compromises the usefulness of this feature when mixing with older JSF add-ons.

I expected the value of the id attribute on the <faces-config> element to be used as the name of the docuent. However, I was suprised to learn that there is a special <name> child element reserved for this purpose. While I don't oppose the <name> element, since it is more semantic, it requires for me to wait (hope and wish) for the add-ons to hurry up and upgrade to JSF 2 so that I can order my document around them. I would expect that if the <name> element is absent (either because it is a pre-JSF 2 descriptor or it just isn't specified) the name is taken from the id attribute on <faces-config>, if present. Is this reasonable? This is *very* important to address now as it won't even be an issue once the projects upgrade. This feature is needed now.


Dan Allen
Senior Software Engineer, Red Hat | Author of Seam in Action


NOTE: While I make a strong effort to keep up with my email on a daily
basis, personal or other work matters can sometimes keep me away
from my email. If you contact me, but don't hear back for more than a week,
it is very likely that I am excessively backlogged or the message was
caught in the spam filters.  Please don't hesitate to resend a message if
you feel that it did not reach my attention.