[ 
https://issues.apache.org/jira/browse/MYFACES-2435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Leonardo Uribe reopened MYFACES-2435:
-------------------------------------


The patch committed does not handle the case an instance of UIInstruction 
(text) is added. So, when a facet is created like this:

<f:facet>
   some text
   <x:component .../>
   some more text
   <y:component .../>
</f:facet>

It fails to add properly. The solution is fix AbstractUIHandler.addComponent, 
but it seems better to relocate the code from ComponentTagHandlerDelegate to 
ComponentSupport because this code will be called later from InsertFacetHandler 
to solve MYFACES-2483. 

> f:facet can have more than one child
> ------------------------------------
>
>                 Key: MYFACES-2435
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2435
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: JSR-314
>    Affects Versions: 2.0.0-alpha
>            Reporter: Jakob Korherr
>            Assignee: Leonardo Uribe
>             Fix For: 2.0.0-alpha-2
>
>         Attachments: myfaces-2435.patch
>
>
> MIchael Kurz tested Mojarra and found out that <f:facet> now can have more 
> than one child. If so, the children will automaticall be put in a UIPanel to 
> serve facet requirements.
> However, this improvement is not mentioned in the spec, filed spec issue: 
> https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=677

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to