From jira-events at lists.jboss.org Thu Sep 11 16:29:21 2008 Content-Type: multipart/mixed; boundary="===============5287228296629411174==" MIME-Version: 1.0 From: Shadow Creeper (JIRA) To: richfaces-issues at lists.jboss.org Subject: [richfaces-issues] [JBoss JIRA] Created: (RF-4458) a4j:commandButton disabled attribute is checked prematurely Date: Thu, 11 Sep 2008 16:29:20 -0400 Message-ID: <12767995.1221164960868.JavaMail.jira@cloud.prod.atl2.jboss.com> --===============5287228296629411174== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable a4j:commandButton disabled attribute is checked prematurely ----------------------------------------------------------- Key: RF-4458 URL: https://jira.jboss.org/jira/browse/RF-4458 Project: RichFaces Issue Type: Bug Affects Versions: 3.2.2 Environment: Tested on JBoss 4.0.5 with Facelets 1.1.14, MyFaces 1= .2.3 and RichFaces 3.2.2.GA Browsers tested Firefox 3.0.1 and IE 7(.0.5730.13) Reporter: Shadow Creeper If disabled was true, the expected behavior (not allowed to click on disabl= ed element) is seen. If disabled was false, the EL will be rechecked after click but before acti= onListener is run. Expected behavior: If disabled was false, then the button should work without checking disable= d EL unless and until the button is told to reRender. -- = This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= ps://jira.jboss.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============5287228296629411174==-- From jira-events at lists.jboss.org Thu Sep 11 16:33:20 2008 Content-Type: multipart/mixed; boundary="===============7474360553959424571==" MIME-Version: 1.0 From: Shadow Creeper (JIRA) To: richfaces-issues at lists.jboss.org Subject: [richfaces-issues] [JBoss JIRA] Updated: (RF-4458) a4j:commandButton disabled attribute is checked prematurely Date: Thu, 11 Sep 2008 16:33:20 -0400 Message-ID: <7570242.1221165200759.JavaMail.jira@cloud.prod.atl2.jboss.com> In-Reply-To: 12767995.1221164960868.JavaMail.jira@cloud.prod.atl2.jboss.com --===============7474360553959424571== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://jira.jboss.org/jira/browse/RF-4458?page=3Dcom.atlassian.jira= .plugin.system.issuetabpanels:all-tabpanel ] Shadow Creeper updated RF-4458: ------------------------------- Description: = If disabled was true, the expected behavior (not allowed to click on disabl= ed element) is seen. If disabled was false, the EL will be rechecked after click but before acti= onListener is run. Expected behavior: If disabled was false, then the button should work without checking disable= d EL unless and until the button is told to reRender. test.xhtml: disabled attribute test
TestBean methods: public void actionMethod ( ActionEvent ignored ) { System.out.println( "Running action" ); } public boolean isLoggingBooleanCheck () { System.out.println( "Checking disabled value" ); return false; } was: If disabled was true, the expected behavior (not allowed to click on disabl= ed element) is seen. If disabled was false, the EL will be rechecked after click but before acti= onListener is run. Expected behavior: If disabled was false, then the button should work without checking disable= d EL unless and until the button is told to reRender. > a4j:commandButton disabled attribute is checked prematurely > ----------------------------------------------------------- > > Key: RF-4458 > URL: https://jira.jboss.org/jira/browse/RF-4458 > Project: RichFaces > Issue Type: Bug > Affects Versions: 3.2.2 > Environment: Tested on JBoss 4.0.5 with Facelets 1.1.14, MyFaces = 1.2.3 and RichFaces 3.2.2.GA > Browsers tested Firefox 3.0.1 and IE 7(.0.5730.13) > Reporter: Shadow Creeper > > If disabled was true, the expected behavior (not allowed to click on disa= bled element) is seen. > If disabled was false, the EL will be rechecked after click but before ac= tionListener is run. > Expected behavior: > If disabled was false, then the button should work without checking disab= led EL unless and until the button is told to reRender. > test.xhtml: > > PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > xmlns:h=3D"http://java.sun.com/jsf/html" > xmlns:a4j=3D"https://ajax4jsf.dev.java.net/ajax" > xmlns:ui=3D"http://java.sun.com/jsf/facelets"> > > > disabled attribute test > > >
> > disabled=3D"#{TestBean.loggingBooleanCheck}" > styleClass=3D"entry" > actionListener=3D"#{TestBean.actionMethod}" > value=3D"Test"/> > >
> > > TestBean methods: > public void actionMethod ( ActionEvent ignored ) > { > System.out.println( "Running action" ); > } > public boolean isLoggingBooleanCheck () > { > System.out.println( "Checking disabled value" ); > return false; > } -- = This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= ps://jira.jboss.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============7474360553959424571==-- From jira-events at lists.jboss.org Thu Sep 11 16:48:21 2008 Content-Type: multipart/mixed; boundary="===============8563689671925467194==" MIME-Version: 1.0 From: Shadow Creeper (JIRA) To: richfaces-issues at lists.jboss.org Subject: [richfaces-issues] [JBoss JIRA] Commented: (RF-4458) a4j:commandButton disabled attribute is checked prematurely Date: Thu, 11 Sep 2008 16:48:20 -0400 Message-ID: <26445875.1221166100819.JavaMail.jira@cloud.prod.atl2.jboss.com> In-Reply-To: 12767995.1221164960868.JavaMail.jira@cloud.prod.atl2.jboss.com --===============8563689671925467194== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://jira.jboss.org/jira/browse/RF-4458?page=3Dcom.atlassian.jira.= plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D12429204#a= ction_12429204 ] = Shadow Creeper commented on RF-4458: ------------------------------------ Also, as a side note, the MyFaces does work as expected (= just replace a4j:commandButton above with h:commandButton to test). Thanks. -Shadow > a4j:commandButton disabled attribute is checked prematurely > ----------------------------------------------------------- > > Key: RF-4458 > URL: https://jira.jboss.org/jira/browse/RF-4458 > Project: RichFaces > Issue Type: Bug > Affects Versions: 3.2.2 > Environment: Tested on JBoss 4.0.5 with Facelets 1.1.14, MyFaces = 1.2.3 and RichFaces 3.2.2.GA > Browsers tested Firefox 3.0.1 and IE 7(.0.5730.13) > Reporter: Shadow Creeper > > If disabled was true, the expected behavior (not allowed to click on disa= bled element) is seen. > If disabled was false, the EL will be rechecked after click but before ac= tionListener is run. > Expected behavior: > If disabled was false, then the button should work without checking disab= led EL unless and until the button is told to reRender. > test.xhtml: > > PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > xmlns:h=3D"http://java.sun.com/jsf/html" > xmlns:a4j=3D"https://ajax4jsf.dev.java.net/ajax" > xmlns:ui=3D"http://java.sun.com/jsf/facelets"> > > > disabled attribute test > > >
> > disabled=3D"#{TestBean.loggingBooleanCheck}" > styleClass=3D"entry" > actionListener=3D"#{TestBean.actionMethod}" > value=3D"Test"/> > >
> > > TestBean methods: > public void actionMethod ( ActionEvent ignored ) > { > System.out.println( "Running action" ); > } > public boolean isLoggingBooleanCheck () > { > System.out.println( "Checking disabled value" ); > return false; > } -- = This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= ps://jira.jboss.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============8563689671925467194==-- From jira-events at lists.jboss.org Fri Sep 12 08:03:20 2008 Content-Type: multipart/mixed; boundary="===============0660318875500859290==" MIME-Version: 1.0 From: Ilya Shaikovsky (JIRA) To: richfaces-issues at lists.jboss.org Subject: [richfaces-issues] [JBoss JIRA] Resolved: (RF-4458) a4j:commandButton disabled attribute is checked prematurely Date: Fri, 12 Sep 2008 08:03:20 -0400 Message-ID: <23129562.1221221000779.JavaMail.jira@cloud.prod.atl2.jboss.com> In-Reply-To: 12767995.1221164960868.JavaMail.jira@cloud.prod.atl2.jboss.com --===============0660318875500859290== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://jira.jboss.org/jira/browse/RF-4458?page=3Dcom.atlassian.jira= .plugin.system.issuetabpanels:all-tabpanel ] Ilya Shaikovsky resolved RF-4458. --------------------------------- Resolution: Rejected answered at forum = > a4j:commandButton disabled attribute is checked prematurely > ----------------------------------------------------------- > > Key: RF-4458 > URL: https://jira.jboss.org/jira/browse/RF-4458 > Project: RichFaces > Issue Type: Bug > Affects Versions: 3.2.2 > Environment: Tested on JBoss 4.0.5 with Facelets 1.1.14, MyFaces = 1.2.3 and RichFaces 3.2.2.GA > Browsers tested Firefox 3.0.1 and IE 7(.0.5730.13) > Reporter: Shadow Creeper > > If disabled was true, the expected behavior (not allowed to click on disa= bled element) is seen. > If disabled was false, the EL will be rechecked after click but before ac= tionListener is run. > Expected behavior: > If disabled was false, then the button should work without checking disab= led EL unless and until the button is told to reRender. > test.xhtml: > > PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > xmlns:h=3D"http://java.sun.com/jsf/html" > xmlns:a4j=3D"https://ajax4jsf.dev.java.net/ajax" > xmlns:ui=3D"http://java.sun.com/jsf/facelets"> > > > disabled attribute test > > >
> > disabled=3D"#{TestBean.loggingBooleanCheck}" > styleClass=3D"entry" > actionListener=3D"#{TestBean.actionMethod}" > value=3D"Test"/> > >
> > > TestBean methods: > public void actionMethod ( ActionEvent ignored ) > { > System.out.println( "Running action" ); > } > public boolean isLoggingBooleanCheck () > { > System.out.println( "Checking disabled value" ); > return false; > } -- = This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= ps://jira.jboss.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============0660318875500859290==-- From jira-events at lists.jboss.org Mon Feb 23 06:42:47 2009 Content-Type: multipart/mixed; boundary="===============3968466984794627608==" MIME-Version: 1.0 From: Alexander Dubovsky (JIRA) To: richfaces-issues at lists.jboss.org Subject: [richfaces-issues] [JBoss JIRA] Closed: (RF-4458) a4j:commandButton disabled attribute is checked prematurely Date: Mon, 23 Feb 2009 06:42:46 -0500 Message-ID: <31364932.1235389366416.JavaMail.jira@cloud.prod.atl2.jboss.com> In-Reply-To: 12767995.1221164960868.JavaMail.jira@cloud.prod.atl2.jboss.com --===============3968466984794627608== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://jira.jboss.org/jira/browse/RF-4458?page=3Dcom.atlassian.jira= .plugin.system.issuetabpanels:all-tabpanel ] Alexander Dubovsky closed RF-4458. ---------------------------------- Assignee: Alexander Dubovsky > a4j:commandButton disabled attribute is checked prematurely > ----------------------------------------------------------- > > Key: RF-4458 > URL: https://jira.jboss.org/jira/browse/RF-4458 > Project: RichFaces > Issue Type: Bug > Affects Versions: 3.2.2 > Environment: Tested on JBoss 4.0.5 with Facelets 1.1.14, MyFaces = 1.2.3 and RichFaces 3.2.2.GA > Browsers tested Firefox 3.0.1 and IE 7(.0.5730.13) > Reporter: Shadow Creeper > Assignee: Alexander Dubovsky > > If disabled was true, the expected behavior (not allowed to click on disa= bled element) is seen. > If disabled was false, the EL will be rechecked after click but before ac= tionListener is run. > Expected behavior: > If disabled was false, then the button should work without checking disab= led EL unless and until the button is told to reRender. > test.xhtml: > > PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > xmlns:h=3D"http://java.sun.com/jsf/html" > xmlns:a4j=3D"https://ajax4jsf.dev.java.net/ajax" > xmlns:ui=3D"http://java.sun.com/jsf/facelets"> > > > disabled attribute test > > >
> > disabled=3D"#{TestBean.loggingBooleanCheck}" > styleClass=3D"entry" > actionListener=3D"#{TestBean.actionMethod}" > value=3D"Test"/> > >
> > > TestBean methods: > public void actionMethod ( ActionEvent ignored ) > { > System.out.println( "Running action" ); > } > public boolean isLoggingBooleanCheck () > { > System.out.println( "Checking disabled value" ); > return false; > } -- = This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= ps://jira.jboss.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============3968466984794627608==--