From jira-events at lists.jboss.org Tue Feb 19 17:17:27 2008 Content-Type: multipart/mixed; boundary="===============9007021990751942883==" MIME-Version: 1.0 From: Michael Case (JIRA) To: richfaces-issues at lists.jboss.org Subject: [richfaces-issues] [JBoss JIRA] Created: (RF-2302) Component control generates unnecessary JavaScript on page when attachTo attribute is not defined Date: Tue, 19 Feb 2008 17:17:26 -0500 Message-ID: <20035653.1203459446972.JavaMail.jira@cloud.prod.atl2.jboss.com> --===============9007021990751942883== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Component control generates unnecessary JavaScript on page when attachTo at= tribute is not defined ---------------------------------------------------------------------------= ---------------------- Key: RF-2302 URL: http://jira.jboss.com/jira/browse/RF-2302 Project: RichFaces Issue Type: Bug Affects Versions: 3.1.4 Environment: jboss-4.2.2.GA Reporter: Michael Case Priority: Minor Per the Component Control docs (http://livedemo.exadel.com/richfaces-demo/r= ichfaces/componentControl.jsf?c=3DcomponentControl) when the attachTo attri= bute is not defined the event is attached to the parent component. While t= his behavior does work correctly it still appends the "Richfaces.componentC= ontrol.attachEvent........." JavaScript code which is completely unnecessar= y. Example Source: My Link Example Expected Result: My Link Example Actual Result: My Link = -- = 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 =20 --===============9007021990751942883==--