Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » radiobuttongroup in searchform(radiobuttongroup in searchform)
radiobuttongroup in searchform [message #891660] Mon, 25 June 2012 08:38 Go to next message
Bertin Kiekebosch is currently offline Bertin Kiekebosch
Messages: 280
Registered: August 2011
Senior Member
Hi,

I have a radioButtonGroup with three options on my searchform. How can I use this in my search on the server side. I do see the group in the searchFormaData but cannot find out how to see which button is selected.

Regards Bertin
Re: radiobuttongroup in searchform [message #891748 is a reply to message #891660] Mon, 25 June 2012 14:32 Go to previous messageGo to next message
Ivan Motsch is currently offline Ivan Motsch
Messages: 99
Registered: March 2010
Member
Each radio button in a radio button group represent a value according to the radio button generic.

When using a codeType or lookup call these values are the keys of the code/lookup row.
When using explicit radio buttons, give them a getConfiguredRadioValue.

The form data contains the selected value as IRadioButtonGroup.getValue()

Does this help further?

[Updated on: Mon, 25 June 2012 14:32]

Report message to a moderator

icon7.gif  Re: radiobuttongroup in searchform [message #891778 is a reply to message #891748] Mon, 25 June 2012 17:32 Go to previous message
Bertin Kiekebosch is currently offline Bertin Kiekebosch
Messages: 280
Registered: August 2011
Senior Member
Thanks,

got it working. Used the explicit radio buttons, did override the getConfiguredRadioValue of each button.

regards Bertin


Previous Topic:Widget showcase
Next Topic:[SWT/RAP] No Toolbar / Outlinebar (Juno RC3)
Goto Forum:
  


Current Time: Thu Apr 17 21:02:31 EDT 2014

Powered by FUDForum. Page generated in 0.01821 seconds