code snippet is required with info about variables ant their scopes.
Nikita:
After some struggle i found what the cause was. The variable that controls the display of the commandLink must be in a greater scope than the request
Maybe if you try and place your data in session scope you could make it work
Good luck