[richfaces-issues] [JBoss JIRA] Created: (RF-10250) togglePanel: not works when activeItem not specified but works when empty String provided

Ilya Shaikovsky (JIRA) jira-events at lists.jboss.org
Wed Jan 19 09:41:49 EST 2011


togglePanel: not works when activeItem not specified but works when empty String provided
-----------------------------------------------------------------------------------------

                 Key: RF-10250
                 URL: https://issues.jboss.org/browse/RF-10250
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: component-panels-layout-themes
    Affects Versions: 4.0.0.Milestone5
            Reporter: Ilya Shaikovsky
            Assignee: Alex Kolonitsky
             Fix For: 4.0.0.CR1


<rich:togglePanel id="panel" activeItem="tp1">
	<rich:togglePanelItem 
		header="New York City">

throws:
java.lang.IllegalArgumentException: Name is required parameter.
the only minor claim - could be not easy to get which component want name to be defined :)

<rich:togglePanel id="panel">
	<rich:togglePanelItem name="tp1"
throws the same exception. - ISSUE. first rendered item should became visible. 

<rich:togglePanel id="panel" activeItem="">
        <rich:togglePanelItem name="tp1"
		header="New York City">
and 
<rich:togglePanel id="panel" activeItem="tp1">
	<rich:togglePanelItem name="tp1"
works the same and as I requested above.


-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list