From jira-events at lists.jboss.org Mon Jul 29 05:14:26 2013 Content-Type: multipart/mixed; boundary="===============5642963282934081595==" MIME-Version: 1.0 From: Pavol Pitonak (JIRA) To: richfaces-issues at lists.jboss.org Subject: [richfaces-issues] [JBoss JIRA] (RF-12225) rich:tabPanel first tab issue Date: Mon, 29 Jul 2013 05:14:26 -0400 Message-ID: In-Reply-To: JIRA.12465475.1335953105000@jira02.app.mwc.hst.phx2.redhat.com --===============5642963282934081595== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://issues.jboss.org/browse/RF-12225?page=3Dcom.atlassian.jira.p= lugin.system.issuetabpanels:all-tabpanel ] Pavol Pitonak resolved RF-12225. -------------------------------- Resolution: Out of Date I cannot reproduce the issue with neither 4.3.2.Final nor 5.0.0-SNAPSHOT. C= losing. = > rich:tabPanel first tab issue > ----------------------------- > > Key: RF-12225 > URL: https://issues.jboss.org/browse/RF-12225 > Project: RichFaces > Issue Type: Bug > Security Level: Public(Everyone can see) = > Components: component-output > Affects Versions: 4.2.1.Final > Environment: Tomcat 7, JSF 2.2, RF 4.2.1.FINAL > Reporter: Philip Maes > Assignee: Pavol Pitonak > Fix For: 5-Tracking > > > Hello, > there is a weird behavior with rich:tabPanel. And the bug (for me it's a = bug) is present in your showcase. > When you first load a page that contains a tabPanel, the first tab has a = nested js script for the toggle. The problem is that this js script is also= present at its normal position (after tab declaration). And it causes that= when you click on this tab, 2 ajax requests are sent. But only once. After= , the nested js script isn't present anymore. > {code:title=3D|borderStyle=3Dsolid} >
>
Here is tab= #1
> > >
>
>
> > > {code} > Steps to reproduce it: > -go to: http://showcase.richfaces.org/richfaces/component-sample.jsf?demo= =3DtabPanel&sample=3DvalueManagement&skin=3DblueSky > -open a js console (for me it's firebug, console tab) to see ajax request= s; > -use html inspector to check that in the body of tab "First" you have the= js script; > -click on tab named "Second"; > -then click on tab named "First" and there are 2 ajax requests sent; > -now reclick on another tab; > -then click on tab named "First" and there is only 1 ajax request sent; > -recheck the content of the tab and you can see that the js script isn't = present anymore. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira --===============5642963282934081595==--