Greetings all...

I've been trying to set up a table where each row contains several columns
whose values can be selected from a PropertySelection component. I'm able to
get the table to render when the page is first loaded but haven't figured
out how to track the selected item in each dropdown cell when the page is
reloaded.

I used the example on the PropertySelection documentation page as a starting
point; I have a class that implements the IPropertySelectionModel and a
DropdownItem class that encapsulates a single dropdown item. I then have a
domain object for each row and need to:

- Set the values of the rows' properties that are set via dropdowns in the
rows' domain objects
- Remember what changes the user has made to any of the rows (on the first
or subsequent pages) when the page is submitted and reloaded

The PropertySelection example adds methods to the page class to track the
selected item for a dropdown that's not repeated on multiple rows; I just
can't figure out how to extrapolate the example to multiple table rows.

Any suggestions, pointers to examples, etc. would be greatly appreciated...

Cheers...

Davide Bruzzone

Reply via email to