This content has been marked as final.
Show 5 replies
-
1. Re: Nested collapsibleSubTable BUG with RichFaces 4.5.0.Final
cooper_lyt Nov 21, 2014 12:53 AM (in response to cooper_lyt)i found this Bug in richfaces-4.5.0.Final.jar/resources/org.richfaces/collapsible-subtable.js
var element = function() { if (! this.isNested) { //use parent tbody as parent dom elem return $(document.getElementById(this.id)).parent(); } else { var regex = new RegExp(this.id + "\\:\\d\\:b"); return $(document.getElementById(this.id)).parent().find("tr").filter(function() { return this.id.match(regex); }); } };
var regex = new RegExp(this.id + "\\:\\d\\:b"); // ten row id is :"j_idt61:0:sbtb2:0:sbtb3:10:b" so not match !!!!!!!
change to :
var regex = new RegExp(this.id + "\\:\\d+\\:b");
Solve
-
2. Re: Nested collapsibleSubTable BUG with RichFaces 4.5.0.Final
michpetrov Nov 24, 2014 4:10 AM (in response to cooper_lyt)Hi,
given that you've found the solution could you submit a pull request to github.com/richfaces/richfaces?
-
3. Re: Nested collapsibleSubTable BUG with RichFaces 4.5.0.Final
cooper_lyt Nov 26, 2014 1:16 PM (in response to michpetrov)pull request Created
-
4. Re: Nested collapsibleSubTable BUG with RichFaces 4.5.0.Final
michpetrov Nov 27, 2014 5:57 AM (in response to cooper_lyt)Thanks. I'll need you to do one more thing - sing the CLA, then we can accept the pull request.
-
5. Re: Nested collapsibleSubTable BUG with RichFaces 4.5.0.Final
cooper_lyt Nov 27, 2014 7:17 AM (in response to michpetrov)Not at all. It's my pleasure. singed