How to disable a link in XHTML if it has a certain value

johndonnon Source

I have normal datatable in mx jsf project which has one column that is an ID and one is a status. The status can either be Done, Failed or Proceeding. Now the ID column is also a link which leads to the object it's referring to but I don't want the link to be active if the status is still Proceeding where do I do that? Is there an option for a tag or should I do it in the Bean?



comments powered by Disqus