This content has been marked as final.
Show 8 replies
-
1. Re: Duplicate Id in extendedDataTable
nbelaevski Jul 31, 2009 11:37 AM (in response to abcd1)Hi,
What is scope of binding bean? -
2. Re: Duplicate Id in extendedDataTable
abcd1 Aug 6, 2009 8:11 AM (in response to abcd1)hii
sorry for the late reply
scope is session -
3. Re: Duplicate Id in extendedDataTable
ilya_shaikovsky Aug 6, 2009 9:48 AM (in response to abcd1)binding should be request scoped.
-
4. Re: Duplicate Id in extendedDataTable
abcd1 Aug 8, 2009 8:41 AM (in response to abcd1)thanks for the reply...
but i cannot change the scope to request -
5. Re: Duplicate Id in extendedDataTable
nbelaevski Aug 8, 2009 9:08 AM (in response to abcd1)Hi,
Then you'll be constantly getting such errors. Session-scoped binding for components is not recommended for several other reasons also. Why do you need it? -
6. Re: Duplicate Id in extendedDataTable
abcd1 Aug 10, 2009 6:56 AM (in response to abcd1)on selection of rows i need to go to backend..
and also i need to get the selected row id. from backend like this.
as my bean needs to be in session i am binding the table binding to the same session bean.Iterator iterator = getSelectionGR_POS_7155().getKeys(); while (iterator.hasNext()) { Integer key = (Integer) iterator.next(); GR_POS_7155.setRowKey(key); GR_POS_7155_TableBean obj =(GR_POS_7155_TableBean)GR_POS_7155.getRowData(); int indx = GR_POS_7155_List.indexOf(obj); setSelectedRowNo(indx); }
-
7. Re: Duplicate Id in extendedDataTable
nbelaevski Aug 10, 2009 7:08 AM (in response to abcd1)Create separate request-scoped bean.
-
8. Re: Duplicate Id in extendedDataTable
abcd1 Aug 11, 2009 12:13 AM (in response to abcd1)ok
thanks for the reply..
i will try to do that