<br><div class="gmail_quote">On Mon, Aug 16, 2010 at 9:48 AM, Ed Burns <span dir="ltr">&lt;<a href="mailto:edward.burns@oracle.com">edward.burns@oracle.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
&gt;&gt;&gt;&gt;&gt; On Wed, 11 Aug 2010 11:46:21 -0400, Kito Mann &lt;<a href="mailto:kito.mann@virtua.com">kito.mann@virtua.com</a>&gt; said:<br>
<br>
KM&gt; Couldn&#39;t you modify the map to return the constant values for the<br>
KM&gt; proper keys? That way, they would be read-only values that don&#39;t<br>
KM&gt; need to be stored, the Map just needs to know the keys.<br>
<br>
I&#39;m sorry, I don&#39;t understand what you mean.  Can you please restate it<br>
differently?<br></blockquote><div><br></div><div>Basically, what I&#39;m saying is that we could change the Map implementation to simply delegate to <span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">UIComponent.getCurrentComponent()  and </span><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">UIComponent.getCurrentCompositeComponent() in the get() method whenever the key value is CURRENT_COMPONENT or CURRENT_COMPOSITE_COMPONENT. This way we&#39;d save space but would maintain backwards compatibility without the switch. </span></div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Ed<br>
<font color="#888888">--<br>
| <a href="mailto:edward.burns@oracle.com">edward.burns@oracle.com</a> | office: +1 407 458 0017<br>
| homepage:               | <a href="http://ridingthecrest.com/" target="_blank">http://ridingthecrest.com/</a><br>
| 02 work days until JSF 2.1 Milestone 2<br>
</font></blockquote></div><br>