I like Jim's suggestion here. I agree with the jsf scheme since the current taglib namespaces use "jsf" not "faces" (e.g., <a href="http://java.sun.com/jsf/core">http://java.sun.com/jsf/core</a>). So the standard seems to be to use "jsf" in URNs. I like the "cc" scheme because we have already started down that round, so it is actually more consistent and meaningful than "composite", which really doesn't mean anything.<br>
<br>So citing Pete's example with the new syntax:<br><br>xmlns:pete="jsf:cc:components/pete"<br><br>would map to<br><br>/resources/components/pete<br><br>
Am I right?<br><br>Of course, this ties into our other request to tuck these things away under WEB-INF<br><br>/WEB-INF/resources/components/pete<br><br>Also, going back to something David said earlier about how flex maps to a whole directory with /*, the composite components already map to a whole directory. We don't have the concept of creating a namespace for a single component, which really doesn't make any sense anyone.<br>
<br>The point I'm getting at is that we really are pretty close to getting something that is quite elegant.<br><br>-Dan<br><br><div class="gmail_quote">On Fri, Dec 11, 2009 at 1:29 AM, Lincoln Baxter, III <span dir="ltr"><<a href="mailto:lincolnbaxter@gmail.com">lincolnbaxter@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 like both of these suggestions. Less is more.<br>
<div><div></div><div class="h5"><br>
> Further, in the interest of brevity, why say "composite"? Why not match the<br>
> implicit EL object and just say "cc"?<br>
><br>
> Thus:<br>
><br>
> xmlns:jim="jsf:cc:jim"<br>
><br>
> Isn't that just as clear to someone who already knows what #{cc} is?<br>
><br>
> Concerned that it's too cryptic? Look at the first part of that phrase.<br>
> Anyone think that the XML standards guys should have called it xmlnamespace<br>
> instead of xmlns?<br>
><br>
> Shorter is almost always better, especially for frequently typed<br>
> boilerplate.<br>
><br>
> Jim<br>
><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Dan Allen<br>Senior Software Engineer, Red Hat | Author of Seam in Action<br>Registered Linux User #231597<br><br><a href="http://mojavelinux.com">http://mojavelinux.com</a><br>
<a href="http://mojavelinux.com/seaminaction">http://mojavelinux.com/seaminaction</a><br><a href="http://www.google.com/profiles/dan.j.allen">http://www.google.com/profiles/dan.j.allen</a><br>