Re: [PR] fix(segmentLayout): Composite components in segment layout not rendered correctly [myfaces-tobago]

2024-02-13 Thread via GitHub


bohmber merged PR #4873:
URL: https://github.com/apache/myfaces-tobago/pull/4873


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@myfaces.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] fix(segmentLayout): Composite components in segment layout not render… [myfaces-tobago]

2024-02-13 Thread via GitHub


bohmber merged PR #4872:
URL: https://github.com/apache/myfaces-tobago/pull/4872


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@myfaces.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Reopened] (TOBAGO-1982) Composite components in segment layout not rendered correctly

2024-02-13 Thread Bernd Bohmann (Jira)


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

Bernd Bohmann reopened TOBAGO-1982:
---
  Assignee: Bernd Bohmann  (was: Henning Nöth)

> Composite components in segment layout not rendered correctly
> -
>
> Key: TOBAGO-1982
> URL: https://issues.apache.org/jira/browse/TOBAGO-1982
> Project: MyFaces Tobago
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 4.3.2
>Reporter: Henning Nöth
>Assignee: Bernd Bohmann
>Priority: Minor
>
> Imagine a composite component for a text, where the attribute "asText" decide 
> if a tc:in or a tc:out is used.
> {code:xml}
> 
>   
>   
> 
> 
>   
>   
> {code}
> Without a layout manager the component show either the tc:in or the tc:out as 
> expected.
>  Within a segment layout the component use two segments. One for the tc:in 
> and the second for the tc:out.
> If "asText=true" the first segment is empty and the second segment shows the 
> tc:out.
> If "asText=false" the first segment shows the tc:in and the second segment is 
> empty.
> This might be not the expected behavior, which I think is that the composite 
> component uses only one segment.
> As a workaround you can wrap the tc:in/tc:out with a panel:
> {code:xml}
> 
>   
> 
> 
>   
> {code}
>  
> (!) And the 'rendered' attribute on the composite component container doesn't 
> work within a segment layout which should be definitely fixed.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)