ladiko Posted May 5, 2008 Share Posted May 5, 2008 (edited) Hello friends of unattended installations :-)could someone explain my how to create radio buttons in the way that if i select one, the other ones of the group are automatically disabled? at the moment i can select all radio buttons of a group at the same time, but i want that the user can only choose one type out of all in the group. (see my example below).by the way i use WIHU since about 1 or 2 hours and it's amazing :-)[MyProgram]group = 1test.eval.0 = selected.1 | selected.2 | selected.3selected.0 = if.falsedescription.0 = MyProgram Standalonecommand.0 = %WIHU%\MyProgram\App.exe /s /conf="%WIHU%\MyProgram\Standalone.ini"test.eval.1 = selected.0 | selected.2 | selected.3selected.1 = if.falsedescription.1 = MyProgram with IE Toolbarcommand.1 = %WIHU%\MyProgram\App.exe /s /conf="%WIHU%\MyProgram\Toolbar.ini"test.eval.2 = selected.1 | selected.0 | selected.3selected.2 = if.falsedescription.2 = MyProgram with a lot of crapcommand.2 = %WIHU%\MyProgram\App.exe /s /conf="%WIHU%\MyProgram\Crap.ini"test.eval.3 = selected.1 | selected.2 | selected.0selected.3 = if.falsedescription.3 = MyProgram Full Installationcommand.3 = %WIHU%\MyProgram\App.exe /s /conf="%WIHU%\MyProgram\Full.ini"i thought it should work this way, but it seems to be wrong :-) Edited May 5, 2008 by ladiko Link to comment Share on other sites More sharing options...
Camarade_Tux Posted May 5, 2008 Share Posted May 5, 2008 (edited) You're right to use group but should use anything else. group.x = (0 or 1) If 1, the software subtree will contain option controls instead of checkboxes. Edited May 5, 2008 by Camarade_Tux Link to comment Share on other sites More sharing options...
ladiko Posted May 5, 2008 Author Share Posted May 5, 2008 (edited) could you define "anything else" a little bit more precise?or what is the sence of the option group? only graphical? Edited May 5, 2008 by ladiko Link to comment Share on other sites More sharing options...
Camarade_Tux Posted May 7, 2008 Share Posted May 7, 2008 Ooops, forgot the "n't" : you shouldn't use anything else. Link to comment Share on other sites More sharing options...
ladiko Posted May 7, 2008 Author Share Posted May 7, 2008 ahh ok and how to get it working like a radio control group? if i select one, the others are deselected?like this --> http://webdev2.sun.com/example/faces/cbrb/...Radiobutton.jsp Link to comment Share on other sites More sharing options...
BenjaminKalytta Posted May 14, 2008 Share Posted May 14, 2008 The bug is fixed now. Link to comment Share on other sites More sharing options...
ladiko Posted May 15, 2008 Author Share Posted May 15, 2008 juhuuu =Dit works!!! thank you, benjamin! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now