Re: Select first item of RadioGroup with n Radio Buttons

2006-06-08 Thread Christian Mittendorf
Hi! Am 08.06.2006 um 04:16 schrieb Nick Westgate: I've tried to use the pageBeginRender That should work. Perhaps time to post some code ... Well, not necessary any more... sometimes it's quite helpful to take a break and have a closer look at what you've done... Using pageBeginRender is d

Re: Select first item of RadioGroup with n Radio Buttons

2006-06-07 Thread Nick Westgate
Hi Christian. I've tried to use the pageBeginRender That should work. Perhaps time to post some code ... Cheers, Nick. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Select first item of RadioGroup with n Radio Buttons

2006-06-07 Thread Phillip Rhodes
The way that I would do this is to bind your property to a persistent page property and just set that property before you call page.activate MarriedQuestion mq = new MarriedQuestion(); mq.setAnswer("No); QuestionPage qp = (QuestionPage) cycle.getPage("QuestionPage"); qp.setMarriedQuestion(mq); c

Re: Select first item of RadioGroup with n Radio Buttons

2006-06-07 Thread Christian Mittendorf
Am 07.06.2006 um 19:34 schrieb Phillip Rhodes: I think that your radio group is bound to a property, in which case, can you just set your property and the radio group would automatically reflect this when it is rendered? Yes, I bound the select option to a property and I want to set this p

Re: Select first item of RadioGroup with n Radio Buttons

2006-06-07 Thread Phillip Rhodes
I think that your radio group is bound to a property, in which case, can you just set your property and the radio group would automatically reflect this when it is rendered? > Hello! > > I'm currently working on a RadioGroup which includes 1, 2 or 3 > RadioButtons. The decision which Buttons

Select first item of RadioGroup with n Radio Buttons

2006-06-07 Thread Christian Mittendorf
Hello! I'm currently working on a RadioGroup which includes 1, 2 or 3 RadioButtons. The decision which Buttons will be shown is done at runtime. However, I'd like to select the first visible button of this group as the default selection. Can anybody give me a hint on how I could solve th