3 Replies Latest reply on Aug 14, 2012 8:33 PM by snjv180

    [SOLVED] Conditional in onrowdblclick?

    s.santilli

      Hi Community,

       

      I have a question concerning adding a conditional to my onrowdblclick I am using for

      a extendedDataTable.

       

      Is it possible to implement a && (read AND) conditional? For example,

       

      onrowdblclick="if (#{myvariable.something} && #{myvariable.somthingElse}) doMyFunctiontAction();">

       

      I guess I would just simply like to know if I am implemeting the syntax incorrectly, or it is

      not possible (my efforts right now would appear this is not possible) ... but I thought I'd as

      for knowledge transfer.

       

      Perhaps I may simply have to implement the condition, in a new variable in the backing bean?

       

      Thanks