Hi Ivan, Ivan Furdi wrote:
I want to know if its possible to get values from field columns in FormTable using ActionLink.
Sorry no that isn't possible with FormTable. FormTable was built for performance and low memory usage and make use of the flyweight pattern for processing the column Fields. What this means is that a Field object is reused for every table row. For example, say you have a table consisting of 100 rows and one column. Only 1 Field is created and its value is simply updated for each row. The end result is by the time the listener callback occurs, there is no Field available for the specific Table row you want to edit.
You should rather retrieve the row from the database and work with it directly.
For the next release we might look at creating a Repeater type component which does *not* use the flyweight pattern but instead creates real Fields (or other Controls) for each row. That way when the listener fires one can retrieve the value from the Field.
kind regards bob
