From jira-events at lists.jboss.org Mon Jun 30 12:34:31 2008 Content-Type: multipart/mixed; boundary="===============5026870388176715424==" MIME-Version: 1.0 From: Tareq Nabeel (JIRA) To: richfaces-issues at lists.jboss.org Subject: [richfaces-issues] [JBoss JIRA] Created: (RF-3833) does not rerender specified component for newly added rows in a datatable Date: Mon, 30 Jun 2008 12:34:31 -0400 Message-ID: <8114334.1214843671363.JavaMail.jira@cloud.prod.atl2.jboss.com> --===============5026870388176715424== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable does not rerender specified component for newly added rows in= a datatable ---------------------------------------------------------------------------= ------------ Key: RF-3833 URL: http://jira.jboss.com/jira/browse/RF-3833 Project: RichFaces Issue Type: Bug Affects Versions: 3.2.1 Environment: JBoss 4.2.2 / Seam 2.0.2 / RichFaces 3.2.1 / Facelet= s 1.1.14 Reporter: Tareq Nabeel When page is loaded initially and page size is 2, clicking on table rows ca= uses to rerender correctly. However, when page size is increased to 4, clicking on the added rows (3 an= d 4) does not rerender "myText". Clicking on rows 1 and 2 still updates "m= yText" correctly. = output for good rows clicks: Response content: event 1 Message: Find output for bad rows clicks: Response content: does not contain the information above but section contains = Message: "no information in response about elements to replace" = Here's the code: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D package com.jdsu.ntcems.webapp.event.action; import java.util.ArrayList; import java.util.List; import javax.faces.model.DataModel; import javax.faces.model.ListDataModel; import javax.faces.model.SelectItem; import org.jboss.seam.ScopeType; import org.jboss.seam.annotations.In; import org.jboss.seam.annotations.Name; import org.jboss.seam.annotations.Out; @Name("testEventList") public class TestEventList { private DataModel eventsModel =3D new ListDataModel(); private int pageSize =3D 2; private List events =3D new ArrayList(); = @In(required =3D false) @Out(scope =3D ScopeType.PAGE, required =3D false) private Integer rowKeyVar; public TestEventList() { events.add("event 1"); events.add("event 2"); events.add("event 3"); events.add("event 4"); events.add("event 5"); events.add("event 6"); = } = public List getPageSizes() { List pageSizeOptions =3D new ArrayList(); pageSizeOptions.add(new SelectItem(new Integer(2), "2")); pageSizeOptions.add(new SelectItem(new Integer(4), "4")); pageSizeOptions.add(new SelectItem(new Integer(6), "6")); return pageSizeOptions; } public DataModel getEvents() { eventsModel.setWrappedData(events.subList(0, pageSize)); return eventsModel; } public String getSelectedEvent() { if (rowKeyVar=3D=3Dnull) { rowKeyVar =3D 0; } eventsModel.setRowIndex(this.rowKeyVar.intValue()); return (String) eventsModel.getRowData(); } public int getPageSize() { return pageSize; } public void setPageSize(int pageSize) { this.pageSize =3D pageSize; } = public void noOp() { System.out.println("********noOp() rowKeyVar=3D"+rowKeyVar); } = } =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
#{event}
= =
-- = 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 --===============5026870388176715424==-- From jira-events at lists.jboss.org Mon Jun 30 12:40:51 2008 Content-Type: multipart/mixed; boundary="===============2928000438271489929==" MIME-Version: 1.0 From: Tareq Nabeel (JIRA) To: richfaces-issues at lists.jboss.org Subject: [richfaces-issues] [JBoss JIRA] Updated: (RF-3833) does not rerender specified component for newly added rows in a datatable Date: Mon, 30 Jun 2008 12:40:51 -0400 Message-ID: <7985103.1214844051721.JavaMail.jira@cloud.prod.atl2.jboss.com> In-Reply-To: 8114334.1214843671363.JavaMail.jira@cloud.prod.atl2.jboss.com --===============2928000438271489929== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ http://jira.jboss.com/jira/browse/RF-3833?page=3Dall ] Tareq Nabeel updated RF-3833: ----------------------------- Description: = When page is loaded initially and page size is 2, clicking on table rows ca= uses to rerender correctly. However, when page size is increased to 4, clicking on the added rows (3 an= d 4) does not rerender "myText". Clicking on rows 1 and 2 still updates "m= yText" correctly. = output for good rows clicks: Response content: event 1 Message: Find output for bad rows clicks: Response content: does not contain the information above but section contains = Message: "no information in response about elements to replace" = Here's the code: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D package event.action; import java.util.ArrayList; import java.util.List; import javax.faces.model.DataModel; import javax.faces.model.ListDataModel; import javax.faces.model.SelectItem; import org.jboss.seam.ScopeType; import org.jboss.seam.annotations.In; import org.jboss.seam.annotations.Name; import org.jboss.seam.annotations.Out; @Name("testEventList") public class TestEventList { private DataModel eventsModel =3D new ListDataModel(); private int pageSize =3D 2; private List events =3D new ArrayList(); = @In(required =3D false) @Out(scope =3D ScopeType.PAGE, required =3D false) private Integer rowKeyVar; public TestEventList() { events.add("event 1"); events.add("event 2"); events.add("event 3"); events.add("event 4"); events.add("event 5"); events.add("event 6"); = } = public List getPageSizes() { List pageSizeOptions =3D new ArrayList(); pageSizeOptions.add(new SelectItem(new Integer(2), "2")); pageSizeOptions.add(new SelectItem(new Integer(4), "4")); pageSizeOptions.add(new SelectItem(new Integer(6), "6")); return pageSizeOptions; } public DataModel getEvents() { eventsModel.setWrappedData(events.subList(0, pageSize)); return eventsModel; } public String getSelectedEvent() { if (rowKeyVar=3D=3Dnull) { rowKeyVar =3D 0; } eventsModel.setRowIndex(this.rowKeyVar.intValue()); return (String) eventsModel.getRowData(); } public int getPageSize() { return pageSize; } public void setPageSize(int pageSize) { this.pageSize =3D pageSize; } = public void noOp() { System.out.println("********noOp() rowKeyVar=3D"+rowKeyVar); } = } =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
#{event}
= =
was: When page is loaded initially and page size is 2, clicking on table rows ca= uses to rerender correctly. However, when page size is increased to 4, clicking on the added rows (3 an= d 4) does not rerender "myText". Clicking on rows 1 and 2 still updates "m= yText" correctly. = output for good rows clicks: Response content: event 1 Message: Find output for bad rows clicks: Response content: does not contain the information above but section contains = Message: "no information in response about elements to replace" = Here's the code: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D package com.jdsu.ntcems.webapp.event.action; import java.util.ArrayList; import java.util.List; import javax.faces.model.DataModel; import javax.faces.model.ListDataModel; import javax.faces.model.SelectItem; import org.jboss.seam.ScopeType; import org.jboss.seam.annotations.In; import org.jboss.seam.annotations.Name; import org.jboss.seam.annotations.Out; @Name("testEventList") public class TestEventList { private DataModel eventsModel =3D new ListDataModel(); private int pageSize =3D 2; private List events =3D new ArrayList(); = @In(required =3D false) @Out(scope =3D ScopeType.PAGE, required =3D false) private Integer rowKeyVar; public TestEventList() { events.add("event 1"); events.add("event 2"); events.add("event 3"); events.add("event 4"); events.add("event 5"); events.add("event 6"); = } = public List getPageSizes() { List pageSizeOptions =3D new ArrayList(); pageSizeOptions.add(new SelectItem(new Integer(2), "2")); pageSizeOptions.add(new SelectItem(new Integer(4), "4")); pageSizeOptions.add(new SelectItem(new Integer(6), "6")); return pageSizeOptions; } public DataModel getEvents() { eventsModel.setWrappedData(events.subList(0, pageSize)); return eventsModel; } public String getSelectedEvent() { if (rowKeyVar=3D=3Dnull) { rowKeyVar =3D 0; } eventsModel.setRowIndex(this.rowKeyVar.intValue()); return (String) eventsModel.getRowData(); } public int getPageSize() { return pageSize; } public void setPageSize(int pageSize) { this.pageSize =3D pageSize; } = public void noOp() { System.out.println("********noOp() rowKeyVar=3D"+rowKeyVar); } = } =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
#{event}
= =
test code change > does not rerender specified component for newly added rows = in a datatable > -------------------------------------------------------------------------= -------------- > > Key: RF-3833 > URL: http://jira.jboss.com/jira/browse/RF-3833 > Project: RichFaces > Issue Type: Bug > Affects Versions: 3.2.1 > Environment: JBoss 4.2.2 / Seam 2.0.2 / RichFaces 3.2.1 / Facele= ts 1.1.14 > Reporter: Tareq Nabeel > > When page is loaded initially and page size is 2, clicking on table rows = causes to rerender correctly. > However, when page size is increased to 4, clicking on the added rows (3 = and 4) does not rerender "myText". Clicking on rows 1 and 2 still updates = "myText" correctly. = > output for good rows clicks: > Response content: > > event 1 > > > Message: Find > output for bad rows clicks: > Response content: > does not contain the information above but section contains > > = > Message: "no information in response about elements to replace" = > Here's the code: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > package event.action; > import java.util.ArrayList; > import java.util.List; > import javax.faces.model.DataModel; > import javax.faces.model.ListDataModel; > import javax.faces.model.SelectItem; > import org.jboss.seam.ScopeType; > import org.jboss.seam.annotations.In; > import org.jboss.seam.annotations.Name; > import org.jboss.seam.annotations.Out; > @Name("testEventList") > public class TestEventList { > private DataModel eventsModel =3D new ListDataModel(); > private int pageSize =3D 2; > private List events =3D new ArrayList(); > = > @In(required =3D false) > @Out(scope =3D ScopeType.PAGE, required =3D false) > private Integer rowKeyVar; > public TestEventList() { > events.add("event 1"); > events.add("event 2"); > events.add("event 3"); > events.add("event 4"); > events.add("event 5"); > events.add("event 6"); = > } > = > public List getPageSizes() { > List pageSizeOptions =3D new ArrayList(); > pageSizeOptions.add(new SelectItem(new Integer(2), "2")); > pageSizeOptions.add(new SelectItem(new Integer(4), "4")); > pageSizeOptions.add(new SelectItem(new Integer(6), "6")); > return pageSizeOptions; > } > public DataModel getEvents() { > eventsModel.setWrappedData(events.subList(0, pageSize)); > return eventsModel; > } > public String getSelectedEvent() { > if (rowKeyVar=3D=3Dnull) { > rowKeyVar =3D 0; > } > eventsModel.setRowIndex(this.rowKeyVar.intValue()); > return (String) eventsModel.getRowData(); > } > public int getPageSize() { > return pageSize; > } > public void setPageSize(int pageSize) { > this.pageSize =3D pageSize; > } > = > public void noOp() { > System.out.println("********noOp() rowKeyVar=3D"+rowKeyVar); > } = > } > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > > > > > > >
> #{event} > >
>
>
> > > > > > = > = >
> >
-- = 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 --===============2928000438271489929==-- From jira-events at lists.jboss.org Wed Jul 16 08:15:23 2008 Content-Type: multipart/mixed; boundary="===============9112954762428084823==" MIME-Version: 1.0 From: Nick Belaevski (JIRA) To: richfaces-issues at lists.jboss.org Subject: [richfaces-issues] [JBoss JIRA] Updated: (RF-3833) does not rerender specified component for newly added rows in a datatable Date: Wed, 16 Jul 2008 08:15:23 -0400 Message-ID: <19390206.1216210523496.JavaMail.jira@cloud.prod.atl2.jboss.com> In-Reply-To: 8114334.1214843671363.JavaMail.jira@cloud.prod.atl2.jboss.com --===============9112954762428084823== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://jira.jboss.org/jira/browse/RF-3833?page=3Dcom.atlassian.jira= .plugin.system.issuetabpanels:all-tabpanel ] Nick Belaevski updated RF-3833: ------------------------------- Assignee: Ilya Shaikovsky > does not rerender specified component for newly added rows = in a datatable > -------------------------------------------------------------------------= -------------- > > Key: RF-3833 > URL: https://jira.jboss.org/jira/browse/RF-3833 > Project: RichFaces > Issue Type: Bug > Affects Versions: 3.2.1 > Environment: JBoss 4.2.2 / Seam 2.0.2 / RichFaces 3.2.1 / Facele= ts 1.1.14 > Reporter: Tareq Nabeel > Assignee: Ilya Shaikovsky > > When page is loaded initially and page size is 2, clicking on table rows = causes to rerender correctly. > However, when page size is increased to 4, clicking on the added rows (3 = and 4) does not rerender "myText". Clicking on rows 1 and 2 still updates = "myText" correctly. = > output for good rows clicks: > Response content: > > event 1 > > > Message: Find > output for bad rows clicks: > Response content: > does not contain the information above but section contains > > = > Message: "no information in response about elements to replace" = > Here's the code: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > package event.action; > import java.util.ArrayList; > import java.util.List; > import javax.faces.model.DataModel; > import javax.faces.model.ListDataModel; > import javax.faces.model.SelectItem; > import org.jboss.seam.ScopeType; > import org.jboss.seam.annotations.In; > import org.jboss.seam.annotations.Name; > import org.jboss.seam.annotations.Out; > @Name("testEventList") > public class TestEventList { > private DataModel eventsModel =3D new ListDataModel(); > private int pageSize =3D 2; > private List events =3D new ArrayList(); > = > @In(required =3D false) > @Out(scope =3D ScopeType.PAGE, required =3D false) > private Integer rowKeyVar; > public TestEventList() { > events.add("event 1"); > events.add("event 2"); > events.add("event 3"); > events.add("event 4"); > events.add("event 5"); > events.add("event 6"); = > } > = > public List getPageSizes() { > List pageSizeOptions =3D new ArrayList(); > pageSizeOptions.add(new SelectItem(new Integer(2), "2")); > pageSizeOptions.add(new SelectItem(new Integer(4), "4")); > pageSizeOptions.add(new SelectItem(new Integer(6), "6")); > return pageSizeOptions; > } > public DataModel getEvents() { > eventsModel.setWrappedData(events.subList(0, pageSize)); > return eventsModel; > } > public String getSelectedEvent() { > if (rowKeyVar=3D=3Dnull) { > rowKeyVar =3D 0; > } > eventsModel.setRowIndex(this.rowKeyVar.intValue()); > return (String) eventsModel.getRowData(); > } > public int getPageSize() { > return pageSize; > } > public void setPageSize(int pageSize) { > this.pageSize =3D pageSize; > } > = > public void noOp() { > System.out.println("********noOp() rowKeyVar=3D"+rowKeyVar); > } = > } > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > > > > > > >
> #{event} > >
>
>
> > > > > > = > = >
> >
-- = 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 --===============9112954762428084823==-- From jira-events at lists.jboss.org Mon Jul 28 12:24:46 2008 Content-Type: multipart/mixed; boundary="===============8436102505740590950==" MIME-Version: 1.0 From: Nick Belaevski (JIRA) To: richfaces-issues at lists.jboss.org Subject: [richfaces-issues] [JBoss JIRA] Updated: (RF-3833) does not rerender specified component for newly added rows in a datatable Date: Mon, 28 Jul 2008 12:24:45 -0400 Message-ID: <14251857.1217262285216.JavaMail.jira@cloud.prod.atl2.jboss.com> In-Reply-To: 8114334.1214843671363.JavaMail.jira@cloud.prod.atl2.jboss.com --===============8436102505740590950== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://jira.jboss.org/jira/browse/RF-3833?page=3Dcom.atlassian.jira= .plugin.system.issuetabpanels:all-tabpanel ] Nick Belaevski updated RF-3833: ------------------------------- Fix Version/s: 3.2.2 Assignee: Denis Morozov (was: Ilya Shaikovsky) > does not rerender specified component for newly added rows = in a datatable > -------------------------------------------------------------------------= -------------- > > Key: RF-3833 > URL: https://jira.jboss.org/jira/browse/RF-3833 > Project: RichFaces > Issue Type: Bug > Affects Versions: 3.2.1 > Environment: JBoss 4.2.2 / Seam 2.0.2 / RichFaces 3.2.1 / Facele= ts 1.1.14 > Reporter: Tareq Nabeel > Assignee: Denis Morozov > Fix For: 3.2.2 > > > When page is loaded initially and page size is 2, clicking on table rows = causes to rerender correctly. > However, when page size is increased to 4, clicking on the added rows (3 = and 4) does not rerender "myText". Clicking on rows 1 and 2 still updates = "myText" correctly. = > output for good rows clicks: > Response content: > > event 1 > > > Message: Find > output for bad rows clicks: > Response content: > does not contain the information above but section contains > > = > Message: "no information in response about elements to replace" = > Here's the code: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > package event.action; > import java.util.ArrayList; > import java.util.List; > import javax.faces.model.DataModel; > import javax.faces.model.ListDataModel; > import javax.faces.model.SelectItem; > import org.jboss.seam.ScopeType; > import org.jboss.seam.annotations.In; > import org.jboss.seam.annotations.Name; > import org.jboss.seam.annotations.Out; > @Name("testEventList") > public class TestEventList { > private DataModel eventsModel =3D new ListDataModel(); > private int pageSize =3D 2; > private List events =3D new ArrayList(); > = > @In(required =3D false) > @Out(scope =3D ScopeType.PAGE, required =3D false) > private Integer rowKeyVar; > public TestEventList() { > events.add("event 1"); > events.add("event 2"); > events.add("event 3"); > events.add("event 4"); > events.add("event 5"); > events.add("event 6"); = > } > = > public List getPageSizes() { > List pageSizeOptions =3D new ArrayList(); > pageSizeOptions.add(new SelectItem(new Integer(2), "2")); > pageSizeOptions.add(new SelectItem(new Integer(4), "4")); > pageSizeOptions.add(new SelectItem(new Integer(6), "6")); > return pageSizeOptions; > } > public DataModel getEvents() { > eventsModel.setWrappedData(events.subList(0, pageSize)); > return eventsModel; > } > public String getSelectedEvent() { > if (rowKeyVar=3D=3Dnull) { > rowKeyVar =3D 0; > } > eventsModel.setRowIndex(this.rowKeyVar.intValue()); > return (String) eventsModel.getRowData(); > } > public int getPageSize() { > return pageSize; > } > public void setPageSize(int pageSize) { > this.pageSize =3D pageSize; > } > = > public void noOp() { > System.out.println("********noOp() rowKeyVar=3D"+rowKeyVar); > } = > } > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > > > > > > >
> #{event} > >
>
>
> > > > > > = > = >
> >
-- = 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 --===============8436102505740590950==-- From jira-events at lists.jboss.org Tue Aug 5 10:49:58 2008 Content-Type: multipart/mixed; boundary="===============2952531531060490902==" MIME-Version: 1.0 From: Nick Belaevski (JIRA) To: richfaces-issues at lists.jboss.org Subject: [richfaces-issues] [JBoss JIRA] Assigned: (RF-3833) does not rerender specified component for newly added rows in a datatable Date: Tue, 05 Aug 2008 10:49:58 -0400 Message-ID: <33270729.1217947798106.JavaMail.jira@cloud.prod.atl2.jboss.com> In-Reply-To: 8114334.1214843671363.JavaMail.jira@cloud.prod.atl2.jboss.com --===============2952531531060490902== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://jira.jboss.org/jira/browse/RF-3833?page=3Dcom.atlassian.jira= .plugin.system.issuetabpanels:all-tabpanel ] Nick Belaevski reassigned RF-3833: ---------------------------------- Assignee: Nick Belaevski (was: Denis Morozov) > does not rerender specified component for newly added rows = in a datatable > -------------------------------------------------------------------------= -------------- > > Key: RF-3833 > URL: https://jira.jboss.org/jira/browse/RF-3833 > Project: RichFaces > Issue Type: Bug > Affects Versions: 3.2.1 > Environment: JBoss 4.2.2 / Seam 2.0.2 / RichFaces 3.2.1 / Facele= ts 1.1.14 > Reporter: Tareq Nabeel > Assignee: Nick Belaevski > Fix For: 3.2.2 > > > When page is loaded initially and page size is 2, clicking on table rows = causes to rerender correctly. > However, when page size is increased to 4, clicking on the added rows (3 = and 4) does not rerender "myText". Clicking on rows 1 and 2 still updates = "myText" correctly. = > output for good rows clicks: > Response content: > > event 1 > > > Message: Find > output for bad rows clicks: > Response content: > does not contain the information above but section contains > > = > Message: "no information in response about elements to replace" = > Here's the code: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > package event.action; > import java.util.ArrayList; > import java.util.List; > import javax.faces.model.DataModel; > import javax.faces.model.ListDataModel; > import javax.faces.model.SelectItem; > import org.jboss.seam.ScopeType; > import org.jboss.seam.annotations.In; > import org.jboss.seam.annotations.Name; > import org.jboss.seam.annotations.Out; > @Name("testEventList") > public class TestEventList { > private DataModel eventsModel =3D new ListDataModel(); > private int pageSize =3D 2; > private List events =3D new ArrayList(); > = > @In(required =3D false) > @Out(scope =3D ScopeType.PAGE, required =3D false) > private Integer rowKeyVar; > public TestEventList() { > events.add("event 1"); > events.add("event 2"); > events.add("event 3"); > events.add("event 4"); > events.add("event 5"); > events.add("event 6"); = > } > = > public List getPageSizes() { > List pageSizeOptions =3D new ArrayList(); > pageSizeOptions.add(new SelectItem(new Integer(2), "2")); > pageSizeOptions.add(new SelectItem(new Integer(4), "4")); > pageSizeOptions.add(new SelectItem(new Integer(6), "6")); > return pageSizeOptions; > } > public DataModel getEvents() { > eventsModel.setWrappedData(events.subList(0, pageSize)); > return eventsModel; > } > public String getSelectedEvent() { > if (rowKeyVar=3D=3Dnull) { > rowKeyVar =3D 0; > } > eventsModel.setRowIndex(this.rowKeyVar.intValue()); > return (String) eventsModel.getRowData(); > } > public int getPageSize() { > return pageSize; > } > public void setPageSize(int pageSize) { > this.pageSize =3D pageSize; > } > = > public void noOp() { > System.out.println("********noOp() rowKeyVar=3D"+rowKeyVar); > } = > } > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > > > > > > >
> #{event} > >
>
>
> > > > > > = > = >
> >
-- = 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 --===============2952531531060490902==-- From jira-events at lists.jboss.org Tue Aug 5 12:40:57 2008 Content-Type: multipart/mixed; boundary="===============6016737452537327815==" MIME-Version: 1.0 From: Nick Belaevski (JIRA) To: richfaces-issues at lists.jboss.org Subject: [richfaces-issues] [JBoss JIRA] Work started: (RF-3833) does not rerender specified component for newly added rows in a datatable Date: Tue, 05 Aug 2008 12:40:56 -0400 Message-ID: <28859754.1217954456913.JavaMail.jira@cloud.prod.atl2.jboss.com> In-Reply-To: 8114334.1214843671363.JavaMail.jira@cloud.prod.atl2.jboss.com --===============6016737452537327815== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://jira.jboss.org/jira/browse/RF-3833?page=3Dcom.atlassian.jira= .plugin.system.issuetabpanels:all-tabpanel ] Work on RF-3833 started by Nick Belaevski. > does not rerender specified component for newly added rows = in a datatable > -------------------------------------------------------------------------= -------------- > > Key: RF-3833 > URL: https://jira.jboss.org/jira/browse/RF-3833 > Project: RichFaces > Issue Type: Bug > Affects Versions: 3.2.1 > Environment: JBoss 4.2.2 / Seam 2.0.2 / RichFaces 3.2.1 / Facele= ts 1.1.14 > Reporter: Tareq Nabeel > Assignee: Nick Belaevski > Fix For: 3.2.2 > > > When page is loaded initially and page size is 2, clicking on table rows = causes to rerender correctly. > However, when page size is increased to 4, clicking on the added rows (3 = and 4) does not rerender "myText". Clicking on rows 1 and 2 still updates = "myText" correctly. = > output for good rows clicks: > Response content: > > event 1 > > > Message: Find > output for bad rows clicks: > Response content: > does not contain the information above but section contains > > = > Message: "no information in response about elements to replace" = > Here's the code: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > package event.action; > import java.util.ArrayList; > import java.util.List; > import javax.faces.model.DataModel; > import javax.faces.model.ListDataModel; > import javax.faces.model.SelectItem; > import org.jboss.seam.ScopeType; > import org.jboss.seam.annotations.In; > import org.jboss.seam.annotations.Name; > import org.jboss.seam.annotations.Out; > @Name("testEventList") > public class TestEventList { > private DataModel eventsModel =3D new ListDataModel(); > private int pageSize =3D 2; > private List events =3D new ArrayList(); > = > @In(required =3D false) > @Out(scope =3D ScopeType.PAGE, required =3D false) > private Integer rowKeyVar; > public TestEventList() { > events.add("event 1"); > events.add("event 2"); > events.add("event 3"); > events.add("event 4"); > events.add("event 5"); > events.add("event 6"); = > } > = > public List getPageSizes() { > List pageSizeOptions =3D new ArrayList(); > pageSizeOptions.add(new SelectItem(new Integer(2), "2")); > pageSizeOptions.add(new SelectItem(new Integer(4), "4")); > pageSizeOptions.add(new SelectItem(new Integer(6), "6")); > return pageSizeOptions; > } > public DataModel getEvents() { > eventsModel.setWrappedData(events.subList(0, pageSize)); > return eventsModel; > } > public String getSelectedEvent() { > if (rowKeyVar=3D=3Dnull) { > rowKeyVar =3D 0; > } > eventsModel.setRowIndex(this.rowKeyVar.intValue()); > return (String) eventsModel.getRowData(); > } > public int getPageSize() { > return pageSize; > } > public void setPageSize(int pageSize) { > this.pageSize =3D pageSize; > } > = > public void noOp() { > System.out.println("********noOp() rowKeyVar=3D"+rowKeyVar); > } = > } > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > > > > > > >
> #{event} > >
>
>
> > > > > > = > = >
> >
-- = 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 --===============6016737452537327815==-- From jira-events at lists.jboss.org Tue Aug 5 13:00:58 2008 Content-Type: multipart/mixed; boundary="===============1412372697768365417==" MIME-Version: 1.0 From: Nick Belaevski (JIRA) To: richfaces-issues at lists.jboss.org Subject: [richfaces-issues] [JBoss JIRA] Resolved: (RF-3833) does not rerender specified component for newly added rows in a datatable Date: Tue, 05 Aug 2008 13:00:58 -0400 Message-ID: <21260.1217955658098.JavaMail.jira@cloud.prod.atl2.jboss.com> In-Reply-To: 8114334.1214843671363.JavaMail.jira@cloud.prod.atl2.jboss.com --===============1412372697768365417== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://jira.jboss.org/jira/browse/RF-3833?page=3Dcom.atlassian.jira= .plugin.system.issuetabpanels:all-tabpanel ] Nick Belaevski resolved RF-3833. -------------------------------- Resolution: Won't Fix Assignee: Tsikhon Kuprevich (was: Nick Belaevski) The value of pageSize is not preserved between requests thus coding newly-a= dded items not being decoded thus causing no actions. Make bean of session = scope to make the code work > does not rerender specified component for newly added rows = in a datatable > -------------------------------------------------------------------------= -------------- > > Key: RF-3833 > URL: https://jira.jboss.org/jira/browse/RF-3833 > Project: RichFaces > Issue Type: Bug > Affects Versions: 3.2.1 > Environment: JBoss 4.2.2 / Seam 2.0.2 / RichFaces 3.2.1 / Facele= ts 1.1.14 > Reporter: Tareq Nabeel > Assignee: Tsikhon Kuprevich > Fix For: 3.2.2 > > > When page is loaded initially and page size is 2, clicking on table rows = causes to rerender correctly. > However, when page size is increased to 4, clicking on the added rows (3 = and 4) does not rerender "myText". Clicking on rows 1 and 2 still updates = "myText" correctly. = > output for good rows clicks: > Response content: > > event 1 > > > Message: Find > output for bad rows clicks: > Response content: > does not contain the information above but section contains > > = > Message: "no information in response about elements to replace" = > Here's the code: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > package event.action; > import java.util.ArrayList; > import java.util.List; > import javax.faces.model.DataModel; > import javax.faces.model.ListDataModel; > import javax.faces.model.SelectItem; > import org.jboss.seam.ScopeType; > import org.jboss.seam.annotations.In; > import org.jboss.seam.annotations.Name; > import org.jboss.seam.annotations.Out; > @Name("testEventList") > public class TestEventList { > private DataModel eventsModel =3D new ListDataModel(); > private int pageSize =3D 2; > private List events =3D new ArrayList(); > = > @In(required =3D false) > @Out(scope =3D ScopeType.PAGE, required =3D false) > private Integer rowKeyVar; > public TestEventList() { > events.add("event 1"); > events.add("event 2"); > events.add("event 3"); > events.add("event 4"); > events.add("event 5"); > events.add("event 6"); = > } > = > public List getPageSizes() { > List pageSizeOptions =3D new ArrayList(); > pageSizeOptions.add(new SelectItem(new Integer(2), "2")); > pageSizeOptions.add(new SelectItem(new Integer(4), "4")); > pageSizeOptions.add(new SelectItem(new Integer(6), "6")); > return pageSizeOptions; > } > public DataModel getEvents() { > eventsModel.setWrappedData(events.subList(0, pageSize)); > return eventsModel; > } > public String getSelectedEvent() { > if (rowKeyVar=3D=3Dnull) { > rowKeyVar =3D 0; > } > eventsModel.setRowIndex(this.rowKeyVar.intValue()); > return (String) eventsModel.getRowData(); > } > public int getPageSize() { > return pageSize; > } > public void setPageSize(int pageSize) { > this.pageSize =3D pageSize; > } > = > public void noOp() { > System.out.println("********noOp() rowKeyVar=3D"+rowKeyVar); > } = > } > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > > > > > > >
> #{event} > >
>
>
> > > > > > = > = >
> >
-- = 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 --===============1412372697768365417==--