[ 
https://issues.jboss.org/browse/RF-13456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brian Leathem updated RF-13456:
-------------------------------

    Fix Version/s: 5-Tracking
                       (was: 5.0.0.Alpha4)

    
> The toggle panel components should allow the user to prevent rendering the 
> active tab when the tab header is clicked.
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: RF-13456
>                 URL: https://issues.jboss.org/browse/RF-13456
>             Project: RichFaces
>          Issue Type: Enhancement
>      Security Level: Public(Everyone can see) 
>          Components: component-output
>            Reporter: Brian Leathem
>             Fix For: 5-Tracking
>
>   Original Estimate: 1 hour
>  Remaining Estimate: 1 hour
>
> The TogglePanelRenderer currently implicitly adds the tabPanel@active 
> metacomponent to the list of rendered ids when a tab panel is clicked.
> See:
> https://github.com/richfaces/richfaces/blob/master/framework/src/main/java/org/richfaces/ui/toggle/togglePanel/TogglePanelRenderer.java#L83
> {code}
>                 PartialViewContext pvc = context.getPartialViewContext();
>                 pvc.getRenderIds().add(component.getClientId(context) + 
> MetaComponentResolver.META_COMPONENT_SEPARATOR_CHAR +  
> AbstractTogglePanel.ACTIVE_ITEM_META_COMPONENT);
> {code}
> Rather than adding the meta component id like this, the meta component id 
> should be treated as the default value of the toggle panel's render 
> attribute.  specifying a value for the render attribute would override this 
> default value, and require the user to explicitly call for a render of the 
> active item by adding the meta component id to the render attribute.

--
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
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to