3 Replies Latest reply: Dec 5, 2012 9:57 PM by Vik Kumar-Oracle RSS

    switching styleClass by EL doesnt work

    Vik Kumar-Oracle
      I am trying to switch style class as
      styleClass="#{row.Status eq 'Inactive'? 'inactive': row.Status eq 'Draft'?'draft':''};">


      but it doesnt work. I have tried to replace it with hardcoded values like styleClass="inactive" and that works fine.

      Please advise what could be the issue here?