Hi,
what i'm trying achieve are 2 listgrids, the content of the second listgrid depends on the selection of the first one.
The first listgrid is bounded to backingBean1.listgrid, the second one to backingBean2.listgrid. The selection of a row in the first listgrid causes backingBean1 to trigger a new selection of the listgrid data in backingBean2.
My problem is: The new data of the second listgrid becomes appended onto the first listgrid.
The listgrids have different id and different var name.
What could I bo doing wrong?
thx

Listgrid result goes to wrong listgrid
31 January, 2007 - 14:10 — AnonymousHi again!
Now i found a post: "bjs:listGrid displays contents of another listGrid first"
http://www.backbase.com/#forum/messageThread.html%3Fforum=3&thread=1588[2]
There someone had exactly the same problem in the past.
I work with Backbase JSF 3.3. Is this bug not yet repaird? Or am I doing something wrong?
Listgrid result goes to wrong listgrid
1 February, 2007 - 16:19 — AnonymousHi David,
This is a new issue, we are currently investigating this issue and will provide you with a possible workaround asap.
Senaka.
Listgrid result goes to wrong listgrid
1 February, 2007 - 18:11 — AnonymousOk thanks, Senaka.
I hope it will not take too long. I'd really like to work with Backbase JSF in the future, it's nice to work with it. My boss is about to make a decision in the next 2 weeks: to use Backbase JSF or not... and this is more ore less a KO criterion
Listgrid result goes to wrong listgrid
8 February, 2007 - 16:35 — AnonymousHi David,
The solution is to modify the b-listgrid.xml file to use the bpc.getVariable function instead of the _vars array. The file b-listgrid.xml can be found in the controls folder and its there for each skin. So:
controls\backbase\b-listgrid\b-listgrid.xml
controls\system\b-listgrid\b-listgrid.xml
controls\basic\b-listgrid\b-listgrid.xml
controls\dynamic\b-listgrid\b-listgrid.xml
The lines that need to be changed are line 344 and line 374.
Line 344 code
_vars['tablebody'][0].appendChild(_vars['page'][0]);
should be replaced with
bpc.getVariable('tablebody', 'tag', _current)[0].appendChild(_vars['page'][0]);
Line 374 code
_vars['tablebody'][0].appendChild(newTbody);
should be replaced with
bpc.getVariable('tablebody', 'tag', _current)[0].appendChild(newTbody);
Hope this helps,
Senaka
Listgrid result goes to wrong listgrid
9 February, 2007 - 08:40 — AnonymousThanks,
it works!
Listgrid result goes to wrong listgrid
9 April, 2007 - 09:30 — AnonymousI also have the same problem.I follow the Senaka's reply to replace the codes but it doesn's work!What should I do?
Listgrid result goes to wrong listgrid
12 April, 2007 - 16:14 — AnonymousWhat version of Backbase JSF Edition are you using?
Cheers,
Robin
Listgrid result goes to wrong listgrid
13 April, 2007 - 01:43 — AnonymousHi! Robin
I use Backbase JSF Edition 3.3
Listgrid result goes to wrong listgrid
16 April, 2007 - 10:32 — AnonymousAre you sure you have changed the right skin? Also, try to use our latest version 3.3.1 and let me know if it still doesn't work.
Cheers,
Robin
listgrid wrongly appended
26 June, 2008 - 13:07 — andysHi Anonymous,
I think it is better to put your code in this post. This will help us in investigating the problem.
Thank you
Andys