From jira-events at lists.jboss.org Tue Mar 25 20:52:40 2008 Content-Type: multipart/mixed; boundary="===============8126191369617160849==" MIME-Version: 1.0 From: Adam Jenkins (JIRA) To: richfaces-issues at lists.jboss.org Subject: [richfaces-issues] [JBoss JIRA] Commented: (RF-2772) Make panelBarItem accordion functionality work with a4j:repeat Date: Tue, 25 Mar 2008 20:52:40 -0400 Message-ID: <14338968.1206492760037.JavaMail.jira@cloud.prod.atl2.jboss.com> In-Reply-To: 21771273.1206487900260.JavaMail.jira@cloud.prod.atl2.jboss.com --===============8126191369617160849== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ http://jira.jboss.com/jira/browse/RF-2772?page=3Dcomments#action_1240= 4670 ] = = Adam Jenkins commented on RF-2772: ---------------------------------- More Information: It seems that the divs for the dynamic components are being rendered ok, bu= t they linked to the panelBar in the javascript that follows. With the fol= lowing code snipped = = = some stuff = = I get the following output:
test1
test1
test
test2
test2
test
test3
test3
test
some div
some div
(sorry for the code bomb)... the important bit seems to be It links through the static items, but not the dynamic ones. I'm about to = dive into the code and see if I can see where and why this is. If anyone c= an offer some input now about how and why this might be happening, what cla= sses to look at an how you would like it fixed I'd really appreciate it. Cheers Adam > Make panelBarItem accordion functionality work with a4j:repeat > -------------------------------------------------------------- > > Key: RF-2772 > URL: http://jira.jboss.com/jira/browse/RF-2772 > Project: RichFaces > Issue Type: Feature Request > Affects Versions: 3.1.4 > Environment: Tomcat 5.5, Java 5, Exadel Studio 4.0.4a > Reporter: Adam Jenkins > > Hi All, > I'm trying to build a dynamic accordion (rich:panelBar) by enclosing the = panelBarItems in an a4j:repeat tag....it renders the panelBarItems, however= the accordion functionality doesn't work (IE 6). If I do a standard (stat= ic) accordion it works fine, and, if I have a panelBar with static panelBar= Items, followed by dynamic panelBarItems (inside an a4j:repeat) the static = panelBarItems work fine, but the others don't (snippet below). Is this a l= imitation of this component or a bug? > In the below code, the panelBarItems labelled 'test' work perfectly, howe= ver the ones labelled 'some div' don't work at all. > > > > > = = > = > > > some stuff > > = > > = > Is this a limitation of the component, a bug, or am I doing something wro= ng here? > Cheers > Adam -- = This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= p://jira.jboss.com/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira = --===============8126191369617160849==--