3 Replies Latest reply on Nov 20, 2003 5:49 PM by 407392

    comparison in the <option> tag

    407392
      hi,
       <uix:option selected=""               textBinding="uix.current['.']" valueBinding="uix.current['.']"  />
      In the code above I would set a value selected after the values are returned to the form. If i write

      selected ="uix.current['.'] eq something" will it get selected when the "something" equals uix.current['.']??

      I tried doing that and it does not get selected? actually I used hardcoaded to test it like this
       <uix:option selected ="uix.current['.'] eq 1999-01-01" 
                     textBinding="uix.current['.']" valueBinding="uix.current['.']"  />
      what else can be used? does == work??

      thanks,
      vasanth