Hi!

This is a Trinidad question, but im using Trinidad inside a seam app, so i 
think you guys could be able to help me...
im using a tr:table to show my data.

The Problem:

It seams (lol), that the table model is only generated once, at the first 
attempt to render the table and doesnt change afterwards. Is this correct? I 
suppose it could be desired behavior, but that leads me into trouble..

The Situation:

I have a selectionList on the left side and a tr:table at the right. I want the 
tables underlying list to be one of left side's members. So the selectItems 
value is #{tableInstance.selectedMaster}, while the tables value attribute is 
#{tableInstance.selectedMaster.getSlaves()}" the selectManyList has 
partialSubmit=true and is a trigger for the table, so that works. I can select 
a master on the left and see all its slaves in the table. However the tables 
model is not changing. Thats why the table's getSelectedRowKeys() gives me 
wrong indices.
the table has a binding into an event-scoped component, from where i get it to 
acces its selection Map. No idea if this adds any meaning to the problem :-)

Question:
is their a way to tell the tr:table to refresh its underlying model? How else 
could i accomplish this?

Many thanks,
Tobias Kilian


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080922#4080922

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080922
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to