I'm having a JSF datatable with one column containing a list of artists together with a commandLink for each that I'd like to either show or hide the albums that specific artist has made when you click the link.
I've just started to learn about JSF and I'm wondering what the best practice would be to get the value of the commandLink to change between "Show albums" and "Hide albums" when clicking the link? Is it possible to do this without using javascript?
Thanks