1 Reply Latest reply on Oct 13, 2011 12:56 PM by David Wagner

    RF4 TogglePanel control?

    David Wagner Newbie

      I want to use a TogglePanel to implement a wizard as in the showcase example.

      However, this wizard has one or two pages that are conditionally based on inputs from previous pages.

      So, when user clicks "Next" button, the control needs to switch to panel B or C depending on values input in panel A.

      It isn't clear from the example or documentation how to make the control do that.

      Is this possible?

        • 1. Re: RF4 TogglePanel control?
          David Wagner Newbie

          Maybe the answer was too obvious for most folks, but the taglib documentation for togglePanel said that the target parameter only took a String when in fact it will take an EL expression. So the solution here is to hook that property to some logic in the backing bean that will name a target panel based on the current state of the data collected in the bean.