Dan,<br><br>How many frameworks actually use the id attribute in their faces-config.xml file? I don't remember seeing any.<br clear="all">---<br>Kito D. Mann -- Author, JavaServer Faces in Action<br><a href="http://twitter.com/kito99">http://twitter.com/kito99</a> <a href="http://twitter.com/jsfcentral">http://twitter.com/jsfcentral</a><br>
<a href="http://www.virtua.com">http://www.virtua.com</a> - JSF/Java EE consulting, training, and mentoring<br><a href="http://www.JSFCentral.com">http://www.JSFCentral.com</a> - JavaServer Faces FAQ, news, and info<br>+1 203-404-4848 x3<br>
<br><br><div class="gmail_quote">On Fri, May 29, 2009 at 5:53 PM, Dan Allen <span dir="ltr"><<a href="mailto:dan.j.allen@gmail.com">dan.j.allen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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.<br>
<br>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.<br>
<br>-Dan<br clear="all"><br>-- <br>Dan Allen<br>Senior Software Engineer, Red Hat | Author of Seam in Action<br><br><a href="http://mojavelinux.com" target="_blank">http://mojavelinux.com</a><br><a href="http://mojavelinux.com/seaminaction" target="_blank">http://mojavelinux.com/seaminaction</a><br>
<a href="http://in.relation.to/Bloggers/Dan" target="_blank">http://in.relation.to/Bloggers/Dan</a><br><br>NOTE: While I make a strong effort to keep up with my email on a daily<br>basis, personal or other work matters can sometimes keep me away<br>
from my email. If you contact me, but don't hear back for more than a week,<br>it is very likely that I am excessively backlogged or the message was<br>caught in the spam filters. Please don't hesitate to resend a message if<br>
you feel that it did not reach my attention.<br>
</blockquote></div><br>