[richfaces-issues] [JBoss JIRA] (RF-13172) rich:toolbarGroup location="right" doesn't work if toolbarGroup location="left" contains not rendered values

Pavel Slegr (JIRA) jira-events at lists.jboss.org
Fri Nov 15 04:13:05 EST 2013


    [ https://issues.jboss.org/browse/RF-13172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12923900#comment-12923900 ] 

Pavel Slegr commented on RF-13172:
----------------------------------

Brian, your suggestion was basically correct, additionally there is also getCountSeparators method, where the same thing (using rendered child's only) had to be fixed
pull request sent ... against RF4/components repo
                
> rich:toolbarGroup location="right" doesn't work if toolbarGroup location="left" contains not rendered values
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: RF-13172
>                 URL: https://issues.jboss.org/browse/RF-13172
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-menu
>    Affects Versions: 4.3.3
>            Reporter: Sergey Zubarev
>            Assignee: Pavel Slegr
>              Labels: low_hanging_fruit
>             Fix For: 5-Tracking
>
>
> {code}
> <rich:toolbar itemSeparator="line" id="repairWorkToolbar">
>   <rich:toolbarGroup>
>     <a4j:commandLink value="btn1"/>
>     <a4j:commandLink value="btn2"/>
>     <a4j:commandLink value="btn3" *rendered="false"*/>
>   </rich:toolbarGroup>
>   <rich:toolbarGroup location="right">
>     <a4j:commandLink value="btn_right"/>
>   </rich:toolbarGroup>
> ...
> {code}
> In this case location="right" doesn't work : it displayed left. When I remove rendered="false" from btn3 all works fine.
> Html debug shows, that code produced one extra element in colgroup tag when using rendered="false".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list