Yup, understood, thanks for the clarification, Dan. <br><br>btw, it seems to me that we really don&#39;t need the jsf prefix either. After all, it&#39;s only used in JSF applications, so I&#39;d just prefer something like cc:acme, which of course, ala Dan&#39;s clarification really means cc:whatever <br>
<br>I suppose one could argue that we should have it because we have it in our other namespaces, but we&#39;re not using <a href="http://java.sun.com">java.sun.com</a>, which we also have in the other namespaces, so why not just simplify as much as possible and say cc:whatever?<br>
<br><br>david<br><br><div class="gmail_quote">2009/12/11 Dan Allen <span dir="ltr">&lt;<a href="mailto:dan.j.allen@gmail.com">dan.j.allen@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Just to clarify, the &quot;components&quot; directory is not required under resources. The developer has the option of doing:<br><br>jcf:cc:acme<br><br>which resolves to <br><br>/resources/acme<br><br>Since cc stands for composite components, some people may see the &quot;components&quot; directory as redundant (as we cited in earlier examples in the thread). I&#39;m just stating a fact for clarification.<br>
<font color="#888888">
<br>-Dan</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Fri, Dec 11, 2009 at 10:03 AM, Roger Kitain <span dir="ltr">&lt;<a href="mailto:Roger.Kitain@sun.com" target="_blank">Roger.Kitain@sun.com</a>&gt;</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;">
&quot;cc&quot; is fine since it matches the EL expression (consistency).<br>
I also think &quot;jsf&quot; is fine especially since &quot;jsf&quot; is used in the core (f) and html (h)<br>
namespaces.<br><font color="#888888">
<br>
-roger</font><div><div></div><div><br>
<br>
Jim Driscoll wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
On 12/9/09 7:07 AM, Jason Lee wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Dec 9, 2009, at 5:11 AM, Pete Muir wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Agreed, I don&#39;t think for the composite components we made the best<br>
choice for URI schema, IMO it should have been more like<br>
<br>
xmlns:pete=&quot;composite:components/pete&quot;<br>
<br>
- the big difference to the original proposal is that we are still<br>
within the URI scheme guidelines because we use a scheme name. By<br>
defining our own scheme, we are then free to choose how the<br>
&quot;hierarchical part&quot; looks. Arguably we could go for a less generic<br>
scheme name like &quot;faces&quot; or &quot;jsf&quot;:<br>
<br>
xmlns:pete=&quot;faces:composite:components/pete&quot;<br>
<br>
which is a bit longer but more generic...<br>
</blockquote>
<br>
I like this approach. Of the two, part of me thinks the second might be<br>
the better choice, as it gives us a bit more flexibility to add things<br>
under the faces scheme, thus kind of grouping things together, but<br>
another part of me wonders if we&#39;d ever want to do that, given the<br>
context of the discussion (YAGNI ;). However, it&#39;s only 6 characters (or<br>
4 for &quot;jsf:&quot;), so I don&#39;t see the harm in the slightly longer proposal.<br>
</blockquote>
<br>
<br>
I would prefer jsf:composite:jim for components under resources/jim, and jsf:composite:comp/jim for components under resources/comp/jim.  Two characters might not seem like a lot, but why not use jsf instead of faces if it signifies the same thing to users and is shorter?  (We already use &quot;jsf&quot; in the Ajax library.)<br>


<br>
Further, in the interest of brevity, why say &quot;composite&quot;?  Why not match the implicit EL object and just say &quot;cc&quot;?<br>
<br>
Thus:<br>
<br>
xmlns:jim=&quot;jsf:cc:jim&quot;<br>
<br>
Isn&#39;t that just as clear to someone who already knows what #{cc} is?<br>
<br>
Concerned that it&#39;s too cryptic?  Look at the first part of that phrase.  Anyone think that the XML standards guys should have called it xmlnamespace instead of xmlns?<br>
<br>
Shorter is almost always better, especially for frequently typed boilerplate.<br>
<br>
Jim<br>
</blockquote>
<br>
</div></div></blockquote></div><br><br clear="all"><br></div></div><div><div></div><div class="h5">-- <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" target="_blank">http://mojavelinux.com</a><br>
<a href="http://mojavelinux.com/seaminaction" target="_blank">http://mojavelinux.com/seaminaction</a><br><a href="http://www.google.com/profiles/dan.j.allen" target="_blank">http://www.google.com/profiles/dan.j.allen</a><br>

</div></div></blockquote></div><br>