Tapestry
  1. Tapestry
  2. TAPESTRY-1039

EventListeners for RadioGroup component

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.6
    • Component/s: Framework
    • Labels:
      None

      Description

      If think RadioGroup component should provide event model like Autocompleter. Events like selectElement should be emit then user click on some radio in group or maybe onLoad event for initialing other components and make it much more responsive.

        Activity

        Hide
        Paul Stanton added a comment -

        it would be nice to be able to create one listener for the radiogroup ie:

        @EventListener(elements="myRadioGroup", events="onclick")

        i could then determine the radio clicked from the object from PageEvent.getSource ()

        is that what you mean?

        Show
        Paul Stanton added a comment - it would be nice to be able to create one listener for the radiogroup ie: @EventListener(elements="myRadioGroup", events="onclick") i could then determine the radio clicked from the object from PageEvent.getSource () is that what you mean?
        Hide
        Marcus Schulte added a comment -

        @Radio's onclick now calls a method (onChange) on the @RadioGroup which is interceptible using the EventListener-annotation.

        Show
        Marcus Schulte added a comment - @Radio's onclick now calls a method (onChange) on the @RadioGroup which is interceptible using the EventListener-annotation.

          People

          • Assignee:
            Marcus Schulte
            Reporter:
            Alexey Abashev
          • Votes:
            2 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development