[jsr-314-open-mirror] [jsr-314-open] Use a Renderer on a composite component

Leonardo Uribe lu4242 at gmail.com
Mon Mar 29 21:53:50 EDT 2010


2010/3/29 Andy Schwartz <andy.schwartz at oracle.com>

> On 3/29/10 5:10 PM, Martin Marinschek wrote:
>
>> Hi Leonardo,
>>
>>
>>
>>> Ok, if I have a composite component the first thought is use c:if tag,
>>> but
>>> remember that with
>>> partial state saving enabled this tag is evaluated when the view is
>>> build,
>>> not when it is
>>> rendered. Other alternative is use a component that allows to render one
>>>
>>>
>>
>> just to get this straight, cause I seemed to read this (IMHO, wrong
>> assertion) several times from you already: c:if, c:forEach and
>> ui:include _should_ be evaluated before rendering again. This is in
>> Mojarra as of 2.0.3 (Ed, Ryan, correct me if I am wrong) and it should
>> be in MyFaces as well, right?
>>
>>
>
> Haven't had a chance to review this entire thread (or any other recent
> threads - sorry!), but just wanted to jump in to say that, yes, Ryan has
> implemented an initial fix for this as part of this issue:
>
> https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=1313
>
> Would be good to do some additional testing with our various test cases
> just to make sure that all is well.
>
>
Ok, that's great!. That means we need to make myfaces evaluate c:if,
c:forEach and ui:include as default, not as an option activated by a param,
like in myfaces right now. Thanks for the tip.

regards,

Leonardo Uribe


> Andy
>
>
>  Anyway I support your basic motion: it would generally be good to be
>> able to exchange the renderer as well.
>>
>> best regards,
>>
>> Martin
>>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jsr-314-open-mirror/attachments/20100329/0af2481a/attachment-0002.html 


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