radiobuttons in component selection page

Comments

5 comments

  • Avatar
    wojciechka

    You can show a boolean parameter that will set the selected for component appropriately. For example:

    <booleanParameter>
      <name>installDocumentation</name>
      <title>Documentation</title>
      <description>Would you like to install the documentation files?</description>
      <postShowPageActionList>
         <setInstallerVariable>
          <name>project.component(documentation).selected</name>
          <value>${installDocumentation}</value>
         </setInstallerVariable>
      </postShowPageActionList>
    </booleanParameter>
    

    This is documented in more details in Enabling and disabling components section of InstallBuilder User Guide.

  • Avatar
    deepan

    Hi wojciechka, I made a radiobutton type for component selection, it works everything fine,but it shows it in separate page.i would like to make it in component selection page itself, under that component like component A(should be in combo box) *component 1(radiobuton) * component 2(radiobutton). can you help me for this with code.I need to finish it soon.thanks

  • Avatar
    wojciechka

    You can use Component groups to provide a parent-child relation and then user can only choose child components if the parent is also selected.

    If user should choose one of available options and not select all, you can then also use Component Selection Validation Actions to validate if what user has selected correct components.

  • Avatar
    deepan

    I tried as a component group already,but i couldn't get the radiobutton option in component selection page,it shows in next page.Is that possible to show in current page.could you please send me with code.It would be useful for me.

  • Avatar
    deepan

    Ok wojciechka.thanks ...

Please sign in to leave a comment.