3 Replies Latest reply: Nov 20, 2003 11:49 AM by 407392 RSS

    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