Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-989

Improve @PropertySelection

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.1
    • 4.1.2
    • tapestry-core
    • None

    Description

      It would be nice to have a better version of PropertySelection with the following features:

      • an API closer to the "@For" component to replace the IPropertySelectionModel. The way IPropertySelectionModel is structured is limitative. It is difficult to obtain any value from outside the component such as data objects or even a squeezer. Also IPrimaryKeyConverter could be used here too;
      • render the component either with a <select> or with radio buttons;
      • have simpler arguments: "source" like in @For, "labelEvaluator" for evaluating the label (same idea as column labels in @Table).

      I could probably provide an implementation and tests for such a component.

      Attachments

        Activity

          People

            jkuhnert Jesse Kuhnert
            hdupre Henri Dupre
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: