Yeah, that's what I thought but it doesn't for me. I'm not deselecting it either.
Could it be the order of calls? For instance does it matter when setValue is called relative to anything else? For instance does it need to be after its attached to the root panel or something? All I'm doing is new(ing) some nested panels, one of the panels has two radio buttons, I set the value of one of them, then I attach to the root panel. On Feb 18, 7:28 am, Bonor <[email protected]> wrote: > It should! May be something else deselects it? > > I use many radio's and I just use: > radio[i].setValue(true); > > On 18 feb, 04:42, dhoffer <[email protected]> wrote: > > > gwt 2.0. I've tried calling setValue(true, true) on radio buttons but > > when the app is run, neither radio button is selected, what is the > > trick to code setting the initial value of radio buttons? > > > -Dave > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
