Hi<br><br><div class="gmail_quote">2010/9/9 Ed Burns <span dir="ltr"><<a href="mailto:edward.burns@oracle.com">edward.burns@oracle.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
>>>>> On Fri, 27 Aug 2010 16:32:21 -0500, Leonardo Uribe <<a href="mailto:lu4242@gmail.com">lu4242@gmail.com</a>> said:<br>
<br>
LU> The OCA was filled. I hope it will be no problem with share this<br>
LU> contribution with myfaces.<br>
<br>
I'm about ready to commit the feature to Mojarra head.<br>
<br>
I've added the test app and an HtmlUnit driver. Very nice test app.<br>
<br></blockquote><div><br>Great! thanks Ed for look into this issue.<br><br>I was thinking if the interface provided for handle transient properties should be exposed in some<br>way, adding some methods (getter/setter) on UIComponent, to make possible manipulate them from "outside"<br>
the component instance. It will be very useful, specially for UIViewRoot. <br><br>It is very common to found cases when it is required to "store" a transient variable related <br>from the current view. The solution we are doing now is store it on FacesContext and use as <br>
a key the UIViewRoot instance. <br><br>Other example could be found taking a look on h:link rendered. In theory, on encodeBegin<br>if the component is disabled or has no target href, we should render it as <span>, but we<br>
need to pass that information to encodeEnd to make it work correctly, and the only way<br>to do that is use component attribute map and save that value on the state without need.<br><br>best regards,<br><br>Leonardo<br> </div>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I just have to slap the standard copyright header on things before<br>
commiting.<br>
<div class="im"><br>
Ed<br>
<br>
--<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>
</div>| 7 work days until handoff of JSF 2.1 change log to jcp<br>
</blockquote></div><br>