[jsr-314-open] deriving the name of a faces-config.xml document

Dan Allen dan.j.allen at GMAIL.COM
Fri May 29 17:53:37 EDT 2009


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

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

http://mojavelinux.com
http://mojavelinux.com/seaminaction
http://in.relation.to/Bloggers/Dan

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jsr-314-open-mirror/attachments/20090529/32dbf1bc/attachment.html 


More information about the jsr-314-open-mirror mailing list