Vikram
Vikram

Reputation: 21

How to identify which row is clicked and which list entry it maps to

I have the requirement to have 3 columns with a edit command link as fourth column in the data table. The columns can have duplicates values in many rows. The columns are editable input text field but will be disabled on load which has to be enabled on click of edit link. How best to identify which row edit link was clicked so appropriate row input text is enabled. We are using JSF 1.1 hence setpropertyactionlistner cannot be used.

To mark input text as enabled, i will also need to identify the row in arraylist which corresponds to the data table row link being clicked so that appropriate boolean flag can be set true for enabling input text.

Upvotes: 0

Views: 50

Answers (0)

Related Questions