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

Andrea Martino commented on RF-12989:
-------------------------------------

Hi Brian, in my JSF page I have a button that shows/hides the togglePanelItems 
rich:toggleControl. More specifically (when it does not work):

{code:xml}
<rich:togglePanel id="fieldsPanel" activeItem="closed">
  <rich:togglePanelItem name="closed">
    <h:commandButton value="Show fields" styleClass="submit">
      <rich:toggleControl targetItem="checkboxes" />
    </h:commandButton>
  </rich:togglePanelItem>
  <rich:togglePanelItem name="checkboxes">
      Lorem ipsum dolor sit amet, ...
  </rich:togglePanelItem>
</rich:togglePanel>
{code} 

When I click on the "Show fields" button (in the first item), nothing happens.

Despite the functionality not working (i.e. by clicking on the button nothing 
happens), the page renders fine.

                
> Documentation for togglePanelItem is wrong and 4.2.2 components are not 
> working anymore in 4.3.0.Final
> ------------------------------------------------------------------------------------------------------
>
>                 Key: RF-12989
>                 URL: https://issues.jboss.org/browse/RF-12989
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: doc
>    Affects Versions: 4.3.0.Final
>         Environment: JBossAS 7.1.1
>            Reporter: Andrea Martino
>            Assignee: Brian Leathem
>            Priority: Minor
>              Labels: togglePanel, waiting_on_user
>             Fix For: 4.3.4
>
>   Original Estimate: 30 minutes
>  Remaining Estimate: 30 minutes
>
> In RichFaces 4.2.2 it was possible to define togglePane items using id as 
> attribute, as following {code}<rich:togglePanelItem id="item1">{code}
> With RichFaces 4.3.0 the page does not work anymore, I had to change the 
> attribute to name {code}<rich:togglePanelItem name="item1">{code}
> The docs still say id is valid, even when it's not 
> [http://docs.jboss.org/richfaces/latest_4_3_X/Component_Reference/en-US/html_single/#sect-Component_Reference-richtogglePanel-Basic_usage].
>  Either the docs should be changed or id attribute should be accepted as it 
> was before.

--
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